FTP: To start FTP after FreeNAS reboot also have to restart syslogd

Status
Not open for further replies.

Andi04

Cadet
Joined
Mar 5, 2014
Messages
8
I got my FTP working as intended after som help here yesterday. But I have another problem. After a FreeNAS reboot the FTP server won't start. I have to manually use this command, /etc/rc.d/syslogd restart, in shell before I can start the FTP server again. Why is that and how can I do this automatically at FreeNAS start up?

//A
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
What version of FreeNAS are you running? 9.2.1.1?
 

Andi04

Cadet
Joined
Mar 5, 2014
Messages
8
Thanks. Must have missed that one. Then I'll manually load it until it's resolved.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526

PhilipG

Cadet
Joined
Mar 7, 2014
Messages
1
Just ran into this myself after upgrading a couple of machines to 9.2.1.2.
Found John Hixson fix that dlavigne points out earlier in this thread:
https://bugs.freenas.org/issues/4431
Just in case it helps someone, I applied the patch referenced at the end of the bug report manually via shell access as follows:-
N.B. if you are unsure of these commands functions then please wait until the fix is rolled out in release.
Code:
mount -uw /
cd /root
fetch -o syslogd-patch "https://bugs.freenas.org/projects/freenas/repository/revisions/dc3a5e96abb5599a4f91f7cc63af08e6f799ad81/diff/nanobsd/Files/etc/ix.rc.d/ix-syslogd?format=diff&type=inline&utf8=%E2%9C%93"
patch -p5 /conf/base/etc/ix.rc.d/ix-syslogd  < /root/syslogd-patch
sync
mount -ur /
exit

Note that the "mount -ur /" command may take a little while so be patient.
I then rebooted via the gui and all was well and proftp would auto start on boot if left enabled. Thanks for the quick patch John.
Please comment on this method of patching if anyone sees a problem with it. I needed this fix in place and hand restarting the syslog wan't going to cut it for me.
 
Status
Not open for further replies.
Top