Differences
This shows you the differences between two versions of the page.
— |
manual:087:1_installation.1_install_unix.5a_start_system_services [2019/10/29 15:16] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Start System Services ==== | ||
+ | Cacti requires the following system services (daemons) to be started. | ||
+ | * crond\\ starts cacti polling | ||
+ | * mysqld\\ stores all administrative data for cacti | ||
+ | * httpd\\ provides the cacti web interface | ||
+ | * snmpd (optional)\\ on the local server is required to poll its snmp based performance data | ||
+ | |||
+ | You should ensure, that on a system restart, those services are restarted as well. System start procedures are under heavy development these days. We have SysV init scripts, upstart and systemd. So things may change ... | ||
+ | |||
+ | This example assumes that we're dealing with the //httpd// web service. **Please apply the same procedure to all services above.** | ||
+ | |||
+ | Here's how to start //httpd// as a service. Make sure, that //httpd// is listed as a service by issuing | ||
+ | <code> | ||
+ | chkconfig --list|grep httpd | ||
+ | </code> | ||
+ | Activate //httpd// by | ||
+ | <code> | ||
+ | chkconfig httpd on | ||
+ | </code> | ||
+ | to find sth like | ||
+ | <code> | ||
+ | chkconfig --list|grep httpd | ||
+ | httpd 0:Off 1:Off 2:On 3:On 4:On 5:On 6:Off | ||
+ | </code> | ||
+ | Now start the service via | ||
+ | <code> | ||
+ | service httpd start | ||
+ | </code> | ||
+ | Verify via | ||
+ | <code> | ||
+ | service httpd status | ||
+ | </code> |