Xymon Mailing List Archive search

Need help

list dOCtoR MADneSs
Wed, 21 Oct 2009 13:12:45 +0200
Message-Id: <user-dc1657241bcb@xymon.invalid>

Sailaja a écrit :
Its there...
Now i am not getting that error
I am able to Restart the Apache server also.

But unable to open the webpage.

On 21/10/2009, Ward, Martin <user-2d33a6eb6a05@xymon.invalid> wrote:

Do you have the "mod_alias" compiled into your Apache?


|\/|artin


From: Sailaja [mailto:user-43ea6216f173@xymon.invalid]
Sent: 21 October 2009 10:38
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Fwd: Need help


Hi All,


I have done the same isntalled all the xymon files on /var/www/html

but even then i am unable to restart the apache server

the Error is


[root@sppubld01 conf]# service httpd start
Starting httpd: Syntax error on line 14 of /etc/httpd/conf/httpd.conf:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
[root@sppubld01 conf]#
 


my http.conf file is also attached.

On 07/10/2009, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:

If you installed in /root I STRONGLY advise starting from scratch (it only takes a minute) and installing with a new user and in that new user's home dir.

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

"When you have eliminated the impossible, that which remains, however improbable, must be the truth."
--- Sir Arthur Conan Doyle

On Wed, Oct 7, 2009 at 11:44 AM, Alan Sparks <user-8f2174fd8b66@xymon.invalid> wrote:

Probably true.  It's quite likely not a good idea to install under
/root.  Would suggest you perhaps made a new user account (xymon), with
a home directory, say /home/xymon, and installed there.

Also, your specific error is because you do not have the 'alias' module
in your Apache configuration.  Check /etc/httpd/conf/httpd.conf for
something like:
LoadModule alias_module modules/mod_alias.so
This should be there and not be commented out.
-Alan



Josh Luthman wrote:
> Your user running Apache, probably apache, can not get into /root or
> it's subdirectories.
>
> Do not put www files in /root - use /var/www/html or something.
>
> Josh Luthman
> Office: XXX-XXX-XXXX
> Direct: XXX-XXX-XXXX
> XXXX Wayne St
> Suite XXXX
> Troy, OH XXXXX
>
> "When you have eliminated the impossible, that which remains, however
> improbable, must be the truth."
> --- Sir Arthur Conan Doyle
>
>
> On Wed, Oct 7, 2009 at 6:40 AM, Sailaja <user-43ea6216f173@xymon.invalid
 

> user-43ea6216f173@xymon.invalid>> wrote:
>
>     [root@sppubld01 conf]# service httpd restart
>     Stopping httpd:                                            [FAILED]
>     Starting httpd: Syntax error on line 14 of /etc/httpd/conf/httpd.conf:
>     Invalid command 'Alias', perhaps misspelled or defined by a module
>     not included in the server configuration
>                                                                [FAILED]
>
>
>     I did the same thing but i am getting the syntax error in line no 14.
>
>     And 14 line is this
>
>     Alias /xymon/  "/root/server/www/"
>
>
>     On 07/10/2009, *Shaun Phillips* <user-176e7038266c@xymon.invalid
 

>     user-176e7038266c@xymon.invalid>> wrote:
>
>         Did you copy the http.conf section the install provided into
>         your httpd.conf?
>
>
>
>         On Wed, Oct 7, 2009 at 5:55 AM, Sailaja <user-43ea6216f173@xymon.invalid
 

>         user-43ea6216f173@xymon.invalid>> wrote:
>
>
>
>
>               The page cannot be displayed
>
>             The page you are looking for is currently unavailable. The
>             Web site might be experiencing technical difficulties, or
>             you may need to adjust your browser settings.
>
>             The above is the error.
>             Should i change anything in my
>             /~/server/etc/hobbit-apache.conf/  file.
>             It is mentioned that after everything is done to restart
>             the webserver. I have not doen that also.
>             Can u pls guide me how to proceed.
>
>             Regards
>             Shailaja.
>
>
>             On 07/10/2009, *Alan Sparks* <user-8f2174fd8b66@xymon.invalid
 

>             user-8f2174fd8b66@xymon.invalid>> wrote:
>
>                 Can you explain with more detail your statement, "it's
>                 not opening?"
>                 Any error pages or messages, anything?
>                 Details will help us help you.
>                 -Alan
>
>                 Sailaja wrote:
>                 >
>                 >
>                 > ---------- Forwarded message ----------
>                 > From: *Sailaja* <user-43ea6216f173@xymon.invalid
>                 user-43ea6216f173@xymon.invalid>
 

>                 user-43ea6216f173@xymon.invalid
>                 user-43ea6216f173@xymon.invalid>>>
>                 > Date: 7 Oct 2009 10:03
>                 > Subject: Need help
>                 > To: user-1bd859b2eb47@xymon.invalid user-1bd859b2eb47@xymon.invalid>
 

>                 user-1bd859b2eb47@xymon.invalid user-1bd859b2eb47@xymon.invalid>>
>                 >
>                 > Hello Everyone,
>                 >
>                 > I have just started using Hobbit tool i just followed
>                 all the steps
>                 > mentioned in the following link
>                 > http://hobbitmon.sourceforge.net/docs/install.html
>                 > I have succeded with all the steps bu tin final when
>                 i am trying open
>                 > the monitor on website its not oepning.
>                 > Can anybody please help me in this regard.
>                 >
>                 > Thanks in advance.
>                 >
>                 > Regards
>                 > Shailaja.
>
>
>
>                 To unsubscribe from the hobbit list, send an e-mail to
>                 user-095ef1c764a2@xymon.invalid
 

>                 user-095ef1c764a2@xymon.invalid>

>
>
>
>
>
>
>
>







*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.

The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies.

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.




Hi,

Your error messages is 100% Apache HTTPd related. I think you should ask help in concerned forums/IRC channels/mailing list.

In my case, I'm running HTTPd too, and I activate the modules by linking (symbolic link is enough, no need hard link) the appropriate modules from mods-available to mods-enabled.
For example :
'ls -la /etc/apache/mods-enabled/alias*'
 gives me the following :
alias.conf -> ../mods-available/alias.conf
alias.load -> ../mods-available/alias.load

So, HTTPd loads the modules at startup. No need to restart the daemon, just need to graceful it :
'apachectl graceful'

Regards,