mysql niedorobione

Tomasz Pala gotar w polanet.pl
Sob, 14 Sie 2004, 10:40:36 CEST


On Sat, Aug 14, 2004 at 10:32:18 +0200, Tomasz Pala wrote:

> Może by tak do !$%& TESTOWAĆ zmiany!?
> 
>    1:mysql-libs             ########################################### [ 25%]
>    2:mysql                  warning: /etc/sysconfig/mysql created as /etc/sysconfig/mysql.rpmnew
> ########################################### [ 50%]
> Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
> Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
> Stopping MySQL /var/lib/mysql service..............................[ FAIL ]
> Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
> Starting MySQL /var/lib/mysql service..............................[ FAIL ]
> error: %post(mysql-4.0.20-3) scriptlet failed, exit status 1
>    3:mysql-client           ########################################### [ 75%]
>    4:mysql-doc              ########################################### [100%]

Za tym dalej idzie:

# rpm -q mysql
mysql-4.0.20-1
mysql-4.0.20-3

# rpm -e mysql-4.0.20-1
Converted clusters from MYSQL_DB_CLUSTERS to /etc/mysql/clusters.conf.
Take a look at that.

No genialnie, trzeba ręcznie usunąć, to sam skonwertuje. Uradowani tym
faktem restartujemy ręcznie mysqla:

# /etc/rc.d/init.d/mysql stop
Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
MySQL /var/lib/mysql service is not running.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
MySQL /var/lib/mysql service is not running.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand

# /etc/rc.d/init.d/mysql start
Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
Starting MySQL /var/lib/mysql service..............................[ BUSY ]

# /etc/rc.d/init.d/mysql restart
Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
Stopping MySQL /var/lib/mysql service..............................[ BUSY ]/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
                                                                   [ DONE ]
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
MySQL /var/lib/mysql service is not running.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
Warning: MYSQL_DB_CLUSTERS is set. It's obsolete. Use /etc/mysql/clusters.conf instead.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
Starting MySQL /var/lib/mysql service..............................[ BUSY ]/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
                                                                   [ DONE ]
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand
MySQL /var/lib/mysql service is already running.
/etc/rc.d/init.d/mysql[596]: [: /var/lib/mysql/mysqld.conf: unexpected operator/operand

-- 
GoTaR <priv0.onet.pl->gotar>
http://vfmg.sourceforge.net/




Więcej informacji o liście dyskusyjnej pld-devel-pl