Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need zoneminder help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gopher2
n00b
n00b


Joined: 10 Oct 2005
Posts: 38

PostPosted: Fri Mar 14, 2008 3:36 am    Post subject: need zoneminder help Reply with quote

Code:
/etc/init.d/zoneminder start
 * Starting zoneminder ...
Can't open log file '/var/log/zoneminder/zmdc.log': Permission denied at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 279.
Can't connect: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349
        ZoneMinder::Debug::Fatal('Can\'t connect: No such file or directory') called at /usr/bin/zmdc.pl line 167                                                 

here is the permissions of that log file...
Code:

gentoo zoneminder # ls -la
total 4
drwxr-xr-x 2 root   root   104 Mar 13 23:18 .
drwxr-xr-x 8 root   root   336 Mar 13 00:44 ..
-rw-r--r-- 1 root   root     0 Mar 13 22:35 zmdc.log
-rw-r--r-- 1 apache apache 999 Mar 13 23:15 zmpkg.log
gentoo zoneminder #

     

do i need to change the permissions of the log file? if so what to?
Back to top
View user's profile Send private message
mjf55
Guru
Guru


Joined: 25 Aug 2007
Posts: 372

PostPosted: Fri Mar 14, 2008 5:26 pm    Post subject: Reply with quote

Some thoughts on a possible solution. I do not use Zoneminder, so I cannot tell you for sure.
Changing the permissions on the log file should work
Starting (etc/init.d/zoneminder start) as root should work
Auto starting (rc-update add zoneminder default) should work

Also check on the zoneminder forums (www.zoneminfer/forums i think)

hope this helps.
_________________
Mark
No longer a n00b, but still a 'Kool Kid' wannabe
Back to top
View user's profile Send private message
Nokai001
n00b
n00b


Joined: 25 Sep 2007
Posts: 28

PostPosted: Sun Mar 16, 2008 3:18 pm    Post subject: Reply with quote

Habe das gleiche Problem. Hat vielleicht jemand eine Lösung?

Vielen dank
Back to top
View user's profile Send private message
Amarok
n00b
n00b


Joined: 11 Nov 2003
Posts: 70

PostPosted: Sun Mar 16, 2008 3:48 pm    Post subject: Reply with quote

Tja ihr seid da nicht alleine.
Nach langer zeit mit dme alten zoneminder wollte ich auch alles neu machen.

aber irgendwie habe ich das selbe problem wie ihr.
die dateien im /var/log/zoneminder stoeren mich nicht wirklich ( auch 777) aendert da ja nichts.

wenn ich "sudo -u root /usr/bin/zmdc.pl startup" verwende, klappt zumindest mal der start.

aber das ist leider keine lösung.

amarok
Back to top
View user's profile Send private message
Nokai001
n00b
n00b


Joined: 25 Sep 2007
Posts: 28

PostPosted: Sun Mar 16, 2008 7:27 pm    Post subject: Reply with quote

Hi

Also wenn ich in der zm.conf (nur zum testen)

ZM_WEB_USER=root
ZM_WEB_GROUP=root

eintrage starte er ohne Probleme, nur wenn ich das web Interface öffne steht dort immer noch gestoppt.
Wenn ich den ZM_Server dann über das web Interface starten will startet er ebenfalls nicht.

im log:
Unable to run "sudo -u apache /usr/bin/zmdc.pl startup", output is "Starting server"

tja. Mittlerweile hab ich sogar versucht die alte version wieder zu installiern, leider ohne erfolg.

Auch das installieren von Hand scheitert leider.
Über eure Hilfe würde ich mich sehr freuen,

Vielen Dank
Back to top
View user's profile Send private message
Amarok
n00b
n00b


Joined: 11 Nov 2003
Posts: 70

PostPosted: Sun Mar 16, 2008 8:12 pm    Post subject: Reply with quote

Ja habs nun doch auch genauer gesehen.

okay läßt sich ueber /etc/init.d/zoneminder start zwar starten aber stimmt schon. geht ja nicht wirklich.

habs mit vhosts laufen und das machts etwas schiweriger.

vielleicht hats hier doch jemand am laufen und kann uns die USEs von MYSQL PHP UND ZONEMINDER senden.

lg Amarok
Back to top
View user's profile Send private message
Nokai001
n00b
n00b


Joined: 25 Sep 2007
Posts: 28

PostPosted: Mon Mar 17, 2008 3:56 pm    Post subject: Reply with quote

Hi,

habs hinbekommen :lol:

Versucht mal das hier
chown -R apache:apache /var/run/zm

ich hoffe das klappt. Falls ihr nicht weiter kommt schreibt hier, dann schick ich euch alle meine Einstellungen usw.


Viel Spaß

Bis dnn
Back to top
View user's profile Send private message
Amarok
n00b
n00b


Joined: 11 Nov 2003
Posts: 70

PostPosted: Mon Mar 17, 2008 10:20 pm    Post subject: Reply with quote

@Nokai001

bin mir zwar nun nicht sicher was es wirklich war aber ich vermute es war dein Befehl.

ja nun läuft er wieder der Zoneminder.
danke dir

lg Amarok
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Wed Mar 19, 2008 7:12 pm    Post subject: Reply with quote

@Nokai001: Danke ich hatte das gleiche Problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum