Bug 24224 - zoneminder package listing missing
Summary: zoneminder package listing missing
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Barry Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-22 19:13 CET by William Kenney
Modified: 2019-01-27 00:23 CET (History)
3 users (show)

See Also:
Source RPM: zoneminder-1.30.4-2.mga6.x86_64
CVE:
Status comment:


Attachments

Description William Kenney 2019-01-22 19:13:57 CET
Description of problem:

Attempting to install zoneminder results in the following error message:

The package "zoneminder-1.30.4-2.mga6.i586" was found.
However this package is not in the package list.
You may want to update your urpmi database.

Matching packages:

- zoneminder-1.30.4-2.mga6.x86_64 (medium: None (installed))

( end error message )

[root@localhost wilcal]# urpmi zoneminder
Package zoneminder-1.30.4-2.mga6.x86_64 is already installed

Does not seem to be a problem in M7 which only lists the tainted version.

[root@localhost wilcal]# urpmi zoneminder
Package zoneminder-1.32.3-1.mga7.tainted.x86_64 is already installed

I don't know if this is a problem.
Comment 1 Barry Jackson 2019-01-25 15:06:30 CET
How were you attempting to install it?
Being a Web Application it does not show in rpmdrake under the 'Packages with GUI' listings.
Just a thought, maybe un-related.

CC: (none) => zen25000

Comment 2 William Kenney 2019-01-25 15:56:12 CET
(In reply to Barry Jackson from comment #1)

> How were you attempting to install it?
> Being a Web Application it does not show in rpmdrake under the 'Packages
> with GUI' listings.
> Just a thought, maybe un-related.

Just a simple MCC install. I am just starting to get up to speed on this app and other security apps that Mageia uses. This seemed a little out of sorts. Also running on M6

http://localhost/zm

displays a database error code. My D-Link IP camera is on the way from Amazon so I'll have something to test this with in about a week.

A quick install of Zoneminder on M7 seems to be just fine.
Comment 3 Marja Van Waes 2019-01-25 20:02:20 CET
Assigning to the registered maintainer.

Assignee: bugsquad => zen25000
CC: (none) => marja11

Comment 4 William Kenney 2019-01-25 22:40:34 CET
In VirtualBox, M6.1, Mate, 64-bit

In Firefox going to

http://localhost/zm/

results in the following error code:

Unable to connect to ZM db.SQLSTATE[HY000] [1045] Access denied for user 'zmuser'@'localhost' (using password: YES)

I don't know what that means.
Comment 5 William Kenney 2019-01-25 22:55:59 CET
In a Vbox client, M7, Plasma, 64-bit

Zoneminder installs cleanly.

MCC -> System -> Manage system services -> zoneminder checked to start on boot
                                           indicates stopped
                                           Manually starting zoneminder is not successful

root@localhost wilcal]# urpmi zoneminder
Package zoneminder-1.32.3-1.mga7.tainted.x86_64 is already installed
Comment 6 Barry Jackson 2019-01-26 12:23:00 CET
Did you run zmsetup as explained in the README.urpmi?

If so did it complete cleanly?

I recently installed zoneminder in a clean M6 xfce to test the update to the version in Cauldron and hit no issues.

The error looks to me as though zmsetup was not run to correctly assign the correct mysql permissions.

I have never tested it in VBox.

To 'manually start zoneminder' the first time please use:
su
zmsetup

(NOTE that zmsetup stops zoneminder if running before it continues) 

To manually stop the zoneminder server there is:
su
zmstop

...and to cleanly restart zoneminder there is:
su
zmrestart 

This cleanly stops then restarts mysql, apache and zoneminder in order. 

Check the journal or 'systemctl status zoneminder' to get error messages if there is a problem.

You can re-run zmsetup as often as you like to make certain it is correctly configured. If it looks like a mysql (mariadb) issue then allow zmsetup to delete the old database and install a new one.

Let me know how you go.

OT
If this a personal install for your own use and you would like to use the latest Cauldron version in M6 then I have builds for i586 and x86_64 in a private repo. I have 3 systems running this in M6 hosts now. Let me know.
NOTE that the Cauldron version uses a slightly different file layout to the M6 version, the update from one to the other however is seamless being partly handled by the spec and part by zmsetup.
Barry
Comment 7 William Kenney 2019-01-26 14:16:31 CET
Thanks Barry. This is a first time to run Zoneminder for me so all of the above are things I've not done.

Where is README.urpmi located?
Comment 8 Rolf Pedersen 2019-01-26 14:46:39 CET
urpmq -l zoneminder

:(

urpmq -l zoneminder | grep READ

man urpmq

rpm -ql zoneminder
rpm -ql zoneminder | grep READ

man rpm

...

CC: (none) => rolfpedersen

Comment 9 Barry Jackson 2019-01-26 14:47:22 CET
During install using MCC there would have been a message dialogue that offered to display the README.urpmi. Likewise the message would be printed to the terminal when using urpmi.

I guess that for whatever reason you missed the message ;)

You will find the READMEs in /usr/share/doc/zoneminder/

If you will be using the system live then it's also worth reading README.Mageia where allocation of storage space for recorded events is discussed.

You can ignore README.1.27.Mageia which was only relevant to anyone updating from a very old version.

Have fun!
Barry
Comment 10 William Kenney 2019-01-27 00:23:33 CET
Ok, many thanks for the tips on getting this going for me.

I have successfully been able to install, set-up and bring up the:

http://<hostname>/zm

Firefox main page.

A couple comments:

1. the "Upgrade information about this package" was a little confusing
   but opening that there is sufficient info there to get me going

2. The passwords in the zmsetup process were unaccepting of simple
   passwords but the following worked fine:
   
   ZM_USER_PASSWORD: 8JpM3nKq5t7y
   
   mysql root Password: G4Dx7L9u5Nq3
   
I brought this up in both M6.1 and M7 as Vbox x86_64 Plasma clients.
Seems to work just fine.

Amazon has on the way to me a D-Link DCS-2530L WiFi Security Camera and
that should arrive early in the week. And I'll press on from there.

Setting this bug to Resolved.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.