Obsolete Releases > SME 8.x Contribs
[SOLVED] openvpn route "command not found"
globalsi:
Hi,
I just upgrade a SME 7.5.1 -> 7.6 -> 8 -> 8.1
OpenVPN was already installer (and I forgot to remove it)
I deleted all files and folders having a link with OpenVPN
I tried to install the 8.1 as said at : http://wiki.contribs.org/OpenVPN
Installation was fine but when I run it, I have this:
--- Code: ---[root@sme-domain ~]# /etc/init.d/openvpn start
Starting openvpn :./openvpn.up: line 3: route: command not found
./openvpn.up: line 4: route: command not found
./openvpn.up: line 5: route: command not found
--- End code ---
:-?
Do you have an idea to help me?
Thks.
PS :
--- Code: ---[root@sme-domain ~]# /sbin/e-smith/audittools/newrpms
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
* base: centos.crazyfrogs.org
* smeaddons: www.mirrorservice.org
* smeos: www.mirrorservice.org
* smeupdates: www.mirrorservice.org
* updates: ftp.rezopole.net
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Extra Packages
dmc-mitel-portopening.noarch 0.0.1-4 installed
gifsicle.i386 1.68-1.el4.rf installed
gocr.i386 0.49-1.el4.rf installed
kernel.i686 2.6.18-308.4.1.el5 installed
kernel-PAE.i686 2.6.18-308.4.1.el5 installed
lshw.i386 2.14-1.el4.rf installed
lzo.i386 2.06-1.el5.rf installed
lzo1.i386 1.08-5.el4.rf installed
ocrad.i386 0.17-1.el4.rf installed
openvpn.i386 2.2.2-1.el5.rf installed
perl-Carp-Assert.noarch 0.20-1.el4.rf installed
perl-Class-Data-Inheritable.noarch 0.08-1.el4.rf installed
perl-Class-Virtual.noarch 0.06-1.el4.rf installed
perl-Compress-Bzip2.i386 2.09-1.2.el4.rf installed
perl-Filesys-DiskFree.noarch 0.06-1.2.el4.rf installed
perl-FreezeThaw.noarch 0.45-1.el4.rf installed
perl-GSSAPI.i386 0.28-1.el4.rf installed
perl-Log-Agent.noarch 0.307-1.el4.rf installed
perl-MLDBM.noarch 2.01-5.el4.1 installed
perl-MLDBM-Sync.noarch 0.30-1.2.el4.rf installed
perl-Mail-DomainKeys.noarch 1.0-1.el4.rf installed
perl-Mail-SPF-Query.noarch 1.999.1-8.el4 installed
perl-Net-CIDR-Lite.noarch 0.20-2.1.el4 installed
perl-Net-Daemon.noarch 0.44-7.el4 installed
perl-PlRPC.noarch 0.2020-1.el4.rf installed
perl-String-Approx.i386 3.26-1.el4.rf installed
perl-Sys-Hostname-Long.noarch 1.4-1.2.el4.rf installed
perl-Tie-Cache.noarch 0.17-1.2.el4.rf installed
perl-Tie-Cache-LRU.noarch 20110205-1.el4.rf installed
perl-enum.noarch 1.016-1.2.el4.rf installed
pkcs11-helper.i386 1.08-1.el5.rf installed
--- End code ---
maybe I should remove lzo1 ... ? :-?
globalsi:
I run :
--- Code: ---[root@sme-domain ~]# yum --enablerepo=smecontribs update
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
* base: centos.crazyfrogs.org
* smecontribs: mirror.absolutnet.de
* smeos: www.mirrorservice.org
* smeupdates: www.mirrorservice.org
* updates: ftp.rezopole.net
smecontribs | 2.5 kB 00:00
smecontribs/primary_db | 504 kB 00:06
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.i386 0:2.3.1-3.el5 set to be updated
---> Package perl-Compress-Bzip2.i386 0:2.09-1.2.el5.rf set to be updated
---> Package perl-Filesys-DiskFree.noarch 0:0.06-1.2.el5.rf set to be updated
---> Package perl-FreezeThaw.noarch 0:0.45-1.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================
Package Arch Version Repository Size
======================================================================================================
Updating:
openvpn i386 2.3.1-3.el5 smecontribs 413 k
perl-Compress-Bzip2 i386 2.09-1.2.el5.rf smecontribs 96 k
perl-Filesys-DiskFree noarch 0.06-1.2.el5.rf smecontribs 9.7 k
perl-FreezeThaw noarch 0.45-1.el5.rf smecontribs 18 k
Transaction Summary
======================================================================================================
Install 0 Package(s)
Upgrade 4 Package(s)
Total download size: 536 k
Is this ok [y/N]: y
Downloading Packages:
(1/4): perl-Filesys-DiskFree-0.06-1.2.el5.rf.noarch.rpm | 9.7 kB 00:00
(2/4): perl-FreezeThaw-0.45-1.el5.rf.noarch.rpm | 18 kB 00:00
(3/4): perl-Compress-Bzip2-2.09-1.2.el5.rf.i386.rpm | 96 kB 00:00
(4/4): openvpn-2.3.1-3.el5.i386.rpm | 413 kB 00:04
------------------------------------------------------------------------------------------------------
Total 98 kB/s | 536 kB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : perl-Compress-Bzip2 1/8
Updating : openvpn 2/8
Updating : perl-Filesys-DiskFree 3/8
Updating : perl-FreezeThaw 4/8
Cleanup : perl-Compress-Bzip2 5/8
Cleanup : openvpn 6/8
Cleanup : perl-Filesys-DiskFree 7/8
Cleanup : perl-FreezeThaw 8/8
Updated:
openvpn.i386 0:2.3.1-3.el5 perl-Compress-Bzip2.i386 0:2.09-1.2.el5.rf
perl-Filesys-DiskFree.noarch 0:0.06-1.2.el5.rf perl-FreezeThaw.noarch 0:0.45-1.el5.rf
Complete!
[root@sme-domain ~]# /etc/init.d/openvpn start
Starting openvpn :./openvpn.up: line 3: route: command not found
./openvpn.up: line 4: route: command not found
./openvpn.up: line 5: route: command not found
--- End code ---
damn ! :-(
Stefano:
--- Quote ---I deleted all files and folders having a link with OpenVPN
--- End quote ---
please define.. thank you
DanB35:
route is a binary that you should find in /sbin/route. Is it there? If not, your installation of the net-tools RPM would appear to be damaged. You should be able to fix that with
# yum reinstall net-tools
globalsi:
Thanks for answers.
I replace "route" with "/sbin/route" in /etc/openvpn/openvpn.up and now openvpn start normaly. :-)
I don't know why I must specify this because the $path is correct...
--- Code: ---[root@sme-domain ~]# echo $PATH
/sbin/e-smith:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version