Hello
Please, we have a glpi version 9 server running on centos 7 which is no longer accessible from the browser.
After checking we found that the http service is stopped and when I start it it no longer starts even after restarting the entire server machine.
I looked in the logs and I don't see any error messages. here are the latest log messages that I get
[Sat Dec 16 14:37:41.728535 2023] [core:notice] [pid 12889] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Dec 16 14:43:09.825450 2023] [core:notice] [pid 14755] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Dec 16 14:43:09.829664 2023] [suexec:notice] [pid 14755] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Dec 16 14:44:10.326746 2023] [auth_digest:notice] [pid 14755] AH01757: generating secret for digest authentication ...
[Sat Dec 16 14:44:10.330954 2023] [lbmethod_heartbeat:notice] [pid 14755] AH02282: No slotmem from mod_heartmonitor
[Sat Dec 16 14:44:50.484925 2023] [core:warn] [pid 14755] AH00098: pid file /run/httpd/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Please i need your help
Regards
httpd service dont start
Re: httpd service dont start
The time between the log messages is unusually long. What is going on on that machine? Is some other process oveloading CPU or memory usage?
Re: httpd service dont start
Are there log files in /var/log/httpd? If so is there an error_log file there?
-
- Posts: 3
- Joined: 2023/12/16 18:30:37
-
- Posts: 3
- Joined: 2023/12/16 18:30:37
Re: httpd service dont start
Hello, see below the cpu and memory usage, there is no http service running
top - 08:33:27 up 1 day, 17:37, 1 user, load average: 0,04, 0,03, 0,05
Tasks: 137 total, 1 running, 136 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,2 us, 0,2 sy, 0,0 ni, 99,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 1015592 total, 134492 free, 478456 used, 402644 buff/cache
KiB Swap: 3145724 total, 2984444 free, 161280 used. 324960 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1038 mysql 20 0 807308 54676 2060 S 0,3 5,4 3:19.41 mysqld
1 root 20 0 191196 2876 1672 S 0,0 0,3 12:13.08 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.03 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:01.20 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0,0 0,0 0:01.56 migration/0
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root 20 0 0 0 0 S 0,0 0,0 0:30.00 rcu_sched
10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
11 root rt 0 0 0 0 S 0,0 0,0 0:00.87 watchdog/0
12 root rt 0 0 0 0 S 0,0 0,0 0:00.62 watchdog/1
13 root rt 0 0 0 0 S 0,0 0,0 0:01.56 migration/1
14 root 20 0 0 0 0 S 0,0 0,0 0:01.19 ksoftirqd/1
16 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:0H
18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
19 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
20 root 20 0 0 0 0 S 0,0 0,0 0:00.10 khungtaskd
21 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 md
28 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 edac-poller
34 root 20 0 0 0 0 S 0,0 0,0 0:09.90 kswapd0
35 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
36 root 39 19 0 0 0 S 0,0 0,0 0:00.65 khugepaged
37 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
45 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
47 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kmpath_rdacd
48 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kaluad
Re: httpd service dont start
The default httpd setup on CentOS 7 does create directory /var/log/httpd/kwetcherod wrote: ↑2023/12/18 07:26:52yes it is the log file /var/log/httpd , There is no error in this file.
The output come out from the command
tail -20 /var/log/httpd
and httpd writes to files /var/log/httpd/access_log and /var/log/httpd/error_log.
If you have file -- not a directory -- /var/log/httpd, then you do have something custom.