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 #15 on: March 04, 2008, 07:32:16 PM »
Error: Missing Dependency: perl(Device::SerialPort) is needed by package zoneminder
Error: Missing Dependency: smstools >= 3.3 is needed by package smeserver-usersendsms
Error: Missing Dependency: /boot/vmlinuz-2.6.9-55.0.9.EL is needed by package kernel-module-bttv-2.6.9-55.0.9.EL
Error: Missing Dependency: smeserver-mailsorting >= 1.2 is needed by package smeserver-usersendsms

I copied the errors after downloading srpm and then yum localinstall *.rpm




Offline raem

  • *
  • 3,972
  • +4/-0
Re: Internet access to server in LAN
« Reply #16 on: March 04, 2008, 07:43:46 PM »
tviles

Quote
....do I also get the files under srpm?
...I copied the errors after downloading srpm and then yum localinstall *.rpm

No, do not download & install srpms. They are source rpms from which the rpms are built.
Only ever install from rpms.

The command you used ie
yum localinstall *.rpm
should only have installed the rpms and not the srpms, so srpms are not the problem.

Based on what sognenovski says, you only want to install the kernel-module-bttv package version that matches your kernel version.
check with
uname -r
which on my sme7.3 gives
2.6.9-67.0.1.ELsmp

So you only needed to download the kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm plus the other packages of course.
Remove the other versions of kernel-module-bttv before you do the
yum localinstall *.rpm command

Try again and see what results you get.

« Last Edit: March 04, 2008, 07:54:01 PM by RayMitchell »
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Internet access to server in LAN
« Reply #17 on: March 04, 2008, 08:23:21 PM »
tviles

Download these rpms to an empty folder on your sme server

bttv-0.9.15-3.sme.i686.rpm
kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm
smeserver-modprobe-bttv-1.0-02.noarch.rpm
smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
zoneminder-1.22.3-9.el4.sme.i386.rpm

cd to that folder and do

yum --enablerepo=dag localinstall *.rpm

that will allow yum to also install any dependencies including the perl-Device-SerialPort dependency rpm
« Last Edit: March 05, 2008, 09:53:21 AM by RayMitchell »
...

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #18 on: March 04, 2008, 11:10:22 PM »
OK will try again when I get home from work. I'm sure I will dazzle you with my results.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #19 on: March 05, 2008, 03:14:04 AM »
This is what I get

[root@tracys-linuxbox home]# yum enablerepo=dag localinstall *.rpm
Loading "fastestmirror" plugin
Loading "smeserver" plugin

usage: yum [options] < update | install | info | remove | list |
    clean | provides | search | check-update | groupinstall |
    groupupdate | grouplist | groupinfo | groupremove |
    makecache | localinstall | erase | upgrade | whatprovides |
    localupdate | resolvedep | shell | deplist >

options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C                    run entirely from cache, don't update cache
  -c [config file]      config file location
  -R [minutes]          maximum command wait time
  -d [debug level]      debugging output level
  -e [error level]      error output level
  -y                    answer yes for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  --exclude=[package]   exclude package(s) by name or glob
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
[root@tracys-linuxbox home]#


Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #20 on: March 05, 2008, 03:21:52 AM »
I also got this earlier.

[root@tracys-linuxbox home]# uname -r
2.6.9-67.0.1.ELsmp
[root@tracys-linuxbox home]#

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #21 on: March 05, 2008, 03:27:43 AM »
Quote
[root@tracys-linuxbox home]# uname -r
2.6.9-67.0.1.ELsmp

standby, putting together the rpm list you need

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #22 on: March 05, 2008, 04:10:45 AM »
This is what I have in this dir or folder.

[root@tracys-linuxbox home]# dir
bttv-0.9.15-3.sme.i686.rpm
kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm
smeserver-modprobe-bttv-1.0-02.noarch.rpm
smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
zoneminder-1.22.3-9.el4.sme.i386.rpm
[root@tracys-linuxbox home]#

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #23 on: March 05, 2008, 04:13:11 AM »
If I put in the command like this I get

[root@tracys-linuxbox home]# yum --enablerepo=dag localinstall *.rpm
Loading "fastestmirror" plugin
Loading "smeserver" plugin


Error getting repository data for dag, repository not found
[root@tracys-linuxbox home]#

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #24 on: March 05, 2008, 04:14:03 AM »
Quote
This is what I have in this dir or folder.

[root@tracys-linuxbox home]# dir
bttv-0.9.15-3.sme.i686.rpm
kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm
smeserver-modprobe-bttv-1.0-02.noarch.rpm
smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
zoneminder-1.22.3-9.el4.sme.i386.rpm
[root@tracys-linuxbox home]#

ok, on a clean 7.3 you only need these

zoneminder-1.22.3-9.el4.sme.i386.rpm
smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
perl-Archive-Zip-1.20-1.el4.rf.noarch.rpm
perl-Device-SerialPort-1.003001-1.el4.rf.i386.rpm
perl-MIME-Lite-3.01-2.2.el4.rf.noarch.rpm
smeserver-modprobe-bttv-1.0-02.noarch.rpm
kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm

For some unknown reason a stack of rpms are missing from my contribs folder???


download to a empty folder and run
# yum localinstall *.rpm

then
# reboot

access zoneminder at http://your_server_IP/zm
username: admin
password: is your SME admin password

setup cameras and activate 'purge when full' filter
« Last Edit: March 07, 2008, 09:35:58 PM by sognenovski »

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #25 on: March 05, 2008, 04:23:13 AM »
OK working on it now. Downloading as fast as this dialup can go.

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #26 on: March 05, 2008, 04:24:23 AM »
If I put in the command like this I get

[root@tracys-linuxbox home]# yum --enablerepo=dag localinstall *.rpm
Loading "fastestmirror" plugin
Loading "smeserver" plugin


Error getting repository data for dag, repository not found
[root@tracys-linuxbox home]#

Enable Dag repository first
http://wiki.contribs.org/Dag

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #27 on: March 05, 2008, 04:40:02 AM »
This is what I got.

[root@tracys-linuxbox home]# yum localinstall *.rpm
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm: kernel-module-bttv-2.6.9-67.0.1.ELsmp - 0.9.15-4.sme.i686
Examining perl-Archive-Zip-1.20-1.el4.rf.noarch.rpm: perl-Archive-Zip - 1.20-1.el4.rf.noarch
Examining perl-Device-SerialPort-1.003001-1.el4.rf.i386.rpm: perl-Device-SerialPort - 1.003001-1.el4.rf.i386
Examining perl-MIME-Lite-3.01-2.2.el4.rf.noarch.rpm: perl-MIME-Lite - 3.01-2.2.el4.rf.noarch
Examining smeserver-modprobe-bttv-1.0-02.noarch.rpm: smeserver-modprobe-bttv - 1.0-02.noarch
Examining smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm: smeserver-zoneminder - 0.1-4.el4.sme.noarch
Examining zoneminder-1.22.3-9.el4.sme.i386.rpm: zoneminder - 1.22.3-9.el4.sme.i386
Marking kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm to be installed
Marking perl-Archive-Zip-1.20-1.el4.rf.noarch.rpm to be installed
Marking perl-Device-SerialPort-1.003001-1.el4.rf.i386.rpm to be installed
Marking perl-MIME-Lite-3.01-2.2.el4.rf.noarch.rpm to be installed
Marking smeserver-modprobe-bttv-1.0-02.noarch.rpm to be installed
Marking smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm to be installed
Marking zoneminder-1.22.3-9.el4.sme.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-modprobe-bttv.noarch 0:1.0-02 set to be updated
---> Package perl-MIME-Lite.noarch 0:3.01-2.2.el4.rf set to be updated
---> Package kernel-module-bttv-2.6.9-67.0.1.ELsmp.i686 0:0.9.15-4.sme set to be updated
---> Package perl-Archive-Zip.noarch 0:1.20-1.el4.rf set to be updated
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
---> Package perl-Device-SerialPort.i386 0:1.003001-1.el4.rf set to be updated
---> Package smeserver-zoneminder.noarch 0:0.1-4.el4.sme set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel-module-bttv-2.6.9-67.0.1.ELsmp  i686       0.9.15-4.sme     kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm  348 k
 perl-Archive-Zip        noarch     1.20-1.el4.rf    perl-Archive-Zip-1.20-1.el4.rf.noarch.rpm  241 k
 perl-Device-SerialPort  i386       1.003001-1.el4.rf  perl-Device-SerialPort-1.003001-1.el4.rf.i386.rpm  226 k
 perl-MIME-Lite          noarch     3.01-2.2.el4.rf  perl-MIME-Lite-3.01-2.2.el4.rf.noarch.rpm  130 k
 smeserver-modprobe-bttv  noarch     1.0-02           smeserver-modprobe-bttv-1.0-02.noarch.rpm   755
 smeserver-zoneminder    noarch     0.1-4.el4.sme    smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm   18 k
 zoneminder              i386       1.22.3-9.el4.sme  zoneminder-1.22.3-9.el4.sme.i386.rpm  4.0 M

Transaction Summary
=============================================================================
Install      7 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
smeserver trap pre-install: smeserver-modprobe-bttv
smeserver trap pre-install: perl-MIME-Lite
smeserver trap pre-install: kernel-module-bttv-2.6.9-67.0.1.ELsmp
smeserver trap pre-install: perl-Archive-Zip
smeserver trap pre-install: zoneminder
smeserver trap pre-install: perl-Device-SerialPort
smeserver trap pre-install: smeserver-zoneminder
  Installing: perl-Device-SerialPort       ######################### [1/7]
  Installing: zoneminder                   ######################### [2/7]
You can access zoneminder at http://yoursite/zm and it requires admin/adminpassword to log in.
  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.
  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
Attempting to modprobe bttv card=77 tuner=4

done.


Edit card number at /etc/e-smith/events/local/90modprobe-bttv

  Installing: perl-MIME-Lite               ######################### [6/7]
  Installing: perl-Archive-Zip             ######################### [7/7]
Migrating existing database spamassassin
Migrating existing database yum_updates
Migrating existing database yum_repositories
Migrating existing database mailpatterns
Migrating existing database accounts
Migrating existing database hosts
Migrating existing database domains
Migrating existing database yum_available
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database networks
Migrating existing database configuration
smeserver trap post-install: smeserver-modprobe-bttv
smeserver trap post-install: perl-MIME-Lite
smeserver trap post-install: kernel-module-bttv-2.6.9-67.0.1.ELsmp
smeserver trap post-install: perl-Archive-Zip
smeserver trap post-install: zoneminder
smeserver trap post-install: perl-Device-SerialPort
smeserver trap post-install: smeserver-zoneminder

Installed: kernel-module-bttv-2.6.9-67.0.1.ELsmp.i686 0:0.9.15-4.sme perl-Archive-Zip.noarch 0:1.20-1.el4.rf perl-Device-SerialPort.i386 0:1.003001-1.el4.rf perl-MIME-Lite.noarch 0:3.01-2.2.el4.rf smeserver-modprobe-bttv.noarch 0:1.0-02 smeserver-zoneminder.noarch 0:0.1-4.el4.sme zoneminder.i386 0:1.22.3-9.el4.sme
Complete!


Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #28 on: March 05, 2008, 04:49:34 AM »
I did this after I did yum localinstall *.rpm


/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL4' \
BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #29 on: March 05, 2008, 04:55:14 AM »
FYI I have not moved the pico2000 card out of the Vista box into the Linux box yet.
That's all for tonight!!!