fresh install xymon shows exe contents on screen
Hello,
After a fresh install xymon 4.3.30 on a new server (ubuntu 20.04 ) the website shows up.
When I use a link to a html file on the server there is no problem (allnongreen view, main view)
If the link uses the cgi folders then the screen is filled with (I Think) the contents of an excutable.
Starting with the text ELF.
I can't find errors in the apache2 logs and also the xymon logfiles shows nothing to work with.
Where should I look to fix this.
I want to migrate my current hobbit configuration from a centos 7 machine to this one
Thanks
Hi,
This is an apache issue (or www server, whichever one you are using). You need to tell it that this directory only contains scripts which should be run to produce the output instead of just display the content.
A quick google pointed me here, which looks like it should contain the info you need to fix it: https://stackoverflow.com/questions/14792978/perl-apache-perl-script-display...
Hope it helps.
Regards, Adam
On 14/7/21 07:55, oei at zeelandnet.nl wrote:
Hello,
After a fresh install xymon 4.3.30 on a new server (ubuntu 20.04 ) the website shows up.
When I use a link to a html file on the server there is no problem (allnongreen view, main view)
If the link uses the cgi folders then the screen is filled with (I Think) the contents of an excutable.
Starting with the text ELF?
I can?t find errors in the apache2 logs and also the xymon logfiles shows nothing to work with.
Where should I look to fix this.
I want to migrate my current hobbit configuration from a centos 7 machine to this one
Thanks
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Adam Goryachev Website Managers P: +61 2 8304 0000 adam at websitemanagers.com.au F: +61 2 8304 0001 www.websitemanagers.com.au
Hi,
This is an apache issue (or www server, whichever one you are using). You need to tell it that this directory only contains scripts which should be run to produce the output instead of just display the content.
A quick google pointed me here, which looks like it should contain the info you need to fix it: https://stackoverflow.com/questions/14792978/perl-apache-perl-script-display...
Hope it helps.
Regards, Adam
On 14/7/21 07:55, oei at zeelandnet.nl wrote:
Hello,
After a fresh install xymon 4.3.30 on a new server (ubuntu 20.04 ) the website shows up.
When I use a link to a html file on the server there is no problem (allnongreen view, main view)
If the link uses the cgi folders then the screen is filled with (I Think) the contents of an excutable.
Starting with the text ELF?
I can?t find errors in the apache2 logs and also the xymon logfiles shows nothing to work with.
Where should I look to fix this.
I want to migrate my current hobbit configuration from a centos 7 machine to this one
Thanks
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hello Adam,
Thanks for the assistance
I failed to look at the most logical place.. I thought apache2 was already configured complete.
You pushed me into the right direction..
We solved the problem by activating the cgi mods in apache2
Thanks again
Hans
From: Adam Goryachev <mailinglists at websitemanagers.com.au> Sent: woensdag 14 juli 2021 06:29 To: xymon at xymon.com Subject: Re: [Xymon] fresh install xymon shows exe contents on screen
Hi,
This is an apache issue (or www server, whichever one you are using). You need to tell it that this directory only contains scripts which should be run to produce the output instead of just display the content.
A quick google pointed me here, which looks like it should contain the info you need to fix it: https://stackoverflow.com/questions/14792978/perl-apache-perl-script-display ed-as-plain-text
Hope it helps.
Regards, Adam
On 14/7/21 07:55, oei at zeelandnet.nl <mailto:oei at zeelandnet.nl> wrote:
Hello,
After a fresh install xymon 4.3.30 on a new server (ubuntu 20.04 ) the website shows up.
When I use a link to a html file on the server there is no problem (allnongreen view, main view)
If the link uses the cgi folders then the screen is filled with (I Think) the contents of an excutable.
Starting with the text ELF.
I can't find errors in the apache2 logs and also the xymon logfiles shows nothing to work with.
Where should I look to fix this.
I want to migrate my current hobbit configuration from a centos 7 machine to this one
Thanks
Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
participants (4)
-
adam@websitemanagers.com.au
-
hansvandam@zeelandnet.nl
-
mailinglists@websitemanagers.com.au
-
oei@zeelandnet.nl