Forums

Resolved
0 votes
Hi,

After creating a user using the openvpn plugin and logged into the user account trying to download the config file to import within openvpn I'm getting this error : Ooooops: File not found.

What can I do to fix this. I've attached a screenshot when logged in as root, under openvpn I get hat error.

Much appreciated.
Attachments:
Monday, September 30 2019, 08:41 PM
Share this post:
Responses (7)
  • Accepted Answer

    Saturday, October 05 2019, 11:26 AM - #Permalink
    Resolved
    0 votes
    Sorry for the delay, but notification e-mails of new posts have been failing so yours got stuck under moderation.

    That looks like you're running ClearOS 6.x? At a guess, Windows Networking is not installed and/or not initialised. The other settings come from the IP settings, I think - not too sure about the DNS server setting.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 01:39 PM - #Permalink
    Resolved
    0 votes
    Hi,

    No worries, all good.

    I'm running clearos or is clearos based on centos, see below:

    cat /etc/issue
    ClearOS Community release 6.10.0 (Final)

    cat /proc/version
    Linux version 2.6.32-754.6.3.v6.x86_64 (mockbuild@build64-1.clearsdn.local) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP Wed Oct 24 16:37:29 MDT 2018

    This happens on all the bundle downloads, windows, linux and macos - please see the attachment.

    What can I do to resolve this.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 06:31 PM - #Permalink
    Resolved
    0 votes
    Please can you get as close as you can to getting the error then turn on the webconfig debug log:
    touch /etc/clearos/webconfig.debug
    Then trigger the error and turn off the logging:
    rm -f /etc/clearos/webconfig.debug
    Then have a look at the debug log in /var/log/webconfig.debug.log for obvious errors.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 07:01 PM - #Permalink
    Resolved
    0 votes
    Hi,

    Maybe I'm missing something somewhere but followed your steps but no output in the file. Replicated the steps exactly as I did the first time I got the error.

    I tailed /var/log/webconfig/error_log and got this output:

    10.10.10.3 - - [06/Oct/2019:20:56:12 +0200] "POST /app/user_certificates/openvpn HTTP/1.1" 200 51 "https://clearos:81/app/user_certificates"; "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"

    But not giving me a lot of information. Should I do something else and paste the output here?

    I've ran yum update and updated to 6.10 and for what it was worth, bounced the server as well but still the same.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 07:53 PM - #Permalink
    Resolved
    0 votes
    I'll have to run up a 6.x VM and check the instructions. They work in 7.x It won't be today.

    Do /etc/openvpn/clients.conf and /etc/openvpn/clients-tcp.conf exist?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 09:14 PM - #Permalink
    Resolved
    0 votes
    Hi,

    I had a look now and nope, the specified files is not there:

    -rw-r--r-- 1 root root 851 Jul 31 16:14 clients.conf.old
    -rw-r--r--. 1 root root 761 Sep 30 2014 clients.conf.original
    -rw-r--r-- 1 root root 829 Nov 12 2014 clients.conf.rpmnew
    -rw-r--r-- 1 root root 831 Nov 12 2014 clients-tcp.conf.rpmnew
    drwxr-xr-x 2 root root 4096 Aug 4 2015 do_not_run_tcp
    -rw------- 1 root root 0 Oct 6 22:41 ipp.txt
    -rw------- 1 root root 366 Oct 6 22:48 openvpn-status.log
    -rw-r--r-- 1 root root 9224 Jul 31 16:33 server.conf
    drwxr-xr-x. 2 root root 4096 Aug 6 2015 ssl
    drwxr-xr-x 2 root root 4096 Sep 30 14:46 staticclients

    I must also mention, our clearos server is setup a little different.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 06 2019, 09:32 PM - #Permalink
    Resolved
    0 votes
    It looks like you hacks have broken the webconfig. You do need both clients.conf and clients-tcp.conf even though the tcp version is pretty much a waste of effort (I found that out to my cost). Also I notice you've change the location of ipp.txt and so on. I'm afraid if you want the webconfig to work properly you'll need to revert. You can make some adjustments to those files and they won't get overwritten. Only a few do get overwritten.
    The reply is currently minimized Show
Your Reply