RE: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Adam W
Excuse the previous post - I hadnt realised it had been replied to
already.

AW.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Adam W
> I think it's something like   'apachelt restart now'that we use
instead of httpd restart...  where should I execute this?

Its probably best if you tell us what operating system it is running
first. And what distribution.

Are both sites running on apache?? Some sort of Virtual Hosts setup
possibly??

What sort of errors are you getting?? Have you checked the logs?? (Look
through some of the logs in /var/log)

Adam W.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Low Christopher - clow
You can try a few things once you have located apachectl

>./apachectl configtest

Should return and say "Syntax OK"

Also, try looking at the error logs for apache (usually under
/usr/local/apache/logs)
That may give you some hints on what is wrong.

Could the other site be a secure site and needs to run with SSL?
If so, then the command would be:

>./apachectl startssl

HTH

Chris





**
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Andrew Cowie
On Tue, 2003-09-16 at 02:53, Jared Pritchard wrote:
> I think it's something like   'apachelt restart 

Another post replied saying how you might go about testing and finding
`apachectl`

For what it is worth, I have seen some installations where apachectl
doesn't actually do the right thing.

This can happen if the configuration file for apache (httpd.conf,
apache.conf, apache2.conf, etc) isn't named or located where the
webserver is compiled to expect it ... and the commands in
/etc/init.d/apache (or /etc/init.d/httpd or whatever) explicitly
reference a different configuration file.

This is all to say that you might try using

/etc/init.d/apache [re]start

(or whatever) if apachectl doesn't do it for you.

AfC

-- 
Andrew Frederick Cowie
Operational Dynamics Consulting Pty Ltd

Australia: +61 2 9977 6866

http://www.operationaldynamics.com/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Gonzalo Servat
On Tue, 2003-09-16 at 02:53, Jared Pritchard wrote:
[...]
> Our main machine has two major websites stored on it. One is our ISPs, the
> other is the main website for the other business the boss runs.
> The ISP website is working fine. The Main website is not. 
> Is this an httpd.conf error? maybe it started up wrong?  (or an apache)...
> how can I restart those?

When you say it's not working... what exactly do you mean? Connection
timeout?
Regardless, it's probably worthwile checking apache's access_log to see
if Apache received the request. Other things to check are the error_log,
and I would do a tcpdump to ensure the packet is arriving. Try and
telnet from external yourself to port 80 and type:

GET / HTTP/1.0

(provided it's an IP-based website, not name-based)

Are you running a firewall on this server? I presume there's a firewall
in between, though you can access the ISPs website and unless they
aren't hosted on the same IP it's probably not the problem.

> I think it's something like   'apachelt restart now'that we use instead
> of httpd restart...  where should I execute this?

apachectl restart. Try and find where apachectl is:

  # updatedb
  # locate apachectl

.. or simply:

  # find / -type f -name apachectl

HTH,
Gonzalo

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Jared Pritchard
Eerrkk...  experiencing some problems here with our server  :(

We had a crash of some sort on the weekend, whereby 2 of our 4 machines in
one rack 'turned off' and the switch just stopped working (all lights were
on).
I pulled the power on the switch & restarted it, and it's working fine now,
and restarted the other two machines...
The main machine is the main server, and acts as a basic router, sending log
in requests from our ISP to our RADIUS server (one of the machines that was
still on & working). Henceforth, since the main one was down, no-one could
log in to our internet connection. After re-starting the main server, we
could log in
again and everything seemed to be fine & dandy.

Our main machine has two major websites stored on it. One is our ISPs, the
other is the main website for the other business the boss runs.
The ISP website is working fine. The Main website is not. 
Is this an httpd.conf error? maybe it started up wrong?  (or an apache)...
how can I restart those?

I think it's something like   'apachelt restart now'that we use instead
of httpd restart...  where should I execute this?

Many thanks,

Jared Pritchard

' 02 6882 0288
6  02 6881 6318
*  0427 813 400 
* [EMAIL PROTECTED] 

The information contained in and accompanying this communication is strictly
confidential and intended solely for the use of the intended recipient(s).
The copyright in this communication belongs to Macquarie Telecom Pty Limited
or one of its related entities. If you are not the intended recipient of
this communication please delete and destroy all copies and telephone Mactel
on +61 6882 0288 immediately. You should not copy, disclose or distribute
this communication without the authority of Mactel.  Emails may be
interfered with, therefore if you have any doubts about the authenticity of
an email purportedly sent by Mactel please contact Mactel immediately. 


<>-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug