Re: Server down regularly

2004-04-02 Thread Chuck McManis
At 11:12 AM 4/2/2004, meimi wrote:
Actually, what I want to know is the general steps for finding the problems.


Step #1 - Look in the message log (/var/log/messages), and ideally a copy 
of the console output, to see why you server stopped running. (or if your 
server stopped running)

The latter is important because your server can seem to be "down" when the 
problem is actually you cannot connect to it (the network is down).

If you can log into your server and get a shell prompt, then I would try 
the command uptime(1) first, to see how long the server thinks its been 
running, and then start looking at /var/log/messages for reboot messages, 
and /var/crash for kernel coredumps (if you panic, and have savecore set, 
it will create a core file there)

--Chuck

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread meimi
Hello,
> What is the output of uname -a?
FreeBSD cp.laws.ms 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri May 23 11:13:23
CDT 2003

> Are you patched to the latest security release for 4.8 (p.16 or so)?  PHP
has been causing people problems lately (see the archives for this list back
30-60 days), could it be biting you?  The symptoms sound similar (apache
crashing the system).
I have checked the dmesg and I found this
pid 96448 (httpd), uid 398: exited on signal 6

So, I check the apache error log, and I found this warning repeat many times
[warn] child process x did not exit, sending another SIGHUP
After that, apache restart. Then another 5 minutes, the servers offline.

So, I think you may be right, since I just recompile PHP with lastest PHP
stable version (4.3.5). I will search the mail archive now.

Thank you for everyone help. You all are very knowledgeable.

Thanks
Meimi

- Original Message - 
From: "Joshua Lokken" <[EMAIL PROTECTED]>
To: "meimi" <[EMAIL PROTECTED]>
Sent: Saturday, April 03, 2004 4:44 AM
Subject: Re: Server down regularly


> * meimi <[EMAIL PROTECTED]> [2004-04-02 12:21]:
> > Hello,
> >   Thanks everyone.
> >
> > Here is the information
> > FreeBSD 4.8
> > Server specification:
> > PIII1.7GHz
> > 512MB ram
> > 80GB harddisk
> >
> > The server is used for web, mail, dns and databases (mysql and
postgresql).
> > Recently, I have recompiled PHP with option curl and openssl added.
> > The server is in Equinix datacenter and it is not busy, so I don't it
will
> > be temperature problems.
> >
> > Actually, what I want to know is the general steps for finding the
problems.
>
>
> Well, that's alot of tasks for a single server, but should be alright.
> If I wanted to start looking for the source of this problem, I'd first
> check /var/log/messages.  You'll get a variety of different blurbs in
> there, maybe some of which could help you.  I'd also check dmesg, to
> see if there is hardware or other trouble at boot time:
>
> # dmesg | more
>
>
> HTH some,
>
>
> -- 
> Joshua
>
> Immortality consists largely of boredom.
> -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread Bob Collins
On Sat, Apr  3, 2004, meimi clacked the keyboard to produce:
> Hello,
>   From the "messages" log, the error I found:
> /kernel: arplookup xx.xx.xx.xx failed: host is not on local network
> And warning I got
> /kernel: WARNING: / was not properly dismounted
> 
> The first is I have got the wrong netmask, but the error is always in the
> log and i don't think it is the problem.
> The second one is just because I issued a reboot from my apc reboot
> interface.
> 
> Also, I shouldn't say regularly, it should be frequently. It has been 4
> times this weeks.
> 
> > Do you feel that it is very secure?  Anyone else
> > have access to this box?
> I am not sure it is very secure and, yes, other people can access but not
> root access.
> 
> Thanks
> Meimi
> 

In my experience arplookup should not cause a shutdown if it fails.

Are you *ABSOLUTELY* sure the others have no root acces? Are they wheel
group? Do they know root's password?

-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread meimi
Hello,
  From the "messages" log, the error I found:
/kernel: arplookup xx.xx.xx.xx failed: host is not on local network
And warning I got
/kernel: WARNING: / was not properly dismounted

The first is I have got the wrong netmask, but the error is always in the
log and i don't think it is the problem.
The second one is just because I issued a reboot from my apc reboot
interface.

Also, I shouldn't say regularly, it should be frequently. It has been 4
times this weeks.

> Do you feel that it is very secure?  Anyone else
> have access to this box?
I am not sure it is very secure and, yes, other people can access but not
root access.

Thanks
Meimi

- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "meimi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, April 03, 2004 4:23 AM
Subject: Re: Server down regularly

> OK, better information now.  You said regularly?
> What does that mean?  Same time every day?
>
> As someone mentioned, check your log files.
> Does it do backups at a certain time, and therefore
> crashes (you said it wasn't too heavily burdened)
>
> Do you feel that it is very secure?  Anyone else
> have access to this box?
>
> Kevin Kinsey
>
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread Kevin D. Kinsey, DaleCo, S.P.
meimi wrote:

Hello,
 Thanks everyone.
Here is the information
FreeBSD 4.8
Server specification:
PIII1.7GHz
512MB ram
80GB harddisk
The server is used for web, mail, dns and databases (mysql and postgresql).
Recently, I have recompiled PHP with option curl and openssl added.
The server is in Equinix datacenter and it is not busy, so I don't it will
be temperature problems.
Actually, what I want to know is the general steps for finding the problems.

Thanks
Meimi

OK, better information now.  You said regularly?
What does that mean?  Same time every day?
As someone mentioned, check your log files.
Does it do backups at a certain time, and therefore
crashes (you said it wasn't too heavily burdened)
Do you feel that it is very secure?  Anyone else
have access to this box?
Kevin Kinsey

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread meimi
Hello,
  Thanks everyone.

Here is the information
FreeBSD 4.8
Server specification:
PIII1.7GHz
512MB ram
80GB harddisk

The server is used for web, mail, dns and databases (mysql and postgresql).
Recently, I have recompiled PHP with option curl and openssl added.
The server is in Equinix datacenter and it is not busy, so I don't it will
be temperature problems.

Actually, what I want to know is the general steps for finding the problems.

Thanks
Meimi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread meimi
Hello,
  Thanks everyone.

Here is the information
FreeBSD 4.8
Server specification:
PIII1.7GHz
512MB ram
80GB harddisk

The server is used for web, mail, dns and databases (mysql and postgresql).
Recently, I have recompiled PHP with option curl and openssl added.
The server is in Equinix datacenter and it is not busy, so I don't it will
be temperature problems.

Actually, what I want to know is the general steps for finding the problems.

Thanks
Meimi

> - Original Message - 
> From: "Bob Collins" <[EMAIL PROTECTED]>
> To: "meimi" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, April 03, 2004 12:12 AM
> Subject: Re: Server down regularly
>
>
> > On Fri, Apr  2, 2004, meimi clacked the keyboard to produce:
> > > Hello,
> > >   My server is down regularly. Could anyone tell what thing I should
> check?
> > > Thanks
> > > Meimi
> >
> > We could use a little more information. Not to be rude, but are you
> > using FreeBSD as an OS? If so, what version? Describe the hardware
> > please. Where is the system, is it in a room that is a hundred degrees
> > hot?
> >
> > A shot in the dark: your power supply is going away. Or maybe, bad Ram.
> > Well, perhaps an overheating CPU. Maybe an HD that is getting flaky.
> >
> > Who knows? We need info please to help you.
> >
> >
> > -- 
> > Bob
> >
> > "Play is the work of children. It's very serious stuff. And if it's
> > properly structured in a developmental program, children can blossom."
> > -Bob Keeshan aka `Captain Kangaroo'
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread samy lancher


meimi <[EMAIL PROTECTED]> wrote:
Hello,
My server is down regularly. Could anyone tell what thing I should check?
Thanks

Does your system crash or shutdowns by itself.

Naveen.


Meimi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



-
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread mario
So, meimi wrote:
> Hello,
>   My server is down regularly. Could anyone tell what thing I should
> check?
you might start by giving us some technical details.
platform version
server and version
any modules you're running?
etc.

mario;>

- - - - - - House Of Sites - - - - - - - + - - - Do you schmut!? - - - +
 Programming :: Web Design :: Consulting | No :: Comment :: On :: This |
   http://www.HouseOfSites.net   |http://www.schmut.com|
 [EMAIL PROTECTED] 415-242-3376 |  [EMAIL PROTECTED]   |



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Server down regularly

2004-04-02 Thread Yoo, Gene
What version and what does the log say?

Gene

-Original Message-
From: meimi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 01, 2004 11:11 PM
To: [EMAIL PROTECTED]
Subject: Server down regularly

Hello,
  My server is down regularly. Could anyone tell what thing I should
check?
Thanks
Meimi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server down regularly

2004-04-02 Thread Bob Collins
On Fri, Apr  2, 2004, meimi clacked the keyboard to produce:
> Hello,
>   My server is down regularly. Could anyone tell what thing I should check?
> Thanks
> Meimi

We could use a little more information. Not to be rude, but are you
using FreeBSD as an OS? If so, what version? Describe the hardware
please. Where is the system, is it in a room that is a hundred degrees
hot?

A shot in the dark: your power supply is going away. Or maybe, bad Ram.
Well, perhaps an overheating CPU. Maybe an HD that is getting flaky.

Who knows? We need info please to help you.


-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"