Subsequent username / password prompts

Document ID : KB000030164
Last Modified Date : 14/02/2018
Show Technical Document Details

You may run into the following scenario:

Users can log into eHealth using AD (EEM) but after they select the parameters to run a report and then select it to run, they are prompted for user name and password. They can enter their username and password but it acts as if the username and password is not correct now.

Why are they being prompted for username and password again?

By default, log rotation is not enabled. If this is not set, then $NH_HOME/web/httpd/httpd-errors and httpd.log will grow to the maximum supported file size of your operating system.

1.  Check the size of the log files above.  If they are 500MB or greater, you may experience issues with authentication as the web process updates these logs on a regular basis.

Because the log file needs to be open, then written to, the greater the file size, the longer it takes to open / write / close.


To see if this is cause of the authentication problem:




1.  As $NH_USER, stop the web and tomcat:


nhHttpd stop


2.  Remove $NH_HOME/web/httpd/httpd-errors and httpd.log files


3.  Start the web processes and  new logs will be generated.


nhHttpd start




1.  As $NH_USER, stop the  eHealth httpd and tomcat services.


2.  Remove $NH_HOME/web/httpd/httpd-errors and httpd.log files


3.  Start the  eHealth httpd and tomcat services and  new logs will be generated.



The next step, no matter which OS, is to enable Log rotation:

1.  As admin, logging to eHealth web server:

2.  Administration tab --> select Site Administration:

3.  Rotate the Web Server access log file: Yes  (Default is No)

4.  Rotate the Web Server access log every: _____ days   (depends on how many users access the system on a regular basis  - Default setting is 300 days)