Zoneminder/CTU core CD distro

Support and queries relating to all previous versions of ZoneMinder
Locked
magnuspictor
Posts: 4
Joined: Thu Dec 15, 2005 11:19 pm

Post by magnuspictor »

I'm getting desperate.

I'm tryng to compile some driver I need, and all I can get is "cc command not found", and "kernel-headers >=2.1.1 needed by gcc-headers" when I try to install gcc -headers.

I'm getting crazy.

Anyboy can guide me step-by-step to configure the bloody links to kernel headers and so on?

And provide me all the tips and clue to choose whatever rpm i need?

Please nothing as generic as "ln -s /usr/src/KERNELVERSION/etc.." I would like an *exact* command, assuming my kernel is last revision available from CTU (1781 or similar, replacing 1772).

I tried everything similar I found in all available FC3 forums, and nothing worked.

After several hours spent to try, I like a 5 secs job to get everything working.

Please!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

There are no build tools included on the cd. Thats how I was able to pack so much into it.
If you need to build you will need to install the tools via YUM or from the Fedora CD set.

Some of the basics are outlined in this thread here.
The proper command would be something like:
yum --enablerepo=base --enablerepo=updates-released groupinstall development-tools

Regards,
Corey
ianafh
Posts: 13
Joined: Tue Jan 11, 2005 1:54 pm
Location: Kent, UK

Broken zoneminder after setting webmin root password

Post by ianafh »

Hello,

I seem to have broken my zm installation. It was working well until I changed the root password for webmin. Now I see the following in /var/log/messages:

Code: Select all

Feb 26 12:46:18 localhost webmin(pam_unix)[3134]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Feb 26 12:46:18 localhost fstab-sync[3220]: added mount point /media/cdrecorder for /dev/hdc
Feb 26 12:46:20 localhost rc: Starting webmin:  succeeded
Feb 26 12:46:21 localhost zm: ERROR 1016 at line 1: Can't open file: 'Config.MYD'. (errno: 145)
Feb 26 12:46:21 localhost zm: Initialize ZoneMinder database: 
Feb 26 12:46:21 localhost zm: ERROR
Feb 26 12:46:21 localhost zm: [60G[[0;31mFAILED
Feb 26 12:46:21 localhost zm:  1062 at line 376: Duplicate entry 'admin' for key 3
Feb 26 12:46:21 localhost zm: 
Any help would be greatly appreciated.

Ian.
africanw
Posts: 13
Joined: Sun Feb 26, 2006 7:48 pm

Hi

Post by africanw »

Hi,

I downloaded the ZoneMinder FC3 Distro v1.21.3 ISO and installed with no problems. I then did a yum update and it took it to version 1.21.4. If I do a yum update again it says there are no more updates.

Do I have to manually upgrade it to 1.22.0?

Thanks

Grant
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

I donated have YOU?
africanw
Posts: 13
Joined: Sun Feb 26, 2006 7:48 pm

Post by africanw »

ok thanks will give that ago.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Version 1.22.0 has not been released as an rpm because it had some things to work out.
Thus, I have not put it in the repo.
Phil will be releasing 1.22.1 soon with a lot of patchs and I have one correction to make to the current build (missing space in the start script under the start function). Once 1.22.1 is out and I complete moving, I'll get a new package up for test. After any other kinks are worked out, then I will place the package in the repo.

Some people have yum set to run nightly and update automaticaly and I don't want to give them a bad package, hence it not be avalable :wink:

Regards,
Corey
heyarnold
Posts: 8
Joined: Thu Feb 05, 2004 3:19 am

Post by heyarnold »

This may be a too simple newbie question, so my apologies in advance.....

How can I set up Fedora so that X Windows dosen't come up automatically? I used to have a Redhat 9 installation that would come up in command line untill you typed "start x". Then the login GUI would come up. This was great for a slow machine, because it saved resources, especially if it ran headless in corner somewhere.

Thanks in advance for any help.
Sika
Posts: 29
Joined: Mon Feb 06, 2006 8:21 am
Location: New Zealand

Post by Sika »

[quote]How can I set up Fedora so that X Windows dosen't come up automatically? I used to have a Redhat 9 installation that would come up in command line untill you typed "start x". Then the login GUI would come up. This was great for a slow machine, because it saved resources, especially if it ran headless in corner somewhere.

Change your run level to :3: This can be done in the /etc/inittab file. Open file and scroll done to "id:5:initdefault:" and change to :3: Reboot or Ctrl+Alt+F1 login as root and I think the command is telinit 3

Sika
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

OFF TOPIC

cordel
is your web up again?
I donated have YOU?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Mostly,
I don't have ftp going yet, but I switched yum over to http insted.
http://www.zoneminder.com/forums/viewto ... c&start=30

Regards,
Corey
heyarnold
Posts: 8
Joined: Thu Feb 05, 2004 3:19 am

Post by heyarnold »

Thanks Sika! It worked! :P
orla
Posts: 18
Joined: Wed Jan 25, 2006 7:39 pm

Post by orla »

Hi

I have made an installaton, where I under "Options - Paths"
changed ZM_DIR_EVENTS to /zm/events
and ZM_DIR_IMAGES to /zm/images
Events are placed in these directories, but
playing old events fails.
Messages indicates the problem:
ERR [Can't open /usr/lib/zm/html//zm/events/2/211/0113-capture.jpg: No such file or directory]

Can i fix this?
Should I make a link?

Hope someone tried the same.

Orla
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

There are two places you have to configure to move the events directory.
1) In the zm options (which you have done)
2) In the /etc/httpd/conf.d/zm.conf (You haven't done)

The second step gives the directory structure for the web server.

Regards,
Corey
orla
Posts: 18
Joined: Wed Jan 25, 2006 7:39 pm

Post by orla »

Thanks for the input.

I tried (after reading the help instructions) the following:
stop ZM
options reset to defaults (events and images)
then deleting symbolic links in /usr/lib/zm/html
(for events and images - pointing at /var/lib/zm/)
making new links with:
ln -s /zm/events
ln -s /zm/images
restart ZM
Seems to be working, but I will test some more to be sure.

Thanks again, Corey
Locked