You don't have permission to access this resource.

Hi All ,


I have installed the lpar2rrd on a new server that is running on AIX 7.3 After installing and opening the port 80 for web access I am getting error "You don't have permission to access this resource." Kindly suggest what step is missing

Comments

  • somehow I was able to get in but GUI is a bit wierd , also I am not able to add hmc in GUI . All the snapshots are attached in the word document .. Please help


  • problem with apache setting


    send us this to : support at lpar2rd dot com


    date

    tail -50 /var/tmp/lpar2rrd-realt-error.log

    ps -ef| egrep "apache|httpd"


    Apache logs, somewhere in /var (find /var -name access_log)


    tail error_log

    grep lpar2rrd access_log| tail

  • Sent the detail in email . Pasting here as well ..



    oot@axnimp01:/var/log/httpd> date

    Fri Apr 19 12:26:49 CDT 2024

    root@axnimp01:/var/log/httpd>


    root@axnimp01:/> tail -50 /var/tmp/lpar2rrd-realt-error.log

    root@axnimp01:/> ls -l /var/tmp/lpar2rrd-realt-error.log

    -rw-rw-r--  1 apache apache      0 Apr 18 11:24 /var/tmp/lpar2rrd-realt-error.log

    root@axnimp01:/>


    -----------------------------------------------------------------------------------------------------


    root@axnimp01:/> ps -ef| egrep "apache|httpd"

     apache 3277190 9830926 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 6160712 9830926 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 6226414 9830926 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

      root 6816070 9830926 0 07:25:14   - 0:03 /opt/freeware/sbin/httpd -k restart

     apache 7209240 9830926 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 7340476 9830926 0 07:25:33   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 8127192 9830926 0 07:25:34   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 8454788 9830926 0 07:25:34   - 0:00 /opt/freeware/sbin/httpd -k restart

     apache 8585908 9830926 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

      root 9830926   1 0 07:25:14   - 0:00 /opt/freeware/sbin/httpd -k restart

    root@axnimp01:/>


    -----------------------------------------------------------------------------------------------------


    root@axnimp01:/var/log/httpd> tail error_log

    [Fri Apr 19 07:07:57.536489 2024] [auth_basic:error] [pid 8258246] [client 10.86.130.37:64584] AH01618: user lpar2rrd not found: /lpar2rrd-cgi/hosts.sh, referer: http://10.168.188.52/lpar2rrd-cgi/hosts.sh?cmd=form&platform=ibm

    [Fri Apr 19 07:12:52.103175 2024] [mpm_prefork:notice] [pid 7209228] AH00169: caught SIGTERM, shutting down

    [Fri Apr 19 07:13:07.447238 2024] [mpm_prefork:notice] [pid 3277180] AH00163: Apache/2.4.56 (Unix) configured -- resuming normal operations

    [Fri Apr 19 07:13:07.447684 2024] [core:notice] [pid 3277180] AH00094: Command line: '/opt/freeware/sbin/httpd'

    [Fri Apr 19 07:13:24.382617 2024] [mpm_prefork:notice] [pid 3277180] AH00169: caught SIGTERM, shutting down

    [Fri Apr 19 07:13:37.178197 2024] [mpm_prefork:notice] [pid 7209236] AH00163: Apache/2.4.56 (Unix) configured -- resuming normal operations

    [Fri Apr 19 07:13:37.180724 2024] [core:notice] [pid 7209236] AH00094: Command line: '/opt/freeware/sbin/httpd'

    [Fri Apr 19 07:25:14.658158 2024] [core:warn] [pid 9830926] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

    [Fri Apr 19 07:25:14.682872 2024] [mpm_prefork:notice] [pid 9830926] AH00163: Apache/2.4.56 (Unix) configured -- resuming normal operations

    [Fri Apr 19 07:25:14.682943 2024] [core:notice] [pid 9830926] AH00094: Command line: '/opt/freeware/sbin/httpd'

  • Hi Pave, any update ?

  • reload the web application page, then

    grep lpar2rrd /var/log/httpd/access_log| tail

  • lpar2rrd@axnimp01:/home/lpar2rrd/hmcscanner/report>

    root@axnimp01:/> grep lpar2rrd /var/log/httpd/access_log| tail

    10.86.130.37 - - [20/May/2024:06:46:05 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=power HTTP/1.1" 200 1930

    10.86.130.37 - - [20/May/2024:06:46:07 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=power HTTP/1.1" 200 1930

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd HTTP/1.1" 301 238

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/ HTTP/1.1" 200 9712

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/css/images/pdf.png HTTP/1.1" 200 1589

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/css/images/xls.png HTTP/1.1" 200 1698

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/jquery/libs.min.js HTTP/1.1" 200 1212237

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/jquery/main.js HTTP/1.1" 200 769829

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/favicon.ico HTTP/1.1" 200 1150

    10.86.130.37 - - [20/May/2024:06:58:10 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=ibm HTTP/1.1" 200 252

    root@axnimp01:/> grep lpar2rrd /var/log/httpd/access_log| tail

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/ HTTP/1.1" 200 9712

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/css/images/pdf.png HTTP/1.1" 200 1589

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/css/images/xls.png HTTP/1.1" 200 1698

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/jquery/libs.min.js HTTP/1.1" 200 1212237

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/jquery/main.js HTTP/1.1" 200 769829

    10.86.130.37 - - [20/May/2024:06:58:05 -0500] "GET /lpar2rrd/favicon.ico HTTP/1.1" 200 1150

    10.86.130.37 - - [20/May/2024:06:58:10 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=ibm HTTP/1.1" 200 252

    10.86.130.37 - - [20/May/2024:06:59:17 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=power HTTP/1.1" 200 1930

    10.86.130.37 - - [20/May/2024:06:59:20 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=power HTTP/1.1" 200 1930

    10.86.130.37 - - [20/May/2024:06:59:20 -0500] "GET /lpar2rrd-cgi/hosts.sh?cmd=form&platform=power HTTP/1.1" 200 1930

  • do you still get the same error? it looks good as per logs

  • Same error I am still unable to add the HMCs as the page that is loading is aving option to add new hmc but when I click on new nothing happens

  • send us a screenshot(s) from the problem you have to : support at lpar2rrd dot com

Sign In or Register to comment.