Koozali.org: home of the SME Server

e-smith and openvpn

pablosilva

e-smith and openvpn
« on: December 22, 2004, 09:04:25 PM »
Dear People:


     I was reading this article for to implement a vpn,

http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_30.htm

but when I try to install:

[root@gw root]# rpm -ihv
smeserver-openvpn-0.0.1-2.noarch.rpm
Preparing...              
########################################### [100%]
   1:smeserver-openvpn    
########################################### [100%]
/var/tmp/rpm-tmp.16617: line 1: /sbin/e-smith/db: No
existe el fichero o el directorio
error: %post(smeserver-openvpn-0.0.1-2) scriptlet
failed, exit status 127

 I can see this error, where I can find e-smith rpm that
provides this command or software.

Thanks in Advance for any hint.

-Pablo

duncan

Re: e-smith and openvpn
« Reply #1 on: December 23, 2004, 01:20:21 AM »
Quote from: "pablosilva"

/var/tmp/rpm-tmp.16617: line 1: /sbin/e-smith/db: No
existe el fichero o el directorio

-Pablo


Hi,

Could you translate this, and what version of SME are you running?

pablosilva

Re: e-smith and openvpn
« Reply #2 on: December 23, 2004, 01:00:28 PM »
Quote from: "duncan"
Quote from: "pablosilva"

/var/tmp/rpm-tmp.16617: line 1: /sbin/e-smith/db: No
existe el fichero o el directorio

-Pablo


Hi,

Could you translate this, and what version of SME are you running?


Hi,

  No problem, the message said :

/var/tmp/rpm-tmp.16617: line 1: /sbin/e-smith/db: dosen't exist file or directory

 I was searching for e-smith in my whiteboxlinux distribution as rpm, but I could not find it.

 For these reason, I think that I must to download e-smith package... but which? where?, my principal repository of rpm packages is http://dag.wieers.com/packages/ , I always
install package by yum installer.


 The version of package is

smeserver-openvpn-0.0.1-2.noarch.rpm

Thanks for any Help...

duncan

e-smith and openvpn
« Reply #3 on: December 23, 2004, 01:38:24 PM »
A part of the install of smeserver-openvpn rpm the is the following.

Code: [Select]
/sbin/e-smith/db configuration set openvpn service status disabled

If you are running an earlier version of SME you may not have db (I am only guessing here). The smeserver-openvpn rpm is not required to run openvpn - it simply takes care of SMEs method of starting processes. You could do a link as follows

Code: [Select]
ln -s /etc/rc.d/init.d/openvpn /etc/rc.d/rc7.d/S98openvpn

And forget the package.

Regards Duncan