Re: [PHP-DEV] bonsai.php.net down, no one cares?

2001-05-08 Thread Wez Furlong

On 2001-05-07 17:28:16, "Andrei Zmievski" <[EMAIL PROTECTED]> wrote:
> The MySQL server on the machine died. I've restarted it and it's now
> rebuilding the entire check-in history to make sure it's complete.

I know this isn't entirely relevant to PHP, but I thought it might
help...

I've found an interesting "feature" of mySQL and the "standard" cron jobs
found in most Linux distros.

If you are using a unix socket to connect to mySQL, that socket usually
lives in /tmp.  Most distros periodically purge old files from /tmp, and
since the mysql.sock is not owned by root, it gets deleted and that causes
mayhem when trying to connect to mysql.

I've encountered (and been seriously bitten by) this problem on
Cobalt/RedHat, RedHat and SuSE distros.  The solution is simply to prevent
that socket from being deleted either by changing ownership or tuning the
overnight cron job.

--Wez.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] bonsai.php.net down, no one cares?

2001-05-07 Thread Andrei Zmievski

The MySQL server on the machine died. I've restarted it and it's now
rebuilding the entire check-in history to make sure it's complete.

I'm the lxr/bonsai maintainer so email me in the future.

On Mon, 07 May 2001, Cynic wrote:
> Hi all, 
> 
> bonsai on php.net has been down since 2001-05-03 at least.
> I've sent a msg to the address given on the error page, 
> which bounced. Since the address is [EMAIL PROTECTED],
> I concluded it's probably Sascha's address, and sent another mail 
> to [EMAIL PROTECTED] That didn't bounce, I haven't recieved anything 
> back.
> I tried to use bonsai today, and got the very same error msg: 
> 
> >Can't connect to database server. at globals.pl line 116.
> 
> Line #116 is inside sub ConnectToDatabase {} declaration; that's 
> all I can help you with.
> 
> Am I the only one who uses lxr & co on php.net?
> 
> 
> [EMAIL PROTECTED]
> -
> And the eyes of them both were opened and they saw that their files
> were world readable and writable, so they chmoded 600 their files.
> - Book of Installation chapt 3 sec 7 
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 



-Andrei

Complexity in the mind is not caused by learning;
learning is caused by complexity in the mind.
 -- Steven Pinker

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] bonsai.php.net down, no one cares?

2001-05-07 Thread Cynic

Hi all, 

bonsai on php.net has been down since 2001-05-03 at least.
I've sent a msg to the address given on the error page, 
which bounced. Since the address is [EMAIL PROTECTED],
I concluded it's probably Sascha's address, and sent another mail 
to [EMAIL PROTECTED] That didn't bounce, I haven't recieved anything 
back.
I tried to use bonsai today, and got the very same error msg: 

>Can't connect to database server. at globals.pl line 116.

Line #116 is inside sub ConnectToDatabase {} declaration; that's 
all I can help you with.

Am I the only one who uses lxr & co on php.net?


[EMAIL PROTECTED]
-
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7 


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]