failed to start proftpd

Status
Not open for further replies.

morxy49

Contributor
Joined
Jan 12, 2014
Messages
145
Whenever i try to start the FTP service from the WebGUI i get the following message:

Code:
Mar 30 21:00:25 Pandora's Box notifier: proftpd not running?
Mar 30 21:00:26 Pandora's Box notifier: Starting proftpd.
Mar 30 21:00:26 Pandora's Box notifier: Pandora_s_Box.local proftpd[6101]: warning: unable to determine IP address of 'Pandora_s_Box.local'
Mar 30 21:00:26 Pandora's Box notifier: Pandora_s_Box.local proftpd[6101]: error: no valid servers configured
Mar 30 21:00:26 Pandora's Box notifier: Pandora_s_Box.local proftpd[6101]: Fatal: error processing configuration file '/usr/local/etc/proftpd.conf'
Mar 30 21:00:26 Pandora's Box root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
Mar 30 21:00:26 Pandora's Box notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd


I have tried restarting syslogd by the command "service syslog restart", but the problem still occurs.
I've seen many bug reports about this subject, but alot of the seem to be unsolved, and the rest are to complicated for me to understand.

I'm running FreeNAS 9.2.1.2-RELEASE-x64
 

morxy49

Contributor
Joined
Jan 12, 2014
Messages
145
well... now i have a new error message, and i haven't even done anything!
Code:
Mar 31 18:58:08 Pandora's Box notifier: proftpd not running?
Mar 31 18:58:08 Pandora's Box notifier: Starting proftpd.
Mar 31 18:58:08 Pandora's Box notifier: Pandora_s_Box.local proftpd[17363]: Fatal: SyslogFacility: unable to open syslog: Operation not permitted on line 10 of '/usr/local/etc/proftpd.conf'
Mar 31 18:58:08 Pandora's Box root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
Mar 31 18:58:08 Pandora's Box notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
 

morxy49

Contributor
Joined
Jan 12, 2014
Messages
145

ok, so i tried disabling "Use system dataset for syslog", as suggested in the link, but i still get the error:
Code:
Apr  1 22:02:31 Pandora's Box notifier: Pandora_s_Box.local proftpd[40530]: warning: unable to determine IP address of 'Pandora_s_Box.local'
Apr  1 22:02:31 Pandora's Box notifier: Pandora_s_Box.local proftpd[40530]: error: no valid servers configured
Apr  1 22:02:31 Pandora's Box notifier: Pandora_s_Box.local proftpd[40530]: Fatal: error processing configuration file '/usr/local/etc/proftpd.conf'
Apr  1 22:02:31 Pandora's Box root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
Apr  1 22:02:31 Pandora's Box notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd


And then i checked the link you posted in your previous post, so i ran the command sockstat -4p 21, which displayed this:
Code:
[root@Pandora's Box] ~# sockstat -4p 21
USER    COMMAND    PID  FD PROTO  LOCAL ADDRESS        FOREIGN ADDRESS

... so i assume that it's a DNS error, which means i have to "add an entry for the IP address of the FreeNAS® system in the "Host name database" field of Network → Global Configuration".

So, i added the IP 192.168.0.25 (the local IP to my FreeNAS) in "Host name database", but then this error message appears.

Code:
Apr  1 22:13:06 Pandora's Box notifier: proftpd not running?
 
Apr  1 22:13:07 Pandora's Box notifier: Starting proftpd.
 
Apr  1 22:13:07 Pandora's Box notifier: Pandora_s_Box.local proftpd[42957]: warning: unable to determine IP address of 'Pandora_s_Box.local'
 
Apr  1 22:13:07 Pandora's Box notifier: Pandora_s_Box.local proftpd[42957]: error: no valid servers configured
 
Apr  1 22:13:07 Pandora's Box notifier: Pandora_s_Box.local proftpd[42957]: Fatal: error processing configuration file '/usr/local/etc/proftpd.conf'
 
Apr  1 22:13:07 Pandora's Box root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
 
Apr  1 22:13:07 Pandora's Box notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
 
D

dlavigne

Guest
I think that change might require a reboot. If a reboot still gives the error, you might have to manually edit ix-syslogd with the fix, as it looks like that fix is for the upcoming 9.2.2.
 

morxy49

Contributor
Joined
Jan 12, 2014
Messages
145
I think that change might require a reboot. If a reboot still gives the error, you might have to manually edit ix-syslogd with the fix, as it looks like that fix is for the upcoming 9.2.2.

see my edit. will try a reboot.
 

morxy49

Contributor
Joined
Jan 12, 2014
Messages
145
tried a reboot. still...
Code:
Apr  1 22:21:54 Pandora's Box notifier: proftpd not running?
Apr  1 22:21:54 Pandora's Box notifier: Starting proftpd.
Apr  1 22:21:54 Pandora's Box notifier: Pandora_s_Box.local proftpd[11423]: warning: unable to determine IP address of 'Pandora_s_Box.local'
Apr  1 22:21:54 Pandora's Box notifier: Pandora_s_Box.local proftpd[11423]: error: no valid servers configured
Apr  1 22:21:54 Pandora's Box notifier: Pandora_s_Box.local proftpd[11423]: Fatal: error processing configuration file '/usr/local/etc/proftpd.conf'
Apr  1 22:21:54 Pandora's Box root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
Apr  1 22:21:54 Pandora's Box notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd


could you please give me some hints on how to "manually edit ix-syslogd with the fix"?
 
D

dlavigne

Guest
Open /etc/ix.rc.d/ix-syslogd in an editor (I believe vi and ee are installed). Delete the lines that show in red and add the line that shows in green in the fix. Note that if this works, you should save a copy of your edited file as it will be overwritten if you reboot.
 
Status
Not open for further replies.
Top