empty cacti.conf file

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

Moderators: Developers, Moderators

Post Reply
cliffstokes
Posts: 2
Joined: Thu Sep 26, 2013 1:44 pm

empty cacti.conf file

Post by cliffstokes »

I am building a replacement Cacti server.

The original is Cacti-0.8.7a on CentOS-4

New is Cacti-0.8.8b on Ubuntu Server 12.04

I looked at latest Cacti-EZ to stay with CentOS, but I could never get a working iso disc, so that path is abandoned.

After trying to force the install of PIA to my system I finally figured out how to get 0.8.8b from ppa:paul-climbing/cacti.
Now I get the following message:
Syntax error on line 6 of /etc/apache2/conf.d/cacti.conf:
Invalid command '<IfVersion', perhaps misspelled or defined by a module not incl
uded in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

I have attached a snip of the screen which makes me think the file is empty.

Please help
snip of symptom
snip of symptom
empty-cacti-dot-conf-file.PNG (3.95 KiB) Viewed 1777 times
cliff
n00b linux admin/cacti admin

linux experience limited to desktop ubuntu
cliffstokes
Posts: 2
Joined: Thu Sep 26, 2013 1:44 pm

Re: empty cacti.conf file

Post by cliffstokes »

Redirecting to something written for noob is welcome.

assume I am new to linux admin and cacti admin (it's a fact)
cliff
n00b linux admin/cacti admin

linux experience limited to desktop ubuntu
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: empty cacti.conf file

Post by gandalf »

I only have 1st link of my sig. But I don't know whether this is too detailed/specific.
And please don't think that I dislike beginners.
Simply tell me, what you're missing or don't understand to help improving the docs.
You may want to scan it first (and perhaps only the first chapter) and read only those parts that apply to your exact problem.
R.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: empty cacti.conf file

Post by paulgevers »

cliffstokes wrote:I have attached a snip of the screen which makes me think the file is empty.
28 bytes is not exactly empty (then there would be no syntax error) but it is most likely not OK. How was that file created and/or edited?

As you are using my packaging efforts, I believe the contents of that file should be like here.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: empty cacti.conf file

Post by paulgevers »

Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
cesarje
Posts: 3
Joined: Wed Apr 23, 2014 7:57 pm

Re: empty cacti.conf file

Post by cesarje »

i've used the file that you attached because im having the same problem, when i restart the service of apache2 it starts ok but when i try to acces to the cacti web interface it downloads a file instead
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests