Author |
Message |
Too Many Secrets
|
Posted: Thu Jul 25, 2013 8:55 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
I tried to install in the MythVantage option, but that didn't work. I tried a sudo pacman -S zoneminder but get: Code: sudo pacman -S zoneminder warning: zoneminder-1.25.0-2 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts...
Targets (1): zoneminder-1.25.0-2
Total Download Size: 0.00 MB Total Installed Size: 9.63 MB
Proceed with installation? [Y/n] (1/1) checking package integrity [######################] 100% (1/1) checking for file conflicts [######################] 100% (1/1) upgrading zoneminder [######################] 100% DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 89 Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 91. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 100. Compilation failed in require at /usr/lib/zm/bin/zmupdate.pl line 47. BEGIN failed--compilation aborted at /usr/lib/zm/bin/zmupdate.pl line 47. error: command failed to execute correctly
I tried the info in this thread, but still no. Any help in this is appreciated. TIA
Last edited by Too Many Secrets on Sat Jul 27, 2013 4:10 pm, edited 1 time in total.
|
|
Top |
|
|
RacerX
|
Posted: Fri Jul 26, 2013 12:09 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
I tested this on my R8.02 test box Code: pacman -S zoneminder resolving dependencies... warning: dependency cycle detected: warning: java-rhino will be installed before its jre7-openjdk-headless dependency looking for inter-conflicts...
Targets (18):
Name Old Version New Version Net Change Download Size
ca-certificates-java 20120721-1 0.07 MiB 0.01 MiB cambozola 0.92-1 0.21 MiB 0.08 MiB java-rhino 1.7R4-1 1.10 MiB 1.02 MiB jre7-openjdk 7.u5_2.2.1-1 0.59 MiB 0.16 MiB jre7-openjdk-headless 7.u5_2.2.1-1 105.71 MiB 22.86 MiB libmcrypt 2.5.8-3 0.25 MiB 0.07 MiB perl-astro-suntime 0.01-2 0.03 MiB 0.00 MiB perl-device-serialport 1.04-4 0.20 MiB 0.05 MiB perl-expect 1.21-2 0.10 MiB 0.03 MiB perl-io-tty 1.10-2 0.13 MiB 0.03 MiB perl-net-sftp-foreign 1.73-1 0.33 MiB 0.09 MiB perl-php-serialization 0.27-2 0.05 MiB 0.01 MiB perl-sys-mmap 0.13-1 0.09 MiB 0.01 MiB perl-time-modules 2011.0517-1 0.11 MiB 0.03 MiB perl-x10 0.03-2 0.16 MiB 0.01 MiB php-gd 5.4.8-1 0.34 MiB 0.08 MiB php-mcrypt 5.4.8-1 0.06 MiB 0.01 MiB zoneminder 1.25.0-23 7.12 MiB 0.85 MiB
Total Download Size: 25.41 MiB Total Installed Size: 116.65 MiB And the installation Code: Proceed with installation? [Y/n] Y
:: Retrieving packages from core... perl-io-tty-1.10-2-x86_64 28.6 KiB 400K/s 00:00 [################################] perl-expect-1.21-2-any 33.8 KiB 478K/s 00:00 [################################] perl-php-serialization-0.27... 5.9 KiB 5.97M/s 00:00 [################################] perl-net-sftp-foreign-1.73-... 92.8 KiB 355K/s 00:00 [################################] perl-time-modules-2011.0517... 28.3 KiB 219K/s 00:00 [################################] perl-astro-suntime-0.01-2-x... 1836.0 B 14.2M/s 00:00 [################################] perl-device-serialport-1.04... 48.4 KiB 246K/s 00:00 [################################] perl-x10-0.03-2-x86_64 14.4 KiB 216K/s 00:00 [################################] php-gd-5.4.8-1-x86_64 80.9 KiB 245K/s 00:00 [################################] libmcrypt-2.5.8-3-x86_64 69.4 KiB 356K/s 00:00 [################################] php-mcrypt-5.4.8-1-x86_64 11.3 KiB 173K/s 00:00 [################################] zoneminder-1.25.0-23-x86_64 871.1 KiB 683K/s 00:01 [################################] :: Retrieving packages from extra... ca-certificates-java-201207... 5.6 KiB 4.71M/s 00:00 [################################] java-rhino-1.7R4-1-any 1049.5 KiB 1455K/s 00:01 [################################] jre7-openjdk-headless-7.u5_... 22.9 MiB 2.90M/s 00:08 [################################] jre7-openjdk-7.u5_2.2.1-1-x... 164.1 KiB 3.91M/s 00:00 [################################] cambozola-0.92-1-x86_64 85.6 KiB 2.16M/s 00:00 [################################] perl-sys-mmap-0.13-1-x86_64 14.1 KiB 215K/s 00:00 [################################] (18/18) checking package integrity [################################] (18/18) loading package files [################################] (18/18) checking for file conflicts [################################] ( 1/18) installing ca-certificates-java [################################] warning: directory permissions differ on etc/ filesystem: 775 package: 755 ( 2/18) installing java-rhino [################################] ( 3/18) installing jre7-openjdk-headless [################################] warning: directory permissions differ on etc/ filesystem: 775 package: 755 warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 Warning: there was a problem reading the certificate file /etc/ssl/certs/VeriSign_Class_3_Publrimary_Certification_Authority_-_G4.pem. Message: Could not initialize NSS Warning: there was a problem reading the certificate file /etc/ssl/certs/AC_Ra?z_Certic?mara_Spem. Message: /etc/ssl/certs/AC_Ra?z_Certic?mara_S.A..pem (No such file or directory) Warning: there was a problem reading the certificate file /etc/ssl/certs/thawte_Primary_Root_CG2.pem. Message: Could not initialize NSS Warning: there was a problem reading the certificate file /etc/ssl/certs/Certinomis_-_Autorit?ine.pem. Message: /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem (No such file or directory) Warning: there was a problem reading the certificate file /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Serka_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem. Message: /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Sertifika_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem (No such file orectory) Warning: there was a problem reading the certificate file /etc/ssl/certs/NetLock_Arany_=Class_=_F?tan?s?tv?ny.pem. Message: /etc/ssl/certs/NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem (No such file or directory) Warning: there was a problem reading the certificate file /etc/ssl/certs/EBG_Elektronik_SertifHizmet_Sa?lay?c?s?.pem. Message: /etc/ssl/certs/EBG_Elektronik_Sertifika_Hizmet_Sa?lay?c?s?.pem (No such file or directory) Warning: there was a problem reading the certificate file /etc/ssl/certs/AffirmTrust_Premium_Eem. Message: Could not initialize NSS Warning: there was a problem reading the certificate file /etc/ssl/certs/COMODO_ECC_CertificatAuthority.pem. Message: Could not initialize NSS Warning: there was a problem reading the certificate file /etc/ssl/certs/GeoTrust_Primary_Certation_Authority_-_G2.pem. Message: Could not initialize NSS done. Optional dependencies for jre7-openjdk-headless libcups: needed for Java Mauve support - libmawt.so fontconfig: needed for Java Mauve support - libmawt.so ( 4/18) installing jre7-openjdk [################################] warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh Optional dependencies for jre7-openjdk icedtea-web-java7: web browser plugin + Java Web Start alsa-lib: for basic sound support giflib: for gif format support gtk2: for the Gtk+ look and feel - desktop usage libxtst: linked in xawt/libmawt.so - desktop usage ( 5/18) installing cambozola [################################] ( 6/18) installing perl-io-tty [################################] ( 7/18) installing perl-expect [################################] ( 8/18) installing perl-php-serialization [################################] ( 9/18) installing perl-net-sftp-foreign [################################] Optional dependencies for perl-net-sftp-foreign perl-file-which perl-sort-key (10/18) installing perl-sys-mmap [################################] (11/18) installing perl-time-modules [################################] (12/18) installing perl-astro-suntime [################################] (13/18) installing perl-device-serialport [################################] warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 (14/18) installing perl-x10 [################################] warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 (15/18) installing php-gd [################################] (16/18) installing libmcrypt [################################] warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 (17/18) installing php-mcrypt [################################] (18/18) installing zoneminder [################################] warning: directory permissions differ on etc/ filesystem: 775 package: 755 warning: directory permissions differ on etc/rc.d/ filesystem: 775 package: 755 warning: directory permissions differ on usr/bin/ filesystem: 775 package: 755 ERROR 1049 (42000) at line 1: Unknown database 'zm' Installing zoneminder database zm gen_light_conf: reading in ssl-inc.conf gen_light_conf: reading in mythweb.conf gen_light_conf: reading in lighttpd-supplement.conf gen_light_conf: reading in zoneminder.conf Optional dependencies for zoneminder netpbm
I'm no expert on zoneminder but it seems to be having trouble with SSl certificates, I'd say open a ticket...
|
|
Top |
|
|
jams
|
Posted: Fri Jul 26, 2013 1:56 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
zoneminder works just fine on version 8..with 7.4 I don't think it ever worked without alot of tinkering. I remember with 7.4 the person pkging it had alot of trouble, but dont' remember the outcome.
From the error it looks like the zoneminder database wasn't setup. Does mysql have a database named zm?
If not this should create it: cat /usr/share/zoneminder/db/zm_create.sql | mysql echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmuser'@localhost identified by "zmpass";' | mysql
|
|
Top |
|
|
RacerX
|
Posted: Fri Jul 26, 2013 2:43 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
Ugh! back to the bain ... Achilles' heel.. Quote: Does mysql have a database named zm? Yes Code: find / -name zm /data/srv/mysql/zm
Code: cd /data/srv/mysql/
Code: ls -l total 28896 -rw-rw---- 1 mysql mysql 5242880 Jul 26 15:28 ib_logfile0 -rw-rw---- 1 mysql mysql 5242880 Jul 26 15:28 ib_logfile1 -rw-rw---- 1 mysql mysql 18874368 Jul 26 13:32 ibdata1 drwx------ 2 root root 16384 Jul 14 19:45 lost+found drwx------ 2 mysql root 4096 Jul 14 19:54 mysql drwx------ 2 mysql mysql 12288 Jul 25 23:59 mythconverg drwx------ 2 mysql mysql 4096 Jul 21 22:22 ncid drwx------ 2 mysql mysql 4096 Feb 11 10:24 performance_schema drwx------ 2 mysql root 4096 Feb 11 10:24 test -rw-rw---- 1 mysql root 119573 Jul 26 15:28 testdb.err -rw-rw---- 1 mysql mysql 5 Jul 26 15:28 testdb.pid drwx------ 2 mysql mysql 4096 Jul 26 12:44 zm
|
|
Top |
|
|
jams
|
Posted: Fri Jul 26, 2013 4:04 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
RacerX. Those questions were directed towards Too Many Secrets. For R8 I know zoneminder works even with those install errors that you saw.
|
|
Top |
|
|
Too Many Secrets
|
Posted: Fri Jul 26, 2013 4:49 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
jams wrote: zoneminder works just fine on version 8..with 7.4 I don't think it ever worked without alot of tinkering. I remember with 7.4 the person pkging it had alot of trouble, but dont' remember the outcome.
From the error it looks like the zoneminder database wasn't setup. Does mysql have a database named zm?
If not this should create it: cat /usr/share/zoneminder/db/zm_create.sql | mysql echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmuser'@localhost identified by "zmpass";' | mysql Well I see this, but I think you are correct. Code: sudo ls -al /data/srv/mysql/zm/ total 12 drwx------ 2 mysql mysql 4096 Jul 25 16:57 . drwx------ 6 mysql root 4096 Jul 25 20:34 .. -rw-rw---- 1 mysql mysql 61 Jul 25 16:57 db.opt
I run the below (my zm_create.sql file is in a different location) Code: sudo cat /usr/lib/zm/upgrade/zm_create.sql | mysql ERROR 1045 (28000): Access denied for user 'mythtv'@'localhost' (using password: NO) Same error when I run as mythtv. Suggestions for getting past this Access problem?
|
|
Top |
|
|
jams
|
Posted: Fri Jul 26, 2013 9:56 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
I would suggest not using sudo, and su to root first.
The command that you pasted will run the cat as root, and then mysql as the mythtv user which will not work.
|
|
Top |
|
|
Too Many Secrets
|
Posted: Sat Jul 27, 2013 10:10 am |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
jams wrote: I would suggest not using sudo, and su to root first.
The command that you pasted will run the cat as root, and then mysql as the mythtv user which will not work. I'm such a dork! Thanks for that jams, I got to the /ip/zm page. I will play with it now and try to get things set up. I need to find what directory it saves files to now...
|
|
Top |
|
|