# perror 2
Error code   2:  No such file or directory

You sure that directory exists?


On Tue, 2004-07-20 at 15:48, [EMAIL PROTECTED] wrote:
> >Description:
>       I can not start the mysqld daemon. I had it running for a long time, but
>       then had to reboot. Then I could no longer connect.     
> >How-To-Repeat:
>       followed the directions on http://wiki.amazon.com/?MySQLInstallation, but
>       to no avail. When I run the first command there: sudo adduser -d 
> /workplace2/mysql -c "MySQL account" mysql
>       I am informed that  this user already exists. This makes sense, but doing the
>       daemon start: sudo -u mysql ./mysqld_safe --user=mysql 
> --datadir=/workplace2/mysql/data &
>       failes in the correct directory because there is no executable called 
> mysqld_safe at all.
> 
>       I tried setting up a new existense as mysql2, but to no luck. I also tried 
> starting it
>       via the output that was generated when I did a mysql_install_db. It said that 
> it could
>       not change directories:
>       [EMAIL 
> PROTECTED]>/opt/third-party/depot/Linux-2.4c2.2-i686/mysql-3.23.55/libexec/mysqld: 
> Can't change dir to '/opt/disco/third-party/Linux-2.4c2.2-i686/mysql-3.23.55/var/' 
> (Errcode: 2)
> >Fix:
>       
> 
> >Submitter-Id:        pohlhaut        
> >Originator:  Paul Ohlhaut
> >Organization:  Seller Central
>  
> >MySQL support: [none | licence | email support | extended email support ]
> >Synopsis:    can not start mysql daemon
> >Severity:    critical
> >Priority:    
> >Category:    mysql
> >Class:               
> >Release:     mysql-3.23.55 (Source distribution)
> 
> >Environment:
>         Linux Red Hat 7.2     
> System: Linux pohlhaut.desktop.amazon.com 2.4.21-2.3a #1 Fri Dec 5 04:53:08 PST 2003 
> i686 unknown
> Architecture: i686
> 
> Some paths:  /opt/third-party/bin/perl /opt/third-party/bin/make /usr/bin/gmake 
> /opt/third-party/bin/gcc
> GCC: Reading specs from 
> /opt/third-party/depot/Linux-2.4c2.2-i686/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> Compilation info: CC='/opt/third-party/depot/Linux-2.4c2.2-i686/gcc-2.95.3/bin/gcc'  
> CFLAGS=' -mcpu=pentiumpro -D_FILE_OFFSET_BITS=64'  
> CXX='/opt/third-party/depot/Linux-2.4c2.2-i686/gcc-2.95.3/bin/g++'  CXXFLAGS=''  
> LDFLAGS=''
> LIBC: 
> lrwxrwxrwx    1 root     root           13 Sep 30  2003 /lib/libc.so.6 -> 
> libc-2.2.4.so
> -rwxr-xr-x    1 root     root      1283964 Dec  8  2001 /lib/libc-2.2.4.so
> -rw-r--r--    1 root     root     27314296 Dec  8  2001 /usr/lib/libc.a
> -rw-r--r--    1 root     root          178 Dec  8  2001 /usr/lib/libc.so
> Configure command: ./configure 
> '--prefix=/opt/third-party/depot/Linux-2.4c2.2-i686/mysql-3.23.55' 
> 'CC=/opt/third-party/depot/Linux-2.4c2.2-i686/gcc-2.95.3/bin/gcc' 'CFLAGS= 
> -mcpu=pentiumpro -D_FILE_OFFSET_BITS=64' 
> 'CXX=/opt/third-party/depot/Linux-2.4c2.2-i686/gcc-2.95.3/bin/g++'
-- 
Aman Raheja                   Linux+ Certified
[EMAIL PROTECTED]             Brainbench Certified Linux (General) Admin
www.TechQuotes.com            Brainbench Certified Linux (RedHat 9) Admin


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to