Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2005, 00:35
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default serwer wide applications

....with web-interface. How to install them?

Eg.

monitorix http://www.monitorix.org/ (I manged this to work on previos installation of ISPConfig, now I can't do that again..?)

cacti http://www.cacti.net/

nagois http://www.nagios.org/

all of them are installed by default in var/www/...
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2005, 01:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Simply create a new web site in ISPConfig and install these applications in the new web site.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th December 2005, 18:51
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

OK, but when I install "monitorix" it places html files and cgi files into default directories:
(/var/www/html and /var/www/cgi).

Yum or apt-get don't ask me for location to install new applications.
So, I have to manually move them into
/var/www/web7/www directories
(and of course change everything in config files)
Quote:
# Pathnames
our $BASE_URL="http://noc.homelinux.com" . $ENV{HTTP_HOST};
our $BASE_WWW="/var/www/web7/web";
our $BASE_CGI="/var/www/web7/cgi-bin/";
our $BASE_CGIM="/var/www/web7/cgi-bin/monitorix/";
our $BASE_DIR="/var/lib/monitorix/";

And even after that it won't work.
CGI part. Internal 500 server error.
http://noc.homelinux.com/monitorix/
http://noc.homelinux.com/cgi-bin/monitorix.cgi

I tested application on another pc (there's no ISPConfig installed) and applicatiopn works good.

Last edited by nenad; 4th December 2005 at 19:01.
Reply With Quote
  #4  
Old 4th December 2005, 19:03
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

For "cacti" server can't find any file, and all of them are there (and php enabled)
http://noc.homelinux.com/cacti/
Reply With Quote
  #5  
Old 4th December 2005, 20:31
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by nenad
For "cacti" server can't find any file, and all of them are there (and php enabled)
http://noc.homelinux.com/cacti/

You need to look in your error logs to see what file it is looking for, and not finding. That will point you in a direction as to where the configuration is jacked.

What version of Debian are you using? Generally when I install webapps through apt it installs to "/usr/share/<app_name>" and then I will need to add something to the apache configuration to find these files... something like:

Alias /cacti "/usr/share/cacti/htdocs"
<Directory "/usr/share/cacti/htdocs">
[insert standard directory babble here]
</Directory>

but I haven't installed cacti through apt...
__________________
themachine
5dollarwhitebox.org
Reply With Quote
  #6  
Old 4th December 2005, 20:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by nenad
OK, but when I install "monitorix" it places html files and cgi files into default directories:
(/var/www/html and /var/www/cgi).

Yum or apt-get don't ask me for location to install new applications.
Don't use FC4's packages! They will always be installed in default locations which doesn't work for you.
Use the source packages you can download from the respective web sites, and install them manually.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 4th December 2005, 21:17
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

I am using FC3 on server (and FC4 and Mandriva on other PC's)

Quote:
You need to look in your error logs to see what file it is looking for, and not finding. That will point you in a direction as to where the configuration is jacked.
I think that files are found (if I delete them - cgi files - then there is File not found error)

Anyway, in which logs should I look for log errors for "Internal Server Error 500" ?

Apache logs? Where?

(4 days ago I installed this application , and it worked, and now I can't set it up again -- aarrghhh)

when I do:

perl -wc monitorix
it shows me that the script syntax is fine., I guess then that the error is not in perl, and that application works on another PC.
Reply With Quote
  #8  
Old 4th December 2005, 21:26
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

BTW Which package sources are not compatible?
livna against dag or fresh rpm or...?
Reply With Quote
  #9  
Old 4th December 2005, 23:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by nenad
BTW Which package sources are not compatible?
livna against dag or fresh rpm or...?
It doesn't have anything to do with the repositories. It's just that the precompiled packages are installed to default directories like /var/www which isn't suitable for you because your web site is in /var/www/web1/web. Therefore you should use the source packages, e.g. for Monitorix: http://www.monitorix.org/monitorix-0.7.12.tar.gz
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 4th December 2005, 23:19
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
 
Default

Quote:
Originally Posted by nenad
BTW Which package sources are not compatible?
livna against dag or fresh rpm or...?
Ok, I will use source package, I just remebered that there is some issue with repositories, and I was wondering do you know in between which two of them. The question is not related to monitorix.

Last edited by nenad; 5th December 2005 at 10:01.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.