[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is_mysql_alive: command not found



El Jueves, 27 de Abril de 2006 18:13, Argos escribió:
> /etc/init.d/mysql restart
> Stopping MySQL database server: mysqld.
> Starting MySQL database server: mysqld/etc/init.d/mysql: line 79:
> is_mysql_alive: command not found
> /etc/init.d/mysql: line 79: is_mysql_alive: command not found
> /etc/init.d/mysql: line 79: is_mysql_alive: command not found
> /etc/init.d/mysql: line 79: is_mysql_alive: command not found
> /etc/init.d/mysql: line 79: is_mysql_alive: command not found
> /etc/init.d/mysql: line 79: is_mysql_alive: command not found
> /etc/init.d/mysql: line 82: is_mysql_alive: command not found
> ...failed.


Esto es puro bash, veamos:


      if is_mysql_alive; then break; fi

¿Qué es ese "is_mysql_alive"?
Si es una variable está mal y le falta delante el $.
Si es una función, ¿existe esa función?

De todas formas, ¿no le faltaría los corchetes dentro del "if" ? o sea:
   if [ is_mysql_alive ] ; then......




-- 
intentando mejorar Konqueror:
  http://konqueror4.linuxdevel.net

y si te gusta puedes votar:    ;)
  http://www.kde-look.org/content/show.php?content=36385




Reply to: