Hi List,<br><br>I have freshly reinstalled spacewalk 1.5 for my environment. Below are the some findings.<br><br>Server Side:<br>1)<br>[root@spacewalk ~]# su - nocpulse<br>-bash-3.2$ ssh -i /var/lib/nocpulse/.ssh/nocpulse-identity <a href="mailto:nocpulse@192.168.1.100">nocpulse@192.168.1.100</a> [spacewalk Server]<br>
Last login: Fri Jul 29 09:44:00 2011 from 192.168.1.222 [spacewalk client]<br>-bash-3.2$<br><br>2) <br>-bash-3.2$ rhn-catalog<br>1 ServiceProbe on : Linux: Load<br><br>3)<br>-bash-3.2$ rhn-runprobe --probe 1 --log=all=4<br>
Can't locate object method "hostname" via package "NOCpulse::Probe::Config::ProbeRecord" at blib/lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/<a href="http://new.al">new.al</a>) line 941.<br>
<br>4)<br>Before creating any probe if I do "push scout config" then it's getting success , but if do same push after creating probe then it's getting failed.<br><br>/var/log/nocpulse/execute_commands.log<br>
<br><br>2011-07-29 13:32:36 96: Starting queue run<br>2011-07-29 13:32:36 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat<br>2011-07-29 13:32:36 104:        Attempting to fetch commands (attempt 0)<br>2011-07-29 13:32:36 95:         Queue server URL:  <a href="https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0">https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0</a><br>
2011-07-29 13:32:36 95:         Successfully got command list<br>2011-07-29 13:32:36 95:         CommandQueueParser parsing 409 bytes<br>2011-07-29 13:32:36 95:         Parser::parse returning NOCpulse::CommandQueue=HASH(0x14b27c30)<br>
2011-07-29 13:32:36 95:         CQ::fetch_commands returning NOCpulse::CommandQueue=HASH(0x14b27c30)<br>2011-07-29 13:32:36 121:        Fetched 1 commands<br>2011-07-29 13:32:36 130:        Running command 5<br>2011-07-29 13:32:36 131:                Command line is:  /usr/bin/scheduleEvents<br>
2011-07-29 13:32:36 95:         Attempting to run command 5<br>2011-07-29 13:32:36 95:                 Last started: 4; Last completed:  4<br>2011-07-29 13:32:36 95:         5 is executable (new)<br>2011-07-29 13:32:36 95:         Executing command ...<br>
2011-07-29 13:32:36 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat<br>2011-07-29 13:32:37 95:         Shell command exited with 0 exit status<br>2011-07-29 13:32:37 95:                 STDOUT:!!! ******* ERROR ******* !!!: NO CONFIG FILE FOR PhysCluster (/etc/rhn/cluster.ini)!!!!<br>
<?xml version="1.0"?><br><sat_config id="a7791abfb8a7" version="1.1"><br><step name="requestConfigData"><br><status>ok</status><br><message>Nolog probe table synchronized<br>
</message><br></step><br><step name="loadCommandParameters"><br><status>ok</status><br></step><br><step name="buildProbeRecordDB"><br><status>ok</status><br>
</step><br><step name="buildProbeDB"><br><status>ok</status><br></step><br><step name="generateEvents"><br><status>ok</status><br><message>Generated 1 events on satellite</message><br>
</step><br><step name="schedulerReload"><br><status>ok</status><br><message>Scheduler reloaded<br></message><br></step><br><status>ok</status><br><message>Scheduler reloaded<br>
</message><br></step><br><status>ok</status><br></sat_config><br><br>2011-07-29 13:32:37 95:                 STDERR:<br>2011-07-29 13:32:37 154:        Finished with command 5<br>2011-07-29 13:32:37 157: Finished processing commands<br>
2011-07-29 13:32:37 164: Checking bloat<br>2011-07-29 13:32:37 195:        I am bloated (162824 kb) and will now restart myself<br>2011-07-29 13:32:37 83: ***************************************************************************<br>
2011-07-29 13:32:37 84: Starting command execution daemon for cluster a7791abfb8a7 node 2<br>2011-07-29 13:32:37 85: ***************************************************************************<br>2011-07-29 13:32:37 86: Logging to /var/log/nocpulse/execute_commands.log<br>
2011-07-29 13:32:37 87: Log level: 3<br>2011-07-29 13:32:37 88: Heartbeat file: /var/lib/nocpulse/commands/heartbeat<br>2011-07-29 13:32:37 89: Heartbeat frequency: 60 seconds<br>2011-07-29 13:32:37 90: Restart command: /usr/bin/execute_commands<br>
2011-07-29 13:32:37 96: Starting queue run<br>2011-07-29 13:32:37 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat<br>2011-07-29 13:32:37 104:        Attempting to fetch commands (attempt 0)<br>2011-07-29 13:32:37 95:         Queue server URL:  <a href="https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0">https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0</a><br>
2011-07-29 13:32:37 95:         Successfully got command list<br>2011-07-29 13:32:37 95:         CommandQueueParser parsing 409 bytes<br>2011-07-29 13:32:37 95:         Parser::parse returning NOCpulse::CommandQueue=HASH(0x1418c30)<br>
2011-07-29 13:32:37 95:         CQ::fetch_commands returning NOCpulse::CommandQueue=HASH(0x1418c30)<br>2011-07-29 13:32:37 121:        Fetched 1 commands<br>2011-07-29 13:32:37 130:        Running command 5<br>2011-07-29 13:32:37 131:                Command line is:  /usr/bin/scheduleEvents<br>
2011-07-29 13:32:37 95:         Attempting to run command 5<br>2011-07-29 13:32:37 95:                 Last started: 5; Last completed:  5<br>2011-07-29 13:32:37 95:         5 is not executable (old, last started 5, last completed 5)<br>
2011-07-29 13:32:37 150:        Not executing command 5: 5 is not executable (old, last started 5, last completed 5)<br><br>2011-07-29 13:32:37 154:        Finished with command 5<br>2011-07-29 13:32:37 157: Finished processing commands<br>
2011-07-29 13:32:37 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat<br>2011-07-29 13:32:37 176: No commands executed, sleeping 60 seconds<br><br><br> <br>Any help will be really appreciable.<br><br>/\<br>
dE <br>