Current time: 12-26-2024, 11:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
File manager error
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: File manager error
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...not_loaded

Greez BeNe
11-24-2009 10:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Luisinho Offline
Junior Member
*

Posts: 124
Joined: Nov 2009
Reputation: 0
Post: #12
RE: File manager error
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.
11-24-2009 11:48 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #13
RE: File manager error
Please post your modules.conf
Code:
# cat /etc/proftpd/modules.conf

Greez BeNe
11-24-2009 11:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Luisinho Offline
Junior Member
*

Posts: 124
Joined: Nov 2009
Reputation: 0
Post: #14
RE: File manager error
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
11-24-2009 11:57 PM
Find all posts by this user Quote this message in a reply
Luisinho Offline
Junior Member
*

Posts: 124
Joined: Nov 2009
Reputation: 0
Post: #15
RE: File manager error
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.
(This post was last modified: 11-25-2009 08:41 PM by Luisinho.)
11-25-2009 07:26 PM
Find all posts by this user Quote this message in a reply
Luisinho Offline
Junior Member
*

Posts: 124
Joined: Nov 2009
Reputation: 0
Post: #16
RE: File manager error
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...
11-26-2009 05:40 PM
Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #17
RE: File manager error
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.
12-12-2009 11:16 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #18
RE: File manager error
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
12-12-2009 09:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #19
RE: File manager error
(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 /
12-12-2009 11:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)