Extreme Liux Newbie needs easy help on installation

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Extreme Liux Newbie needs easy help on installation

Post by chris.y2k.r1 »

Hello All,

I am thanking GOD this forum exists!!! I just finished installaing apache and got it running. I tried desperatley to run cacti by...

http://myservername/cacti

and it does nothing. I know appache is running just fine because I can see apache when I log into it by typing the same as above but ommitting /cacti at the end. I followed the instruction for creating the mysql data base for cacti and adding it to my etc/crontab file. I followed to install instruction on this website but I must have done something wrong. Although all the commands seemed to have worked. Also, despite my believe I installed Cacti currectly (This can be done using yum for us FC4 users right??) I see no service that will start cacti in the service list????????

Ummm... Help!

THanks so much! I will be sooo happy if I can get this thing up and running but I am going to have a touch time becuase I just started working with Linux so there's a double learning curve going on here. I love Linux FC4 though and I refuse to go back to Windows.

Thanks again in advance and I would reallly appreciate anyone who could help my install this using yum if possible and then help with the configuration from there. I'm a bist lost by some of the install instructions and what it assumes I may have done prior to this.
chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Post by chris.y2k.r1 »

A little more info...

httpd is up and running
mysqld is up and running

I see no cactid to configure to run so I am assuming that's OK.

I'm not sure that I configure my /etc/contab file correctly so I post it here - Please understand that the location for cacti is only temporary because this is just a test machine that I format and reinstall often. Once I get it all figured out I will install cacti in a much more sensible location.

Here's /etc/contab file...

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * root php /root/Desktop/cacti-0.8.6h
/poller.php > /dev/null 2>&1


Is that wrong? What does the 22 4 * * stuff at the beginning of the line indicate... is that when a job is to run expresses in some kind of time/date format or what..

Like I said... I am really new... so please PLEASE bare with my retarded self.

Thanks!!!!!
chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Post by chris.y2k.r1 »

Ok - I am just trying to give you guys as much info as possible...

It seems that when I loginto /myserver/cacti... I do not get a message saying that the url does not exist. It simply loads nothing. So I am missing something here but I am not sure what it is. Also, I am confused about net-snmp. Should that be listed in the services?? I only see snmpd or net-smnbd. Any help for my lame self would really be appreciated!

Thanks!!
crinago
Posts: 17
Joined: Mon Feb 21, 2005 1:36 am

Post by crinago »

chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Post by chris.y2k.r1 »

I already have dns through no-ip, that's not my problem at all. My problem is that cacti is not loading, Apache is fine.
chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Post by chris.y2k.r1 »

*bump*

Help??
surf_joe
Posts: 11
Joined: Thu Feb 09, 2006 8:42 am
Contact:

Do you have php support ?

Post by surf_joe »

see in the http if you have configured the apache with PHP..

(and the PHP with XML support .. ) :wink:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

chris.y2k.r1 wrote:Ok - I am just trying to give you guys as much info as possible...

It seems that when I loginto /myserver/cacti... I do not get a message saying that the url does not exist. It simply loads nothing. So I am missing something here but I am not sure what it is. Also, I am confused about net-snmp. Should that be listed in the services?? I only see snmpd or net-smnbd. Any help for my lame self would really be appreciated!

Thanks!!
Anything shown in your httpd's error_log?
Reinhard
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Is your cacti installed under the "htdocs" directory under Apache?

Like:
/usr/local/apache/htdocs/cacti

Do you see your web server respond to just:
http://YourServerNameOrIPhere
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
tgk
Posts: 28
Joined: Sat Mar 11, 2006 10:46 pm

Post by tgk »

mmm... It seems you have your cacti installed in /root/Desktop/cacti-0.8.6h/ (...from the cron you posted above)
It should be in /var/www/html/cacti/
... otherwise, you'll have to create a virtual in your httpd.conf, to tell apache where to find cacti. ... you can also change your DocumentRoot there...
chris.y2k.r1
Posts: 31
Joined: Tue Mar 07, 2006 11:39 pm

Post by chris.y2k.r1 »

Now we're talking... going to try this now..
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest