Fedora 12 ZM service wont start - permissions??[SOLVED]

Forum for questions and support relating to the 1.24.x releases only.
Locked
cadillackid
Posts: 15
Joined: Mon Jul 09, 2007 6:10 pm
Location: Columbus Ohio
Contact:

Fedora 12 ZM service wont start - permissions??[SOLVED]

Post by cadillackid »

I have installed Zoneminder via yum on a fedora 12 system.. it is a brand new installed system and i made sure all dependencies were resolved..

I can see the ZM webpages fine in the webserver and ZM talks to the database on Mysql fine as im able to update settings and they take...

when I try and execute Service zoneminder start here is the output I get at the console:

Code: Select all


[root@zoneminder ZoneMinder]# service zoneminder start
Starting zoneminder: Can't connect: Permission denied at /usr/lib/perl5/vendor_perl/5.10.0/ZoneMinder/Debug.pm line 349
        ZoneMinder::Debug::Fatal('Can\'t connect: Permission denied') called at /usr/bin/zmdc.pl line 168
                                                           [FAILED]
[root@zoneminder ZoneMinder]#

and here is what is logged in var/log/messages relating to this attempt:

Code: Select all

Nov 24 05:08:29 localhost zmpkg[2546]: INF [Command: start]
Nov 24 05:08:30 localhost zmfix[2557]: INF [New Debug Level = 4, New Debug Log = /var/log/zoneminder/zm_debug.log.02557]
Nov 24 05:08:30 localhost zmdc[2561]: INF [Server starting at 09/11/24 05:08:30]
Nov 24 05:08:33 localhost zmdc[2561]: FAT [Can't bind: Address already in use]
Nov 24 05:08:40 localhost zmdc[2559]: FAT [Can't connect: Permission denied]
Nov 24 05:08:41 localhost zmpkg[2546]: ERR [Unable to run "sudo -u apache /usr/bin/zmdc.pl startup", output is "Starting server"]

im not sure what the address in use message is for i verified that the IP address on my machine is not anywhere else on the network....

anyone have any ideas? do I have a file in an incorrect group?
-Christopher
Last edited by cadillackid on Tue Nov 24, 2009 7:31 pm, edited 1 time in total.
If you cant Hook it up, Transmit to it, Receive from it, or Squeal the tires on it i dont want it.
cadillackid
Posts: 15
Joined: Mon Jul 09, 2007 6:10 pm
Location: Columbus Ohio
Contact:

Post by cadillackid »

I found the issue.. it appears zoneminder was trying to start up twice in the runlevel 3 init sequence.. I killed the second script and now ZM is running and doing its normal thing.. not sure what caused it to get in there twice but it surely made a mess of things when it did....

im running fedora 12 with ZM 1.24.2 that I pulled down from yum...

-Christopher
If you cant Hook it up, Transmit to it, Receive from it, or Squeal the tires on it i dont want it.
Locked