OpenVPN on CentOS 5.9 Installation Failed

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
sayeed
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 22, 2013 12:09 pm

OpenVPN on CentOS 5.9 Installation Failed

Post by sayeed » Tue Jan 22, 2013 12:14 pm

Hi,

I am a newbie to both Linux Platform and OpenVPN. I have downloaded AsteriskNow installed on CentOS release 5.9 (Final). Now I would like to install and configure OpenVPN on this server. I was trying to install it using terminal but the below error message comes out.

Can anyone please explain step by step procedure to install and configure OpenVPN.

Thanks in advance.

Regards,
Sayeed.

root@localhost Desktop]# yum install openvpn
Loaded plugins: fastestmirror, kmod, security
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* extras: mirror.dhakacom.com
* updates: mirror.dhakacom.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.i386 0:2.3.0-1 set to be updated
--> Processing Dependency: lzo for package: openvpn
--> Processing Dependency: libssl.so.10 for package: openvpn
--> Processing Dependency: libpkcs11-helper.so.1 for package: openvpn
--> Processing Dependency: liblzo2.so.2 for package: openvpn
--> Processing Dependency: libgnutls.so.26 for package: openvpn
--> Processing Dependency: libcrypto.so.10 for package: openvpn
--> Finished Dependency Resolution
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
--> Missing Dependency: libcrypto.so.10 is needed by package openvpn-2.3.0-1.i
386 (repos.openvpn.net-CentOS6-snapshots)
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
--> Missing Dependency: libgnutls.so.26 is needed by package openvpn-2.3.0-1.i
386 (repos.openvpn.net-CentOS6-snapshots)
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
--> Missing Dependency: libpkcs11-helper.so.1 is needed by package openvpn-2.3
.0-1.i386 (repos.openvpn.net-CentOS6-snapshots)
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
--> Missing Dependency: lzo is needed by package openvpn-2.3.0-1.i386 (repos.o
penvpn.net-CentOS6-snapshots)
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
--> Missing Dependency: libssl.so.10 is needed by package openvpn-2.3.0-1.i386 (repos.openvpn.net-CentOS6-snapshots)
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro blems
--> Missing Dependency: liblzo2.so.2 is needed by package openvpn-2.3.0-1.i386 (repos.openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: liblzo2.so.2 is needed by package openvpn-2.3.0-1.i38 6 (repos.openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: lzo is needed by package openvpn-2.3.0-1.i386 (repos. openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: libgnutls.so.26 is needed by package openvpn-2.3.0-1. i386 (repos.openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: libssl.so.10 is needed by package openvpn-2.3.0-1.i38 6 (repos.openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: libcrypto.so.10 is needed by package openvpn-2.3.0-1. i386 (repos.openvpn.net-CentOS6-snapshots)
Error: Missing Dependency: libpkcs11-helper.so.1 is needed by package openvpn-2. 3.0-1.i386 (repos.openvpn.net-CentOS6-snapshots)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Desktop]#

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by maikcat » Tue Jan 22, 2013 1:19 pm

hi there,
I have downloaded AsteriskNow installed on CentOS release 5.9 (Final)
so you have centos 5.9....
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
and you are trying to install centos 6 rpms....

:mrgreen:

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by Douglas » Tue Feb 19, 2013 4:21 pm

maikcat wrote:hi there,
I have downloaded AsteriskNow installed on CentOS release 5.9 (Final)
so you have centos 5.9....
openvpn-2.3.0-1.i386 from repos.openvpn.net-CentOS6-snapshots has depsolving pro
blems
and you are trying to install centos 6 rpms....

:mrgreen:

Michael.
I'll take this one further: AsteriskNOW is a customized release designed for PBX services. Don't put OpenVPN on it, it's just a really terrible idea.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by maikcat » Wed Feb 20, 2013 7:17 am

I'll take this one further: AsteriskNOW is a customized release designed for PBX services. Don't put OpenVPN on it, it's just a really terrible idea.
with all do respect....

why its a terrible idea?

i had used openvpn on elastix in the past with no issues...

regards
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by Douglas » Fri Feb 22, 2013 4:31 pm

It is not good practice to run things off a PBX server! You should let it be... You never know what kind of quirks you will run into.

It may work and that's wonderful, but if you run into a bug down the road you never know what may cause it...

sprintership
OpenVpn Newbie
Posts: 1
Joined: Mon Jul 01, 2013 3:23 pm

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by sprintership » Mon Jul 01, 2013 3:25 pm

I am using Elastix 2.3 and also experiencing problems with OPenVPN. when I connect clients in internal network they connect, however, from outside nope .... all ports / firewalls open for testing time

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN on CentOS 5.9 Installation Failed

Post by maikcat » Tue Jul 02, 2013 6:04 am

if you want help provide more info (configs/logs)...

also did you forward the port from your router to elastix itself?

again with so little info i cant tell what is going wrong..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply