by steadybright » Mon Sep 02, 2013 2:03 pm
.
I started from scratch and have the Pogoplug V2 up and running LAMP, samba, and WordPress again.
I'm having the same problem with httpd loading and failing. As was the case originally, I can start httpd manually, and it runs without a problem. The following are the results from running the suggested commands:
[root@alarm ~]# systemctl status httpd
$this->bbcode_second_pass_code('', 'httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:18 MST; 43 years 8 months ago
Process: 146 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
Dec 31 17:00:10 alarm systemd[1]: Starting Apache Web Server...
Dec 31 17:00:17 alarm apachectl[146]: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::225:31ff:fe04:8b22 for ServerName
Dec 31 17:00:17 alarm apachectl[146]: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.115:80
Dec 31 17:00:17 alarm apachectl[146]: no listening sockets available, shutting down
Dec 31 17:00:17 alarm apachectl[146]: Unable to open logs
Dec 31 17:00:18 alarm systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 31 17:00:18 alarm systemd[1]: Failed to start Apache Web Server.
Dec 31 17:00:18 alarm systemd[1]: Unit httpd.service entered failed state.')
[root@alarm ~]# journalctl -n
$this->bbcode_second_pass_code('', '-- Logs begin at Wed 1969-12-31 17:00:04 MST, end at Mon 2013-09-02 07:27:33 MDT. --
Aug 31 16:11:01 alarm kernel: watchdog watchdog0: watchdog did not stop!
Aug 31 16:11:01 alarm systemd-journal[92]: Journal stopped
-- Reboot --
Aug 31 16:34:02 alarm systemd[1]: Time has been changed
Aug 31 16:34:02 alarm ifplugd[178]: client: 31 Aug 16:34:02 ntpdate[386]: step time server 12.10.191.251 offset 1377988413.257478 sec
Aug 31 16:34:02 alarm ifplugd[178]: client: Started network profile 'eth0'
Aug 31 16:34:02 alarm ifplugd[178]: Program executed successfully.
Aug 31 16:35:07 alarm sshd[390]: Accepted password for root from 192.168.1.100 port 5375 ssh2
Aug 31 16:35:07 alarm sshd[390]: pam_unix(sshd:session): session opened for user root by (uid=0)
Aug 31 16:35:07 alarm systemd-logind[139]: New session c1 of user root.
Aug 31 16:35:07 alarm sshd[390]: subsystem request for sftp by user root')
I noticed the date references in both outputs contain 1969-12-31. The journalctl output also has "Aug 31", which isn't the current date either (I ran these commands on 2013-9-2 at almost 1400 GMT).
Running $this->bbcode_second_pass_code('', 'timedatectl status') immediately after the two commands above yielded the correct date, time, timezone, etc.
Perhaps the date stuff is a red herring. I would sure like to know why httpd fails to load at boot.
Thanks for your time.
Sincerely,
steady
People are illogical, unreasonable, and self-centered. Love them anyway.