LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-27-2011, 09:24 AM   #1
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Rep: Reputation: 0
Upgraded to Fedora 15 now OpenVPN doesn't work ... systemctl issue?


Hi, after upgrading to Fedora 15 OpenVPN client doesn't work. Server is setup somewhere else.

I type in konsole as usual: # service openvpn start

and then I get following:

Starting openvpn (via systemctl): [ OK ]

In the past I got prompted for my password. It also never said something about systemctl. I was reading there is/was a systemd bug, but I didn't understand that really and I wouldn't think that there is a bug with such a widely used program ...
 
Old 05-28-2011, 02:23 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What does 'service openvpn status' say ? .. is it running ?
 
Old 05-28-2011, 08:13 AM   #3
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
hi, yes, it says it give s me the [ok]. ...
 
Old 05-28-2011, 05:07 PM   #4
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
oh, it daunts me right now, you actually wanted me to run the command "'service openvpn status'". Ok, I did that now, it says "openvpn: service not started"
 
Old 05-28-2011, 05:13 PM   #5
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Rep: Reputation: Disabled
Can you post an error log IF there is one? Sorry, I am not familiar with this package, but I found an article that might help.
 
Old 05-28-2011, 05:38 PM   #6
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Rep: Reputation: Disabled
Here: http://www.fedoraforum.org/forum/sho...d.php?t=262483

Hope that helps
 
Old 05-28-2011, 05:44 PM   #7
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
The openvpn.log is empty, which is unusual.

The /var/log/messages shows:

a couple of days back:
May 25 07:28:40 pmatt2011 setroubleshoot: SELinux is preventing /usr/sbin/openvpn from write access on the file /etc/openvpn/openvpn.log. For complete SELinux messages. run sealert -l db9e5692-c424-4844-a75b-0dbd9e09d710

when I try to run this it says:
sealert -l db9e5692-c424-4844-a75b-0dbd9e09d710
Error
query_alerts error (1003): id (db9e5692-c424-4844-a75b-0dbd9e09d710) not found


today:
May 28 15:24:11 pmatt2011 systemd[1]: openvpn.service start request repeated too quickly, refusing to start.
May 28 15:24:30 pmatt2011 systemd[1]: openvpn.service start request repeated too quickly, refusing to start.
 
Old 05-29-2011, 01:02 AM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Try 'restorecon /etc/openvpn/openvpn.log*' .. there may be other incorrectly labelled files so check /var/log/messages after you try to restart openvpn

cheers
 
Old 05-29-2011, 08:35 AM   #9
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
actually this morning it showed the openvpn.log from yesterday. The log underlines my problem, I don't get a password prompt anymore. BTW, I reinstalled OpenVPN with no effect.

Sun May 29 06:29:36 2011 OpenVPN 2.1.4 x86_64-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 17 2011
Sun May 29 06:29:36 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Enter Private Key Password:Sun May 29 06:29:36 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun May 29 06:29:36 2011 Cannot load private key file /etc/openvpn/keys/petFedora2.key: error:0906A068:PEM routines:PEM_do_header:bad password read: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
Sun May 29 06:29:36 2011 Error: private key password verification failed
Sun May 29 06:29:36 2011 Exiting


I am trying to load Fedora 14 again to see if it will go back to normal.
 
Old 05-29-2011, 10:23 AM   #10
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
even when i try to load F14 in startup menu it does the same thing: Starting openvpn (via systemctl)

Before upgrading to F15 it didn't do that via systemctl thing.
 
Old 05-29-2011, 10:32 AM   #11
Hanse42
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Now here is another strange thing. I can make it work under KDE Network manager, however under service openvpn status it still shows unconnected. The other thing that sucks is that I will loose ping to www.google.com when I use OpenVPN over KDE Network Manager.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded from 9.04 to 9.10 Now the system doesn't work kadal27 Ubuntu 6 11-09-2009 08:23 PM
openvpn with nm or terminal , firefox doesn't work, only opera tunez Linux - Networking 1 12-11-2008 02:50 PM
Upgraded to 2.6.10 kernel and now sound doesn't work h0mes1ck Slackware 3 04-25-2006 11:05 AM
Upgraded to XFree86 in Slackware, now it doesn't work. crabber338 Slackware 7 04-13-2006 09:21 PM
Upgraded memory, now PCMCIA doesn't work ponds Linux - Software 5 07-05-2004 04:59 PM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration