Solved

Cacti Installation - Incorrectly chose Apache, no web page displaying

Posted on 2010-09-16
4
1,293 Views
Last Modified: 2012-05-10
I am very new to Linux, so this may be an obvious solution ... just not to me:)

I am running Ubuntu 10.04 LTS with Nagios 3.2.2 installed and working properly.
I attempted to install Cacti 0.8.7, but, made an incorrect choice (I believe) on the web server option.

I selected Apache rather than the correct Apache2, which is installed on our computer.

I attempted install with the instructions from this site:
http://www.ubuntugeek.com/install-and-configure-cacti-monitoring-tool-in-ubuntu-9-10-karmic-server.html

And I attempted uninstall with these instructions:
apt-get remove --purge cacti
apt-get autoremove --purge
apt-get clean

Followed by a reboot (Windows habit!) and an attempted reinstall.
The reinstall did not present the 'Configuring libphp-adodb option' questions etc.

On the uninstall I did read this message:
" /etc/init.d/apache not found"

I have navigated my way around the file system folders some, but, honestly feel like I'm bumping into things in the dark.  Anyone able to shed some simple instructions light for me?

Thanks!

0
Comment
Question by:pridenetadmin
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
Stefan Schnyder earned 500 total points
ID: 33752501
Hey pridenetadmin

I've got a very easy way for you to install cacti. Since a lot of distributions also have cacti in their repositories you should take advantage of that. For your cacti to work properly you need the 'cacti' package itself and its dependencies (for example apache2).

The cacti version in the Ubuntu 10.04 repos is 0.8.7e. The newest version though is 0.8.7g. So you should install the cacti package from source.
Another package which you should install from source is rrd. The best version to work with cacti is 1.2.27.

To get all needed dependencies do the followning:
* Open a terminal window and login as root (sudo so -)
* apt-get update && apt-get install cacti (do NOT selcet 'yes' and start the installation)
* What you see now is the complete list of all packages needed for the cacti installation. Copy the list of packages to a text editor, delte the 'cacti' and the 'rrdtool' entry and make the whole list one line.
* Use the package list now to install all dependencies: apt get install 'copy & paste the line here'

With that, you've got all dependencies needed for cacti to work. Now:
* Download rrd 1.1.27 from http://oss.oetiker.ch/rrdtool/pub/?M=D and install it, following the instructions
* Download cacti from http://www.cacti.net/download_cacti.php (the tar.gz archive) and install it, following the instructions
* Create an apache2 virtual host to point the webserver to your cacti folder (see attached code - edit paths for you installation)
* Open a browser on that machine and and got to http://127.0.0.1

Try that and tell me your results. Good luck.

Air

<VirtualHost *:80>
        ServerAlias cacti
        DocumentRoot /var/www/cacti/
        <Directory />
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/cacti-error.log
        LogLevel warn
        CustomLog /var/log/apache2/cacti-access.log combined

</VirtualHost>

Open in new window

0
 

Author Comment

by:pridenetadmin
ID: 33772081
I was able to uninstall and then reinstall upon trying once again.  I didn't specifically use all of these steps, but, this is a very thorough instruction set with links, so that works for me.  Thanks for the input.
0
 

Author Closing Comment

by:pridenetadmin
ID: 33772094
Solution provided is complete.
0
 
LVL 1

Expert Comment

by:Stefan Schnyder
ID: 33786097
I'm glad you could achieve your goal. Have fun :)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
what is the size of a TCP segment 10 89
IPA complaining about DNS but DNS looks good.... 2 119
Linux on a Dell PowerEdge 720 3 132
OpenVPN Speed limitation to only 10 mbps 7 141
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question