Installation Issues on Fedora

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
bhasvanth
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 20, 2011 6:36 am

Installation Issues on Fedora

Post by bhasvanth » Sat Aug 20, 2011 6:48 am

Hi ,

I have followed the steps for installing OpenVPN by using rpm. When I try to run the commad "rpm -ivh /root/rpmbuild/RPMS/i686/openvpn-2.2.1-1.i686.rpm", it is giving me following errors :

Preparing... ########################################### [100%]
file /etc/rc.d/init.d/openvpn from install of openvpn-2.2.1-1.i686 conflicts with file from package openvpn-2.1.1-2.fc12.i686
file /usr/sbin/openvpn from install of openvpn-2.2.1-1.i686 conflicts with file from package openvpn-2.1.1-2.fc12.i686
file /usr/share/man/man8/openvpn.8.gz from install of openvpn-2.2.1-1.i686 conflicts with file from package openvpn-2.1.1-2.fc12.i686


Any help in resolving the above errors or installing OpenVPN on fedora OS will appreciable.

Please do let me know in case you need more info.


Regards,
Bhasvanth

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

Re: Installation Issues on Fedora

Post by maikcat » Sat Aug 20, 2011 12:52 pm

hi there,

if you issue

rpm -qa | grep openvpn

do you see openvpn package already installed?

i guess you already have 2.1.1-2.fc12.i686 package in your system

use rpm -e to remove it..

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"

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Installation Issues on Fedora

Post by janjust » Sat Aug 20, 2011 8:56 pm

you want to Upgrade OpenVPN, not Install it.
Use

Code: Select all

rpm -Uvh
or

Code: Select all

yum install
'rpm -ivh' is meant ONLY to install a package

bhasvanth
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 20, 2011 6:36 am

Re: Installation Issues on Fedora

Post by bhasvanth » Wed Aug 24, 2011 1:10 pm

Thanks Michael,

I am able to Install/Update openvpn. Can you provide me any simple document for configuring openvpn.


Regards,
Bhasvanth

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

Re: Installation Issues on Fedora

Post by maikcat » Wed Aug 24, 2011 1:45 pm

hi there,

please take a look in documentation section under community version in openvpn.net

there are plenty examples about various setups.

if you need help letus know.

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"

bhasvanth
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 20, 2011 6:36 am

Re: Installation Issues on Fedora

Post by bhasvanth » Wed Aug 31, 2011 12:43 pm

Hi Michael,

I have tried configuring Open VPN server as mentioned in the below links:
http://www.webhostingtalk.com/showthread.php?t=595436
http://meinit.nl/setting-openvpn-server ... edora-core

But when i start openvpn, its giving failed status and in log file an error message is displayed as mentioned below
Aug 31 20:31:42 localhost nm-dispatcher.action: nm_dispatcher_action: Invalid connection: '(null)' / 'connection setting not found' invalid: 1
Aug 31 21:15:34 localhost openvpn[6243]: OpenVPN 2.2.1 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Aug 20 2011
Aug 31 21:15:34 localhost openvpn[6243]: NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Aug 31 21:15:34 localhost openvpn[6243]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Aug 31 21:15:34 localhost openvpn[6243]: Cannot open dh1024.pem for DH parameters: error:02001002:system library:fopen:No such file or directory: error:2006D080:BIO routines:BIO_new_file:no such file
Aug 31 21:15:34 localhost openvpn[6243]: Exiting


Please help in resolving this issue.


Regards,
Bhasvanth

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Installation Issues on Fedora

Post by janjust » Wed Aug 31, 2011 12:50 pm

the message
Aug 31 21:15:34 localhost openvpn[6243]: Cannot open dh1024.pem for DH parameters: error:02001002:system library:fopen:No such file or directory: error:2006D080:BIO routines:BIO_new_file:no such file
suggests that the file dh1024.pem cannot be found ; did you run './build-dh' ? did you generate a 1024 or 2048 bit key?

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: Installation Issues on Fedora

Post by Mimiko » Wed Aug 31, 2011 1:00 pm

Cannot open dh1024.pem
Tae a look at this also: http://forums.openvpn.net/topic7377.html

Post Reply