|
Cannot Login |
Top Previous Next |
|
The admin user doesn't work.
Check the /usr/ngasi/logs/catalina.out file. If you see the following errors: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/usr/ngasi/bin/ws_portal', see the next exception for details.)
It means NGASI was restarted without it fully being shutdown. The errors in the log shows the default Database is still open. So to resolve: 1) issue the following command: /etc/init.d/ngasi stop sleep 5
2)next check to see if java is still running by issuing the following command: ps -ef | grep java | grep root
3)From the list of java processes, kill them like so: kill -9 theprocesssid
And of course you have to startup NGASI again: /etc/init.d/ngasi start NOTE: Refresh the browser. Do not just resubmit the same login form.
If a regular user account is unable to login, make sure the following php command file exists: /usr/bin/php
|