[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /tmp clean at boot time



In article <[🔎] 20040411180703.6489.qmail@web41707.mail.yahoo.com>,
Umar Draz  <i_debian@yahoo.com> wrote:
>hi dears
> 
>  i have woody with kernel 2.4.25 (now i have install mysql through
>source) its working .
> 
>  now when i reboot my machine. during boot up /tmp directory is clean
>and also mysql.sock delete thats why mysql server not run during boot.
> 
>how i can solve this problem that my /tmp directory not clean at boot time?

I think your initial problem is that the mysql server doesn't
run, and you think it has something to do with the cleaning of /tmp, right?

It probably doesn't.

If the mysql server needs a socket in /tmp at startup, it will
create it itself.

Now the Debian mysqld puts that socket in /var/run/mysqld, so it
sounds like you're not using the Debian package.

Are you perhaps starting the mysql daemon way way too early at
bootup, and then bootmisc.sh comes along and removes /tmp/mysql.sock ?
Well, that's your problem right there. You should probably start
mysql at /etc/init.d/S60mysql or something, not earlier.

Mike.



Reply to: