FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Location
    Ukraine, Dniepropetrovsk
    Posts
    9

    Question openvpn service is dead

    Hello everybody! I have the following problem, i just installed Fedora 12, clean without anything change in it. I opened services dialog, and the openvpn service have status:dead, however it shows that it is enabled.
    when i try to run it as:
    /sbin/service openvpn start. It write OK. However if check it:
    /sbin/service openvpn status
    it write that service not running. What is a point of a problem? I have opened openvpn in FireWall,however without success, may be some additionsl services for openvpn are not running?

  2. #2
    Join Date
    Apr 2010
    Location
    Ukraine, Dniepropetrovsk
    Posts
    9

    Re: openvpn service is dead

    The problem is resolved. The sense of the problem was, that as described in /etc/init.d/openvpn (/sbin/service start this script),
    the work=/etc/openvpn is the work folder, so shell script search all config files in this folder, if any of them exists, it run them as:
    Code:
    $openvpn --daemon --writepid $piddir/$bn.pid --config $c --cd $work $script_security
    (Line 174) and write pid file to directory,
    /var/run/openvpn. if there is no problems it creates lock file in:/var/lock/subsys/openvpn. And if lock file not exists(it means that were some problems to start config files),it returns "openvpn: service not started", and the service marks as dead in the list of services.
    So lets assume the problem as resolved.

Similar Threads

  1. httpd - This Service Is Dead
    By mbrad in forum Using Fedora
    Replies: 13
    Last Post: 27th March 2010, 07:29 AM
  2. nmb service is dead
    By ttx336 in forum Using Fedora
    Replies: 27
    Last Post: 18th January 2010, 11:58 PM
  3. OpenVPN service is dead
    By litikiti in forum Servers & Networking
    Replies: 5
    Last Post: 18th January 2010, 02:10 PM
  4. Why my OpenVPN service can't start up ?
    By yu xintian in forum Using Fedora
    Replies: 1
    Last Post: 24th November 2009, 11:16 AM
  5. OpenVPN service failure
    By madplague in forum Servers & Networking
    Replies: 0
    Last Post: 31st July 2004, 03:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •