List:General Discussion« Previous MessageNext Message »
From:Lance Uyehara Date:October 21 2002 5:11pm
Subject:Re: problem upgrading
View as plain text  
> > I believe you need to move the socket which defaults to /tmp.  If you
move
> > it to /var/run or /var/tmp, you should be good to go.   I think you can
> > either set the location at compile time or in the config files.
>
> Thanks for the response!
> I have /tmp symlinked to /var/tmp, and /var is mounted writable and it
still
> doesn't work.

Hmm. I got out truss and it seems that mysql is trying to do access("/",
0x02) which is failing.

There's no need for this program to write to root so why is it trying to do
so, and how do I make it stop?

Thanks,
Lance





> >
> > Jerry
> > ----- Original Message -----
> > From: "Lance Uyehara" <lance@stripped>
> > To: <mysql@stripped>
> > Sent: Friday, October 18, 2002 7:30 PM
> > Subject: problem upgrading
> >
> >
> > > I was running mysql 3.23.26 on freebsd 4.6 without a problem. Then I
had
> a
> > > runaway high load cpu event and figured I should at least get later
code
> > > before complaining. So I grabbed 3.23.52 (the latest freebsd package).
> > >
> > > My databases are in /var/db/mysql.
> > >
> > > My root partition is mounted readonly.
> > >
> > > When I run:
> > > /usr/local/bin/safe_mysqld --user=mysql --skip-networking > /dev/null
> 2>&1
> > &
> > >
> > > I get the following error:
> > > Fatal error: Please read "Security" section of the manual to find out
> how
> > > to run mysqld as root!
> > >
> > > When I do mount -u /
> > > everything runs just fine.
> > >
> > > So my question is what do I need to do to run mysqld with the /
> partition
> > > mounted read only?
> > >
> > > Thanks for the help,
> > > Lance
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Before posting, please check:
> > >    http://www.mysql.com/manual.php   (the manual)
> > >    http://lists.mysql.com/           (the list archive)
> > >
> > > To request this thread, e-mail <mysql-thread122654@stripped>
> > > To unsubscribe, e-mail
> > <mysql-unsubscribe-jerry=syslog.org@stripped>
> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >
> > >
> >
> >
>

Thread
problem upgradingLance Uyehara19 Oct
  • Re: problem upgradingjerry bell21 Oct
  • Re: problem upgradingLance Uyehara21 Oct
Re: problem upgradingLance Uyehara21 Oct
Re: problem upgradingLance Uyehara23 Oct
  • re: Re: problem upgradingEgor Egorov23 Oct
    • re: Re: problem upgradingLance Uyehara23 Oct
      • re: re: Re: problem upgradingEgor Egorov28 Oct