Koozali.org: home of the SME Server

linux help

Offline GPete

  • **
  • 38
  • +0/-0
    • http://aaahomebase.com
linux help
« on: July 06, 2006, 10:32:42 PM »
I have so little experience with Linux that I probably don't qualify as a newbie. That doesn't keep me from using the SME servers, but it is keeping me from using OpenVPN on my SME Servers.
I followed all the directions in Hancees OpenVPN installation packet.

wget said it downloaded.
rpm -Uvh said it did its job.
the openvpn folder says that it has the files I was supposed to add, plus an easy-rsa folder.
 
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.

I did the openvpn.up script the same way and did chmod 700 after I got it in the folder.

service openvpn start shows starting service and almost immediately [failed] in red letters.  

I don't know how or where to look for the program.
I don't know if the notepad process is ok in linux.
I don't know how to check and see if the script is executable.

Did I bite off more than I can get help with or are there some knowlegeable people who might see obvious errors and point out solutions?

(I made OpenVPN work on Win2003 and WinXP.)

Offline dsemuk

  • *****
  • 269
  • +0/-0
Re: linux help
« Reply #1 on: July 06, 2006, 10:49:37 PM »
Quote from: "GPete"
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.


Just a guess...

Maybe you should have used an editor which supports UNIX line endings, Windows notepad will give you DOS line endings which I suspect UNIX doesn't interpret correctly.

You can edit the files directly on your server with vim, pico or if you need something a bit more user friendly the editor in mc

Dave
--
Esmith/Mitel/SME server  :-D...

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: linux help
« Reply #2 on: July 06, 2006, 11:00:24 PM »
Quote from: "dsemuk"
Quote from: "GPete"
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.


Just a guess...

Maybe you should have used an editor which supports UNIX line endings, Windows notepad will give you DOS line endings which I suspect UNIX doesn't interpret correctly.

You can edit the files directly on your server with vim, pico or if you need something a bit more user friendly the editor in mc

Dave


noteteba pro, at www.notetab.com can save stuff the unix way and runs on windows. It has a freeware version.

To find out why the service fails you have to look at  /var/log/messages

You could copy that file to windows by enabling ssh in the server-manager and then using winscp: http://winscp.net/eng/index.php

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline GPete

  • **
  • 38
  • +0/-0
    • http://aaahomebase.com
Basic and more basic
« Reply #3 on: July 06, 2006, 11:02:06 PM »
I figured there was a basic reason.


(Not even a newbie.)

>>>>I'll get notetab<<<<

Thanks for all the patience.

Offline GPete

  • **
  • 38
  • +0/-0
    • http://aaahomebase.com
linux help
« Reply #4 on: July 06, 2006, 11:34:00 PM »
From /var/log/messages:
Jul  6 13:54:53 smetest openvpn:  failed
Jul  6 13:55:32 smetest openvpn[8737]: Options error: Unrecognized option or missing parameter(s) in client.conf:42: status-version2 (2.0.2)
Jul  6 13:55:32 smetest openvpn[8737]: Use --help for more information.

 first stop: Line 42.


Thanks again

Offline jfarschman

  • *
  • 406
  • +0/-0
linux help
« Reply #5 on: July 06, 2006, 11:34:41 PM »
Hey Pete,

  My advice to you.  Get a Linux geek friend to show you a few tricks.  It would probably only take a few minutes and if they teach you enough you might become dangerous.

   :lol:

  Good luck.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline GPete

  • **
  • 38
  • +0/-0
    • http://aaahomebase.com
Thanks to all
« Reply #6 on: July 06, 2006, 11:56:47 PM »
(status-version 2) versus (status-version2)

One works (It's up now) One doesn't.

Thanks to all.
You are the closest I know to the linux geeks I was supposed to get to
help

Trust me I am dangerous.