[Ayuda] INstalacion de MySQL en RedHat 9

David Lopez david_uscanga en yahoo.com
Mie Dic 20 13:51:40 CST 2006


Hola amigos, una vez superado el asunto del rpm
sospechoso :s. 
Conclusion:
No se si fue el RPM o coincidio un ataque en ese
momento.
El hecho es que un proceso se pirateo el nombre de
mysql y aparecia corriendo y no era el server mysql :S
este proceso montaba un servidor sshd alterno al
usual, y establecia una conexion a un servidor remoto,
razon por la cual el router que tiene cerrados los
puertos de entrada al server no bloqueo la
comunicacion.
En fin, ya pude "limpiar" el server de este script y
sus añadidos.
YA volvi a descargar la instalacion de mysql de
mysql.org
ya revise MD5 y paso bien, antes de instalar incluso
generee un reporte del contenido del rpm.
Esto es lo que encontre :

warning: MySQL-server-5.0.27-0.glibc23.i386.rpm: V3
DSA signature: NOKEY, key ID 5072e1f5
/etc/init.d/mysql
/etc/logrotate.d/mysql
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/mysql_convert_table_format
/usr/bin/mysql_create_system_tables
/usr/bin/mysql_explain_log
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_fix_privilege_tables
/usr/bin/mysql_install_db
/usr/bin/mysql_secure_installation
/usr/bin/mysql_setpermission
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_upgrade
/usr/bin/mysql_zap
/usr/bin/mysqlbug
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldumpslow
/usr/bin/mysqlhotcopy
/usr/bin/mysqltest
/usr/bin/perror
/usr/bin/replace
/usr/bin/resolve_stack_dump
/usr/bin/resolveip
/usr/bin/safe_mysqld
/usr/lib/mysql/mysqld.sym
/usr/sbin/mysqld
/usr/sbin/mysqlmanager
/usr/sbin/rcmysql
/usr/share/doc/MySQL-server-5.0.27
/usr/share/doc/MySQL-server-5.0.27/COPYING
/usr/share/doc/MySQL-server-5.0.27/README
/usr/share/doc/MySQL-server-5.0.27/my-huge.cnf
/usr/share/doc/MySQL-server-5.0.27/my-innodb-heavy-4G.cnf
/usr/share/doc/MySQL-server-5.0.27/my-large.cnf
/usr/share/doc/MySQL-server-5.0.27/my-medium.cnf
/usr/share/doc/MySQL-server-5.0.27/my-small.cnf
/usr/share/doc/MySQL-server-5.0.27/ndb-config-2-node.ini
/usr/share/info/mysql.info.gz
/usr/share/man/man1/myisam_ftdump.1.gz
/usr/share/man/man1/myisamchk.1.gz
/usr/share/man/man1/myisamlog.1.gz
/usr/share/man/man1/myisampack.1.gz
/usr/share/man/man1/mysql.server.1.gz
/usr/share/man/man1/mysql_explain_log.1.gz
/usr/share/man/man1/mysql_fix_privilege_tables.1.gz
/usr/share/man/man1/mysql_upgrade.1.gz
/usr/share/man/man1/mysql_zap.1.gz
/usr/share/man/man1/mysqld_multi.1.gz
/usr/share/man/man1/mysqld_safe.1.gz
/usr/share/man/man1/mysqlhotcopy.1.gz
/usr/share/man/man1/mysqlman.1.gz
/usr/share/man/man1/mysqlmanager.1.gz
/usr/share/man/man1/perror.1.gz
/usr/share/man/man1/replace.1.gz
/usr/share/man/man1/safe_mysqld.1.gz
/usr/share/man/man8/mysqld.8.gz
/usr/share/mysql
/usr/share/mysql/binary-configure
/usr/share/mysql/charsets
/usr/share/mysql/charsets/Index.xml
/usr/share/mysql/charsets/README
/usr/share/mysql/charsets/armscii8.xml
/usr/share/mysql/charsets/ascii.xml
/usr/share/mysql/charsets/cp1250.xml
/usr/share/mysql/charsets/cp1251.xml
/usr/share/mysql/charsets/cp1256.xml
/usr/share/mysql/charsets/cp1257.xml
/usr/share/mysql/charsets/cp850.xml
/usr/share/mysql/charsets/cp852.xml
/usr/share/mysql/charsets/cp866.xml
/usr/share/mysql/charsets/dec8.xml
/usr/share/mysql/charsets/geostd8.xml
/usr/share/mysql/charsets/greek.xml
/usr/share/mysql/charsets/hebrew.xml
/usr/share/mysql/charsets/hp8.xml
/usr/share/mysql/charsets/keybcs2.xml
/usr/share/mysql/charsets/koi8r.xml
/usr/share/mysql/charsets/koi8u.xml
/usr/share/mysql/charsets/latin1.xml
/usr/share/mysql/charsets/latin2.xml
/usr/share/mysql/charsets/latin5.xml
/usr/share/mysql/charsets/latin7.xml
/usr/share/mysql/charsets/macce.xml
/usr/share/mysql/charsets/macroman.xml
/usr/share/mysql/charsets/swe7.xml
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/errmsg.txt
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/fill_help_tables.sql
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/mi_test_all
/usr/share/mysql/mi_test_all.res
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-innodb-heavy-4G.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-small.cnf
/usr/share/mysql/mysql-log-rotate
/usr/share/mysql/mysql.server
/usr/share/mysql/mysql_fix_privilege_tables.sql
/usr/share/mysql/ndb-config-2-node.ini
/usr/share/mysql/ndb_size.tmpl
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys

MySQL-server-5.0.27-0.glibc23
______________________________________________________________

HEADER FOUND:index=360(168)
version=1
Number of index entries: 67
Number of bytes: 36920

______________________________________________________________
1000 - RPMTAG_NAME  
OFFSET: 0, COUNT: 1, TYPE: STRING ARRAY
1)	  C
______________________________________________________________
1000 - RPMTAG_NAME  
OFFSET: 2, COUNT: 1, TYPE: STRING
1)	  MySQL-server
______________________________________________________________
1001 - RPMTAG_VERSION  
OFFSET: 15, COUNT: 1, TYPE: STRING
1)	  5.0.27
______________________________________________________________
1002 - RPMTAG_RELEASE  
OFFSET: 22, COUNT: 1, TYPE: STRING
1)	  0.glibc23
______________________________________________________________
1004 - RPMTAG_SUMMARY  
OFFSET: 32, COUNT: 1, TYPE: I18NSTRING
1)	  MySQL: a very fast and reliable SQL database
server
______________________________________________________________
1005 - RPMTAG_DESCRIPTION  
OFFSET: 84, COUNT: 1, TYPE: I18NSTRING
1)	  The MySQL(TM) software delivers a very fast,
multi-threaded, multi-user,
and robust SQL (Structured Query Language) database
server. MySQL Server
is intended for mission-critical, heavy-load
production systems as well
as for embedding into mass-deployed software. MySQL is
a trademark of
MySQL AB.

The MySQL software has Dual Licensing, which means you
can use the MySQL
software free of charge under the GNU General Public
License
(http://www.gnu.org/licenses/). You can also purchase
commercial MySQL
licenses from MySQL AB if you do not wish to be bound
by the terms of
the GPL. See the chapter "Licensing and Support" in
the manual for
further info.

The MySQL web site (http://www.mysql.com/) provides
the latest
news and information about the MySQL software. Also
please see the
documentation and the manual for more information.

This package includes the MySQL server binary (incl.
InnoDB) as well
as related utilities to run and administrate a MySQL
server.

If you want to access and work with the database, you
have to install
package "MySQL-client" as well!
______________________________________________________________
1006 - RPMTAG_BUILDTIME  
OFFSET: 1156, COUNT: 1, TYPE: INT32
1)	  VALUE = 1161401765,  Fri Oct 20 22:36:05 2006
______________________________________________________________
1007 - RPMTAG_BUILDHOST  
OFFSET: 1160, COUNT: 1, TYPE: STRING
1)	  rhas3-x86.mysql.com
______________________________________________________________
1009 - RPMTAG_SIZE  
OFFSET: 1180, COUNT: 1, TYPE: INT32
1)	  VALUE = 26437787
______________________________________________________________
1016 - RPMTAG_GROUP  
OFFSET: 1249, COUNT: 1, TYPE: I18NSTRING
1)	  Applications/Databases
______________________________________________________________
1021 - RPMTAG_OS  
OFFSET: 1294, COUNT: 1, TYPE: STRING
1)	  linux
______________________________________________________________
1022 - RPMTAG_ARCH  
OFFSET: 1300, COUNT: 1, TYPE: STRING
1)	  i386
______________________________________________________________

*** EXTRACTION NOT SELECTED ***



***END RUN***


Como pueden ver, no aparece por ningun lado mysqladmin
:s
ahora si estoy perdido, pues hay varios programas como
mysqlshow y otros mas que no aparecen, y por lo tanto
no puedo seguir las instrucciones para continuar con
su configuracion, es mas, nisiquiera puedo intentar
una conexion local con el server :S
en fin..
alguna sugerencia? o alguna idea de que esta pasando?

O de plano ya mejor bajo el rpm y me reviento la
compilada desde fuentes?

Saludos.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

 
_______________________________________________
Ayuda mailing list
Ayuda en linux.org.mx
Para salir de la lista: http://mail.linux.org.mx/cgi-bin/mailman/listinfo/ayuda/




Más información sobre la lista de distribución Ayuda