Server Install on Amazon Linux AMI - Can't Generate Script

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Locked
ncjasen
OpenVpn Newbie
Posts: 2
Joined: Sun Apr 24, 2011 2:31 am

Server Install on Amazon Linux AMI - Can't Generate Script

Post by ncjasen » Sun Apr 24, 2011 2:43 am

ran yum install openvpn
logged into the EC2 instance and opened up ports 443 and 943
then ran /usr/local/openvpn_as/bin/ovpn-init (as root)
The output:

Code: Select all

Initializing OpenVPN...
Adding new user login...
useradd -s /sbin/nologin "openvpn"
Writing as configuration file...
Perform sa init...
Wiping any previous userdb...
Creating default profile...
Modifying default profile...
Adding new user to userdb...
Modifying new user as superuser in userdb...
Getting hostname...
Hostname: web
Preparing web certificates...
Getting web user account...
Adding web group account...
Adding web group...
Adjusting license directory ownership...
Initializing confdb...
Generating init scripts...
Error: Could not generate server script.
I tried to go to https://serverIP:943/admin
I then received this error in my browser: Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error.

I have no idea what to do to try to troubleshoot this.
Any help would be greatly appreciated.

Thanks!

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Server Install on Amazon Linux AMI - Can't Generate Scri

Post by janjust » Sun Apr 24, 2011 9:33 pm

this sounds like an OpenVPN Access Server question.
Please note that OpenVPN Access Server is the commercial version of OpenVPN.
This forum is intended solely for the community (open source) version of OpenVPN.
Questions about OpenVPN Access Server should be asked elsewhere.

ncjasen
OpenVpn Newbie
Posts: 2
Joined: Sun Apr 24, 2011 2:31 am

Re: Server Install on Amazon Linux AMI - Can't Generate Scri

Post by ncjasen » Sun Apr 24, 2011 11:14 pm

Sorry I thought the open source version was the one that would be downloaded from what ever repository yum gets it from.

I don't want to be using the commercial version so I guess I will take some more time and research this.

Locked