|
|
| Author |
Message |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Wed Jul 07, 2004 2:04 pm Post subject: Graph is not running |
|
|
I installed netmrg, registered in cadastre the devices, but still it this not functioning. When I run recache interface happens the following error: "Configuration file of the wrong type. Root node is not 'netmrg.' (/usr/local/etc/netmrg.xml) Warning: Cannot modify to header information - headers already sent by (output started at /usr/local/var/www/netmrg/webfiles/recache.php:27) in /usr/local/var/www/netmrg/webfiles/recache.php on line 28"
what can i do?
Last edited by eric on Wed Jul 07, 2004 2:49 pm; edited 1 time in total |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Wed Jul 07, 2004 2:22 pm Post subject: |
|
|
| Post the contents of your netmrg.xml (less any sensitive info, of course) and we'll see what we can do. |
|
| Back to top |
|
 |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Wed Jul 07, 2004 2:38 pm Post subject: My netmrg.xml |
|
|
<netmrg>
<database>
<host>localhost</host>
<user>netmrgwrite</user>
<password>netmrgwrite</password>
<db>netmrg</db>
<socket></socket>
<port></port>
</database>
<paths>
<rrdtool>/usr/bin/rrdtool</rrdtool>
<lockfile>/usr/local/var/log/netmrg/lockfile</lockfile>
<runtimefile>/usr/local/var/log/netmrg/runtime</runtimefile>
<libexec>/usr/local/libexec/netmrg</libexec>
<rrds>/usr/local/var/lib/netmrg/rrd</rrds>
<webfileroot>/usr/local/var/www/netmrg</webfileroot>
</paths>
<threads>
<count>5</count>
</threads>
<website>
<company></company>
<companylink></companylink>
<webhost></webhost>
<webroot>/netmrg</webroot>
<externalauth>false</externalauth>
</website>
<polling>
<interval>300</interval>
</polling>
<logging>
<max_device_entries>500</max_device_entries>
</logging>
</netmrg> |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Wed Jul 07, 2004 2:58 pm Post subject: Re: Graph is not running |
|
|
| eric wrote: |
| "Configuration file of the wrong type. Root node is not 'netmrg.' (/usr/local/etc/netmrg.xml)" |
This error looks like you have the first '<netmrg>' listed as '<netmrg.>' by accident. Can you confirm if this is the case or not?
-Doug |
|
| Back to top |
|
 |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Wed Jul 07, 2004 3:14 pm Post subject: |
|
|
Im not confirm this case, I certified this dot "<netmrg.>" does not exist. The graphs stay statics and do not monitor anything.
I reinstalled an old version, but the same error continue.
I don't know where is this error!!!! |
|
| Back to top |
|
 |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Thu Jul 08, 2004 1:22 pm Post subject: |
|
|
| I need to help. Donīt you know what can i do? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Fri Jul 09, 2004 8:00 pm Post subject: |
|
|
| Which version of NetMRG are you using? Did you install from source, or use an RPM? What is the full path to the netmrg.xml file that you posted? Is there any whitespace at the beginning of this file? |
|
| Back to top |
|
 |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Mon Jul 12, 2004 12:51 pm Post subject: |
|
|
The version is 0.15. I installed to using from source. The Full path to my netmrg.xml is "/usr/local/etc/netmrg.xml". There is not any whitespace it.
OBS: I HAD INSTALLED NEWEST VERSION OF THE NETMRG (0.16), BUT HAD THE PROBLENS I MADE A DOWNGRADE FOR AN OLD VERSION, SO THE PROBLENS CONTINUED. |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Mon Jul 12, 2004 10:25 pm Post subject: |
|
|
| Hmm, that's not good. What OS/distro are you running, and what version of libxml2 do you have installed? We might have to try to reproduce your problem. |
|
| Back to top |
|
 |
eric Beginner
Joined: 07 Jul 2004 Posts: 7
|
Posted: Tue Jul 13, 2004 11:17 am Post subject: |
|
|
| My OS Version is Linux Conectiva 9.0 and my file version is libxml2-2.5.1-22050U90_1cl.....OK....letīs go!!! |
|
| Back to top |
|
 |
|