openvpn

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Dec 28 07:08:57 UTC 2010


On Mon, Dec 27, 2010 at 4:40 PM, Kaushal Shriyan
<kaushalshriyan at gmail.com>wrote:

> Hi,
>
> I have two openvpn site configs. I have configured openvpn in daemon mode
> and it needs to be restarted automatically while bootup. I am always faced
> with the below situation.
> and then i need to restart it manually.
>
> Dec 27 16:24:26 kaushal-laptop ovpn-sjc2[1287]: script failed: external
> program exited with error status: 1
> Dec 27 16:24:26 kaushal-laptop ovpn-sjc2[1287]: Exiting
>
> Please suggest/guide
>
> Thanks
>
> Kaushal
>

Hi

I have enabled the verbose debugging in the client.conf and found out the
below issue.

######################################################################################################################
/usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or
directory
cp: `/etc/resolv.conf' and `/etc/resolv.conf' are the same file
run-parts: /etc/resolvconf/update-libc.d/postfix exited with return code 1
run-parts: /etc/resolvconf/update.d/libc exited with return code 1
Tue Dec 28 11:26:32 2010 us=115929 script failed: external program exited
with error status: 1
Tue Dec 28 11:26:32 2010 us=116004 Exiting
######################################################################################################################

I found out the issue. the program postfix was updating the same file
/etc/resolv.conf , I have purged postfix on my desktop and it works
perfectly fine now

Thanks

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101228/c110c48d/attachment.html>


More information about the ubuntu-users mailing list