Web page is not working after stor2rrd agent installation

Hi,

We have installed the stor2rrd-2.10 agent  on RHEL 6.9 node where already lpar2rrd agent installed. But we are not able to access through GUI as   http://10.240.87.154/stor2rrd and we are getting an error as 


You don't have permission to access /stor2rrd/ on this server.


Apache/2.2.15 (Red Hat) Server at 10.240.87.154 Port 80


Regards,
Srini

Comments

  • Hi,

    looks like Apache  cfg issue.
    configure Apache httpd.conf as per docu (similary like is lpar2rd cfg), do not forget to restart apache:
    apachectl restart

  • We have already updated in httpd.conf and restarted the httpd services and still getting same error.


    AddHandler cgi-script .sh
    # DocumentRoot  "/usr/local/capinfo/stor2rrd/stor2rrd/www/"
    Alias /stor2rrd  "/usr/local/capinfo/stor2rrd/stor2rrd/www/"
    <Directory "/usr/local/capinfo/stor2rrd/stor2rrd/www/">
        AllowOverride AuthConfig
        Options Indexes FollowSymLinks Includes MultiViews
        Require all granted
    </Directory>
    # CGI-BIN
    ScriptAlias /stor2rrd-cgi/ "/usr/local/capinfo/stor2rrd/stor2rrd/stor2rrd-cgi/"
    <Directory "/usr/local/capinfo/stor2rrd/stor2rrd/stor2rrd-cgi">
        AllowOverride AuthConfig
        SetHandler cgi-script
        Options ExecCGI Includes FollowSymLinks
        Require all granted
    </Directory>

    </VirtualHost>


    # pwd
    /etc/httpd/conf
    [root@ hdxxxxconf]#


    [root@ hdxxxxconf]# service httpd restart
    Stopping httpd:                                            [  OK  ]
    Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.240.87.154 for ServerName
                                                               [  OK  ]
    [root@ hdxxxxconf]#



    Forbidden

    You don't have permission to access /stor2rrd/ on this server.


    Apache/2.2.15 (Red Hat) Server at 10.240.87.154 Port 80
  • check Apache error_log, there must be visible this issue
    It is somewhere in /var usually
    find /var -name error_log
  • [root@HDLPCLST01 var]# cat /var/log/httpd/error_log
    [Sun Feb 25 03:28:05 2018] [notice] Digest: generating secret for digest authentication ...
    [Sun Feb 25 03:28:05 2018] [notice] Digest: done
    [Sun Feb 25 03:28:05 2018] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
    [Sun Feb 25 20:30:29 2018] [notice] caught SIGTERM, shutting down
    [Sun Feb 25 20:30:30 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sun Feb 25 20:30:30 2018] [notice] Digest: generating secret for digest authentication ...
    [Sun Feb 25 20:30:30 2018] [notice] Digest: done
    [Sun Feb 25 20:30:30 2018] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
    [Mon Feb 26 10:17:53 2018] [notice] caught SIGTERM, shutting down
    [Mon Feb 26 10:17:53 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Feb 26 10:17:53 2018] [notice] Digest: generating secret for digest authentication ...
    [Mon Feb 26 10:17:53 2018] [notice] Digest: done
    [Mon Feb 26 10:17:53 2018] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
    [Mon Feb 26 10:26:03 2018] [notice] SIGHUP received.  Attempting to restart
    httpd: Could not reliably determine the server's fully qualified domain name, using 10.240.87.154 for ServerName
    [Mon Feb 26 10:26:03 2018] [notice] Digest: generating secret for digest authentication ...
    [Mon Feb 26 10:26:03 2018] [notice] Digest: done
    [Mon Feb 26 10:26:03 2018] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
    [root@HDLPCLST01 var]#

  • tail /var/log/httpd/access_log
  • Hi having the same issue, how did it finally get fix ?

Sign In or Register to comment.