Hi all,
So I spent this last weekend trying to install Zoneminder on my home server. It was a pain to install (literally took 12hrs+ debugging), because even after following the directions on the ZM wiki, the service would fail to start. Somehow, by dropping and reloading the zm database (or something), I was able to finally start the zoneminder service. Zoneminder was working great and I could see my USB cam via a browser. I rebooted a couple times to make sure ZM was starting on startup and it ran smoothly. Everything seemed good. But then...
I decided to enable the option for authentication/logins via ZM web gui. After enabling this, I restarted ZM, but sadly I was unable to view any output from camera. I thought this was strange, and noticed it only happened after I enabled "built-in" authentication.. so I switched it back and ta-da I could view my camera again. I toggled the option once more, but this time selected the "remote authentication" option. Again, camera didn't show up.
So I decided to reboot PC and let the changes take effect.
Low and behold, a slew of problems.
1. httpd and mysql were removed from startup
Code:
[root@servy386]# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
livesys 0:off 1:off 2:off 3:on 4:on 5:on 6:off
livesys-late 0:off 1:off 2:off 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spice-vdagentd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
tcsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
zoneminder 0:off 1:off 2:off 3:off 4:off 5:off 6:off
2. Strange behavior:
Code:
[root@servy386]# service httpd status
Redirecting to /bin/systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: active (running) since Sun, 19 Aug 2012 23:55:00 -0700; 46min ago
Process: 1074 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
Main PID: 1075 (httpd)
CGroup: name=systemd:/system/httpd.service
â 1075 /usr/sbin/httpd -k start
â 1077 /usr/sbin/httpd -k start
â 1078 /usr/sbin/httpd -k start
â 1079 /usr/sbin/httpd -k start
â 1080 /usr/sbin/httpd -k start
â 1081 /usr/sbin/httpd -k start
â 1082 /usr/sbin/httpd -k start
â 1083 /usr/sbin/httpd -k start
â 1084 /usr/sbin/httpd -k start
â 1608 /usr/sbin/httpd -k start
Aug 19 23:54:59 servy386 httpd[1074]: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20f:b5ff:fe46:a313 for ServerName
[root@servy386 abhe]# chkconfig --add httpd
error reading information on service httpd: No such file or directory
[root@servy386]#
3. cannot start mysqld service
Code:
[root@servy386 abhe]# systemctl start mysql.service
Failed to issue method call: Unit mysql.service failed to load: No such file or directory. See system logs and 'systemctl status mysql.service' for details.
[root@servy386 abhe]# systemctl status mysql.service
mysql.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
4. installed phpmyadmin via yum to maybe see if database is screwed up, but...
Code:
[root@servy386 abhe]# service phpmyadmin start
Redirecting to /bin/systemctl start phpmyadmin.service
Failed to issue method call: Unit phpmyadmin.service failed to load: No such file or directory. See system logs and 'systemctl status phpmyadmin.service' for details.
[root@servy386 abhe]# service phpmyadmin status
Redirecting to /bin/systemctl status phpmyadmin.service
phpmyadmin.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
Any ideas? It was working great like an hour ago, I'm not sure what's going on...

. At least httpd starts I guess.