<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 5:17 PM, Jan Pazdziora <span dir="ltr"><<a href="mailto:jpazdziora@redhat.com">jpazdziora@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Wed, Jul 20, 2011 at 09:02:40PM +0530, trm asn wrote:<br>
> Hi List,<br>
><br>
><br>
> Using nocpulse user I am creating the probe fron UI. Client end rhnmd is<br>
> running and port 4545 is accessible from spacewalk server. I am able to<br>
> login using that ssh-dss key.  Whatever the prove I am creating it's on<br>
> "PENDING, Awaiting Update" state.<br>
><br>
> SatConfig-generator is already installed. Selinux is in disabled mode. 775<br>
> permission is there for "/var/lib/nocpulse" .<br>
><br>
> Below is my "/var/log/nocpulse/execute_commands.log" files output.<br>
><br>
><br>
><br>
> 2011-07-20 20:46:03 154:        Finished with command 164<br>
> 2011-07-20 20:46:03 157: Finished processing commands<br>
> 2011-07-20 20:46:03 95: Freshening heartbeat file<br>
> /var/lib/nocpulse/commands/heartbeat<br>
> 2011-07-20 20:46:03 176: No commands executed, sleeping 60 seconds<br>
> 2011-07-20 20:47:03 96: Starting queue run<br>
> 2011-07-20 20:47:03 95: Freshening heartbeat file<br>
> /var/lib/nocpulse/commands/heartbeat<br>
> 2011-07-20 20:47:03 104:        Attempting to fetch commands (attempt 0)<br>
> 2011-07-20 20:47:03 95:         Queue server URL:<br>
> <a href="https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=203a64827eb3&node_id=2&role=lead&version=1.0" target="_blank">https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=203a64827eb3&node_id=2&role=lead&version=1.0</a><br>

> 2011-07-20 20:47:03 95:         Successfully got command list<br>
> 2011-07-20 20:47:03 95:         CommandQueueParser parsing 411 bytes<br>
> 2011-07-20 20:47:03 95:         Parser::parse returning<br>
> NOCpulse::CommandQueue=HASH(0xa17c70c)<br>
> 2011-07-20 20:47:03 95:         CQ::fetch_commands returning<br>
> NOCpulse::CommandQueue=HASH(0xa17c70c)<br>
> 2011-07-20 20:47:03 121:        Fetched 1 commands<br>
> 2011-07-20 20:47:03 130:        Running command 164<br>
> 2011-07-20 20:47:03 131:                Command line is:<br>
> /usr/bin/scheduleEvents<br>
> 2011-07-20 20:47:03 95:         Attempting to run command 164<br>
> 2011-07-20 20:47:03 95:                 Last started: 164; Last completed:<br>
> 164<br>
> 2011-07-20 20:47:03 95:         164 is not executable (old, last started<br>
> 164, last completed 164)<br>
> 2011-07-20 20:47:03 150:        Not executing command 164: 164 is not<br>
> executable (old, last started 164, last completed 164)<br>
<br>
</div></div>This means the command 164 is an old command, already completed.<br>
<br>
You might want to dig deeper into the log file to find the first<br>
occurence of the 164 thing.<br>
<font color="#888888"><br>
--<br>
Jan Pazdziora<br>
Principal Software Engineer, Satellite Engineering, Red Hat<br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"></a></font></blockquote><div><br>Hi List,<br><br>Below is the TRACEBACK of  "/var/log/nocpulse/execute_commands.log" <br><br>!!! ******* ERROR ******* !!!: NO CONFIG FILE FOR PhysCluster (/etc/rhn/cluster.ini)!!!!<br>
<?xml version="1.0"?><br><sat_config id="203a64827eb3" version="1.1"><br><step name="requestConfigData"><br><status>fatalError</status><br><message>Mon Jul 25 21:18:39 2011: ERROR: Spacewalk 1: Cannot generate configuration: Cannot load satellite information<br>
Message ProbeRecord::get_hostAddress() not understood<br><br>TRACEBACK:<br> at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 443<br>        NOCpulse::Object::doesNotUnderstand('ProbeRecord=HASH(0xa3d4f70)', 'ProbeRecord', 'get_hostAddress') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 463<br>
        NOCpulse::Object::AUTOLOAD('ProbeRecord=HASH(0xa3d4f70)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/NPRecords.pm line 337<br>        ProbeRecord::__ANON__('ProbeRecord=HASH(0xa3d4f70)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/DBRecord.pm line 211<br>
        NOCpulse::DBRecord::Map('ProbeRecord', 'CODE(0xa395280)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/NPRecords.pm line 342<br>        ProbeRecord::LoadForSatellite('ProbeRecord', 1) called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 60<br>
        eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 59<br>        eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 19<br>        NOCpulse::SatConfig::GenerateConfig::handler('Apache2::RequestRec=SCALAR(0xa20e810)') called at -e line 0<br>
        eval {...} called at -e line 0<br><br>No satellite configuration received from <a href="https://spacewalk.netmagicians.com/satconfig/cgi-bin/configdata.cgi?satcluster=203a64827eb3">https://spacewalk.netmagicians.com/satconfig/cgi-bin/configdata.cgi?satcluster=203a64827eb3</a></message><br>
</step><br><status>error</status><br></sat_config><br><br><br>No Clue.... , can any one let me know where exactly gone wrong.<br><br>/\<br>dE<br></div></div><br>