Anyway, ran into some permission issues when trying to start up Zoneminder, and have an inability to get to the Zoneminder site on my box.
When starting with the regular startup script I get:
Code: Select all
Can't connect: Permission denied at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349
ZoneMinder::Debug::Fatal('Can\'t connect: Permission denied') called at /usr/bin/zmdc.pl line 168
/var/log/messages gives me
Code: Select all
May 27 19:36:39 camerahost zmpkg[7305]: INF [Command: start]
May 27 19:36:39 camerahost sudo: root : TTY=pts/0 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/bin/true
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session opened for user apache by root(uid=0)
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session closed for user apache
May 27 19:36:39 camerahost sudo: root : TTY=pts/0 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl check
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session opened for user apache by root(uid=0)
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session closed for user apache
May 27 19:36:39 camerahost sudo: root : TTY=pts/0 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmfix
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session opened for user apache by root(uid=0)
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session closed for user apache
May 27 19:36:39 camerahost sudo: root : TTY=pts/0 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl startup
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session opened for user apache by root(uid=0)
May 27 19:36:39 camerahost sudo: pam_unix(sudo:session): session closed for user apache
May 27 19:36:40 camerahost zmdc[7319]: INF [Server starting at 10/05/27 19:36:40]
May 27 19:36:42 camerahost zmdc[7319]: FAT [Can't bind: Address already in use]
May 27 19:36:50 camerahost zmdc[7317]: FAT [Can't connect: Permission denied]
May 27 19:36:50 camerahost zmpkg[7305]: ERR [Unable to run "sudo -u apache /usr/bin/zmdc.pl startup", output is "Starting server"]
May 27 19:36:50 camerahost rc-scripts: Failed to start ZoneMinder