SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004297: OpenVPN authentication error / Auth Username/Password verification failed - MantisBT
MantisBT - Endian Firewall
View Issue Details
0004297Endian FirewallVPN OpenVPN Serverpublic2012-03-12 15:402012-03-21 09:53
thomas-endian 
peter-endian 
normalblockalways
resolvedfixed 
2.5 
2.5 
0004297: OpenVPN authentication error / Auth Username/Password verification failed
We get the authentication error on a EA and on are Mercury with 2.5.
However no OpenVPN connect is possible, we get always this error:
-----------------------------------------------------------------
Mar 12 14:51:25 earlybrains openvpn[29759]: 80.73.113.*:60532 TLS Auth Error: Auth Username/Password verification failed for peer
-----------------------------------------------------------------

I think we have again an Openvpn user rewrite problematic:
-----------------------------------------------------------------
==> /var/log/endian/jobsengine <==
Mar 12 15:29:32 earlybrains jobsengine[6584]: OPENVPNJOB-Restart service 'openvpn'
Mar 12 15:29:32 earlybrains jobsengine[6584]: OPENVPNJOB-Send 'restart openvpn' to monit, attempt: 1
Mar 12 15:29:32 earlybrains jobsengine[2449]: ENGINE-fire action:setxtaccess.restart params:None event:request(status:restart,params:,name:setxtaccess)
Mar 12 15:29:32 earlybrains jobsengine[2449]: ENGINE-fire action:setvpnfw.restart params:None event:request(status:restart,params:,name:setvpnfw)
Mar 12 15:29:32 earlybrains jobsengine[6620]: SETXTACCESS-Restart INPUTFW firewall, force: True
Mar 12 15:29:32 earlybrains jobsengine[2449]: ENGINE-fire action:setvpnfwprep.restart params:options(force:True) event:request(status:restart,params:options(force:True),name:setvpnfwprep)
Mar 12 15:29:33 earlybrains jobsengine[6634]: SETVPNFWPREP-Restart VPN firewall preparation, force: True

==> /var/log/endian/joboutput <==
/usr/lib/python2.4/site-packages/openvpn_status/__init__.py:34: UserWarning: openvpn_status: Deprecated! Use openvpnutils.status instead!
2012-03-12 15:29:33,163 - rc.sysinit[6634] - ERROR - Error during the execution of getPasswdEntries: IOError: Error error in communication with server
2012-03-12 15:29:33,183 - rc.sysinit[6634] - ERROR - Error during the execution of getPasswdEntries: IOError: Error error in communication with server

==> /var/log/endian/jobsengine <==
Mar 12 15:29:33 earlybrains jobsengine[6625]: SETVPNFW-Restart VPN firewall, force: True
Mar 12 15:29:34 earlybrains jobsengine[2449]: ENGINE-fire action:bridges.restart params:options(debug:False) event:request(status:restart,params:options(debug:False),name:bridges)
Mar 12 15:29:34 earlybrains jobsengine[6762]: BRIDGES-Synchronize bridge configuration with system.
-----------------------------------------------------------------

The same on the Mercury:
-----------------------------------------------------------------
==> /var/log/endian/joboutput <==
2012-03-12 16:21:20,484 - rc.sysinit[24049] - ERROR - Error during the execution of getPasswdEntries: IOError: Error error in communication with server
2012-03-12 16:21:20,504 - rc.sysinit[24049] - ERROR - Error during the execution of getPasswdEntries: IOError: Error error in communication with server
-----------------------------------------------------------------

No tags attached.
Issue History
2012-03-12 15:40thomas-endianNew Issue
2012-03-12 16:53peter-endianNote Added: 0007749
2012-03-12 16:53peter-endianStatusnew => feedback
2012-03-12 17:38thomas-endianNote Added: 0007751
2012-03-19 17:00peter-endianStatusfeedback => acknowledged
2012-03-21 09:53peter-endianNote Added: 0007760
2012-03-21 09:53peter-endianStatusacknowledged => resolved
2012-03-21 09:53peter-endianFixed in Version => 2.5
2012-03-21 09:53peter-endianResolutionopen => fixed
2012-03-21 09:53peter-endianAssigned To => peter-endian

Notes
(0007749)
peter-endian   
2012-03-12 16:53   
is the process "authentication" running?

ps aux | grep authentication

if not, please try to start it:
/etc/init.d/authentication start
and check if it works then.
(0007751)
thomas-endian   
2012-03-12 17:38   
daemon is stop or not running:
root@earlybrains:~ # ps aux | grep authentication
root 13198 0.0 0.0 1708 508 pts/1 S+ 18:32 0:00 grep authentication

start and restart FAILD:
root@earlybrains:~ # /etc/init.d/authentication status
authentication is stopped
root@earlybrains:~ # /etc/init.d/authentication start
Starting authentication: [FAILED]
root@earlybrains:~ # /etc/init.d/authentication restart
Shutting down Endian Authentication Layer (authentication):[FAILED]
Starting authentication: [FAILED]
(0007760)
peter-endian   
2012-03-21 09:53   
authentication server was not UTF-8 aware so german GUI's caused this problem