New Install - Can't Get Web UI to Work

Fresh install - have been working through the documentation and got the UI to fire up but all I get is "Load error! (Internal Server Error)". Any idea as to what I am missing? Not even the logo is showing.


Comments

  • Hi,

    looks like apache cgi-bin misconfiguration.

    Check
    1. apache error_log if anything obvious
    2. try this page, does it work?  http://<your server>/stor2rrd/test.html
  • The test.html does work. I see this under Software Error:

    Cannot open file: Permission denied
    Compilation failed in require at /home/stor2rrd/stor2rrd/bin/genjson.pl line 65.
    BEGIN failed--compilation aborted at /home/stor2rrd/stor2rrd/bin/genjson.pl line 65.
    
    I see this in the Apache error_log:
    
    [Wed Aug 28 12:19:09.634800 2019] [cgi:error] [pid 1946] [client xx.xx.xx.xx:xx] AH01215: tee: /home/stor2rrd/stor2rrd/logs/stor-test-healthcheck.log: Permission denied, referer: http://xxx.xxx.xxx.xxx/stor2rrd/test.html
    
    Appreciate the quick response.
  • Hi,

    stor2rrd directory tree must be readable for everyone.

    ls -ld /home/stor2rrd/stor2rrd/logs/
    ls -ld /home/stor2rrd/stor2rrd/
    ls -ld /home/stor2rrd/
    ls -ld /home/



  • I fixed /home/stor2rrd so that it is readable by everyone (all others were already readable) and restarted httpd, still the same result in the web UI.
  • is this working? http://<your server>/stor2rrd/test.html

  • Yes. I have attached the output.
  • ls -la /home/stor2rrd/stor2rrd/etc/web_config

  •  ls -la /home/stor2rrd/stor2rrd/etc/web_config/
    total 8
    drwxr-xr-x. 2 stor2rrd stor2rrd   24 Aug 27 15:54 .
    drwxr-xr-x. 4 stor2rrd stor2rrd 4096 Aug 28 13:12 ..
    -rwxr-xr-x. 1 stor2rrd stor2rrd   44 Aug 27 15:54 htusers.cfg


  • under root:
    chmod 777 /home/stor2rrd/stor2rrd/etc/web_config/
    chown apache /home/stor2rrd/stor2rrd/etc/web_config/htusers.cfg

    Try UI now.


  • That did the trick. Web UI is working.

    Thanks!
Sign In or Register to comment.