hello , i am trying to start zmpkg.pl from the shell and I get this error when I do a tail -f /var/log/zm/zmpkg.pl file :
05/17/2006 17:59:49.028267 zmpkg[7429].INF [Command: start]
05/17/2006 17:59:50.254292 zmpkg[7429].ERR [Unable to run "sudo -u apache /usr/local/bin/zmfix", output is ""]
I su as apache and went to /usr/local/bin and could run the files jsut fine , so i dont think its a permissions issue , but for giggles i did a chown apache:apache on all the zm perl scripts and set them to 775
I am running FC4 , and trying to run zm 1.22.1 , everyting else seems fine
Any help woud be greatly appreciated =)
zmfix eror upon starting zmpkg.pl
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
If you log in as root and run directly, does it work then?
Code: Select all
sudo -u apache /usr/local/bin/zmfix
Phil
I've upgraded in gentoo from 1.22.2 to 1.22.3 and get the error
12/15/06 12:11:07.974421 zmpkg[6718].INF [Command: start]
12/15/06 12:11:08.478448 zmpkg[6718].ERR [Unable to run "sudo -u apache /usr/bin/zmfix", output is ""]
When i run manually I get no output...
daktak@nintynine ~ $ sudo -u apache /usr/bin/zmfix
daktak@nintynine ~ $
12/15/06 12:11:07.974421 zmpkg[6718].INF [Command: start]
12/15/06 12:11:08.478448 zmpkg[6718].ERR [Unable to run "sudo -u apache /usr/bin/zmfix", output is ""]
When i run manually I get no output...
daktak@nintynine ~ $ sudo -u apache /usr/bin/zmfix
daktak@nintynine ~ $
-
- Posts: 2
- Joined: Sun Dec 17, 2006 10:41 pm
-
- Posts: 2
- Joined: Sun Dec 17, 2006 10:41 pm
The developers or the ebuild maintainers can probably answer better than I can and I might be wrong with my guess. But I believe that the zm.conf file that zmfix was expecting was in the /var/tmp/portage/zoneminder-[version] path instead of the /etc path due to the way that the Gentoo ebuild works. So just as you get this same behavior when the database user or password are not specified correctly in zm.conf, the configuration file that is referenced contains the Gentoo default user and password and most likely not what you have configured.