Re: services in solaris



Mangesh wrote:
Hi All,

Can you please tell me how to start/stop/restart/status services in
solaris.
Like in linux we can easily check status by saying service httpd
status or
service httpd start
service httpd stop
service httpd restart

Thanks & Regards,
Mangesh

Depends on your solaris version.
Up to Sol9 via /etc/init.d/service start/stop/restart, Sol10 works with svcadm (legacy services with init.d as well). The others are defined in /etc/services and /etc/inetd.conf . The init.d entries are normally links or copies to the corresponding entries in /etc/rc2.d, rc3.d, etc. .

--


Gruss / Cheers

Robert
.



Relevant Pages

  • Re: services in solaris
    ... Like in linux we can easily check status by saying service httpd ... If you're on Solaris 10 it's similar ... svcadm disable apache2 ...
    (comp.unix.solaris)
  • services in solaris
    ... solaris. ... Like in linux we can easily check status by saying service httpd ...
    (comp.unix.solaris)