Hi
I'm having similar problem on my gentoo box. I'm not quit sure though whether it is only ZoneMinder which is failing because some error messages I keep getting should not exist like
su: Authentication service cannot retrieve authentication info
when I try to
Another thing which is odd: I had previously ZM (1.17, maybe?) installed and working (6 months ago). Then I left it alone and when I tried to login this week, I couldn't.
I checked from MySQL database and the password was correct. It just didn't let me in.
Then I decided to upgrade because there were newer and better versions available.
I decided to try emerge zoneminder but I couldn't get it to work.
Then I tried to compile the newest version. I configured it, compiled it and logged in. But I cannot start ZM from the web page.
Quick grep from /var/log/messages shows that something got running:
Aug 11 22:46:54 lepalind zma-m1[13927]: ERR [Can't find config item 11]
Aug 11 22:54:56 lepalind zmc-d0[14683]: INF [Debug Level = 0, Debug Log = ]
Aug 12 10:04:29 lepalind zmc_d0[31516]: INF [Debug Level = 0, Debug Log = <none>]
Aug 12 10:04:29 lepalind zmc_d0[31516]: INF [Starting Capture]
Aug 12 10:05:07 lepalind zmc_d0[31516]: INF [kontor: 1000 - Capturing at 26.32 fps]
Aug 12 10:07:34 lepalind zmc_d0[32052]: INF [Debug Level = 0, Debug Log = <none>]
Aug 12 10:07:34 lepalind zmc_d0[32052]: INF [Starting Capture]
I'm not sure, but I may have started it from console because I was messing with zmc. But I cannot stop it now.
Aug 12 16:33:01 lepalind zmu[18078]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]
Aug 12 16:33:01 lepalind zms[18082]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]
shows that nothing is running
zmpkg.log shows
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
but I cannot understand why and what log file cannot be opened.
BTW, there isn't such logfile as /var/log/zoneminder
Log files have owner set to root by default