apache2 -lYou may see something like this:
$ apache2 -lCompiled in modules:core.cmod_log_config.cmod_logio.cprefork.chttp_core.cmod_so.c
apache2 -lYou may see something like this:
$ apache2 -lCompiled in modules:core.cmod_log_config.cmod_logio.cprefork.chttp_core.cmod_so.c
Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave
In the case of a corrupt binlog on the slave server, there is no need to delete all logs and start over. Run a “show slave status;” and record two entries: Relay_Master_Log_File and Exec_Master_Log_Pos. Then execute:
stop slave; CHANGE MASTER TO master_log_file='(binlog name in Relay_Master_Log_File', master_log_pos=(exec_master_log_pos number); start slave;This will re-read the binlog from the master and you should be all set. This especially helps when you’ve purged older binlogs from the master server.