Portál AbcLinuxu, 10. listopadu 2025 02:19
httpd (pid 4883 2097 1961) is running...
mysqld (pid 1916) is running...
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
zoneminder is stopped
Ve "Sluzbach" nelze ZM ani zastavit ani restartovat, to konci take chybou:
zoneminder failed. The error was: Stopping zoneminder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
[FAILED]
Zatim pouzivam Camstream, ale ZoneMinder (pokud by mi fungoval) nabizi vice funkci a oproti Motion ma i webove rozhrani (alespon pokud vim), tak bych ho chtel vyzkouset. Je nejake schudne reseni pro uvedenou chybu?
Řešení dotazu:
Behem instalace ("yum install zoneminder") se ani zadne prihlasovaci udaje do databaze nepozadovaly
Tak to má být. Správně vytvořený RPM balík se při instalaci nikdy na nic neptá. Nakonfigurovat si ho musíš až po instalaci. Jak najít konfigurační soubory balíku:
$ rpm -qc zoneminder /etc/httpd/conf.d/zoneminder.conf /etc/zm.conf
A neodpustím si poznámku - proč používáš Fedoru 8, jejíž podpora byla ukončena v lednu 2009?
Jeste jednou diky.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.