List:General Discussion« Previous MessageNext Message »
From:John Brown Date:March 23 2004 7:18pm
Subject:Trouble Starting DB - First Time Installer
View as plain text  
Hi,
I am a total linux and mysql newb, I am preparing this info as best as 
possible.  Below is the output from the mysqlbug utility.
I followed the directions for installing mysql  based on this page 
http://www.mysql.com/doc/en/Installing_binary.html


From: root
To: mysql@stripped
Subject: [50 character or so descriptive subject here (for reference)]

>Description:
	trying to start DB,....

[root@rhfury mysql]# bin/mysqld_safe --user=mysql &
[1] 8402
[root@rhfury mysql]# Starting mysqld daemon with databases from 
/var/lib/mysql
040323 11:00:07  mysqld ended


[1]+  Done                    bin/mysqld_safe --user=mysql
[root@rhfury mysql]#

I only get the last two lines after pressing Enter, otherwise the cursor 
simply blinks until I do.

I run this to test if the DB is up or not

[root@rhfury mysql]# bin/mysqladmin version
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@rhfury mysql]#




>How-To-Repeat:
	I can repeat it consistantly.  From what I can tell, I have never gotten 
the DB to start
>Fix:
	I checked to see if the /tmp/mysql.sock file exists, and it does not.  I 
have been looking through the documentation on how to create the file, but 
have failed to find anything (which doesnt mean it isnt there somewhere)  I 
may have other problems, but I figure getting this file where it is supposed 
to be will be a good start.  I have gone through the installation process 
two times now with the same results.


thank you


>Submitter-Id:	<submitter ID>
>Originator:	root
>Organization:
<organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:	<synopsis of the problem (one line)>
>Severity:	<[ non-critical | serious | critical ] (one line)>
>Priority:	<[ low | medium | high ] (one line)>
>Category:	mysql
>Class:		<[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release:	mysql-3.23.58 (Source distribution)

>Environment:
	<machine, os, target, libraries (multiple lines)>
System: Linux rhfury 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 
i386 GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
Compilation info: CC='i386-redhat-linux-gcc'  CFLAGS='-O2 -g -pipe 
-march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE'  CXX='i386-redhat-linux-g++'  CXXFLAGS='-O2 -g -pipe 
-march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions'  LDFLAGS=''
LIBC:
lrwxr-xr-x    1 root     root           13 Feb 14 22:39 /lib/libc.so.6 -> 
libc-2.3.2.so
-rwxr-xr-x    1 root     root      1564956 Oct  2 17:51 /lib/libc-2.3.2.so
-rw-r--r--    1 root     root      2461044 Oct  2 15:43 /usr/lib/libc.a
-rw-r--r--    1 root     root          204 Oct  2 15:21 /usr/lib/libc.so
Configure command: ./configure '--host=i386-redhat-linux' 
'--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' 
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--without-readline' '--without-debug' 
'--enable-shared' '--with-extra-charsets=complex' '--with-bench' 
'--localstatedir=/var/lib/mysql' 
'--with-unix-socket-path=/var/lib/mysql/mysql.sock' 
'--with-mysqld-user=mysql' '--with-extra-charsets=all' '--with-innodb' 
'--enable-local-infile' '--enable-large-files=yes' '--enable-largefile=yes' 
'--with-berkeley-db-includes=/usr/include' 
'--with-berkeley-db-libs=/usr/lib' '--enable-thread-safe-client' 'CFLAGS=-O2 
-g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE' 'CXXFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti 
-fno-exceptions' 'build_alias=i386-redhat-linux' 
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'SEND-PR: 
-*- send-pr -*-
-D_LARGEFILE_SOURCE' 'CXXFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti 
-fno-exceptions' 'build_alias=i386-redhat-linux' 
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/

Thread
Trouble Starting DB - First Time InstallerJohn Brown23 Mar
  • Re: Trouble Starting DB - First Time InstallerEgor Egorov23 Mar
Re: Trouble Starting DB - First Time InstallerJohn Brown23 Mar
RE: Trouble Starting DB - First Time InstallerJohn Brown24 Mar
  • RE: Trouble Starting DB - First Time InstallerJ.R. Bullington24 Mar
RE: Trouble Starting DB - First Time InstallerJohn Brown24 Mar