Mailing List Archive


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

/var/tmp and /tmp? Re: [tlug] mySQL installation problems



On Wed, 5 Jun 2002, Jean-Christian Imbeault wrote:

> >From: "Stephen J. Turnbull" <stephen@example.com>
> >
> >020604 13:13:55 Can't start server : Bind on Unix socket: Permission denied
> >020604 13:13:55 Do you already have another mysqld server running on
> >socket: /tmp/mysql.sock ?
> >
> >Maybe /tmp is not writable by mysql?>Maybe /tmp is some
> >bizarre filesystem that doesn't support creating socket specials?
> 
> Thanks Stephen! Mentionning file permissions and file systems pointed me in 
> the right direction. When I moved my file systems from ext3 to XFS I didn't 
> pay attention to the permissions on the the mountpoints (/tmp in 
> particular). I have now set the perms to 1777 and mysql is happy.
> 
> Speaking of which what *are* the "standard" file permissions for /tmp? is 
> 1777 reasonable?

Yes, /tmp need to be world writable-readable.

FYI,

http://www.pathname.com/fhs/2.2/fhs-3.15.html <- this one
http://www.pathname.com/fhs/2.2/fhs-5.15.html

> 
> Jc
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 

+----------------------------------------------------------+
|                  Nguyen Hung.Vu                          |
| The University of Electro-Communications, Tokyo, Japan   |
+----------------------------------------------------------+
| Takeshi's small space   http://site.techviet.com/vuhung/ |
| Join KDE-i18n-Vi?       http://vi.i18n.kde.org/          |
| VYSA                    http://vysasports.vngate.net/    |
| Vn Linux Users Group    http://vietlug.sourceforge.net/  |
| Tokyo Linux Users Group http://www.tlug.gr.jp/           |
+----------------------------------------------------------+



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links