Page 1 of 1

Error reading multiple files referenced by profile

Posted: Wed Apr 24, 2013 5:45 pm
by Dwarfex
Hi guys,

i hope you can help me :)

I have an OpenVPN server up and runnign and i am now trying to import the profile, which works fine on Win7 computers, to my android phone.

so i moved the config file:

Code: Select all


remote xxxxxxxxxxxxxxxxxxxxx.com
port 8080
proto udp
dev tap
dev-node openvpn
tls-client
ca sdcard/vpn/keys/ca.crt
key /sdcard/vpn/keys/trust.key
cert /sdcard/vpn/keys/trust.crt
ns-cert-type server
comp-lzo
pull
tun-mtu 1500
tun-mtu-extra 32
verb 3
mute 50
persist-key
persist-tun
to /sdcard/vpn/conf/ on the phone and imported the profile.

But now i am getting following error :
"Error reading multiple files referenced by profile : ca.crt, trust.key, trust.crt"

The logfile entry is :
"EVENT:
PROFILE_MERGE_MULTIPLE_REF_FAIL
info="ca.crt,trust.key, trust.crt"

I've double checked if the paths are correct and tried using the path using "- signs.
Doesn't help i'm always getting the error.

Thank you for trying to help :)

Dwarfex

Re: Error reading multiple files referenced by profile

Posted: Wed May 01, 2013 6:42 pm
by qan
I just har this exakt same issue. Worked around it by placing my key-files in the same directory as the config file. The full (and now incorrect) path is still in the config. Must be an issue with hos the filename is parsed..

Re: Error reading multiple files referenced by profile

Posted: Wed May 22, 2013 4:12 pm
by jamesyonan
Yes, all files referenced by profile must exist in the same directory as profile during import, regardless of how paths are specified in profile.

This is done for security, to prevent a third party profile from trying to accessing other files on the device.

error cannot delete file

Posted: Fri Aug 30, 2013 8:30 am
by antonnys
Please try longpathtool and get the solution of above relevant issue.It was really helped me to get the right solution which worked for me.


Thanks
Antonnys