List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:March 21 1999 8:59pm
Subject:Problems with MySQL Linux init.d startup
View as plain text  
Return-Path: <mysql-return-730-sinisa=beotel.yu@stripped>
Received: from www2.analytikerna.se (www2.analytikerna.se [192.58.197.62])
	by beotel.yu (8.9.1a/8.8.7) with SMTP id UAA13733
	for <sinisa@stripped>; Sun, 21 Mar 1999 20:12:30 +0100
Received: (qmail 24275 invoked by uid 7797); 21 Mar 1999 19:12:24 -0000
Mailing-List: contact mysql-help@stripped; run by ezmlm (http://www.ezmlm.org)
Precedence: bulk
List-Help: <mailto:mysql-help@stripped>
List-Unsubscribe: <mailto:mysql-unsubscribe-sinisa=beotel.yu@stripped>
List-Post: <mailto:mysql@stripped>
List-Subscribe: <mailto:mysql-subscribe@stripped>
Delivered-To: mailing list mysql@stripped
X-Ezauth: bncbfgheaphgakilmgfp
Received: (qmail 24264 invoked from network); 21 Mar 1999 19:12:23 -0000
Message-ID: <006101be73ce$a9190900$0200a8c0@stripped>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_005E_01BE738B.9A804AE0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Status:  O
From: "Kingsley Wright" <wrightko@stripped>
To: <mysql@stripped>
Subject: Problems with MySQL Linux init.d startup 
Date: Sun, 21 Mar 1999 11:11:44 -0800

I am running TurboLinux 3.0.1 with MySQL 3.22.20a.

This is an updated RPM package install=20

mysqld is in:
     /usr/sbin/mysqld
mysql is in:
     /usr/bin/mysql
databases are in:
    /var/lib/mysql/

There is also a directory with some scripts and stuff in:
    /usr/share/mysql/

There is a file /etc/rc.d/init.d/mysql which is linked to =
/etc/rc.d/rc3.d/S98mysql which is what is run at boot time.  It looks =
like a pretty standard stop/start a daemon type thing. =20

The problem is that when the init.d scripts are being executed, the =
mysql dies almost immediately after it starts.
The /var/lib/mysql/vader.pacbell.net.err (hostname.err) file looks like =
this:

mysqld started on  Sat Mar 20 11:53:06 PST 1999
990320 11:53:08  /usr/sbin/mysqld: Can't find file: './mysql/user.frm' =
(errno: 13)
mysqld ended on  Sat Mar 20 11:53:09 PST 1999

Funny thing is, (not knowing where it assumes the current dir is =
exactly) /var/lib/mysql/mysql/usr.frm exists=20

Funnier still is that when I log in as root and run the same script: =
/etc/rc.d/init.d/mysql start, it starts up just fine with the usual 3 =
processes and everything appears normal...  Can anyone tell me what is =
going on here?  How do I stop it from dying at startup?

Thanks=20

Kingsley Wright=20
wrightko@stripped=20
ICQ#977267

Hi!

Please make sure that mysql server is called last in the init sequence 
calls, and that it it is called with right options.

Among other things system should be in multi-user mode to function properly.

Sinisa

+---------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___        ==  mysql@stripped        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|        Sinisa Milivojevic      |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|        mailto:sinisa@stripped |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|        Belgrade                |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____   Serbia                  |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                           |
|             /*/             \*\                   Developers Team   |
+---------------------------------------------------------------------+
Thread
Problems with MySQL Linux init.d startupKingsley Wright21 Mar
  • Problems with MySQL Linux init.d startupsinisa21 Mar
  • Problems with MySQL Linux init.d startupsinisa21 Mar
  • Re: Problems with MySQL Linux init.d startupKingsley Wright22 Mar
  • Re: Problems with MySQL Linux init.d startup SOLVED!Kingsley Wright22 Mar