(Another) "ERROR: Could not find config file" OpenVPN client

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

TechMonkey
Posts: 7
Joined: Sun Apr 05, 2015 10:46 pm

(Another) "ERROR: Could not find config file" OpenVPN client

Postby TechMonkey » Fri Dec 09, 2016 9:38 pm

Code: Select all

BusyBox v1.23.2 (2016-07-07 17:36:03 EDT) built-in shell (ash)
| Gargoyle version 1.9.1    | OpenWrt Chaos Calmer branch        |
| Gargoyle revision 55922fb | OpenWrt commit eadf19c             |
| Built July 07, 2016       | Target  ar71xx/usb                 |
------------------------------------------------------------------


On a TP-Link TL-WDR3600 v1, w/ USB overlay drive.

Attempting to configure any OpenVPN client (using .zip, files, or manually) gives the dreaded "ERROR: Could not find config file". (I found several threads w/ same/similar issue going back several years.)

Logread shows:

Code: Select all

Fri Dec  9 17:29:10 2016 daemon.err uhttpd[1872]: tr: short write
Fri Dec  9 17:29:10 2016 daemon.err uhttpd[1872]: tr: short write
Fri Dec  9 17:29:11 2016 daemon.err uhttpd[1872]: egrep: : No such file or directory
Fri Dec  9 17:29:11 2016 daemon.err uhttpd[1872]: egrep: : No such file or directory
Fri Dec  9 17:29:11 2016 daemon.err uhttpd[1872]: egrep: : No such file or directory
Fri Dec  9 17:29:11 2016 daemon.err uhttpd[1872]: egrep: : No such file or directory
Fri Dec  9 17:29:11 2016 daemon.err uhttpd[1872]: egrep: : No such file or directory


/etc/openvpn is empty. (owner is root:root like almost everything else)
Anyone w/ this working could you give me listing of /etc/openvpn/ ? Heck, point me to the right part of the source and I could maybe even suss that out.

I'll be happy to give any more details to help track this down. Thanks!

(In my particular case I can probably make do by setting it up as a server, but target network is already set up and working on pfSense.)

Lantis
Moderator
Posts: 5358
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: (Another) "ERROR: Could not find config file" OpenVPN cl

Postby Lantis » Fri Dec 09, 2016 9:49 pm

Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

ispyisail
Moderator
Posts: 4731
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: (Another) "ERROR: Could not find config file" OpenVPN cl

Postby ispyisail » Sat Dec 10, 2016 2:37 am

works perfect for me

failsafe reset?

TechMonkey
Posts: 7
Joined: Sun Apr 05, 2015 10:46 pm

Re: (Another) "ERROR: Could not find config file" OpenVPN cl

Postby TechMonkey » Sat Dec 10, 2016 3:43 am

ispyisail wrote:works perfect for me

failsafe reset?


Are you using an overlay/extroot?

I'd really rather not do a reset, as I have already had to start from scratch not that long ago. (Migrated back from OpenWRT, as I needed the better reporting and didn't like all the extra fiddling needed for basic stuff on my home router/AP. (The rest of the family seems to get cranky when I'm constantly rebooting for some reason ;)

Besides, other have had this issue, would be good to finally track it down.

ispyisail
Moderator
Posts: 4731
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: (Another) "ERROR: Could not find config file" OpenVPN cl

Postby ispyisail » Sat Dec 10, 2016 4:34 am

Are you using an overlay/extroot?


In what context?

Tell us more about your setup?

Mine are very basic to be fair.

Is it possible i'm getting this error but don't know about it?

TechMonkey
Posts: 7
Joined: Sun Apr 05, 2015 10:46 pm

Re: (Another) "ERROR: Could not find config file" OpenVPN cl

Postby TechMonkey » Mon Dec 12, 2016 1:46 pm

ispyisail wrote:
Are you using an overlay/extroot?


In what context?

Tell us more about your setup?

Mine are very basic to be fair.

Is it possible i'm getting this error but don't know about it?


Not sure what other context there can be? I have a flash drive inserted in one USB port using as overlay. (2nd port is usb HDD, but just using that for file storage: SMB and DLNA)


Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest