Page 1 of 1

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

Posted: Sun Apr 24, 2011 2:43 am
by ncjasen
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!

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

Posted: Sun Apr 24, 2011 9:33 pm
by janjust
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.

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

Posted: Sun Apr 24, 2011 11:14 pm
by ncjasen
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.