[Spacewalk-list] Spacewalk won't execute any Remotescript

Thomas Foster thomas.foster80 at gmail.com
Wed Aug 13 09:32:06 UTC 2014


Ok..I got 2 more then i have nothing...:-)

You can re-register the client to the spacewalk server...or you can install
strace to see if there is anything that sticks out in the output.....strace
-o /tmp/failed_remotecall.txt rhn_check

This should show you the system calls and see if its a permission issue or
another issue preventing you from executing the script...
On Aug 13, 2014 2:54 AM, "Daniel Thielking" <
Daniel.Thielking at ias.rwth-aachen.de> wrote:

>  Mount says:
>
> /dev/sda1 on / type ext4 (rw)                <------ Inside of / is /var
> no extra mountpoint
> proc on /proc type proc (rw,hidepid=2)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> /dev/sda3 on /mnt/work type ext4 (rw)
> /dev/sdb1 on /mnt/speicher type ext4 (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
>
>
> I changed the directory in /etc/sysconfig/rhn/rhncfg-client.conf again to
> /tmp an scheduled a new job here is the output of rhn_check -vvvv:
>
> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
> D: locked   db index       /var/lib/rpm/Packages
> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
> D: loading keyring from rpmdb
> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
> D: added key gpg-pubkey-ba684223-4f3248dc to keyring
> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
> D: Using legacy gpg-pubkey(s) from rpmdb
> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
> D: check_action{'action': "<?xml
> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5278</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>root</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>root</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-13
> 08:43:41</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
> Add your shell script below\r\ntouch
> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
> 'version': 2, 'id': 5278}
> updateLoginInfo() login info
> D: login(forceUpdate=True) invoked
> logging into up2date server
> D: rpcServer: Calling XMLRPC up2date.login
> D: writeCachedLogin() invoked
> D: Wrote pickled loginInfo at 1407912221.75 with expiration of
> 1407915821.75 seconds.
> successfully retrieved authentication token from up2date server
> D: logininfo:{'X-RHN-Server-Id': 1000010121, 'X-RHN-Auth-Server-Time':
> '1407912221.74', 'X-RHN-Auth':
> 'YNgylnM1NEjjsef9Mbw51VNjVJTNQ25NNJl3Uh+dDr0=', 'X-RHN-Auth-Channels':
> [['sl6-x64-install', '20140403185542', '1', '1'], ['sl6-x64-base',
> '20140807084451', '0', '1'], ['sl6-x64-epel', '20140807082239', '0', '1'],
> ['sl6-x64-adobe-linux-i386', '20140807075241', '0', '1'],
> ['sl6-x64-adobe-linux-x86_64', '20140807075244', '0', '1'],
> ['sl6-x64-elrepo', '20140807075247', '0', '1'], ['sl6-x64-ias',
> '20140610095008', '0', '1'], ['sl6-x64-rpmfusion-free-updates',
> '20140807075338', '0', '1'], ['sl6-x64-rpmfusion-free-updates-testing',
> '20140807075400', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates',
> '20140807075402', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates-testing',
> '20140807075419', '0', '1'], ['sl6-x64-sl-security', '20140807084527', '0',
> '1'], ['sl6-x64-spacewalk-client', '20140807075420', '0', '1'],
> ['sl6-x64-virtualbox-linux-x86_64', '20140807075424', '0', '1'],
> ['sl6-x64-wuala', '20140807075448', '0', '1']], 'X-RHN-Auth-User-Id': '',
> 'X-RHN-Auth-Expire-Offset': '3600.0'}
> D: handle_action{'action': "<?xml
> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5278</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>root</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>root</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-13
> 08:43:41</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
> Add your shell script below\r\ntouch
> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
> 'version': 2, 'id': 5278}
> D: handle_action actionid = 5278, version = 2
> D: do_call script.run(5278, {'username': 'root', 'groupname': 'root',
> 'now': '2014-08-13 08:43:41', 'timeout': 600, 'script': '#!/bin/sh\r\n# Add
> your shell script below\r\ntouch /tmp/testremotecommand'}){'cache_only':
> None}
> D: Sending back response(1, 'Script failed', {'output': '', 'base64enc':
> 1, 'process_end': '2014-08-13 08:43:41', 'return_code': 256,
> 'process_start': '2014-08-13 08:43:41'})
> D: do_call packages.checkNeedUpdate('rhnsd=1',){}
> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
> D: loading keyring from rpmdb
> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
> D: added key gpg-pubkey-ba684223-4f3248dc to keyring
> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
> D: Using legacy gpg-pubkey(s) from rpmdb
> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
> D: closed   db index       /var/lib/rpm/Providename
> D: closed   db index       /var/lib/rpm/Name
> D: closed   db index       /var/lib/rpm/Packages
> D: closed   db environment /var/lib/rpm
> Not loading "blacklist" plugin, as it is disabled
> Not loading "whiteout" plugin, as it is disabled
> Loaded plugins: fastestmirror, presto, refresh-packagekit, rhnplugin
> Config time: 0.033
> D: rpcServer: Calling XMLRPC up2date.listChannels
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Setting up Package Sacks
> Loading mirror speeds from cached hostfile
> pkgsack time: 0.063
> rpmdb time: 0.000
> Loading mirror speeds from cached hostfile
> repo time: 0.000
> D: local action status: (0, 'rpm database not modified since last update
> (or package list recently updated)', {})
> D: rpcServer: Calling XMLRPC registration.welcome_message
> D: closed   db index       /var/lib/rpm/Providename
> D: closed   db index       /var/lib/rpm/Name
> D: closed   db index       /var/lib/rpm/Packages
> D: closed   db environment /var/lib/rpm
>
>
>  Just one more Information. I just upgraded spacewalk-server and before i
> did that I could executed Remotecommands on my Clients and I didn't chage
> anything on my Clients, just updates.
>
> _____________________________________________________
>
> Auszubildender Fachinformatiker für Systemintegration
> RWTH Aachen
> Lehrstuhl für Integrierte Analogschaltungen
> Raum 24C 313
> Walter-Schottky-Haus
> Sommerfeldstr. 24
> D-52074 Aachen
> www.ias.rwth-aachen.de
>
> Email: Daniel.Thielking at ias.rwth-aachen.de
> Phone: +49-(0)241-80-27771
>   FAX: +49-(0)241-80-627771
> _____________________________________________________
>
> Am 12.08.2014 um 16:29 schrieb Thomas Foster:
>
> That might be your problem....What does mount say for /var/spool/rhn?
>  Why did you changethe path to /var/spool/rhn instead of the /tmp?  You
> might want to check the article I sent against the /var/spool/rhn directory
> instead of the /tmp directory.
>
>
> On Tue, Aug 12, 2014 at 9:33 AM, Daniel Thielking <
> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>
>>  Here my outputs.
>>
>> cat /etc/sysconfig/rhn/rhncfg-client.conf:
>>
>> # Default directory for remote command temporary script file.
>> # If not set it will default to None and it will fallback to python's
>> default tempdir search algorithm
>> script_tmp_dir = /var/spool/rhn
>> #script_tmp_dir = /tmp
>>
>> cat /etc/selinux/config
>>
>> SELinux status:                 disabled
>>
>>  ls -lZd /tmp
>>
>> drwxrwxrwt. root root system_u:object_r:tmp_t:s0       /tmp
>>
>> ls -lZd /var/spool/rhn
>>
>> drwxr-xr-x root root ?                                /var/spool/rhn
>>
>> _____________________________________________________
>>
>> Auszubildender Fachinformatiker für Systemintegration
>> RWTH Aachen
>> Lehrstuhl für Integrierte Analogschaltungen
>> Raum 24C 313
>> Walter-Schottky-Haus
>> Sommerfeldstr. 24
>> D-52074 Aachen
>> www.ias.rwth-aachen.de
>>
>> Email: Daniel.Thielking at ias.rwth-aachen.de
>> Phone: +49-(0)241-80-27771
>>   FAX: +49-(0)241-80-627771
>> _____________________________________________________
>>
>> Am 11.08.2014 um 13:13 schrieb Thomas Foster:
>>
>> Also, are you running selinux...`sestatus`  then run ls -lZd on /tmp and
>> the directory where script_tmp_dir shows...
>> On Aug 11, 2014 6:16 AM, "Thomas Foster" <thomas.foster80 at gmail.com>
>> wrote:
>>
>>> What does mount say?
>>>
>>> Also what does script_tmp_dir say in your
>>> /etc/sysconfig/rhn/rhncfg-client.conf
>>> On Aug 11, 2014 5:29 AM, "Daniel Thielking" <
>>> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>>>
>>>>  Hi,
>>>>
>>>> thank you forwarding me to this article, but I've already seen this.
>>>> I have execution rights on /var/.... but I also tried it on /tmp to be
>>>> really  sure that this is not the Problem.
>>>>
>>>> Any other suggestions?
>>>>
>>>> _____________________________________________________
>>>>
>>>> Auszubildender Fachinformatiker für Systemintegration
>>>> RWTH Aachen
>>>> Lehrstuhl für Integrierte Analogschaltungen
>>>> Raum 24C 313
>>>> Walter-Schottky-Haus
>>>> Sommerfeldstr. 24
>>>> D-52074 Aachen
>>>> www.ias.rwth-aachen.de
>>>>
>>>> Email: Daniel.Thielking at ias.rwth-aachen.de
>>>> Phone: +49-(0)241-80-27771
>>>>   FAX: +49-(0)241-80-627771
>>>> _____________________________________________________
>>>>
>>>> Am 08.08.2014 15:09, schrieb Thomas Foster:
>>>>
>>>> Also take a look at this page...
>>>> https://access.redhat.com/solutions/257943
>>>> On Aug 8, 2014 9:03 AM, "Daniel Thielking" <
>>>> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>>>>
>>>>>  I run the command rhn-actions-control --enable-all and after it I
>>>>> rescheduled the remote command.
>>>>> To test it I also run rhn_check -vvvv and I get this I think it is the
>>>>> same issue:
>>>>>
>>>>> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>>>>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>>>>> D: locked   db index       /var/lib/rpm/Packages
>>>>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>>>>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>>>>> D: loading keyring from rpmdb
>>>>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>>>>> D: added key gpg-pubkey-ba684223-4f3248dc to keyring
>>>>> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
>>>>> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
>>>>> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
>>>>> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
>>>>> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
>>>>> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
>>>>> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
>>>>> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
>>>>> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
>>>>> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
>>>>> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
>>>>> D: Using legacy gpg-pubkey(s) from rpmdb
>>>>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>>>>> D: check_action{'action': "<?xml
>>>>> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5279</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>dthielking</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>nwiss</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-08
>>>>> 14:52:47</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
>>>>> Add your shell script below\r\ntouch
>>>>> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
>>>>> 'version': 2, 'id': 5279}
>>>>> updateLoginInfo() login info
>>>>> D: login(forceUpdate=True) invoked
>>>>> logging into up2date server
>>>>> D: rpcServer: Calling XMLRPC up2date.login
>>>>> D: writeCachedLogin() invoked
>>>>> D: Wrote pickled loginInfo at 1407502367.19 with expiration of
>>>>> 1407505967.19 seconds.
>>>>> successfully retrieved authentication token from up2date server
>>>>> D: logininfo:{'X-RHN-Server-Id': 1000010121, 'X-RHN-Auth-Server-Time':
>>>>> '1407502367.19', 'X-RHN-Auth':
>>>>> 'BuFtKddtuFhdGe1N3n8YBTYyttOBWOvfbZadRg6AGy4=', 'X-RHN-Auth-Channels':
>>>>> [['sl6-x64-install', '20140403185542', '1', '1'], ['sl6-x64-base',
>>>>> '20140807084451', '0', '1'], ['sl6-x64-epel', '20140807082239', '0', '1'],
>>>>> ['sl6-x64-adobe-linux-i386', '20140807075241', '0', '1'],
>>>>> ['sl6-x64-adobe-linux-x86_64', '20140807075244', '0', '1'],
>>>>> ['sl6-x64-elrepo', '20140807075247', '0', '1'], ['sl6-x64-ias',
>>>>> '20140610095008', '0', '1'], ['sl6-x64-rpmfusion-free-updates',
>>>>> '20140807075338', '0', '1'], ['sl6-x64-rpmfusion-free-updates-testing',
>>>>> '20140807075400', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates',
>>>>> '20140807075402', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates-testing',
>>>>> '20140807075419', '0', '1'], ['sl6-x64-sl-security', '20140807084527', '0',
>>>>> '1'], ['sl6-x64-spacewalk-client', '20140807075420', '0', '1'],
>>>>> ['sl6-x64-virtualbox-linux-x86_64', '20140807075424', '0', '1'],
>>>>> ['sl6-x64-wuala', '20140807075448', '0', '1']], 'X-RHN-Auth-User-Id': '',
>>>>> 'X-RHN-Auth-Expire-Offset': '3600.0'}
>>>>> D: handle_action{'action': "<?xml
>>>>> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5279</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>dthielking</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>nwiss</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-08
>>>>> 14:52:47</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
>>>>> Add your shell script below\r\ntouch
>>>>> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
>>>>> 'version': 2, 'id': 5279}
>>>>> D: handle_action actionid = 5279, version = 2
>>>>> D: do_call script.run(5279, {'username': 'dthielking', 'groupname':
>>>>> 'nwiss', 'now': '2014-08-08 14:52:47', 'timeout': 600, 'script':
>>>>> '#!/bin/sh\r\n# Add your shell script below\r\ntouch
>>>>> /tmp/testremotecommand'}){'cache_only': None}
>>>>> D: Sending back response(1, 'Script failed', {'output': '',
>>>>> 'base64enc': 1, 'process_end': '2014-08-08 14:52:47', 'return_code': 256,
>>>>> 'process_start': '2014-08-08 14:52:47'})
>>>>> D: do_call packages.checkNeedUpdate('rhnsd=1',){}
>>>>> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>>>>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>>>>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>>>>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>>>>> D: loading keyring from rpmdb
>>>>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>>>>> D: added key gpg-pubkey-ba684223-4f3248dc to keyring
>>>>> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
>>>>> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
>>>>> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
>>>>> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
>>>>> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
>>>>> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
>>>>> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
>>>>> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
>>>>> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
>>>>> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
>>>>> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
>>>>> D: Using legacy gpg-pubkey(s) from rpmdb
>>>>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>>>>> D: closed   db index       /var/lib/rpm/Providename
>>>>> D: closed   db index       /var/lib/rpm/Name
>>>>> D: closed   db index       /var/lib/rpm/Packages
>>>>> D: closed   db environment /var/lib/rpm
>>>>> Not loading "blacklist" plugin, as it is disabled
>>>>> Not loading "whiteout" plugin, as it is disabled
>>>>> Loaded plugins: fastestmirror, presto, refresh-packagekit, rhnplugin
>>>>> Config time: 0.034
>>>>> D: rpcServer: Calling XMLRPC up2date.listChannels
>>>>> This system is receiving updates from RHN Classic or Red Hat Satellite.
>>>>> Setting up Package Sacks
>>>>> Loading mirror speeds from cached hostfile
>>>>> pkgsack time: 2.826
>>>>> rpmdb time: 0.000
>>>>> Loading mirror speeds from cached hostfile
>>>>> repo time: 0.000
>>>>> D: local action status: (0, 'rpm database not modified since last
>>>>> update (or package list recently updated)', {})
>>>>> D: rpcServer: Calling XMLRPC registration.welcome_message
>>>>> D: closed   db index       /var/lib/rpm/Providename
>>>>> D: closed   db index       /var/lib/rpm/Name
>>>>> D: closed   db index       /var/lib/rpm/Packages
>>>>> D: closed   db environment /var/lib/rpm
>>>>>
>>>>> _____________________________________________________
>>>>>
>>>>> Auszubildender Fachinformatiker für Systemintegration
>>>>> RWTH Aachen
>>>>> Lehrstuhl für Integrierte Analogschaltungen
>>>>> Raum 24C 313
>>>>> Walter-Schottky-Haus
>>>>> Sommerfeldstr. 24
>>>>> D-52074 Aachen
>>>>> www.ias.rwth-aachen.de
>>>>>
>>>>> Email: Daniel.Thielking at ias.rwth-aachen.de
>>>>> Phone: +49-(0)241-80-27771
>>>>>   FAX: +49-(0)241-80-627771
>>>>> _____________________________________________________
>>>>>
>>>>> Am 08.08.2014 12:46, schrieb Thomas Foster:
>>>>>
>>>>> I would try that and try to re-run the scriot to see if it was a
>>>>> permission issue(the clients need to be given permission to execute
>>>>> scripts).
>>>>> On Aug 8, 2014 6:40 AM, "Daniel Thielking" <
>>>>> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>>>>>
>>>>>>  I'm not sure, because I get this complete issue from my colleague.
>>>>>> Shall I do that?
>>>>>>
>>>>>> _____________________________________________________
>>>>>>
>>>>>> Auszubildender Fachinformatiker für Systemintegration
>>>>>> RWTH Aachen
>>>>>> Lehrstuhl für Integrierte Analogschaltungen
>>>>>> Raum 24C 313
>>>>>> Walter-Schottky-Haus
>>>>>> Sommerfeldstr. 24
>>>>>> D-52074 Aachen
>>>>>> www.ias.rwth-aachen.de
>>>>>>
>>>>>> Email: Daniel.Thielking at ias.rwth-aachen.de
>>>>>> Phone: +49-(0)241-80-27771
>>>>>>   FAX: +49-(0)241-80-627771
>>>>>> _____________________________________________________
>>>>>>
>>>>>> Am 08.08.2014 10:49, schrieb Thomas Foster:
>>>>>>
>>>>>> Did you change your rhn-actions-control to --enable-all?  It looked
>>>>>> like that was the msg you recieved.
>>>>>> On Aug 8, 2014 1:48 AM, "Daniel Thielking" <
>>>>>> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>>>>>>
>>>>>>>  Yes, I'm using the newes Version of the spacewalk-client packages.
>>>>>>>
>>>>>>> _____________________________________________________
>>>>>>>
>>>>>>> Auszubildender Fachinformatiker für Systemintegration
>>>>>>> RWTH Aachen
>>>>>>> Lehrstuhl für Integrierte Analogschaltungen
>>>>>>> Raum 24C 313
>>>>>>> Walter-Schottky-Haus
>>>>>>> Sommerfeldstr. 24
>>>>>>> D-52074 Aachen
>>>>>>> www.ias.rwth-aachen.de
>>>>>>>
>>>>>>> Email: Daniel.Thielking at ias.rwth-aachen.de
>>>>>>> Phone: +49-(0)241-80-27771
>>>>>>>   FAX: +49-(0)241-80-627771
>>>>>>> _____________________________________________________
>>>>>>>
>>>>>>> Am 07.08.2014 22:32, schrieb Matthew Madey:
>>>>>>>
>>>>>>> Did you upgrade your client's Spacewalk related packages? There is a
>>>>>>> 2.2 client repo and new packages for clients. I had issues with OSAD when I
>>>>>>> upgraded from 2.1 to 2.2. I switched my clients over to the 2.2 - client
>>>>>>> repo and did a yum upgrade. Everything has worked flawlessly since.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Aug 7, 2014 at 2:16 AM, Daniel Thielking <
>>>>>>> Daniel.Thielking at ias.rwth-aachen.de> wrote:
>>>>>>>
>>>>>>>>  Hi,
>>>>>>>> I'm sorry that I answering just now but I was on Holiday.
>>>>>>>>
>>>>>>>> After I scheduled a command to create a file on /tmp and execute
>>>>>>>> rhn_check -vvv I get this output.
>>>>>>>> Maybe you'll finde more Information.
>>>>>>>>
>>>>>>>> Output:
>>>>>>>>
>>>>>>>> rhn_check -vvvvvv
>>>>>>>>  D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>>>>>>>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>>>>>>>> D: locked   db index       /var/lib/rpm/Packages
>>>>>>>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>>>>>>>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>>>>>>>> D: loading keyring from rpmdb
>>>>>>>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>>>>>>>> D: added key gpg-pubkey-ba684223-4f3248dc to keyring
>>>>>>>> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
>>>>>>>> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
>>>>>>>> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
>>>>>>>> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
>>>>>>>> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
>>>>>>>> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
>>>>>>>> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
>>>>>>>> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
>>>>>>>> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
>>>>>>>> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
>>>>>>>> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
>>>>>>>> D: Using legacy gpg-pubkey(s) from rpmdb
>>>>>>>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>>>>>>>>  D: check_action{'action': "<?xml
>>>>>>>> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5279</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>dthielking</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>nwiss</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-07
>>>>>>>> 08:55:55</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
>>>>>>>> Add your shell script below\r\ntouch
>>>>>>>> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
>>>>>>>> 'version': 2, 'id': 5279}
>>>>>>>>
>>>>>>>> updateLoginInfo() login info
>>>>>>>> D: login(forceUpdate=True) invoked
>>>>>>>> logging into up2date server
>>>>>>>> D: rpcServer: Calling XMLRPC up2date.login
>>>>>>>> D: writeCachedLogin() invoked
>>>>>>>>  D: Wrote pickled loginInfo at 1407394555.85 with expiration of
>>>>>>>> 1407398155.85 seconds.
>>>>>>>>
>>>>>>>> successfully retrieved authentication token from up2date server
>>>>>>>>  D: logininfo:{'X-RHN-Server-Id': 1000010121,
>>>>>>>> 'X-RHN-Auth-Server-Time': '1407394555.84', 'X-RHN-Auth':
>>>>>>>> '/GGMCG1i5lw2Uvxl8T3/BbFyfNZatdaGfraDtDCX5L4=', 'X-RHN-Auth-Channels':
>>>>>>>> [['sl6-x64-install', '20140403185542', '1', '1'], ['sl6-x64-base',
>>>>>>>> '20140807084451', '0', '1'], ['sl6-x64-epel', '20140807082239', '0', '1'],
>>>>>>>> ['sl6-x64-adobe-linux-i386', '20140807075241', '0', '1'],
>>>>>>>> ['sl6-x64-adobe-linux-x86_64', '20140807075244', '0', '1'],
>>>>>>>> ['sl6-x64-elrepo', '20140807075247', '0', '1'], ['sl6-x64-ias',
>>>>>>>> '20140610095008', '0', '1'], ['sl6-x64-rpmfusion-free-updates',
>>>>>>>> '20140807075338', '0', '1'], ['sl6-x64-rpmfusion-free-updates-testing',
>>>>>>>> '20140807075400', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates',
>>>>>>>> '20140807075402', '0', '1'], ['sl6-x64-rpmfusion-nonfree-updates-testing',
>>>>>>>> '20140807075419', '0', '1'], ['sl6-x64-sl-security', '20140807084527', '0',
>>>>>>>> '1'], ['sl6-x64-spacewalk-client', '20140807075420', '0', '1'],
>>>>>>>> ['sl6-x64-virtualbox-linux-x86_64', '20140807075424', '0', '1'],
>>>>>>>> ['sl6-x64-wuala', '20140807075448', '0', '1']], 'X-RHN-Auth-User-Id': '',
>>>>>>>> 'X-RHN-Auth-Expire-Offset': '3600.0'}
>>>>>>>> D: handle_action{'action': "<?xml
>>>>>>>> version='1.0'?>\n<methodCall>\n<methodName>script.run</methodName>\n<params>\n<param>\n<value><int>5279</int></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>dthielking</string></value>\n</member>\n<member>\n<name>groupname</name>\n<value><string>nwiss</string></value>\n</member>\n<member>\n<name>now</name>\n<value><string>2014-08-07
>>>>>>>> 08:55:55</string></value>\n</member>\n<member>\n<name>timeout</name>\n<value><int>600</int></value>\n</member>\n<member>\n<name>script</name>\n<value><string>#!/bin/sh\r\n#
>>>>>>>> Add your shell script below\r\ntouch
>>>>>>>> /tmp/testremotecommand</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
>>>>>>>> 'version': 2, 'id': 5279}
>>>>>>>> D: handle_action actionid = 5279, version = 2
>>>>>>>> D: do_call script.run(5279, {'username': 'dthielking', 'groupname':
>>>>>>>> 'nwiss', 'now': '2014-08-07 08:55:55', 'timeout': 600, 'script':
>>>>>>>> '#!/bin/sh\r\n# Add your shell script below\r\ntouch
>>>>>>>> /tmp/testremotecommand'}){'cache_only': None}
>>>>>>>> D: Sending back response(1, 'Script failed', {'output': '',
>>>>>>>> 'base64enc': 1, 'process_end': '2014-08-07 08:55:55', 'return_code': 256,
>>>>>>>> 'process_start': '2014-08-07 08:55:55'})
>>>>>>>>
>>>>>>>> D: do_call packages.checkNeedUpdate('rhnsd=1',){}
>>>>>>>> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
>>>>>>>> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>>>>>>>> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
>>>>>>>> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
>>>>>>>> D: loading keyring from rpmdb
>>>>>>>> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
>>>>>>>>  D: added key gpg-pubkey-ba684223-4f3248dc to keyring
>>>>>>>> D: added key gpg-pubkey-0608b895-4bd22942 to keyring
>>>>>>>> D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
>>>>>>>> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
>>>>>>>> D: added key gpg-pubkey-baadae52-49beffa4 to keyring
>>>>>>>> D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
>>>>>>>> D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
>>>>>>>> D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
>>>>>>>> D: added key gpg-pubkey-863a853d-4f55f54d to keyring
>>>>>>>> D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
>>>>>>>> D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
>>>>>>>> D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
>>>>>>>> D: Using legacy gpg-pubkey(s) from rpmdb
>>>>>>>> D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
>>>>>>>> D: closed   db index       /var/lib/rpm/Providename
>>>>>>>> D: closed   db index       /var/lib/rpm/Name
>>>>>>>> D: closed   db index       /var/lib/rpm/Packages
>>>>>>>> D: closed   db environment /var/lib/rpm
>>>>>>>>  Loading "rhnplugin" plugin
>>>>>>>>
>>>>>>>> Not loading "blacklist" plugin, as it is disabled
>>>>>>>>  Loading "fastestmirror" plugin
>>>>>>>> Loading "presto" plugin
>>>>>>>> Loading "refresh-packagekit" plugin
>>>>>>>>
>>>>>>>> Not loading "whiteout" plugin, as it is disabled
>>>>>>>>  Config time: 0.035
>>>>>>>>
>>>>>>>> D: rpcServer: Calling XMLRPC up2date.listChannels
>>>>>>>> This system is receiving updates from RHN Classic or Red Hat
>>>>>>>> Satellite.
>>>>>>>>  Looking for repo options for [main]
>>>>>>>> Looking for repo options for [sl6-x64-install]
>>>>>>>> Repo 'sl6-x64-install' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-install' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-base]
>>>>>>>> Repo 'sl6-x64-base' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-base' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-epel]
>>>>>>>> Repo 'sl6-x64-epel' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-epel' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-adobe-linux-i386]
>>>>>>>> Repo 'sl6-x64-adobe-linux-i386' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-adobe-linux-i386' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-adobe-linux-x86_64]
>>>>>>>> Repo 'sl6-x64-adobe-linux-x86_64' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-adobe-linux-x86_64' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-elrepo]
>>>>>>>> Repo 'sl6-x64-elrepo' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-elrepo' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-ias]
>>>>>>>> Repo 'sl6-x64-ias' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-ias' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-rpmfusion-free-updates]
>>>>>>>> Repo 'sl6-x64-rpmfusion-free-updates' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-rpmfusion-free-updates' setting option 'gpgcheck' =
>>>>>>>> '1'
>>>>>>>> Looking for repo options for
>>>>>>>> [sl6-x64-rpmfusion-free-updates-testing]
>>>>>>>> Repo 'sl6-x64-rpmfusion-free-updates-testing' setting option
>>>>>>>> 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-rpmfusion-free-updates-testing' setting option
>>>>>>>> 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-rpmfusion-nonfree-updates]
>>>>>>>> Repo 'sl6-x64-rpmfusion-nonfree-updates' setting option 'enabled' =
>>>>>>>> '1'
>>>>>>>> Repo 'sl6-x64-rpmfusion-nonfree-updates' setting option 'gpgcheck'
>>>>>>>> = '1'
>>>>>>>> Looking for repo options for
>>>>>>>> [sl6-x64-rpmfusion-nonfree-updates-testing]
>>>>>>>> Repo 'sl6-x64-rpmfusion-nonfree-updates-testing' setting option
>>>>>>>> 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-rpmfusion-nonfree-updates-testing' setting option
>>>>>>>> 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-sl-security]
>>>>>>>> Repo 'sl6-x64-sl-security' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-sl-security' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-spacewalk-client]
>>>>>>>> Repo 'sl6-x64-spacewalk-client' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-spacewalk-client' setting option 'gpgcheck' = '1'
>>>>>>>> Looking for repo options for [sl6-x64-virtualbox-linux-x86_64]
>>>>>>>> Repo 'sl6-x64-virtualbox-linux-x86_64' setting option 'enabled' =
>>>>>>>> '1'
>>>>>>>> Repo 'sl6-x64-virtualbox-linux-x86_64' setting option 'gpgcheck' =
>>>>>>>> '1'
>>>>>>>> Looking for repo options for [sl6-x64-wuala]
>>>>>>>> Repo 'sl6-x64-wuala' setting option 'enabled' = '1'
>>>>>>>> Repo 'sl6-x64-wuala' setting option 'gpgcheck' = '1'
>>>>>>>>
>>>>>>>> Setting up Package Sacks
>>>>>>>> Loading mirror speeds from cached hostfile
>>>>>>>>  pkgsack time: 0.066
>>>>>>>>
>>>>>>>> rpmdb time: 0.000
>>>>>>>> Loading mirror speeds from cached hostfile
>>>>>>>> repo time: 0.000
>>>>>>>> D: local action status: (0, 'rpm database not modified since last
>>>>>>>> update (or package list recently updated)', {})
>>>>>>>> D: rpcServer: Calling XMLRPC registration.welcome_message
>>>>>>>> D: closed   db index       /var/lib/rpm/Providename
>>>>>>>> D: closed   db index       /var/lib/rpm/Name
>>>>>>>> D: closed   db index       /var/lib/rpm/Packages
>>>>>>>> D: closed   db environment /var/lib/rpm
>>>>>>>>
>>>>>>>>  Regards Daniel
>>>>>>>>
>>>>>>>> _____________________________________________________
>>>>>>>>
>>>>>>>> Auszubildender Fachinformatiker für Systemintegration
>>>>>>>> RWTH Aachen
>>>>>>>> Lehrstuhl für Integrierte Analogschaltungen
>>>>>>>> Raum 24C 313
>>>>>>>> Walter-Schottky-Haus
>>>>>>>> Sommerfeldstr. 24
>>>>>>>> D-52074 Aachen
>>>>>>>> www.ias.rwth-aachen.de
>>>>>>>>
>>>>>>>> Email: Daniel.Thielking at ias.rwth-aachen.de
>>>>>>>> Phone: +49-(0)241-80-27771
>>>>>>>>   FAX: +49-(0)241-80-627771
>>>>>>>> _____________________________________________________
>>>>>>>>
>>>>>>>>  Am 18.07.2014 11:37, schrieb Cliff Perry:
>>>>>>>>
>>>>>>>> On
>>>>>>>>
>>>>>>>>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140813/16f017a6/attachment.htm>


More information about the Spacewalk-list mailing list