[Spacewalk-list] Spacewalk 2.9 on CentOS configuration save error

Eckert, Doug Doug.Eckert at dowjones.com
Tue Feb 18 17:44:02 UTC 2020


Just getting Spacewalk 2.9 installed on CentOS 7 (7.7.1908). Browsed to the
URL for the first time to set configuration items, but get

An error occurred and your satellite configuration changes could not be
stored. Please contact support for more information

>From /var/log/messages

Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
[ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] 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=,
--option=server.satellite.http_proxy_username=,
--option=server.satellite.http_proxy_password=, 2>&1, >, /dev/null])
Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
[ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR
com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from
process: sudo: PAM account management error: Authentication service cannot
retrieve authentication info

I then modified /etc/sudoers.d/spacewalk, per the recommendation here

https://access.redhat.com/solutions/20799

Checking /var/log/secure

Feb 18 12:39:27 skpkspwk01 sudo: pam_unix(sudo:account): helper binary
execve failed: Permission denied
Feb 18 12:39:27 skpkspwk01 sudo:  tomcat : PAM account management error:
Authentication service cannot retrieve authentication info ; TTY=unknown ;
PWD=/usr/share/tomcat ; USER=root ; COMMAND=/usr/bin/rhn-config-satellite.pl
--target=/etc/rhn/rhn.conf --option=server.satellite.http_proxy=
--option=server.satellite.http_proxy_username=
--option=server.satellite.http_proxy_password= 2>&1 > /dev/null

I ran 'pwck' and even removed the 'tomcat' entry from /etc/shadow and
re-ran 'pwck'. All to no avail.

Afraid I've run out of places to look.

sudo-1.8.23-4.el7_7.1.x86_64
pam-1.1.8-22.el7.x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200218/27b7fb4b/attachment.htm>


More information about the Spacewalk-list mailing list