2

In my CentOS6 machine, chkconfig shows about httpd as below, but running automatically whenever reboot the system.

httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off

What can I check more to know which init logic make it?

Note that my colleague installed lampp in /opt/lampp directory and ps aux shows as below.

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
daemon    2159  0.0  0.3 432752  5368 ?        S    01:57   0:00 /opt/lampp/bin/httpd -k start -E /opt/lampp/logs/error_log -DSSL -D
masegaloeh
  • 17,978
  • 9
  • 56
  • 104
Youngjae
  • 123
  • 4

1 Answers1

1

$ sudo grep -ri lampp /etc should show you what did it. Maybe /etc/rc.local or some other cruddy init script.

dmourati
  • 24,720
  • 2
  • 40
  • 69
  • It shows `/etc/rc3.d/S99local:/opt/lampp/lampp start, /etc/rc.local:/opt/lampp/lampp start, /etc/rc2.d/S99local:/opt/lampp/lampp start` got it. thanks – Youngjae Jul 03 '15 at 03:17