You are not logged in.
Hi,
Maybe it is a newbie question, maybe not, but I am trying to find which services fail at startup (and then why).
I was expecting to find the named info in the dmesg files in /var.
No such luck, as dmesg lists only the kernel info.
I tried to look through the files in /var/log (/var/log/messages.log daemon.log *.log)
I could not find on file to list the services that start during the system init and if they do it successfully or fail (as it is printed on the screen, or similar).
Any ideas where I could look for more info?
Many thanks
Offline
Services that you want to start at boot time should be added to the /etc/rc.conf DAEMONS array.
Services that started successfully at boot-time are listed in the /var/run/daemons/ directory.
For any service that fails, debug it by running the actual command from the init script's 'start)' stanza as root in a terminal and checking the output.
Offline
Thanks for the hint with /var/run/daemons
On the other hand this solves my problem only partially, because using the /etc/rc.d/Serv start method I cannot see the proper order in which the services were started and at what point they failed.
I was expecting to have something like http://www.freebsd.org/cgi/man.cgi?quer … ormat=html
In freebsd the dmesg prints the system buffer, not only the kernel buffer.
Offline
Daemons are started in the order that they are listed in the DAEMONS array.
Offline