LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-23-2015, 09:47 AM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
temp dir fails - no such file or directory


basically to reload the service

openvpn --config /etc/openvpn/server.conf

in my server.conf it looks like this -

remote xxxxxxxxxx

float

port 1194

dev tun

ifconfig 10.8.0.2 10.8.0.3

persist-tun

persist-local-ip

persist-remote-ip

comp-lzo

ping 15

secret /etc/openvpn/vpn.key

route 10.10.1.0 255.255.255.0

chroot /etc/openvpn/tmp

user nobody

group nobody

log /var/log/openvpn/vpn.log

verb 1

i have created a dir for the chroot -

mkdir /etc/openvpn/tmp

then i restart the service (like above) but i keep on getting an error message -

[root@openvpn /]# tail -f /var/log/openvpn/vpn.log

Options error: Temporary directory (--tmp-dir) fails with '/etc/openvpn/tmp//tmp': No such file or directory

Options error: Please correct these errors.

Use --help for more information.
 
Old 11-23-2015, 10:26 AM   #2
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
success!!!

[root@openvpn /]# mkdir -p /etc/openvpn/tmp/tmp

[root@openvpn /]# mkdir -p /tmp/openvpn/tmp/tmp
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
broadcom nic driver installation fails-no such file and dir pgb205 Red Hat 2 07-20-2009 09:56 AM
how to copy a file to a directory ,where file and dir are sent as args to a function? wrapster Programming 1 06-08-2008 07:00 AM
Strange files in temp dir stefaandk Linux - General 4 11-24-2005 04:24 PM
temp dir for suse 9.3 rajen_iiit Linux - Software 2 08-10-2005 06:58 AM
Can I share temp dir? powadha Linux - General 1 03-06-2004 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration