August 7th, 2002, 10:50 PM
ProFTPD startup error using default script
I just compiled and maked the latest ProFTPD source. I added the default startup script, $SOURCE_DIR/contrib/dist/rpm/proftpd.init.d, to /etc/rc.d/init.d. I renamed it to proftpd, and created a symbolic link to it in rc3.d (S90proftp). Now, during startup, I noticed it wouldn't start so...I tried starting it manually with the script via ./S90proftp start
I got the following error:
Starting proftpd: execvp: No such file or directory
I checked my system log also, it was the same error message, no more information then above.
The server WILL start manually via /usr/local/sbin/proftpd, just not with the supplied script.
P.S. I am running the server standalone and as a non privaleged user.
Last edited by ultra; August 7th, 2002 at 10:57 PM.
August 8th, 2002, 12:49 PM
No such file or directory - the script is calling a program that is not available.
look in the script for the line that starts proftpd. bet it has another path than the one you installed it to? it should look like this:
correct it. if this is not the problem, post the script here (as attachment, please, not inline) and iŽll have a look at it.
August 8th, 2002, 01:17 PM
Thanks for replying.
I already did that. I changed everything to the proper path. Just for the reference, it was installed to /usr/local/sbin. I also fixed the paths to the lock files.
I have attached the shell script to this post.
Thanks for the help
August 8th, 2002, 02:56 PM
/usr/local/sbin is probably not in your searchpath. replace the line:
daemon proftpd $OPTIONS
or add the line
daemon /usr/local/sbin/proftpd $OPTIONS
does it work now?
August 8th, 2002, 03:35 PM
That did the trick...The thing is, its in my $PATH already, but if it works I dont care.