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: [email protected]
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" <[email protected] <mailto:[email protected]>> 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  <http://www.ias.rwth-aachen.de>

    Email:[email protected]  
<mailto:[email protected]>
    Phone:+49-(0)241-80-27771  <tel:%2B49-%280%29241-80-27771>
       FAX:+49-(0)241-80-627771  <tel:%2B49-%280%29241-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"
    <[email protected]
    <mailto:[email protected]>> 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  <http://www.ias.rwth-aachen.de>

        Email:[email protected]  
<mailto:[email protected]>
        Phone:+49-(0)241-80-27771  <tel:%2B49-%280%29241-80-27771>
           FAX:+49-(0)241-80-627771  <tel:%2B49-%280%29241-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
        <[email protected]
        <mailto:[email protected]>> 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  <http://www.ias.rwth-aachen.de>

            Email:[email protected]  
<mailto:[email protected]>
            Phone:+49-(0)241-80-27771  <tel:%2B49-%280%29241-80-27771>
               FAX:+49-(0)241-80-627771  <tel:%2B49-%280%29241-80-627771>
            _____________________________________________________

            Am 18.07.2014 11:37, schrieb Cliff Perry:
            On 18/07/14 09:38, Daniel Thielking wrote:
            No suggestions for me?

            Do you have osad running on that test/client system?
             - I ask because the output provided, shows - nothing.
            It didn't try to do anything. The rhn_check performed a
            basic checkin and was returned zero things to do.

            Below is a copy from a simple scheduled remote script
            of 'echo foobar'.

            Scroll through and notice lines:

            D: do_call script.run(2098, {'username': 'root',
            'groupname': 'root', 'now': '2014-07-18 09:33:41',
            'timeout': 600, 'script': '#!/bin/sh\r\n# Add your
            shell script below\r\necho foobar'}){'cache_only': None}

            and then reply (I don't have remote cmds enabled on
            this system):

            D: Sending back response(42, 'Local permission not set
            for action type script.run', {})


            Cliff


            [root@cperry ~]# rhn_check -vvv
            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-77a79e00-4864e7f5 to keyring
            D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
            D: added key gpg-pubkey-db42a60e-37ea5438 to keyring
            D: added key gpg-pubkey-37017186-45761324 to keyring
            D: added key gpg-pubkey-f21541eb-4a5233e7 to keyring
            D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
            D: added key gpg-pubkey-897da07a-3c979a7f to keyring
            D: added key gpg-pubkey-f7e257e6-490b0e11 to keyring
            D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
            D: added key gpg-pubkey-42193e6b-4624eff2 to keyring
            D: added key gpg-pubkey-7fac5991-4615767f to keyring
            D: added key gpg-pubkey-0608b895-4bd22942 to keyring
            D: added key gpg-pubkey-849c449f-4cb9df30 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>2098</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-07-18
            
09:33: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\necho
            
foobar</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
            'version': 2, 'id': 2098}
            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 1405676032.25 with
            expiration of 1405679632.25 seconds.
            successfully retrieved authentication token from
            up2date server
            D: logininfo:{'X-RHN-Server-Id': 1000011217,
            'X-RHN-Auth-Server-Time': '1405676021.8', 'X-RHN-Auth':
            'T6nUPiGUFR25OsrmbFAtSf1AsN/rab13MSGwThTUX9c=',
            'X-RHN-Auth-Channels': [['rhel-x86_64-server-6',
            '20140717172601', '1', '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>2098</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-07-18
            
09:33: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\necho
            
foobar</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n",
            'version': 2, 'id': 2098}
            D: handle_action actionid = 2098, version = 2
            D: do_call script.run(2098, {'username': 'root',
            'groupname': 'root', 'now': '2014-07-18 09:33:41',
            'timeout': 600, 'script': '#!/bin/sh\r\n# Add your
            shell script below\r\necho foobar'}){'cache_only': None}
            D: Sending back response(42, 'Local permission not set
            for action type script.run', {})
            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-77a79e00-4864e7f5 to keyring
            D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
            D: added key gpg-pubkey-db42a60e-37ea5438 to keyring
            D: added key gpg-pubkey-37017186-45761324 to keyring
            D: added key gpg-pubkey-f21541eb-4a5233e7 to keyring
            D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
            D: added key gpg-pubkey-897da07a-3c979a7f to keyring
            D: added key gpg-pubkey-f7e257e6-490b0e11 to keyring
            D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
            D: added key gpg-pubkey-42193e6b-4624eff2 to keyring
            D: added key gpg-pubkey-7fac5991-4615767f to keyring
            D: added key gpg-pubkey-0608b895-4bd22942 to keyring
            D: added key gpg-pubkey-849c449f-4cb9df30 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: product-id, refresh-packagekit,
            rhnplugin, versionlock
            Config time: 0.070
            D: rpcServer: Calling XMLRPC up2date.listChannels
            This system is receiving updates from RHN Classic or
            RHN Satellite.
            Setting up Package Sacks
            Reading version lock configuration
            pkgsack time: 0.115
            rpmdb time: 0.000
            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
            [root@cperry ~]#


            _____________________________________________________

            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 <http://www.ias.rwth-aachen.de>

            Email:[email protected]
            <mailto:Email:[email protected]>
            Phone: +49-(0)241-80-27771
            <tel:%2B49-%280%29241-80-27771>
               FAX: +49-(0)241-80-627771
            <tel:%2B49-%280%29241-80-627771>
            _____________________________________________________

            Am 17.07.2014 12:14, schrieb Daniel Thielking:
            That is what rhn_check -vvv says:

            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: 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.032
            D: login(forceUpdate=False) invoked
            D: readCachedLogin invoked
            D: Checking pickled loginInfo,
            currentTime=1405591784.98,
            createTime=1405591723.85, expire-offset=3600.0
            D: readCachedLogin(): using pickled loginInfo set to
            expire at
            1405595323.85
            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.068
            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

            While I was upgrading Spacewalk form 2.1 to 2.2, I
            should use this
            command:
            su - postgres -c 'PGPASSWORD=spacepw; createlang
            pltclu spaceschema ;'

            but there is no spaceschema database on the server
            maybe this is the
            error?


            _____________________________________________________

            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 <http://www.ias.rwth-aachen.de>

            Email:[email protected]
            <mailto:Email:[email protected]>
            Phone: +49-(0)241-80-27771
            <tel:%2B49-%280%29241-80-27771>
               FAX: +49-(0)241-80-627771
            <tel:%2B49-%280%29241-80-627771>
            _____________________________________________________
            Am 17.07.2014 10:23, schrieb Milan Zázrivec:
            On Thursday 17 July 2014 09:53:10 Daniel Thielking
            wrote:
            OS: Centos 6.5 on Clients and Server

            in /var/log/up2date:

            [Thu Jul 17 08:56:01 2014] up2date
            updateLoginInfo() login info
            [Thu Jul 17 08:56:01 2014] up2date logging into
            up2date server
            [Thu Jul 17 08:56:01 2014] up2date successfully
            retrieved authentication
            token from up2date server

            And no Traceback mails or errors on Server
            This is strange -- I just tried this on both RHEL-6
            and RHEL-7, with stock
            client packages and then with Spacewalk 2.2 packages.

            It always worked OK.

            Did the upgrade to 2.2 went smooth? (package /
            schema upgrade in particular)

            -MZ

            Am 17.07.2014 09:40, schrieb Milan Zázrivec:
            On Thursday 17 July 2014 09:28:41 Daniel Thielking
            wrote:
            Dear Colleagues,

            I have a huge problem.
            I have updatet fom Spacewalk 2.1.to
            <http://2.1.to> 2.2 and after this upgrade i can't
            execute any remotescript.

            If I try to execute on all my host this script:
                   #!/bin/sh
                   echo "hello"

            I get this error message on the plan page:


            Summary:     Run an arbitrary script scheduled by
            dthielking
            Details:     This action will be executed after
            07/17/14 8:47:00 AM CEST.

            This action's status is: Failed.
            The client picked up this action on 07/17/14
            8:48:08 AM CEST.
            The client completed this action on 07/17/14
            8:48:08 AM CEST.
            Client execution returned "Script failed" (code 1)
            This seems to be working fine on my Spacewalk 2.2.

            What OS are the problematic clients? Anything in
            /var/log/up2date
            on the clients? Any error logs / traceback emails
            on the server?

            -MZ

            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list

            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list
            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list



            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list



            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list


            _______________________________________________
            Spacewalk-list mailing list
            [email protected]
            <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list


            _______________________________________________
            Spacewalk-list mailing list
            [email protected] <mailto:[email protected]>
            https://www.redhat.com/mailman/listinfo/spacewalk-list




        _______________________________________________
        Spacewalk-list mailing list
        [email protected]  <mailto:[email protected]>
        https://www.redhat.com/mailman/listinfo/spacewalk-list


        _______________________________________________
        Spacewalk-list mailing list
        [email protected] <mailto:[email protected]>
        https://www.redhat.com/mailman/listinfo/spacewalk-list



    _______________________________________________
    Spacewalk-list mailing list
    [email protected]  <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/spacewalk-list


    _______________________________________________
    Spacewalk-list mailing list
    [email protected] <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/spacewalk-list



_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to