Koozali.org: home of the SME Server

Internet access to server in LAN

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #30 on: March 05, 2008, 05:51:07 AM »
OK rebooted and using IE to browse to http://192.168.0.153/zm and I get this:

Could not connect to database: Access denied for user 'zmuser'@'localhost' (using password: YES)


Offline raem

  • *
  • 3,972
  • +4/-0
Re: Internet access to server in LAN
« Reply #31 on: March 05, 2008, 09:58:21 AM »
tviles

Quote
yum enablerepo=dag localinstall *.rpm

Sorry, as you discovered the command I suggested had a typo (which I fixed in the original post), it should have said
yum --enablerepo=dag localinstall *.rpm

It also implied that the dag repo was configured on your server, about which you have since discovered/been advised.
...

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #32 on: March 05, 2008, 04:03:53 PM »
It's ALL good! I learned something. I need to capture some errors I am getting now on boot up and post later after work today.

T

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #33 on: March 05, 2008, 09:14:06 PM »
Quote
Installing: kernel-module-bttv-2.6.9-67. ######################### [4/7]
  Installing: smeserver-modprobe-bttv      ######################### [5/7]
ERROR: Module bttv does not exist in /proc/modules
As you stated, no video capture card installed

Quote
Installing: smeserver-zoneminder         ######################### [3/7]
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
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.5/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.5/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 48.
Zoneminder bombed out when it was started.
Bad sql database was created, or was it created somehow from a previous install of smeserver-zoneminder rpm. My knowledge is limited here, given this is a fresh install of  7.3 and ZM, lets proceed at your own risk. A warning to backup now if you have any data of value!

Create a new database, from root

stop zoneminder service
# /etc/init.d/zoneminder stop

destroy zm database
# mysqladmin -f drop zm

create a new zm database
# mysql mysql < /usr/share/zoneminder/db/zm_create.sql

and restart zoneminder service
# /etc/init.d/zoneminder start

try and login now.

Regards
Steve

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #34 on: March 05, 2008, 09:39:44 PM »
Thanks I will move capture card over and follow instructions for new database this evening.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #35 on: March 06, 2008, 02:09:35 AM »
I can login to ZM now! It's telling me to upgrade to a newer version already. No video coming thru yet so I must have more reading to do.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #36 on: March 06, 2008, 03:08:11 AM »
Sweet I have video.

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #37 on: March 06, 2008, 05:46:18 AM »
Quote
It's telling me to upgrade to a newer version already.
No, that won't work. I should have disabled this in the rpm. Will do in the next release later in the year.

for now go to the zoneminder Options > System and uncheck "ZM_CHECK_FOR_UPDATES" and restart ZM.

Quote
Sweet I have video.
Well done & welcome aboard.

S

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Internet access to server in LAN
« Reply #38 on: March 14, 2008, 09:09:04 PM »
The zoneminder rpms should be available here after the mirrors sync

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder
...