Could not perform sa on Fedora Server 25

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
kevinvanhooren
OpenVpn Newbie
Posts: 6
Joined: Mon May 29, 2017 3:44 am

Could not perform sa on Fedora Server 25

Post by kevinvanhooren » Mon May 29, 2017 4:52 am

Hello,

I am trying to install OpenVPN Access Server on Fedora Server 25 (4.10.17-200.fc25.x86_64).
When I run 'ovpn-init' I get error 'Could not perform sa' and quits installation.

Thx for the help and advice.

Here's my log:

2017-05-29 06:21:10+0200 [-] Log opened.
2017-05-29 06:21:10+0200 [-] twistd 9.0.0 (/usr/local/openvpn_as/bin/python 2.7.11) starting up.
2017-05-29 06:21:10+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2017-05-29 06:21:10+0200 [-] rmdir /usr/local/openvpn_as/etc/db_push
2017-05-29 06:21:10+0200 [-] *** MyError.report ***
2017-05-29 06:21:10+0200 [-] Stack Traceback
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 104, 'cb2', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 56, 'get_active_config_profile', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 575, 'get_active_profile', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 531, 'get_active', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 523, '_get_active_raise', None)
2017-05-29 06:21:10+0200 [-] ('<string>', 1, '<module>', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/sagent_entry.py', 17, 'openvpnas', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/util/mycprof.py', 11, 'run_cprofile', None)
2017-05-29 06:21:10+0200 [-] ('<string>', 1, '<module>', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/sagent_entry.py', 14, 'openvpnas_go', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/sagent_entry.py', 11, 'run_server_agent', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/util/daemon.py', 28, 'twistd_with_reactor', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/util/daemon.py', 69, 'twistd', None)
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py', 423, 'run', 'self.postApplication()')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/scripts/_twistd_unix.py', 202, 'postApplication', 'self.startReactor(None, self.oldstdout, self.oldstderr)')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py', 445, 'startReactor', 'self.config, oldstdout, oldstderr, self.profiler, reactor)')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py', 348, 'runReactorWithLogging', 'reactor.run()')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py', 1166, 'run', 'self.mainLoop()')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py', 1175, 'mainLoop', 'self.runUntilCurrent()')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py', 779, 'runUntilCurrent', 'call.func(*call.args, **call.kw)')
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 164, 'server_agent_init', None)
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 102, 'maybeDeferred', 'result = f(*args, **kw)')
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 77, 'cb1', None)
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 209, 'addBoth', 'callbackKeywords=kw, errbackKeywords=kw)')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 181, 'addCallbacks', 'self._runCallbacks()')
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 104, 'cb2', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 56, 'get_active_config_profile', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 575, 'get_active_profile', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 531, 'get_active', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/confdb.py', 523, '_get_active_raise', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/util/error.py', 61, '__init__', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/util/error.py', 44, '__init__', None)
2017-05-29 06:21:10+0200 [-] Failover initialization error: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////usr/local/openvpn_as/etc/db/config.db: internet/defer:323,sagent/svcset:104,sagent/svcset:56,db/confdb:575,db/confdb:531,db/confdb:523,<string>:1,sagent/sagent_entry:17,util/mycprof:11,<string>:1,sagent/sagent_entry:14,sagent/sagent_entry:11,util/daemon:28,util/daemon:69,application/app:423,scripts/_twistd_unix:202,application/app:445,application/app:348,internet/base:1166,internet/base:1175,internet/base:779,sagent/svcset:164,internet/defer:102,sagent/svcset:77,internet/defer:209,internet/defer:181,internet/defer:323,sagent/svcset:104,sagent/svcset:56,db/confdb:575,db/confdb:531,db/confdb:523,util/error:61,util/error:44
2017-05-29 06:21:10+0200 [-] True
2017-05-29 06:21:10+0200 [-] Will continue with non-failover setup
2017-05-29 06:21:10+0200 [-] ACCESS SERVER starting, version=2.1.6
2017-05-29 06:21:10+0200 [-] Max open files set to (4096, 4096)
2017-05-29 06:21:10+0200 [-] /etc/resolv.conf changed, reparsing
2017-05-29 06:21:10+0200 [-] Resolver added ('192.168.1.1', 53) to server list
2017-05-29 06:21:10+0200 [-] *** MyError.report ***
2017-05-29 06:21:10+0200 [-] Stack Traceback
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 147, 'transition', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 622, '__init__', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 574, 'init_components', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 356, 'init_cert_db_module', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/svcset.py', 285, 'init_cert_db_file', None)
2017-05-29 06:21:10+0200 [-] ('build/bdist.linux-x86_64/egg/pyovpn/db/db.py', 3, '<module>', None)
2017-05-29 06:21:10+0200 [-] ('/usr/local/openvpn_as/lib/python2.7/curses/__init__.py', 15, '<module>', 'from _curses import *')
2017-05-29 06:21:10+0200 [-] Server agent initialization failed: libncursesw.so.5: cannot open shared object file: No such file or directory: sagent/svcset:147,sagent/svcset:622,sagent/svcset:574,sagent/svcset:356,sagent/svcset:285,db/db:3,curses/__init__:15 (exceptions.ImportError)
2017-05-29 06:21:10+0200 [-] Main loop terminated.
2017-05-29 06:21:10+0200 [-] Server Shut Down.

rsenio
OpenVPN Power User
Posts: 91
Joined: Tue Nov 29, 2011 9:34 pm

Re: Could not perform sa on Fedora Server 25

Post by rsenio » Mon May 29, 2017 3:27 pm

You posted in the access server section, I assume you're referring to that version.

If you look here they only have packages for 23 https://openvpn.net/index.php/access-se ... ily=Fedora

Perhaps it isn't supported yet. You can open a case with support if needed.

kevinvanhooren
OpenVpn Newbie
Posts: 6
Joined: Mon May 29, 2017 3:44 am

Re: Could not perform sa on Fedora Server 25

Post by kevinvanhooren » Mon May 29, 2017 5:50 pm

OK thx. I thought it would be working on 25 too. I'll have to wait then.

Thx!

kevinvanhooren
OpenVpn Newbie
Posts: 6
Joined: Mon May 29, 2017 3:44 am

Re: Could not perform sa on Fedora Server 25

Post by kevinvanhooren » Wed Jun 07, 2017 4:25 am

Found the solution: i had to install 'ncurses-libs' and 'ncurses-compat-libs'
Works like a charm now!

Post Reply