View unanswered posts | View active topics It is currently Wed May 22, 2013 7:56 pm



Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Getting ZoneMinder into debian and ubuntu 
Author Message

Joined: Thu Jul 20, 2006 2:07 am
Posts: 319
Location: Australia
Post Bother
I even previewed to double-check and missed it. The second line should, of course, be
Code:
sudo /etc/init.d/apache2 reload


Wed Apr 18, 2007 7:06 am
Profile YIM WWW

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post OK, getting there
So, that gets zm up and running! I think this was my big problem because I remember zm "installing" in previous attempts and I was just confused why the code wasn't there and the browser didn't work. Can/should the installer do this?

Anyway, the database problems were probably a side effect of installing/reinstalling in multiple ways when the above didn't work.

After work I am hoping to have time for more fun. I am still having problems creating my camera monitors. Is there a log file that would tell what part of my monitor is invalid (displayed in red so far). Please note, I had zm running on this machine last week so the hardware should be good.

Thanks!
Ryan


Wed Apr 18, 2007 4:16 pm
Profile

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post nevermind
OK, the monitor started so ignore the last post. I will try to test everything this evening. Thank you for taking the time to make the package and helping me out!
Ryan


Wed Apr 18, 2007 4:19 pm
Profile

Joined: Thu Jul 20, 2006 2:07 am
Posts: 319
Location: Australia
Post Re: OK, getting there
rjewell wrote:
So, that gets zm up and running! I think this was my big problem because I remember zm "installing" in previous attempts and I was just confused why the code wasn't there and the browser didn't work. Can/should the installer do this?


That bieng a question I am still mulling over. Looking at other packages, squirrelmail leaves it up to the admin to do the link, mediawiki does it for you. I may put it in as a postinst question . . .


Thu Apr 19, 2007 12:03 am
Profile YIM WWW

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post Re: OK, getting there
OK, I am still hoping to have more time on this tonight...

I don't think I have enough experience to have an opinion on creating the link. It seems like some steps should be taken to avoid confusion and questions when someone like me installs the package though. Most of the packages I've kept were ones that were simple to setup.

I got bold and tried to map /var/cache/zoneminder onto a different/bigger partition. I will have to search for the correct procedure here.

I'm not sure if this is related. When I stopped zm from the terminal I got errors talking about /var/www/zm/html. I never realized there was such a directory... I purged the package and tried to re-install it. I get similar errors (see below).

So, if you have an opinion/information feel free to post. I think it's equally possible I am creating the problems and will spend more time with this.
Code:
root@ubuntu:/home/ryan/Desktop# dpkg --install zoneminder_1.22.3-6_i386.deb
Selecting previously deselected package zoneminder.
(Reading database ... 112152 files and directories currently installed.)
Unpacking zoneminder (from zoneminder_1.22.3-6_i386.deb) ...
Setting up zoneminder (1.22.3-6) ...
Starting ZoneMinder: Can't chdir to '/var/www/zm/html': No such file or directory at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 349
        ZoneMinder::Debug::Fatal('Can\'t chdir to \'/var/www/zm/html\': No such file or directory') called at /usr/bin/zmpkg.pl line 95
failure

invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--install):
 subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
 zoneminder


Thu Apr 19, 2007 12:45 am
Profile

Joined: Thu Jul 20, 2006 2:07 am
Posts: 319
Location: Australia
Post 
That last looks like a real bug. I'm not seeing it but I will investigate.


Thu Apr 19, 2007 12:48 am
Profile YIM WWW

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post zm/html
I never really knew there was a zm/html dir. I remember seeing this recently when I went to upgrade (before trying your package). I think one of the wiki's set this as a path to configure or something. It also may have been in my startup script. Anyway, if there is any info I can provide let me know. I tried to purge and reinstall and consistently get this error.

Thanks.
Ryan


Thu Apr 19, 2007 4:17 am
Profile

Joined: Fri Apr 20, 2007 3:19 pm
Posts: 3
Post 
hi folks,

i want to install zoneminder on my ubuntu server machine. there is no gui on it. i hope that isnt needed...

i have downloaded the *.deb file a few mins ago.
when i want to install this using
Code:
 sudo dpkg -i zoneminder_1.22.3-6_i386.deb

the server tells me i dont have installed php4 or php5.
well, php5 is installed, also mysql.
there r several cms-sites running on it... :-)

perhaps it is possible to install zm with apt-get?
any idea?

thanks in advance!

Jean-Paul


Fri Apr 20, 2007 3:25 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
Yes apt-get can be used as per the instructions in the wiki that are located here.


Fri Apr 20, 2007 3:35 pm
Profile WWW

Joined: Fri Apr 20, 2007 3:19 pm
Posts: 3
Post 
ubuntu-server works with same repository's as debian?
i can put the debian repository's in the sourcelist and instal it that simple?

thanks in advancer!

Jean-Paul


Fri Apr 20, 2007 3:48 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
ewww, That I don't know....
I seen that you were installing a deb file and overlooked that you posted that you're using Ubuntu.


Fri Apr 20, 2007 3:59 pm
Profile WWW

Joined: Fri Apr 20, 2007 3:19 pm
Posts: 3
Post 
ok
no problem.

perhaps someone else has a good idea... :-)


Fri Apr 20, 2007 4:07 pm
Profile

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post a *little* information
I think someone else that knows more will weigh in. There are a few wiki's that detail the steps of installing zm on ubuntu. I've manually installed 3 times. There are certain dependencies that don't seem to be covered in the wiki instructions though. Each time I spend hours searching posts trying to find the missing pieces (video codecs I think).

I'm pretty certain you can't apt-get yet. I thought this is what Peter is working toward with these deb's. I think he said he will work on getting into the ubuntu repo's once debian is done.


Fri Apr 20, 2007 4:29 pm
Profile

Joined: Fri Mar 03, 2006 1:38 am
Posts: 23
Location: CA
Post note
Hi again Peter.

I just wanted to let you know... I created the zm/html directory I was getting errors about. This allowed the package to install successfully. I did end up finding the note about having to create the symbolic link (readme.debian). Finally, I learned I also have to create the startup script. It would be nice if that were in the package too.

Thanks.

Ryan


Fri Apr 20, 2007 11:14 pm
Profile

Joined: Thu Jul 20, 2006 2:07 am
Posts: 319
Location: Australia
Post Re: note
rjewell wrote:
Finally, I learned I also have to create the startup script. It would be nice if that were in the package too.


??????????????????

You shouldn't have to create anything. The startup script is definitely part of the package . . . which startup script are you referring to?


Sat Apr 21, 2007 1:08 am
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 92 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group