cannot login and cannot fixpermissions

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
mnasim
Posts: 11
Joined: Tue Mar 30, 2021 1:11 pm

cannot login and cannot fixpermissions

Post by mnasim » Fri Apr 02, 2021 10:23 pm

hello everyone,
i cannot login to web gui of eve-ng-pro
When i tried to run unl_wrapper, i got the following message

Code: Select all

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
-bash: /opt/unetlab/wrappers/unl_wrapper: Permission denied
I tried to fix permissions using Linux chmod command

Code: Select all

root@eve-ng:~# chmod u+xrw /opt/unetlab/wrappers/unl_wrapper
Now, execution is permitted, but i receive another error message

Code: Select all

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning:  file_get_contents(https://127.0.0.1:445/challenge): failed to open stream: Connection refused in /opt/unetlab/html/includes/functions.php on line 60
PHP Notice:  Undefined index: challenge in /opt/unetlab/html/includes/functions.php on line 67
Segmentation fault
running apt update and apt upgrade didn't solve the problem and still cannot login to web gui

mnasim
Posts: 11
Joined: Tue Mar 30, 2021 1:11 pm

Re: cannot login and cannot fixpermissions

Post by mnasim » Sat Apr 03, 2021 9:58 am

also, running the following did not fix the problem

Code: Select all

/etc/eve-setup.sh
apt install --reinstall eve-ng-dockers
apt autoremove
apt full-upgrade

mnasim
Posts: 11
Joined: Tue Mar 30, 2021 1:11 pm

Re: cannot login and cannot fixpermissions

Post by mnasim » Sat Apr 03, 2021 11:43 am

well it is fixed
First run the following

Code: Select all

/etc/eve-setup.sh
apt install --reinstall eve-ng-dockers
reboot your machine and then run the following

Code: Select all

apt install --reinstall eve-ng-pro
now i can login to the web-gui and the unl_wrapper has restored its functionality

Code: Select all

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Apr 03 14:45:33 Apr 03 14:45:33 Online Check state: Valid
root@eve-ng:~#

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: cannot login and cannot fixpermissions

Post by Uldis (UD) » Sun Apr 04, 2021 7:25 pm

You obviously had killed your SQL database on EVE.
it happens if brute way power off eve vm or server when lab was running, or power autage happened. As well suspend VM feature may cause this issue.

Please visit live EVE helpdesk for support
https://www.eve-ng.net/index.php/live-helpdesk/

Post Reply