ispCP - Board - Support
PROFTPD - dead - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: PROFTPD - dead (/thread-8623.html)



PROFTPD - dead - monstermedia - 12-01-2009 06:58 AM

out of a sudden proftpd stoped to work... (after I add a few domains - but not any ftp account)

when tried manually restart.... this is error:

Code:
/etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - error: /var/log/proftpd is a world writeable directory
- mod_ctrls/0.9.4: unable to open ControlsLog '/var/log/proftpd/controls.log': containing directory is world writable
- Fatal: ControlsLog: unable to log to a world-writable directory on line 168 of '/etc/proftpd/proftpd.conf'
failed!

what has happend?? server was working properly about two weeks....

regards


RE: PROFTPD - dead - Lucan - 12-01-2009 07:24 AM

Quote:Starting ftp server: proftpd - error: /var/log/proftpd is a world writeable directory

wrong chmod of /var/log/proftpd ?


RE: PROFTPD - dead - monstermedia - 12-01-2009 07:40 AM

(12-01-2009 07:24 AM)Lucan Wrote:  
Quote:Starting ftp server: proftpd - error: /var/log/proftpd is a world writeable directory

wrong chmod of /var/log/proftpd ?

yes... done... and another one....

Code:
Stopping ftp server: proftpd.
Starting ftp server: proftpd - Fatal: SQLMinUserUID: requires a numeric argument on line 183 of '/etc/proftpd/proftpd.conf'
failed!

I FIXED conf file, but... still:

Code:
proftpd - error: cannot read configuration path '/etc/proftpd/ispcp'
- Fatal: Include: error including '/etc/proftpd/ispcp/*': ZĹy argument on line 228 of '/etc/proftpd/proftpd.conf'
failed!

don't have such directory ispcp in /etc/proftpd ... how to regenerate IT /??/ especially I wondering what file where in IT ?? because when I mkdir proftpd start normally now... but what the files where in ISPCP directory??


RE: PROFTPD - dead - motokochan - 12-01-2009 01:14 PM

I don't recall there ever being any additional files needed. You could probably comment out that directory include in proftpd.conf without any negative consequences.

Edit: This is incorrect, as sci2tech points out.


RE: PROFTPD - dead - sci2tech - 12-01-2009 06:11 PM

(12-01-2009 01:14 PM)motokochan Wrote:  I don't recall there ever being any additional files needed. You could probably comment out that directory include in proftpd.conf without any negative consequences.
Do not comment it! Just make that directory
Code:
mkdir /etc/proftpd/ispcp
. Else engine will fail to add new domains / subdomains


RE: PROFTPD - dead - motokochan - 12-02-2009 05:05 AM

I checked my server, and that directory is used (although I only see one file in there for 16 domains existing). My previous remark is thus incorrect. Sorry.