proftpd not starting at start-up
Hey there
Already thanks for reading this and maybe you can help me Got a bit a weird problem with my fresh install of fedora 11. Installed Apache and everything works "out of the box" Installed proftpd but i always have to start the service manual using #service proftpd start. From what if been reading everything is in place. This is what i got in chkconfig proftpd 0 off 1 off 2 on 3 on 4 on 5 on 6 off Some idea's and help would be welcome. |
Remove proftpd from runlevel 2. I guess it's trying to start at runlevel 2 where there is no networking and it fails. Runlevels 3,5 are enough for the proftpd service.
Regards |
Still not kicking in
Hello Bathory
Trying turning the runlevels 2 and now even 4 to off but still no go. Still got a fail add boot time. Other network depending daemons startup fine at the systems boot. |
Could you post the error you get?
Also check proftpd.conf and make sure you have: Code:
ServerType standalone |
proftpd uses 32-bit capabilities
Found this message in the message log
warning: `proftpd' uses 32-bit capabilities (legacy support in use) Bit odd because i'm using a 32bit version of the latest fedora Been looking around and seems libcap library is the cause of this error. Still pretty new to Linux but if this is the case, why those proftpd start up manuel. The ServerType is set to standalone And what is this libcap ? tryed to install it using yum but it can't seem to find it. |
This is just a warning, I don't think that because of this, proftpd does not start on system boot.
If you don't have libcap and want to use it to see if it solves your problem, you can get the package for FC 10 |
Found out that i have already version lipcap-2.16.2.fc11.i586 installed on my system.
Indeed proftpd those not seem to need it to work since i can start the daemon by using service proftpd start. Really a strange problem in my books. |
In fact. That is why I told you to remove it from runlevel2, because it looks like proftpd tries to start when no network is up.
Try to remove and then re-add proftpd in services: Code:
chkconfig --del proftpd |
Well removed it the first time you told me to.
Now removed it completely out of chkconfig and re-added it. Its now enabled on levels 3 and 5. I tried to use xinetd on my old system but had to do the same thing. Start it manually. |
bathory: Could you simply put a sym link in the appropriate rc#.d (# being runlevel) dir.
Or is this what chkconfig/insserv does? |
@OP
Running proftpd through xinetd is a bit different. You must stop proftpd if it's running, edit proftpd.conf and use Code:
ServerType inetd Code:
service ftp @micxz This is what chkconfig is supposed to do, i.e. create the symlinks to the appropriate rc#.d directories. |
It works
Hello Bathory.
Done what you told me to do and ProFtpd works like it suppose to. It now kicks in everytime a client logs in. Removed the entery in chkconfig and no more errors when booting. There is just 1 more thing i need to ask. When i open the services panel i have 2 entry's for FtpPro. One where the service is disabled and stopped and one has a exclamation mark. Telling me "Getting information about this service failed". If you could help or point me to a threat handling this |
Quote:
I don't know why you get the "Getting information about this service failed" message, but it could happen if there is a pid file left after you disable proftpd from startup services. |
Well the entry with the exclamation mark appeared when i added the file to the xinetd dir. Its more a cosmetic problem then anything else. Going to take a look around and post the fix here if i find it.
But thx for all off the help |
All times are GMT -5. The time now is 10:17 AM. |