Koozali.org: home of the SME Server

signal-event post-upgrade following Cacti install

Offline gregk

  • *
  • 5
  • +0/-0
signal-event post-upgrade following Cacti install
« on: September 14, 2010, 04:45:05 PM »
I have just recently installed SME server 7.5.1. I have been trying to install Cacti for network monitoring. I have two questions.

The server-manager is giving me a warning, "Warning: a reconfigure and reboot is required before proceeding! Failure to do so now may leave your system in an unknown state!"

After installing rrdtool and cacti, I was told to execute "signal-event post-upgrade" and "signal-event reboot" commands, but apparently, "signal-event" is not in the path.

echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

locate signal-event
/sbin/e-smith/signal-event

1. Should I just run the command as "/sbin/e-smith/signal-event post-upgrade", or is it safe to add it to the path?

I tried running  "signal-event post-upgrade" from the /sbin/e-smith directory, but I get an error that says, "bash: post-upgrade: command not found"

I uninstalled both rrdtool and cacti, but again I couldn't run "signal-event post-upgrade". But I was able to run "signal-event reboot".

I have now reinstalled both rrdtool and cacti, and am stuck again not being able to run "signal-event post-upgrade". So, I have stopped for now and have just left it without rebooting.

2. How do I run the command "signal-event post-upgrade"?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event post-upgrade following Cacti install
« Reply #1 on: September 14, 2010, 05:59:55 PM »
After installing rrdtool and cacti, I was told to execute "signal-event post-upgrade" and "signal-event reboot" commands, but apparently, "signal-event" is not in the path.

echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

locate signal-event
/sbin/e-smith/signal-event

this is strange.. please open a bug in bugzilla, as this should be investigated

Quote
1. Should I just run the command as "/sbin/e-smith/signal-event post-upgrade"

yes.. and, please, go to bugzilla.. ;-)
thank you

Offline gregk

  • *
  • 5
  • +0/-0
Re: signal-event post-upgrade following Cacti install
« Reply #2 on: September 14, 2010, 08:15:03 PM »
Thank you, Stefano. I ran the command "/sbin/e-smith/signal-event post-upgrade" and it worked. I have posted a report on this in bugzilla.

Greg

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event post-upgrade following Cacti install
« Reply #3 on: September 14, 2010, 08:23:58 PM »
Thank you, Stefano. I ran the command "/sbin/e-smith/signal-event post-upgrade" and it worked. I have posted a report on this in bugzilla.

please report here the bug id for future reference, thank you