December 1st, 2006, 10:02 AM
|
#11 (permalink)
| | Junior Member
Join Date: Dec 2006
Posts: 4
|
Thanks so much for the how to, not sure I even qualify as a Noobie, but I do have a problem and I suspect it is related to the fact that I am an idiot but I can get so far theough the how to but in the section around CREATE KEYS FOR THE SERVER AND THE CLIENTS... when I type in gzip -d pkitool.gz I get the error "gzip: pkitool.gz: No such file or directory" and of course after that the subsequent permission denied when I try to build-ca. Help, thoughts appreciated |
| |
December 1st, 2006, 10:10 AM
|
#12 (permalink)
| | A hero in training
Join Date: Oct 2001 Location: Norfolk, VA
Posts: 22,078
|
are you in the correct directory when you try to do gzip command for pkitool?
Do you see the pkitool file when you do the list command on the directory?
Are you sudo in when trying it? |
| |
December 1st, 2006, 10:26 AM
|
#13 (permalink)
| | Junior Member
Join Date: Dec 2006
Posts: 4
|
wow, thanks for the quick response yes i am in the right directory "/usr/share/doc/openvpn/examples/easy-rsa/2.0", yes i see the pkitool file and no I am not sudo as I am logged in as root. |
| |
December 1st, 2006, 10:58 AM
|
#14 (permalink)
| | A hero in training
Join Date: Oct 2001 Location: Norfolk, VA
Posts: 22,078
|
can you copy and paste when you do the ls command and when you try the gzip command with the error. Just so i can see what you are doing.
I just tried out the gzip -d pkitool.gz on my vmware image and worked fine. |
| |
December 1st, 2006, 11:06 AM
|
#15 (permalink)
| | Junior Member
Join Date: Dec 2006
Posts: 4
|
here is the ls..
build-ca build-key-pass build-req-pass list-crl revoke-full
build-dh build-key-pkcs12 clean-all openssl.cnf sign-req
build-inter build-key-server inherit-inter pkitool vars
build-key build-req keys README.gz
here is what gets returned..
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# gzip -d pkitool.gz
gzip: pkitool.gz: No such file or directory
and also here is what I get when id o the clean-all and build-ca..
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# source ./vars
NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ./clean-all
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ./build-ca
./build-ca: line 8: /usr/share/doc/openvpn/examples/easy-rsa/2.0/pkitool: Permission denied
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0#
any help gratefully appreciated! |
| |
December 1st, 2006, 11:22 AM
|
#16 (permalink)
| | A hero in training
Join Date: Oct 2001 Location: Norfolk, VA
Posts: 22,078
|
You don't have the pkitool.gz file. You already have the pkitool folder so you can skip that
what shows up when you do ls -l build-ca |
| |
December 1st, 2006, 11:30 AM
|
#17 (permalink)
| | Junior Member
Join Date: Dec 2006
Posts: 4
|
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ls -l build-ca
-rwxr-xr-x 1 root root 121 2005-11-02 13:42 build-ca
THX |
| |
December 1st, 2006, 11:35 AM
|
#18 (permalink)
| | A hero in training
Join Date: Oct 2001 Location: Norfolk, VA
Posts: 22,078
|
try chmod +x pkitool and see if that corrects it |
| |
January 16th, 2007, 08:59 PM
|
#19 (permalink)
| | Junior Member
Join Date: Jan 2007
Posts: 1
|
I have several questions. You mention "Now when you were configuring the client.conf file you had a line in there “Dev-node mytap”." but never did this in the conf files. Is there something missing? When I finish doing all of this and try to run /etc/init.d/openvpn start I get a Starting virtual private network daemon: server(FAILED). Am I supposed to start the "server" vpn? I think this might be related to the previous problem with not setting the vpn name?
Also, you refer to client.conf (in the problem I just stated). May I assume you are talking about the clients.ovpn you made?
Thanks for your help!
Zach
aim:zachhale
gtalk:zachhale()gmail.com |
| |
January 17th, 2007, 10:31 AM
|
#20 (permalink)
| | A hero in training
Join Date: Oct 2001 Location: Norfolk, VA
Posts: 22,078
|
That client config has nothing to do with starting the server. If you are getting a server (failed) it means something in your config file on the server is not set up right.
As for the client.conf and my tap, i have updated that part of the post. You are correct i left out the mytap portion. Thanks for the heads up.
Please post your server.conf file so i/others can review it. |
| | |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | | | | Thread Tools | Search this Thread | | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |