search cancel

Unable to run Web reports without being repeatedly prompted for username and password (Legacy KB ID CNC TS4610 )


Article ID: 51888


Updated On:


CA eHealth


First, for the permissions and ownership of the $NH_HOME/web/cgi-bin/nhSignalHttpd file, make sure that the stickybit is set so that the permissions are -r-sr-xr-x, and confirm that the owner of the file is root.

For the $NH_HOME/web/logs/ file, make sure that the permissions are -rw-r--r-- and that the owner of the file is root.

If the permissions and ownership of these files are correct, next check the umask of the root user and make sure that it is (at minimum) 0133. The preferred value is 0022. This will ensure that when the root user recreates these files at restart of the web servers, the files can be accessed by all necessary processes.

Next, check to see if any of current web user's user name have a space in it. There should be no space in the user names for any web users. If there are, please delete and recreate the user with no space in the name.

After doing any or all of these steps, please stop and restart the http servers. To do so perform the following:

    As root: /etc/rc3.d/S71httpd stop
    As root: /etc/rc3.d/S71httpd start

If these steps have not yet resolved the problem, we must regenerate the httpd.conf file. The steps for doing this are as follows:

     1. Please make sure that the $NH_HOME/web/webCfg/users.cfg file exists, and is in the correct directory before proceeding
     2. As root, stop the httpd daemon:
         /etc/init.d/ stop (Solaris)
         /sbin/init.d/ stop (HPUX)
     3. Go to the directory: $NH_HOME/web/httpd
     4. Rename your current httpd.conf file to httpd.conf.orig
     5. As the NH_USER, issue the commands:
         cd $NH_HOME/web/webCfg
         ./nhiHttpdCfg -user <nhUser> -grp <nhUser group> -nhDir $NH_HOME -cfg $NH_HOME/web/webCfg/users.cfg > $NH_HOME/web/httpd/httpd.conf
         (nhUser group is the Unix group the nhUser account belongs to. You can find this by logging in as the nhUser and issuing the command "id" from the command line)
     6. Confirm that the new httpd.conf has been created in the $NH_HOME/web/httpd directory
     7. As root, restart the httpd daemon
         /etc/init.d/ start (Solaris)
         /sbin/init.d/ start (HPUX)
     8. Open a Web browser and verify that the eHealth Web interface is working properly


Related Issues/Questions:
Unable to run Web reports without being repeatedly prompted for username and password
User admin is able to run Web reports successfully
Error in $NH_HOME/web/httpd/httpd-errors file: "Syntax error in config file, expecting '{' to start protection definition"
Users prompted for proxy password when accessing the eHealth web UI
Web users are prompted for proxy password when running reports from eHealth web UI
Unable to run reports from eHealth web UI
Unable to access eHealth web UI due to prompt for proxy password
New web users added after upgrade are unable to view reports
Error: "This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required."
After creating a new web user with permissions for all Groups and Group Lists, the user is continually prompted with the login prompt.  After three attempts, the error messages are displayed.  The user will not work properly until the httpd server is stopped and restarted
Unable to generate reports from web
Error: "Authorization Required"

Problem Environment:

Causes of this problem:
This problem can the result of any of the following:
     - incorrect ownership or permissions on the nhSignalHttpd or file
     - a web user name with a space in it
     - a corruption in the httpd.conf file

(Legacy KB ID CNC TS4610 )


Release: LHBASC99000-6.2-eHealth-Live Health Upgrade Elements