Do you mean a service that uses the network (like a web server), or the network configuration itself (like interfaces and routing)?
There's no defined way to restart the latter in Solaris 9. I'm not sure exactly what you're doing.
For applications, there's no one defined log location. It's up to the app to make use of syslog facilities or log to a dedicated file.
--
Darren
Hi
Thanks for the reply
What is needed is a log so that we can check to see if the network services goes down. Yes, i know that network services cannot be restarted manually, but we need to monitor when it automatically goes down and up or when the connection goes down.
is there any other settings other than mail.debug which is used?
We want the logs to be as detailed as possible.
Thanks
I'm afraid that you still haven't clarifed what you mean by "services".
Each application logs its own way. So you'll have to enumerate all of the services you're interested in.
Otherwise, you could go to Solaris 10 where the OS monitors services directly.
--
Darren
Actually we have a process from a third party application that dies at a specific time and day, we are unable to see what caused this.
when we ps -ef, after that specific time and day, that particular service is no longer there. Is there any way or log file to see this?
sorry, i think i wrongly used the term network.
It's up to the application to log itself. Unless you enable accounting, the system isn't going to be able to tell you when or why every single process might have died or exited.
There is no global log for random applications or processes.
Most applications have their own log or send information to syslog.If there's no log, or the log doesn't contain any information about the process going away, you may have to work with the vendor or developer to get more information.
If you know beforehand exactly when it will die, you can run 'truss' on the process. If it gets a signal, you'll see what signal is delivered.
--
Darren