FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 7th, 2002, 09:50 PM
ultra ultra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 32 ultra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Question ProFTPD startup error using default script

Hello,
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.

Any suggestions?

Thanks

P.S. I am running the server standalone and as a non privaleged user.

Last edited by ultra : August 7th, 2002 at 09:57 PM.

Reply With Quote
  #2  
Old August 8th, 2002, 11:49 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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:

/usr/sbin/proftpd

or maybe

startproc /usr/sbin/proftpd

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.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old August 8th, 2002, 12:17 PM
ultra ultra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 32 ultra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hey,
Thanks for replying.

Quote:
look in the script for the line that starts proftpd. bet it has another path than the one you installed it to?


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
Attached Files
File Type: tar proftpd.tar (10.0 KB, 370 views)

Reply With Quote
  #4  
Old August 8th, 2002, 01:56 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
/usr/local/sbin is probably not in your searchpath. replace the line:
Code:
daemon proftpd $OPTIONS

with
Code:
daemon /usr/local/sbin/proftpd $OPTIONS


or add the line
Code:
PATH=$PATH:/usr/local/sbin

before it.

does it work now?

Reply With Quote
  #5  
Old August 8th, 2002, 02:35 PM
ultra ultra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 32 ultra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Talking

Thanks M.Hirsch,
That did the trick...The thing is, its in my $PATH already, but if it works I dont care.

Thanks again

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ProFTPD startup error using default script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway