Web Server Memory

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

Description:

When changing the "Maximum Memory the Server Can Use" field and clicking on the "Save a Reconfigure" button in the OneClick "Web Server Memory" page, the following error is seen:

"Error restarting the OneClick server: PAM authentication failure:
Permission denied
You do not have permission to use at.
The user may not have permissions to use the 'at' command or to run the restart script. Please check the /etc/at.deny & /global/data/spectrum/tomcat/webapps/spectrum/configtomcat files"

Solution:

When the "Save a Reconfigure" button in the OneClick "Web Server Memory" page is clicked, the configuration change is saved and the "at" command it used to run the $SPECROOT/tomcat/webapps/spectrum/restart.sh script to restart tomcat for the changes to take effect.

The at.allow and at.deny files determine who can submit jobs via "at" or "batch". If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use "at". If /etc/at.allow does not exist, /etc/at.deny is checked.

  1. Verify the user logged into OneClick has the permissions to run the $SPECROOT/tomcat/webapps/spectrum/restart.sh script
  2. If using the /etc/at.deny functionality, verify the user logged into OneClick in not included the /etc/at.deny file
  3. If using the /etc/at.allow functionality, verify the user logged into OneClick is included in the /etc/at.allow file