En cours

Perl/Bash script to restart MYSQL server if an PHP script on other server fails a content check

We have a database server.

We have two webservers running e107.

e107 keeps on locking up with a bizarre error saying that it can't connect to the MySQL server even though queries continue to come from e107 at the DB server. We can't work it out (many bonus points if you can) but for the moment, I need a perl/bash/whatever script that I can run on the DB server with the following specification:

-Visit a URL (hosted on webserver)

-If connection times out or a certain word is found ("CRITICAL") then

-Restart MySQL

-Email the administrator

This should take someone familiar with perl about 5 minutes.

Please post rates and completion times here.


Compétences : Linux, Perl, Administration Système

en voir plus : perl bash, perl script restart server, restart mysql perl, perl cgi restart linux service, bash script restart mysql, start mysql server bash, bash mysql process, perl process check restart script, bash check mysql running, perl script restart service, bash restart mysql server, perl restart, restart perl, bash script restart service, perl restart service, perl restart mysql, perl bash mysql, bash script mysql connection, bash script service start, bash check mysql process

Concernant l'employeur :
( 9 commentaires ) yest, Albania

Nº du projet : #16158

Décerné à:


REAL simple!

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(4 Commentaires)

5 freelance font une offre moyenne de $30 pour ce travail


Done :)

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(8 Commentaires)

I can done it project in 2 or 3 hours.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)

Dear Sir/Madam! Our qualified experts are ready to provide you with their professional assitance. Please, disregard the price stated. Our hourly rate is 15$, and the final one will depend on the amount of work needed. Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)

The script itself is easy to do, BUT i think there is another problem on your structure - are you open for ideas?

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(0 Commentaires)