Cant get daemons starting during boot
r at zeik.wns.amu.edu.pl
Sun Jul 25 13:00:45 PDT 2004
Definition of the problem:
Installed applications daemons which have their startup scripts in /usr/local/etc/rc.d/ are
not starting during system boot as they should (only one script is starting - apache2).
Description of the problem:
I had very good working server at FBSD 5.2.1 with several applications (such as apache2,
mysql, pureftpd, postfix, saslauth) and I have upgraded it one day, due to security advisories
of FBSD developers, and application advisories due to portaudit advisories.
Buildworld and whole process of upgrading system from cvsup goes well, portupgrade of applications
also. And after that I discovered, that upgraded applications does not start during system boot.
I chcecked my srcipts permissions (fine), same scripts (fine too - if I run any script from
commandline after the system start, it boots the proper daemon nicely) and config files of
applications (fine too).
After that I started to read forums, and google, then find out that daemons now needs declarations
in /etc/rc.conf so I added them. Still nothing. I finished with that I added the scripts at the end
of the only starting script which is apache2 script, but this is *NOT* proper solution, even
if daemons are working.
Also, I dont see anything uncommon content in any system log.
Can *anybody* give me *any* hint/tip or tell me what I did wrong? Im fightng with that for almost
two weeks right now, and that affects all 3 of my machines.
sample startup script from .../rc.d/:
# PROVIDE: pureftpd
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: FreeBSD shutdown
# Add the following lines to /etc/rc.conf to enable pure-ftpd:
-rwxr-xr-x 1 root wheel 50 23 Maj 14:42 000.compat4x.sh
-rwxr-xr-x 1 root wheel 181 24 Cze 23:50 000.mysql-client.sh
-rwxr-xr-x 1 root wheel 248 13 Lip 19:11 000.pkgtools.sh
-rwxr-xr-x 1 root wheel 1809 21 Lip 20:30 apache2.sh
-rwxr-xr-x 1 root wheel 407 31 Maj 20:29 apache2.sh.orig
-rwxr-xr-x 1 root wheel 227 9 Lip 14:27 helix.sh
-rwxr-xr-x 1 root wheel 549 24 Cze 23:41 mysql-server.sh
-rwxr-xr-x 1 root wheel 550 24 Cze 13:48 oidentd.sh
-rwxr-xr-x 1 root wheel 558 21 Lip 20:23 pure-ftpd.sh
Please, give me any help, if you know what is going on here.
Thanks a lot, r.
More information about the freebsd-questions