Xymon Mailing List Archive search

Need help. Hobbit installed, but web access fails.

list Josh Luthman
Fri, 29 Jan 2010 19:22:46 -0500
Message-Id: <user-ce9d355cf987@xymon.invalid>

If this is a new Apache install can you post your httpd.conf?  Use
pastebin.com or pastebin.ca

What error is in error_log?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"The secret to creativity is knowing how to hide your sources."
--- Albert Einstein


On Fri, Jan 29, 2010 at 6:39 PM, Ming Qian <user-88faa238dba4@xymon.invalid>wrote:
Thank you guys for your warmful help.

I did put the conf content into httpd.conf
and, also rm conf.d/hobbit-apache.conf

But, it still doesn't work. there is no change.

Bruce


On Fri, Jan 29, 2010 at 5:41 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid
wrote:
Or mv the conf.d one out and put the config (once) in httpd.conf


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"The secret to creativity is knowing how to hide your sources."
--- Albert Einstein


On Fri, Jan 29, 2010 at 5:37 PM, Kii NODA <user-d20081af5452@xymon.invalid> wrote:
Scratch that, it was you who duplicated the config by copying your
httpd.conf to httpd.conf.old. Still, as Josh previously suggested, can you
make sure that your conf.d files are included?


On Sat, Jan 30, 2010 at 12:32 AM, Kii NODA <user-d20081af5452@xymon.invalid> wrote:
Ahhaaaa! :)

Try grepping your way through your configs in order to find where that
previous Alias is declared and remove it. Something like this:

grep -E -r "Alias.*xymon" /etc/httpd

You'll see all the files that match and the actual matches so you'll
know what to remove.

Or maybe even grep for "/var/www/xymon" in there, I have a good feeling
that you'll find where the problem is.

--
kN


On Sat, Jan 30, 2010 at 12:16 AM, Ming Qian <
user-88faa238dba4@xymon.invalid> wrote:
[root at pons /etc/httpd/conf]# pwd
/etc/httpd/conf
[root at pons /etc/httpd/conf]# ls
httpd.conf  magic  Makefile  ssl.crl  ssl.crt  ssl.csr  ssl.key
ssl.prm
[root at pons /etc/httpd/conf]# cp httpd.conf httpd.conf.old
[root at pons /etc/httpd/conf]# cat ../conf.d/hobbit-apache.conf >>
httpd.conf
[root at pons /etc/httpd/conf]# /etc/init.d/httpd status
httpd (pid 30689 30688 30687 30686 30685 30684 30683 30682 30679) is
running...
[root at pons /etc/httpd/conf]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Fri Jan 29 17:15:43 2010] [warn] The Alias directive
in /etc/httpd/conf/httpd.conf at line 1043 will probably never match because
it overlaps an earlier Alias.
[Fri Jan 29 17:15:43 2010] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 1050 will probably never match because it
overlaps an earlier ScriptAlias.
[Fri Jan 29 17:15:43 2010] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 1058 will probably never match because it
overlaps an earlier ScriptAlias.
                                                           [  OK  ]
[root at pons /etc/httpd/conf]#
--
kN