(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

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

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

Post by TechMonkey »

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: 5715
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

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

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

Post by ispyisail »

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

Post by TechMonkey »

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: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

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

Post by ispyisail »

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

Post by TechMonkey »

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)

Post Reply