New page for module download https://pirinel.ro/3rdpartyapps (April 26, 2023)


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin WebUI
#1
N4810 OS7

for some reason my admin WebUI stops working.
after a reboot(only way i can get it back) it may be 1 week or weeks before it does it again.
i cant find anything in any logs(unless i'm looking in the wrong spot).
i check with netstat and there's definitely nothing listening on port 80.
i tired to figure out how thecus is starting this but they seem to make thing as confusing as possible.

anyone know how to start it manually or where i might find a log with something usefull in it.
other than that the server is running fine,i just cant log in to update modules,ect without doing a reboot.

Thanks.
Reply
#2
check if the server ui is running

Code:
N5810:~# ps | grep UIserver.py
1821 root      5976 S    grep UIserver.py

If not, start with this command
Code:
/opt/python/bin/python /img/WebUI/admin/UIServer.py </dev/null >/dev/null 2>&1 &


Then start the apache server if not running
Code:
/opt/apache/bin/httpd -f /var/run/httpd.cfg -E /var/logs/httpd/httpd_log -k start
------------------------------------------------------------------------
[Image: linkedinbutton.jpg]
Please respect my work and dont share my modules
[-] The following 1 user says Thank You to outkastm for this post:
  • Blackbear199
Reply
#3
thank you.
the next time it stops working i will check and which isnt running.
Reply
#4
(16-08-2022, 02:29 AM)Blackbear199 Wrote: thank you.
the next time it stops working i will check and which isnt running.

this morning again cannot login,get page cannot be reached.
everything looks to be running.
any ideas?

thanks


Attached Files Thumbnail(s)
   
Reply
#5
Uiserver.py is not running, start it manually
------------------------------------------------------------------------
[Image: linkedinbutton.jpg]
Please respect my work and dont share my modules
Reply
#6
thanks again.
login is working again.
any thoughts on how to figure out why its stopping?
Reply
#7
i finally figured out the issue.
i am running letsencrypt and in the letsencrypt.rc file there is a typo.

in the NASwebstop ()
/opt/apache/bin/httpd -f /var/run/httpd.cfg -k start
should be
/opt/apache/bin/httpd -f /var/run/httpd.cfg -k stop

i changed this to stop(web interface was down) and after letsencrypt finished its check it was back up again.

btw in your instructions above to check if UIServer is running there's another typo
ps | grep UIserver.py
should be
ps | grep UIServer.py
capitol S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)