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? |
Quote:
should look like this when starting Code:
[root@xxx ~]# service openvpn start Possible library modules missing?? Check Code:
ldd `which openvpn` or Code:
let us know your results... |
Quote:
Code:
[root@localhost /]# service openvpn start However if check it as: Code:
[root@localhost /]# service openvpn status And if you start: Code:
[root@localhost /]# system-config-services this service is enabled, this service is dead! Now run ldd command: Code:
[root@localhost /]# ldd /usr/sbin/openvpn And if run /usr/sbin/openvpn it works, nothing about missing libraries, however the serfvice 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 /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. |
All times are GMT -5. The time now is 02:48 PM. |