Spacewalk: "An error occurred and your satellite configuration changes could not be stored." Error when Changing http Proxy Information in Spacewalk Web UI
(Doc ID 2681959.1)
Last updated on AUGUST 29, 2023
Applies to:
Linux OS - Version Oracle Linux 7.0 and laterLinux x86-64
Symptoms
When tried to change or modify http proxy setting from spacewalk web BUI the following error occurs.
"An error occurred and your satellite configuration changes could not be stored. Please contact support for more information"
Error in /var/log/messages:
Jan 22 13:56:25 spacewalk_server: 2020-01-22 13:56:25,733 [ajp-bio-127.0.0.1-8009-exec-34] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered executing (args=[/usr/bin/sudo, /usr/bin/rhn-config-satellite.pl,--target=/etc/rhn/rhn.conf, --option=server.satellite.http_proxy=<PROXY>.<DOMAIN_NAME>.com:<PORT>, --option=server.satellite.http_proxy_username=, --option=server.satellite.http_proxy_password=, 2>&1, >, /dev/null])
sudo permission errors logged for "tomcat" user from tomcat.service status.
# systemctl status tomcat.service ● tomcat.service - Apache Tomcat Web Application Container Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-01-20 12:06:51 GMT; 2 days ago Main PID: 2398 (java) CGroup: /system.slice/tomcat.service └─2398 /usr/lib/jvm/jre/bin/java -ea -Xms256m -Xmx256m -Djava.awt.headless=true -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser -Dorg.apache.tomcat.ut...
Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM sudo[3787]: pam_succeed_if(sudo:auth): requirement "uid >= 1000" not met by user "tomcat" Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM sudo[3787]: tomcat : user NOT in sudoers ; TTY=unknown ; PWD=/usr/share/tomcat ; USER=root ; COMMAND=/usr/bin/rhn-config-satellite.pl... Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: 2020-01-22 13:56:25,733 [ajp-bio-127.0.0.1-8009-exec-34] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - E... Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: 2020-01-22 13:56:25,733 [ajp-bio-127.0.0.1-8009-exec-34] ERROR com.redhat.rhn.manager.satellite.SystemCommandEx...m process: Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: We trust you have received the usual lecture from the local System Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: Administrator. It usually boils down to these three things: Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: #1) Respect the privacy of others. Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: #2) Think before you type. Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: #3) With great power comes great responsibility. Jan 22 13:56:25 <SW-HOSTNAME>.<DOMAIN_NAME>.COM server[2398]: sudo: no tty present and no askpass program specified
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |