404 on :7080

optize

Well-Known Member
#1
Getting the a 404 on
Code:
http://IP:7080
Logs show:

2017-04-04 20:26:26.490 [INFO] [x.x.x.x:55895] File not found [/usr/local/lsws/admin/html/]
2017-04-04 20:26:26.490 [INFO] [x.x.x.x:55895] Cannot found appropriate handler for [/]
2017-04-04 20:26:26.798 [INFO] [x.x.x.x:55895-1#_AdminVHost] File not found [/usr/local/lsws/admin/html/favicon.ico]
2017-04-04 20:26:26.798 [INFO] [x.x.x.x:55895-1#_AdminVHost] Cannot found appropriate handler for [/favicon.ico]

# file /usr/local/lsws/admin/html/favicon.ico
/usr/local/lsws/admin/html/favicon.ico: MS Windows icon resource - 1 icon
 
Last edited by a moderator:

optize

Well-Known Member
#3
sh-4.1# ls -l /usr/local/lsws/admin
total 36
drwx--x--- 3 root nobody 4096 Apr 5 04:09 cgid
drwx------ 2 lsadm lsadm 4096 Apr 3 15:26 conf
drwxr-xr-x 2 root root 4096 Apr 3 15:26 fcgi-bin
lrwxrwxrwx 1 root root 14 Apr 3 15:26 html -> ./html.5.1.14/
drwxr-xr-x 8 root root 4096 Apr 3 15:26 html.5.1.14
drwxr-xr-x 2 lsadm nobody 4096 Apr 3 15:26 htpasswds
drwxr-xr-x 2 root root 4096 Apr 3 15:27 logs
d-wxr----t 2 root root 4096 Apr 4 16:10 lscdata
drwxr-xr-x 2 root root 4096 Apr 3 15:27 misc
drwx--x--- 2 lsadm nobody 4096 Apr 5 04:09 tmp
sh-4.1#
 

optize

Well-Known Member
#4
Figured it out, permissions on /usr/local/lsws were off.

root@xx [/usr/local]# ls -al | grep lsws
drwx------ 15 root root 4096 Apr 4 20:24 lsws/
root@xx [/usr/local]# chmod 755 lsws
root@xx [/usr/local]# ls -al | grep lsws
drwxr-xr-x 15 root root 4096 Apr 4 20:24 lsws/

Now it works. These are brand new servers, can you double check your install scripts to make sure it's setting the correct permissions?
 

NiteWave

Administrator
#5
:)

weird, since install.sh has been there for years, thousands of thousands installations, it is rarely heard of such issue. can you provide
  • your platform ?
  • umask output
 
Top