LPAR2RRD : IBM Power System Configuration : New (Alias) button not working :

Hello
I've installed and confured lpar2rrd. While trying to use HMC REST API I'm facing issue while clicking on the 'Add' button in LPAR2RRD UI. When I click this button, no pop is shown requesting for input. Is this a common issue. 



Comments

  • Hi,

    try Ctr-F5 to refresh the page, or other browser.
  • Hello Pavel

    tried aleady. Still same issue. 
  • Hi,

    please try to check Firefox browser console for errors:

    Press [F12], then click on the "Console" tab.
    If you don't see any errors try reloading the page again, the error may be generated when the page loads. The console will provide you with the error type, the location of the error and the line number

    You should see errors in red, pls screenshot.



  • Hello Pavel
    I'm using chrome. No error reported. 

    Please note that I'm not using apache which comes with os. I've installed apache in custom location and using it. 


    Please find console message. No new lines generated when I click on 'New' 



  • Hi,

    cd/home/lpar2rrd/lpar2rrd
    ls -ld etc etc/web_config
    ls -l etc/web_config

    Anything related in Apache error_log (somewhere in /var usually)?
  • Hello Pavel
    I'm away from my desk now. Will respond to you once I get back.
  • Hi Pavel


    Please find requested info below


    lpar2rrd]$ ls -ld etc  etc/web_config
    drwxr-xr-x. 4 lpar2rrd lpar2rrd 4096 May 29 14:34 etc
    drwxrwxrwx. 2 lpar2rrd lpar2rrd 4096 Jun 20 14:36 etc/web_config

    lpar2rrd]$ ls -l etc/web_config
    total 16
    -rw-rw-rw-. 1 webadmin webadmin 1467 Jun 20 14:32 alerting.cfg
    -rw-rw-rw-. 1 webadmin webadmin    0 Jun 20 14:00 custom_groups.cfg
    -rw-rw-rw-. 1 lpar2rrd lpar2rrd    0 May 29 13:44 hosts.json
    -rw-rw-rw-. 1 lpar2rrd lpar2rrd   44 May 24 17:34 htusers.cfg
    -rw-rw-rw-. 1 webadmin webadmin  232 Jun 20 14:00 reporter.json
    -rw-r--r--. 1 lpar2rrd lpar2rrd  940 May 24 17:44 users.json


    httpd error_log from today 

    [Mon Jun 24 09:42:09.939981 2019] [ssl:warn] [pid 11357:tid 47694190477952] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Jun 24 09:42:09.947840 2019] [ssl:warn] [pid 11358:tid 47694190477952] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Jun 24 09:42:09.949010 2019] [mpm_event:notice] [pid 11358:tid 47694190477952] AH00489: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
    [Mon Jun 24 09:42:09.949039 2019] [core:notice] [pid 11358:tid 47694190477952] AH00094: Command line: '/app/httpd//bin/httpd'




  • Hi,

    under root:
    chown webadmin etc/web_config/*

    and try "new" buton again ...


  • Hello Pavel

    lpar2rrd]# ls -l etc/web_config/
    total 16
    -rw-rw-rw-. 1 webadmin webadmin 1467 Jun 20 14:32 alerting.cfg
    -rw-rw-rw-. 1 webadmin webadmin    0 Jun 20 14:00 custom_groups.cfg
    -rw-rw-rw-. 1 webadmin lpar2rrd    0 May 29 13:44 hosts.json
    -rw-rw-rw-. 1 webadmin lpar2rrd   44 May 24 17:34 htusers.cfg
    -rw-rw-rw-. 1 webadmin webadmin  232 Jun 20 14:00 reporter.json
    -rw-r--r--. 1 webadmin lpar2rrd  940 May 24 17:44 users.json



    Changed permissions. Still 'new' button is not working. 
  • Hi,

    remove hosts.json

    is that working now?
  • Hello Pavel
    Thanks. It is working after removing hosts.json
Sign In or Register to comment.