<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      As we can see into logs below the action is really done
      (underlined line), I think issue is concerning log writing (italic
      underlined line).<br>
      <br>
      [Fri Sep 13 10:15:25 2013] up2date<br>
      Traceback (most recent call last):<br>
          File "/usr/sbin/rhn_check", line 347, in __run_action<br>
            (status, message, data) = CheckCli.__do_call(method, params,
      kwargs)<br>
          File "/usr/sbin/rhn_check", line 340, in __do_call<br>
            retval = method(*params, **kwargs)<br>
          File "/usr/share/rhn/actions/configfiles.py", line 309, in
      deploy<br>
           <b><u> log_to_file(0, "Files successfully deployed: %s %s" %</u></b><b><u><br>
        </u></b><b><u>
          (format_file_string(files, create_key_list()), str(extras)))</u></b><br>
          File "/usr/share/rhn/config_common/rhn_log.py", line 109, in
      log_to_file<br>
            return apply(Logger().log_to_file, args)<br>
          File "/usr/share/rhn/config_common/rhn_log.py", line 45, in
      log_to_file<br>
            self.write_to_logfile(outstr)<br>
          File "/usr/share/rhn/config_common/rhn_log.py", line 65, in<br>
      <u><i>write_to_logfile</i></u><u><i><br>
        </i></u><u><i>
                sys.exit(1)</i></u><br>
      <type 'exceptions.SystemExit'>: 1<br>
      <br>
      Concerning the command rhn-actions --enable-all, I have got a post
      installation script which is in charge to run this command.<br>
      <br>
      Best regards,<br>
      <br>
      <pre class="moz-signature" cols="72">Michael Linder

System Administrator
_______________________________________________________________ 

</pre>
      On 09/17/2013 12:43 PM, Thomas Foster wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ44rp6TvNB6OUdMdLyZk=z7ggTOnM6dsJuEOVU4vO3Djm2V6w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Did you run the rhn-actions --enable-all script to
        be able to run jobs on the system?<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Sep 17, 2013 at 6:14 AM,
          Michael LINDER <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:michael.linder@pt-consulting.eu"
              target="_blank">michael.linder@pt-consulting.eu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            Nobody has an idea about this issue?<br>
            <br>
            Best regards,<br>
            <br>
            Michael Linder<br>
            <br>
            System Administrator<br>
            <br>
            Mail: <a moz-do-not-send="true"
              href="mailto:michael.linder@pt-consulting.eu"
              target="_blank">michael.linder@pt-consulting.eu</a><br>
            Phone: <a moz-do-not-send="true"
              href="tel:%2B352%20621%20311%20297" value="+352621311297"
              target="_blank">+352 621 311 297</a><br>
            Internet: <a moz-do-not-send="true"
              href="http://www.pt-consulting.eu" target="_blank">www.pt-consulting.eu</a><br>
            _______________________________________________________________<br>
            <br>
            <br>
            DISCLAIMER: <a moz-do-not-send="true"
              href="http://www.pt-consulting.eu/disclaimer.html"
              target="_blank">www.pt-consulting.eu/disclaimer.html</a><br>
            <br>
            P Before printing, think about ENVIRONMENTAL responsibility<br>
            <br>
            On 09/13/2013 10:43 AM, Michael LINDER wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Hello,<br>
              <br>
              We are running spacewalk 2.0 (fresh install), into our
              kickstart we have<br>
              an Activation Key which will deployed some configuration
              automatically<br>
              during installation. The step is done successfully, but
              into web<br>
              interface we see failed action, we have a look into
              /var/log/up2date<br>
              logfile from client and below content:<br>
              <br>
              [Fri Sep 13 10:15:24 2013] up2date successfully retrieved
              authentication<br>
              token from up2date server<br>
              [Fri Sep 13 10:15:25 2013] up2date<br>
              Traceback (most recent call last):<br>
                  File "/usr/sbin/rhn_check", line 347, in __run_action<br>
                    (status, message, data) = CheckCli.__do_call(method,
              params, kwargs)<br>
                  File "/usr/sbin/rhn_check", line 340, in __do_call<br>
                    retval = method(*params, **kwargs)<br>
                  File "/usr/share/rhn/actions/configfiles.py", line
              309, in deploy<br>
                    log_to_file(0, "Files successfully deployed: %s %s"
              %<br>
              (format_file_string(files, create_key_list()),
              str(extras)))<br>
                  File "/usr/share/rhn/config_common/rhn_log.py", line
              109, in log_to_file<br>
                    return apply(Logger().log_to_file, args)<br>
                  File "/usr/share/rhn/config_common/rhn_log.py", line
              45, in log_to_file<br>
                    self.write_to_logfile(outstr)<br>
                  File "/usr/share/rhn/config_common/rhn_log.py", line
              65, in<br>
              write_to_logfile<br>
                    sys.exit(1)<br>
              <type 'exceptions.SystemExit'>: 1<br>
              <br>
              We have another look into /root/ks-rhn-post.log:<br>
              <br>
              /tmp/ks-script-zxVqs8: line 207: perl: command not found<br>
              /tmp/ks-script-zxVqs8: line 211: wget: command not found<br>
              error: File not found by glob: /tmp/rhn_rpms/optional/pyOpenSSL*<br>
              error: File not found by glob:
              /tmp/rhn_rpms/optional/rhnlib*<br>
              error: File not found by glob: /tmp/rhn_rpms/optional/libxml2-python*<br>
              /tmp/ks-script-zxVqs8: line 213: perl: command not found<br>
              cp: cannot stat `/tmp/ks-tree-copy/*': No such file or
              directory<br>
              /tmp/ks-script-zxVqs8: line 230: wget: command not found<br>
              /tmp/ks-script-zxVqs8: line 231: perl: command not found<br>
              <br>
              does not have permissions to create file
               /var/log/rhncfg-actions<br>
              <br>
              It seems during installation, information could not be
              written into<br>
              /var/log/rhncfg-actions. Do you have an idea? When we try
              to see content<br>
              of /usr/share/rhn/config_common/rhn_log.py this file is
              not existing. I<br>
              repeat action are really done but report into web
              interface is failed.<br>
              <br>
              Best regards,<br>
              <br>
            </blockquote>
            <br>
            _______________________________________________<br>
            Spacewalk-list mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
            <a moz-do-not-send="true"
              href="https://www.redhat.com/mailman/listinfo/spacewalk-list"
              target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>