MySQL Forums
Forum List  »  Install & Repo

Re: not starting after install
Posted by: Mike Rappe
Date: December 01, 2005 04:00PM

I dis-abled SELinux and re-booted the server and re-installed mysql. this time it created the user mysql but, it still will not start. this is the output when i try to start it via the bash -x mysql start command:

-bash-3.00$ cd /etc/init.d
-bash-3.00$ bash -x mysql start
+ basedir=
+ datadir=
+ pid_file=
+ server_pid_file=
+ use_mysqld_safe=1
+ user=mysql
+ test -z ''
+ basedir=/
+ bindir=/usr/bin
+ datadir=/var/lib/mysql
+ sbindir=/usr/sbin
+ libexecdir=/usr/sbin
+ lsb_functions=/lib/lsb/init-functions
+ test -f /lib/lsb/init-functions
+ source /lib/lsb/init-functions
++ alias start_daemon=/etc/redhat-lsb/lsb_start_daemon
++ alias killproc=/etc/redhat-lsb/lsb_killproc
++ alias pidofproc=/etc/redhat-lsb/lsb_pidofproc
++ alias 'log_success_msg=/etc/redhat-lsb/lsb_log_message success'
++ alias 'log_failure_msg=/etc/redhat-lsb/lsb_log_message failure'
++ alias 'log_warning_msg=/etc/redhat-lsb/lsb_log_message warning'
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin://bin
+ export PATH
+ mode=start
+ case `echo "testing\c"`,`echo -n testing` in
++ echo 'testing\c'
++ echo -n testing
+ echo_n=-n
+ echo_c=
+ test -x ./bin/my_print_defaults
+ test -x /usr/bin/my_print_defaults
+ print_defaults=/usr/bin/my_print_defaults
+ extra_args=
+ test -r //my.cnf
+ test -r /var/lib/mysql/my.cnf
++ /usr/bin/my_print_defaults mysqld server mysql_server mysql.server
+ parse_server_arguments --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --old_passwords=1 --user=mysql --basedir=/var/lib
+ for arg in '"$@"'
+ case "$arg" in
++ echo --datadir=/var/lib/mysql
++ sed -e 's/^[^=]*=//'
+ datadir=/var/lib/mysql
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
++ echo --user=mysql
++ sed -e 's/^[^=]*=//'
+ user=mysql
+ for arg in '"$@"'
+ case "$arg" in
++ echo --basedir=/var/lib
++ sed -e 's/^[^=]*=//'
+ basedir=/var/lib
+ bindir=/var/lib/bin
+ datadir=/var/lib/data
+ sbindir=/var/lib/sbin
+ libexecdir=/var/lib/libexec
++ /usr/bin/my_print_defaults manager
+ parse_manager_arguments
+ test -z ''
++ /bin/hostname
+ pid_file=/var/lib/data/mysqlmanager-localhost.localdomain.pid
+ test -z ''
++ /bin/hostname
+ server_pid_file=/var/lib/data/localhost.localdomain.pid
+ cd /var/lib
+ case "$mode" in
+ manager=/var/lib/bin/mysqlmanager
+ test -x /var/lib/libexec/mysqlmanager
+ test -x /var/lib/sbin/mysqlmanager
+ echo -n 'Starting MySQL'
Starting MySQL+ test -x /var/lib/bin/mysqlmanager -a 1 = 0
+ test -x /var/lib/bin/mysqld_safe
+ log_failure_msg 'Couldn'\''t find MySQL manager or server'
mysql: line 276: log_failure_msg: command not found
-bash-3.00$

Options: ReplyQuote


Subject
Written By
Posted
November 29, 2005 05:54PM
December 01, 2005 05:42AM
December 01, 2005 11:52AM
Re: not starting after install
December 01, 2005 04:00PM
December 01, 2005 08:49PM
December 02, 2005 05:50AM
December 02, 2005 05:32AM
December 02, 2005 01:07PM
December 05, 2005 03:10AM
December 05, 2005 05:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.