[Xymon] (TS) Trying to setup xymon on a VoIP asterisk server
Tom Schmitt
dtsmon at gmail.com
Sat May 9 01:53:30 CEST 2015
I still got the same results:
/xymon 404
/xymon/ permissions problem
I separated the xymon apache config and placed it in the conf.d directory
the same problem as above
so I tried to re-install xymon in the asterisk home directory
I had to allow login in the passwd file from /sbin/nologin -> /bin/bash
this created a huge mess as the paths in xymon all want you to use the
xymon user location.
I removed it from the asterisk directory and re-installed it in the xymon
user directory.
I then went changed permissions:
chgrp asterisk /home/xymon
chgrp asterisk /home/xymon/cgi-bin
chgrp asterisk /home/xymon/cgi-secure
chmod 775 /home/xymon
chmod 775 /home/xymon/cgi-bin
chmod 775 /home/xymon/cgi-secure
and now I can access the xymon web pages
I don't know if there will be other bumps in the accesses but I will
continue to work on them
Thanks all (Jeremy, J C, any anyone else I missed)
I'll try testing some of my scripts as soon as I setup some additional
devices, etc.
Thanks Again!!!
Tom Schmitt
On Thu, May 7, 2015 at 9:30 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>
wrote:
> And following on from this, my Apache server would give me a "not found"
> page if I didn't append the trailing slash to the URL. So I added this to
> my config file:
>
> Alias /xymon "/var/lib/xymon/www/"
>
> Note the lack of trailing slash on the first term. Now I don't need the
> trailing slash in my URL. Give it a try and see if it works for you.
>
> Another suggestion, your httpd.conf file specifies an include directory.
> You might consider putting the Xymon configuration part in a separate file
> in conf.d, called (for example) xymon-apache.conf. That way, you don't
> lose your config if an Apache upgrade replaces your httpd.conf file.
>
> Cheers
> Jeremy
>
>
> On 8 May 2015 at 11:12, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
>
>>
>> On 8 May 2015 at 10:02, Tom Schmitt <dtsmon at gmail.com> wrote:
>>
>>> File does not exist: /var/www/html/xymon
>>
>>
>>
>> The web server is looking for web pages in /var/www/html/xymon/. But the
>> config file shows:
>>
>> <Directory "/home/xymon/server/www">
>> Options Indexes FollowSymLinks Includes MultiViews
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>> The log suggests that you're URL is not hitting the "Alias", which is:
>>
>> Alias /xymon/ "/home/xymon/server/www/"
>>
>> Hmm. Have you tried appending a trailing slash in your browser?
>>
>> Cheers
>> Jeremy
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150508/669dbd52/attachment.html>
More information about the Xymon
mailing list