He seguido el siguiente manual:
http://www.e-ghost.deusto.es/docs/articulo.postfixmysql.html
Y en /var/log/mail sale:
[code]
Jan 14 20:20:07 linux-g9xl postfix/postfix-script[18582]: starting the
Postfix mail system
Jan 14 20:20:07 linux-g9xl postfix/master[18586]: daemon started --
version 2.5.1, configuration /etc/postfix
Jan 14 20:20:08 linux-g9xl postfix/qmgr[18602]: 6B86D1844A:
from=, size=465, nrcpt=1 (queue active)
Jan 14 20:20:08 linux-g9xl postfix/trivial-rewrite[18612]: fatal:
unknown service: mysql.sock/tcp
Jan 14 20:20:09 linux-g9xl postfix/master[18586]: warning: process
/usr/lib/postfix/trivial-rewrite pid 18612 exit status 1
Jan 14 20:20:09 linux-g9xl postfix/master[18586]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
[/code]
Y el log de mysqld.log es:
[code]
090114 16:10:37 mysqld ended
090114 16:10:38 mysqld started
090114 16:10:38 InnoDB: Started; log sequence number 0 43665
090114 16:10:38 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
090114 16:11:20 [Note] /usr/sbin/mysqld: Normal shutdown
090114 16:11:20 InnoDB: Starting shutdown...
090114 16:11:20 InnoDB: Shutdown completed; log sequence number 0 43665
090114 16:11:20 [Note] /usr/sbin/mysqld: Shutdown complete
090114 16:11:20 mysqld ended
090114 16:11:21 mysqld started
090114 16:11:21 InnoDB: Started; log sequence number 0 43665
090114 16:11:21 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
090114 16:16:55 [Note] /usr/sbin/mysqld: Normal shutdown
090114 16:16:55 InnoDB: Starting shutdown...
090114 16:16:56 InnoDB: Shutdown completed; log sequence number 0 43665
090114 16:16:56 [Note] /usr/sbin/mysqld: Shutdown complete
090114 16:16:56 mysqld ended
090114 16:16:57 mysqld started
090114 16:16:57 InnoDB: Started; log sequence number 0 43665
090114 16:16:57 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
090114 16:17:04 [Note] /usr/sbin/mysqld: Normal shutdown
090114 16:17:04 InnoDB: Starting shutdown...
090114 16:17:05 InnoDB: Shutdown completed; log sequence number 0 43665
090114 16:17:05 [Note] /usr/sbin/mysqld: Shutdown complete
090114 16:17:05 mysqld ended
090114 16:17:08 mysqld started
090114 16:17:09 InnoDB: Started; log sequence number 0 43665
090114 16:17:09 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
090114 16:18:46 [Note] /usr/sbin/mysqld: Normal shutdown
090114 16:18:46 InnoDB: Starting shutdown...
090114 16:18:47 InnoDB: Shutdown completed; log sequence number 0 43665
090114 16:18:47 [Note] /usr/sbin/mysqld: Shutdown complete
090114 16:18:47 mysqld ended
090114 16:18:49 mysqld started
090114 16:18:49 InnoDB: Started; log sequence number 0 43665
090114 16:18:49 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
090114 16:18:58 [Note] /usr/sbin/mysqld: Normal shutdown
090114 16:18:58 InnoDB: Starting shutdown...
090114 16:18:59 InnoDB: Shutdown completed; log sequence number 0 43665
090114 16:18:59 [Note] /usr/sbin/mysqld: Shutdown complete
090114 16:18:59 mysqld ended
090114 16:19:03 mysqld started
090114 16:19:03 InnoDB: Started; log sequence number 0 43665
090114 16:19:03 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.51a' socket: '/var/lib/mysql/mysql.sock' port: 3306
SUSE MySQL RPM
[/code]
Aparentemente mysql va bien y postfix no se por que dice "fatal:
unknown service: mysql.sock/tcp"
otra cosa mysqld.sock no existe trabajo con mysql.sock, ya que en
/etc/my.cnf asi lo dice.
otra cosa los archivos ids.cf gids.cf mysql_virt.cf en lugar de:
[code]
hosts=unix:mysqld.sock
[/code]
hago:
[code]
hosts=linux-g9xl.mysite:mysqld.sock
[/code]
Si no no corre el postfix ya que me manda un error con que no puede
conectarse a mysql.
Necesito ayuda, de ahi todo lo he hecho igual.
--
Roberto José Blandino Cisneros
Nicaragua, Nicaragua
http://gnu-linux-opensource.blogspot.com/
http://softwarelibre.uni.edu.ni/
--
Para dar de baja la suscripción, mande un mensaje a:
opensuse-es+unsubscribe@opensuse.org
Para obtener el resto de direcciones-comando, mande
un mensaje a:
opensuse-es+help@opensuse.org