ispCP - Board - Support
File manager error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: File manager error (/thread-2210.html)

Pages: 1 2


RE: File manager error - BeNe - 11-24-2009 10:03 PM

Ok, looks like the neede mysql-module is not active or installed.
Your OS ?
Here is Part in the Docu:
http://www.isp-control.net/documentation/doku.php?id=solving_proftpd_issues#sql_module_not_loaded

Greez BeNe


RE: File manager error - Luisinho - 11-24-2009 11:48 PM

I have the last version yet (on Debian Lenny (5.0)):

Code:
# apt-get install proftpd-mod-mysql
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias      
Leyendo la información de estado... Hecho
proftpd-mod-mysql ya está en su versión más reciente.
fijado proftpd-mod-mysql como instalado manualmente.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.

I have uncommented those lines and restart proftpd... and later shutdown -r now ... but:
Code:
server.x3mdesign.com - ProFTPD 1.3.1 (stable) (built Tue Oct 27 10:09:08 UTC 2009) standalone mode STARTUP
server.x3mdesign.com (79.144.210.253[79.144.210.253]) - FTP session requested from unknown class
server.x3mdesign.com (79.144.210.253[79.144.210.253]) - FTP session closed.
server.x3mdesign.com (79.144.210.253[79.144.210.253]) - FTP session requested from unknown class
server.x3mdesign.com (79.144.210.253[79.144.210.253]) - FTP session closed.



RE: File manager error - BeNe - 11-24-2009 11:52 PM

Please post your modules.conf
Code:
# cat /etc/proftpd/modules.conf

Greez BeNe


RE: File manager error - Luisinho - 11-24-2009 11:57 PM

Code:
# cat /etc/proftpd/modules.conf
#
# This file is used to manage DSO modules and features.
#

# This is the directory where DSO modules reside

ModulePath /usr/lib/proftpd

# Allow only user root to load and unload modules, but allow everyone
# to see which modules have been loaded

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c

# Install proftpd-mod-mysql or proftpd-mod-pgsql to use this
LoadModule mod_sql.c

# Install proftpd-mod-ldap to use this
#LoadModule mod_ldap.c

#
# 'SQLBackend mysql' or 'SQLBackend postgres' directives are required
# to have SQL authorization working. You can also comment out the
# unused module here, in alternative.
#

# Install proftpd-mod-mysql to use this
LoadModule mod_sql_mysql.c

# Install proftpd-mod-pgsql to use this
#LoadModule mod_sql_postgres.c

LoadModule mod_radius.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c

# Install proftpd-mod-ldap to use this
#LoadModule mod_quotatab_ldap.c

# Install proftpd-mod-pgsql or proftpd-mod-mysql to use this
#LoadModule mod_quotatab_sql.c
LoadModule mod_quotatab_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c
LoadModule mod_load.c
LoadModule mod_ban.c
LoadModule mod_wrap2.c
LoadModule mod_wrap2_file.c
# Install proftpd-mod-pgsql or proftpd-mod-mysql to use this
#LoadModule mod_wrap2_sql.c
LoadModule mod_dynmasq.c


# keep this module the last one
LoadModule mod_ifsession.c



RE: File manager error - Luisinho - 11-25-2009 07:26 PM

hi BeNe again... may be the problem with OVH?? My machine in OVH have name r26423.ovh.net, after the instalation ispCP the hostname is x3mdesig... the IP 87.98.176.35

Thanks a lot!!!

EDITADO:
telnet 87.98.176.35 21
Trying 87.98.176.35...
Connected to 87.98.176.35.
Escape character is '^]'.
Connection closed by foreign host.


RE: File manager error - Luisinho - 11-26-2009 05:40 PM

Hi... do you read me?? Sad

Looking for solution I've found this topic, Replacing ProFTPD by PureFTPD, I make this change... the could should be resolved?

Thanks!!! I need the FTP...


RE: File manager error - bpratt - 12-12-2009 11:16 AM

I've noticed since I just updated to 1.0.2 that file manager has made some changes, and comes up with this open_basedir error :-

Warning: ftp_rawlist() [function.ftp-rawlist]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/tmp/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 123


Clearly it is trying to get to /tmp when it should really be going somewhere else.


RE: File manager error - BeNe - 12-12-2009 09:15 PM

Yes this was an Error in 1.0.2.
Add the "/tmp" to the open_basedir in your master php.ini and it should work.
Quick and dirty...

Greez BeNe


RE: File manager error - bpratt - 12-12-2009 11:46 PM

(12-12-2009 09:15 PM)BeNe Wrote:  Yes this was an Error in 1.0.2.
Add the "/tmp" to the open_basedir in your master php.ini and it should work.
Quick and dirty...

Greez BeNe

Yeah, that's what I thought, but it's not displaying the contents of the users directory

Directory Tree: root /