[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN init script


  • Subject: Re: [Openvpn-users] OpenVPN init script
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Tue, 14 Nov 2006 08:28:32 -0600

Scott Ackerman wrote:
> So I tried to do a yum install openvpn on my Fedora Core 5 box hoping to
> get a version that was compiled for my distro and this is the response I
> get from yum:

First -- I still advise building from the tarball yourself. I've sent an 
off-list reply regarding the difficulties you were having doing that on 
Fedora.

> Downloading Packages:
> (1/1): openvpn-2.1-0.10.b 100% |=========================| 355 kB    00:00
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> useradd: unable to open password file
> error: %pre(openvpn-2.1-0.10.beta14.fc5.i386) scriptlet failed, exit
> status 1
> error:   install: %pre scriptlet failed (2), skipping
> openvpn-2.1-0.10.beta14.fc5
> 
> Installed: openvpn.i386 0:2.1-0.10.beta14.fc5
> Complete!
> 
> And when I try to run openvpn it gives me a command not found reply.

Run "rpm -q --scripts openvpn". Look at the steps taken in the %pre 
script; what looks likely to have caused the failure?

Run "rpm -V openvpn". If parts of the package were not installed, you'll 
be informed at this point. (If it shows no failures, perhaps your path 
doesn't include the location where this package installed OpenVPN? Use 
"rpm -ql openvpn" to see where the installed files went).

If you can take the steps which the pre script was supposed to do by 
hand, do so and install the RPM with --noscripts.

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users