Koozali.org: home of the SME Server

error /sbin/e-smith/signal-event mysql-dump-tables

darren

error /sbin/e-smith/signal-event mysql-dump-tables
« on: March 28, 2003, 11:46:20 AM »
when i run /sbin/e-smith/signal-event mysql-dump-tables in 5.6
i get Can't open directory /etc/e-smith/events/mysql-dump-tables
because mysql-dump-tables is in
/etc/e-smith/events/actions/mysql-dump-tables
where do i fix this.

Cheers Darren

Jáder Marasca

Re: error /sbin/e-smith/signal-event mysql-dump-tables
« Reply #1 on: June 04, 2003, 11:50:27 PM »
Have you discovered a solution for this problem?

I just installed a new 5.6 server and got same error...

Charlie

Re: error /sbin/e-smith/signal-event mysql-dump-tables
« Reply #2 on: June 05, 2003, 12:49:42 AM »
darren wrote:

> when i run /sbin/e-smith/signal-event mysql-dump-tables in 5.6
> i get Can't open directory
> /etc/e-smith/events/mysql-dump-tables
> because mysql-dump-tables is in
> /etc/e-smith/events/actions/mysql-dump-tables
> where do i fix this.

What is there to fix? There is no "mysql-dump-tables" event, so you can't "signal-event" it.

If you just want to run the action script, just run the action script.

Charlie

Jáder Marasca

Re: error /sbin/e-smith/signal-event mysql-dump-tables
« Reply #3 on: June 05, 2003, 03:39:58 PM »
Charlie,

In versions before 5.6 there was mysql-delete-dumps and mysql-dump-databases actions.

There is a contrib (CD BACKUP) who do automatic backups to CDs (http://cd-utils.sourceforge.net/e-smith-info.html) who uses this to create last minute backup of mysql tables and include them at backup.
To do this it signal that events... and this no more works.

Can you tell us how to change this to be SME 5.6 compliant?
For now, I just disable those lines in cb_backup.pl script... but isn´t a perfect solution!

Thanks!

Jáder

Charlie

Re: error /sbin/e-smith/signal-event mysql-dump-tables
« Reply #4 on: June 05, 2003, 08:13:26 PM »
Jáder Marasca wrote:

> Can you tell us how to change this to be SME 5.6 compliant?

signal-event pre-backup

Charlie