Web Hosting Talk







View Full Version : proftpd


cactus
12-14-2002, 11:53 AM
Hey guys,

Anyone knows how to start/restart proftpd from shell? My proftpd went dead and I tried to restart it in WHM but it failed.

I tried to start/restart it via shell:

/etc/rc.d/init.d/proftpd restart.... but it return "fatal error" missing arguments, <virtual host>

Any help appreciated

rcs
12-14-2002, 12:02 PM
You an error in proftpd.conf.

James[UH]
12-14-2002, 12:03 PM
Mistake in the config most probbaly. If you dont need the virtual host bit comment it out, if its there just double check theres no mistakes.

cactus
12-14-2002, 12:06 PM
Thanks guys, I will try it again and check the config file.

cactus
12-14-2002, 01:25 PM
Thank all, proftpd is now running fine. I checked the config file and it was listed as "vhost" so what I did was:

1) rm -f /var/lock/subsys/proftpd ....deleted the file as I could not find "shutmsg"

2) In /etc/rc.d/init.d/ ...entered
proftpd start vhosts

3) In WHM restart proFTPd to kickstart it and on checking "Server Status" hehe:) the green light showing and all is well.

Thanks again