Web service crashing
Posted: Wed May 02, 2012 11:47 am
Hi
I'm having an issue with the AS web service crashing after service start. I've tested on Ubuntu 10.04, 11.04, 11.10 and 12.04. Downloading openvpn-as-1.8.3-Ubuntu10.amd_64.deb and installing as normal using dpkg, install goes without error but the web service never responds. I've tried reconfiguring with different ports but the issue persists. I've used this exact method many times on this box and others and always worked fine until recently, anyone have a clue as to whats the cause?
Relevant section of log file is as follows:
Any help you guys could give me in solving this would be greatly appreciated.
Cheers
Dave
I'm having an issue with the AS web service crashing after service start. I've tested on Ubuntu 10.04, 11.04, 11.10 and 12.04. Downloading openvpn-as-1.8.3-Ubuntu10.amd_64.deb and installing as normal using dpkg, install goes without error but the web service never responds. I've tried reconfiguring with different ports but the issue persists. I've used this exact method many times on this box and others and always worked fine until recently, anyone have a clue as to whats the cause?
Relevant section of log file is as follows:
Code: Select all
...
...
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:05-0400 [-] reactor class: twisted.internet.epollreactor.EPollReactor.'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 943'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 904'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 905'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 906'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] twisted.web.server.Site starting on 907'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 908'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] pyovpn.web.webbase.MySiteBase starting on 909'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] set uid/gid 1001/1001'
2012-05-02 07:29:06-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] Web server running as UID 1001'
2012-05-02 07:29:06-0400 [-] LOG OUT: 'STARTED'
2012-05-02 07:29:06-0400 [-] License Info {'concurrent_connections': 2}
2012-05-02 07:29:06-0400 [-] <class 'pyovpn.omi.omiauth.OMIServerAuthFactory'> starting on "'/usr/local/openvpn_as/etc/sock/omisock-zaGQTNEES0fO'"
2012-05-02 07:29:06-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:06 2012 OpenVPN 2.1.8 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] built on Jul 27 2011'
2012-05-02 07:29:06-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:06 2012 MANAGEMENT: client_uid=0'
2012-05-02 07:29:06-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:06 2012 MANAGEMENT: Connected to management server at /usr/local/openvpn_as/etc/sock/omisock-zaGQTNEES0fO'
2012-05-02 07:29:06-0400 [-] (Port None Closed)
2012-05-02 07:29:06-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:06 2012 MANAGEMENT: CMD 'state on''
2012-05-02 07:29:06-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:06 2012 MANAGEMENT: CMD 'echo on''
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:06-0400 [-] Server agent has died, web server shutting down'
2012-05-02 07:29:07-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:07 2012 MANAGEMENT: CMD 'bytecount 300''
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 909 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 908 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 907 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 906 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 905 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 904 Closed)'
2012-05-02 07:29:07-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:07 2012 MANAGEMENT: CMD 'env-filter 1''
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] (Port 943 Closed)'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] Main loop terminated.'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] Warning: No permission to delete pid file'
2012-05-02 07:29:07-0400 [-] WEB OUT: '2012-05-02 07:29:07-0400 [-] Server Shut Down.'
2012-05-02 07:29:07-0400 [-] OVPN 0 OUT: 'Wed May 2 07:29:07 2012 MANAGEMENT: CMD 'hold off''
...
...
Any help you guys could give me in solving this would be greatly appreciated.
Cheers
Dave