Page 3 of 7

Bother

Posted: Wed Apr 18, 2007 6:06 am
by PeterHoward
I even previewed to double-check and missed it. The second line should, of course, be

Code: Select all

sudo /etc/init.d/apache2 reload

OK, getting there

Posted: Wed Apr 18, 2007 3:16 pm
by rjewell
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

nevermind

Posted: Wed Apr 18, 2007 3:19 pm
by rjewell
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

Re: OK, getting there

Posted: Wed Apr 18, 2007 11:03 pm
by PeterHoward
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 . . .

Re: OK, getting there

Posted: Wed Apr 18, 2007 11:45 pm
by rjewell
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: Select all

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

Posted: Wed Apr 18, 2007 11:48 pm
by PeterHoward
That last looks like a real bug. I'm not seeing it but I will investigate.

zm/html

Posted: Thu Apr 19, 2007 3:17 am
by rjewell
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

Posted: Fri Apr 20, 2007 2:25 pm
by jpgeerets
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: Select all

 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

Posted: Fri Apr 20, 2007 2:35 pm
by cordel
Yes apt-get can be used as per the instructions in the wiki that are located here.

Posted: Fri Apr 20, 2007 2:48 pm
by jpgeerets
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

Posted: Fri Apr 20, 2007 2:59 pm
by cordel
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.

Posted: Fri Apr 20, 2007 3:07 pm
by jpgeerets
ok
no problem.

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

a *little* information

Posted: Fri Apr 20, 2007 3:29 pm
by rjewell
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.

note

Posted: Fri Apr 20, 2007 10:14 pm
by rjewell
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

Re: note

Posted: Sat Apr 21, 2007 12:08 am
by PeterHoward
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?