[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] starting and stopping services on a cobalt server



to whomever finds this useful,

one of the most commonly asked questions on this list is:  "how do i
[start|stop] service x?"  since this is also one of my number one
questions, i spent some time the other day compiling a list of commands
for all of the scripts located in /etc/rc.d/init.d/.  i am posting these
commands (the complete list is located below my sig) to the list in case
any of you finds the information helpful.

note, that this list was compiled for our qube2.  since i do not have
any other cobalt product, i really do not know if this list is valid for
any of the raqs etc.  please let me know if i have included any errors
or omissions.

take care, and have a good weekend,

mikey.

-- 
mike songster <mikey@xxxxxxxxxxxxxxxxx>
work1: http://www.biosearchtech.com
work2: http://www.chem.umn.edu/orgs/ampepsoc

spinning and spinning and spinning around...
                                       the feelies

----------------------------------------------------------------------

Standard commands to start and stop services on the Cobalt Qube2:

Service Name
   /path/to/script/file [option1|option2|...]

----------------------------------------------------------------------
Admin Web Server (ahttpd)
   /etc/rc.d/init.d/admserv.init [start|stop|restart|reload|status]
Apache Web Server (httpd)
   /etc/rc.d/init.d/httpd.init [start|stop|restart|reload|status]
BIND DNS server
   /etc/rc.d/init.d/named [start|stop|restart|status]
Cobalt LCD Application
   /etc/rc.d/init.d/sleep.init [start|stop]
Cron Clock Daemon
   /etc/rc.d/init.d/cron.init [start|stop|restart|status]
Custodiat
   /etc/rc.d/init.d/custodiat [start|stop]
DHCP
   /etc/rc.d/init.d/dhcpd [start|stop|restart|status]
Dial on Demand Daemon
   /etc/rc.d/init.d/diald [start|stop]
Gated Routing Daemon
   /etc/rc.d/init.d/gated [start|stop|restart|reload|status]
Legato Networker Client
   /etc/rc.d/init.d/networker [start|stop]
Networking
   /etc/rc.d/init.d/network [start|stop]
NFS (TCP/IP File Sharing)
   /etc/rc.d/init.d/nfs [start|stop|restart|reload|status]
NFS Filesystems (Un)Mounting
   /etc/rc.d/init.d/nfsfs [start|stop]
NTPv4 Daemon (Network Time)
   /etc/rc.d/init.d/ntpd [start|stop|restart|status]
Poprelayd
   /etc/rc.d/init.d/poprelayd [start|stop|restart]
RPC Portmapper
   /etc/rc.d/init.d/portmap.init [start|stop]
Sendmail
   /etc/rc.d/init.d/sendmail [start|stop]
SMB/SAMBA (Windows Networking)
   /etc/rc.d/init.d/smb [start|stop|restart|status]
SNMP Daemon
   /etc/rc.d/init.d/snmpd [start|stop|restart|status]
System Loggers (syslogd/klogd)
   /etc/rc.d/init.d/syslog [start|stop]
TCP/IP Networking Services
   /etc/rc.d/init.d/inet [start|stop]
----------------------------------------------------------------------


Other Special Comands and Scripts:

/etc/rc.d/init.d/halt
   Kills all processes, unmounts file systems and then halts (0) or
   reboots (6) depending on the current runlevel (n).

/etc/rc.d/init.d/single
   Kills all deamons and then puts the system into single user mode
   (note that the file systems are kept mounted).

/etc/rc.d/init.d/ipfilters
   Sets the IP filtering rules (this file is edited automatically by
   the Cobalt admin interface, any changes made to this file may be
   overwritten).

/etc/rc.d/init.d/killall
   Brings down all services that are running.

/etc/rc.d/init.d/showip
   Writes the hostname and IP address to the LCD
----------------------------------------------------------------------