lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Graph is not running

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
eric
Beginner


Joined: 07 Jul 2004
Posts: 7

PostPosted: Wed Jul 07, 2004 2:04 pm    Post subject: Graph is not running Reply with quote

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

PostPosted: Wed Jul 07, 2004 2:22 pm    Post subject: Reply with quote

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

PostPosted: Wed Jul 07, 2004 2:38 pm    Post subject: My netmrg.xml Reply with quote

<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

PostPosted: Wed Jul 07, 2004 2:58 pm    Post subject: Re: Graph is not running Reply with quote

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

PostPosted: Wed Jul 07, 2004 3:14 pm    Post subject: Reply with quote

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

PostPosted: Thu Jul 08, 2004 1:22 pm    Post subject: Reply with quote

I need to help. Donīt you know what can i do?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Jul 09, 2004 8:00 pm    Post subject: Reply with quote

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

PostPosted: Mon Jul 12, 2004 12:51 pm    Post subject: Reply with quote

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

PostPosted: Mon Jul 12, 2004 10:25 pm    Post subject: Reply with quote

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

PostPosted: Tue Jul 13, 2004 11:17 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group