[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Need help. Hobbit installed, but web access fails.
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Need help. Hobbit installed, but web access fails.
- From: Ming Qian <childpsych.columbia (at) gmail.com>
- Date: Tue, 2 Feb 2010 14:27:56 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fb+hqthdUG1r/S82OAP30bly8b4iAxPrulnp7lz/9co=; b=eHj2R7FMaLLT36NaMUiVxHCHVPOyIWaR1j54zHMbrEIGaNn+xhgkbwUtXsy39/pNIc HsPEKJk6/Pip24b7zw4TShjZQFMWlZii6CDHemHB/LUPTk4KHXzG/Ubr6bndJaXj5fUN qa+X47oaIzjESk5lgRTpMAeRPJEw/CSHz26D0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rZHG3TaTC9MN3qidzXEk2gb1aKWqbXdXdUqWLLBrirrZDHYBtR7MT9W3bV8vJvPyyl Uair7148LpSy50tzIJzl0kWCR7pGB0wdnZ7h5X1IpYtbvh8NRmOmN+7jU5ZeRY15oyU+ vyooqxm7AqtM1s6E654MOvGpCSb5t7Cm/k/94=
- References: <d181f9821001291242n249145bajf0696e45c2a49ea8 (at) mail.gmail.com> <961092e11001291247m5869e2d6j2626bf1febd29567 (at) mail.gmail.com> <d181f9821001291257k58162637j7672694469e46e5d (at) mail.gmail.com> <E3DD778AAB612749A8C610B39D1850DA06990894 (at) msitmx02.fellowes-na.com>
Hello Bruce,
What group-ID does your webserver use [nobody] ?
apache
xymon:x:50108:50108::/home/xymon:/bin/bash
thanks.
Bruce
On Tue, Feb 2, 2010 at 1:32 PM, White, Bruce <bewhite (at) fellowes.com> wrote:
> Did you input the correct User/Group for the web user when you
> configured/installed Xymon?
>
>
> ------------------------------
>
> *From:* Ming Qian [mailto:childpsych.columbia (at) gmail.com]
> *Sent:* Friday, January 29, 2010 2:57 PM
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] Need help. Hobbit installed, but web access fails.
>
>
>
> Thank you very much.
>
> I tried like http://192.168.1.50/xymon/
> But
> /var/log/httpd/error_log said:
>
> [Fri Jan 29 15:55:22 2010] [error] [client 192.168.71.55] (13)Permission
> denied: access to /xymon/ denied
>
>
> Thank you.
>
> Bruce
>
> On Fri, Jan 29, 2010 at 3:47 PM, Josh Luthman <
> josh (at) imaginenetworksllc.com> wrote:
>
> Two arguing things in your email:
>
>
>
> Alias /xymon/ "/home/xymon/server/www/"
>
> [Fri Jan 29 15:01:20 2010] [error] [client 192.168.71.55] File does not
> exist: /var/www/html/xymon
>
> I think your trying http://192.168.1.50/xymon
>
> you should be trying http://192.168.1.50/xymon/
>
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> "The secret to creativity is knowing how to hide your sources."
> --- Albert Einstein
>
>
>
> On Fri, Jan 29, 2010 at 3:42 PM, Ming Qian <qianm (at) childpsych.columbia.edu>
> wrote:
>
> Dear All,
>
> I installed xymon on my redhat linux. The installation is successful, but
> the web access failed.
>
> Here is information:
>
>
> [root (at) pons /home]# ll | grep xymon
> drwxr-xr-x 8 xymon xymon 4096 Jan 28 16:44 xymon
> [root (at) pons /home]# cd xymon/
> [root (at) pons /home/xymon]# ll
> total 40
> drwxr-xr-x 2 xymon xymon 4096 Jan 28 16:39 cgi-bin
> drwxr-xr-x 2 xymon xymon 4096 Jan 28 16:39 cgi-secure
> drwxr-xr-x 7 xymon root 4096 Jan 28 16:39 client
> drwxr-xr-x 10 xymon xymon 4096 Jan 28 16:39 data
> drwxr-xr-x 9 xymon xymon 4096 Jan 28 16:39 server
>
>
> [root (at) pons /home/xymon]# uname -a
> Linux pons 2.6.9-67.0.4.ELsmp #1 SMP Fri Jan 18 05:00:00 EST 2008 x86_64
> x86_64 x86_64 GNU/Linux
>
>
> [root (at) pons /etc/httpd/conf.d]# pwd
> /etc/httpd/conf.d
> [root (at) pons /etc/httpd/conf.d]# ls
> hobbit-apache.conf perl.conf php.conf python.conf README ssl.conf
> webalizer.conf welcome.conf
> [root (at) pons /etc/httpd/conf.d]#
>
>
> # This file is for Apache 1.3.x and Apache 2.0.x
> #
> # Add this to your Apache configuration, it makes
> # the Xymon webpages and cgi-scripts available in the
> # "/xymon" and "/xymon-cgi" URLs.
>
>
> # NB: The "Alias" line below must NOT be used if you have
> # the Xymon webfiles as the root URL. In that case,
> # you should instead set this:
> #
> #DocumentRoot "/home/xymon/server/www"
>
> Alias /xymon/ "/home/xymon/server/www/"
> <Directory "/home/xymon/server/www">
> Options Indexes FollowSymLinks Includes MultiViews
> Order allow,deny
> Allow from all
> </Directory>
>
> ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/"
> <Directory "/home/xymon/cgi-bin">
> AllowOverride None
> Options ExecCGI Includes
> Order allow,deny
> Allow from all
> </Directory>
>
> ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/"
> <Directory "/home/xymon/cgi-secure">
> AllowOverride None
> Options ExecCGI Includes
> Order allow,deny
> Allow from all
>
> # Password file where users with access to these scripts are kept.
> # Create it with "htpasswd -c /home/xymon/server/etc/hobbitpasswd
> USERNAME"
> # Add more users / change passwords with "htpasswd
> /home/xymon/server/etc/hobbitpasswd USERNAME"
> #
> # You can also use a group file to restrict admin access to members of
> a
> # group, instead of anyone who is logged in. In that case you must
> setup
> # the "hobbitgroups" file, and change the "Require" settings to require
> # a specific group membership. See the Apache docs for more details.
>
> AuthUserFile /home/xymon/server/etc/hobbitpasswd
> AuthGroupFile /home/xymon/server/etc/hobbitgroups
> AuthType Basic
> AuthName "Xymon Administration"
>
> # "valid-user" restricts access to anyone who is logged in.
> Require valid-user
>
> # "group admins" restricts access to users who have logged in, AND
> # are members of the "admins" group in hobbitgroups.
> # Require group admins
>
> </Directory>
>
>
>
>
> And,
>
> the httpd log shows:
>
> [Fri Jan 29 15:01:20 2010] [error] [client 192.168.71.55] File does not
> exist: /var/www/html/xymon
>
>
>
>
>
> Thanks a lot,
> Best,
> Ming
>
>
>
>
>