Error saving the Web Server Memory in Spectrum OneClick
search cancel

Error saving the Web Server Memory in Spectrum OneClick

book

Article ID: 49724

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

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"

    Environment

    Release: Any
    Component: SPCOCK

    Cause

    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.

    Resolution

    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