Error Reading The Cookie Off Rrd Failed
off error. Moderators: Moderators, Developers Page 1 of 2 [ 30 posts ] Go to page 1, 2 Next Previous topic | Next topic Author Message lsmc Post subject: On this topicPosted: Thu Jan 31, 2008 2:23 pm Joined: Tue Nov 06, 2007 6:48 pmPosts: 4 What are the correct permissions for the rra directory in 8.7a? I moved a 8.6.i database to a new server and everything seemed fine until we went to create a new graph. then I get the ERROR: reading the cookie off error. I have tried changing permissions but nothing has worked. Thanks in advance. Top gandalf Post subject: Posted: Fri Feb 01, 2008 6:52 am Developer Joined: Thu Dec 02, 2004 2:46 amPosts: 22461Location: Muenster, Germany The required steps are explaned at http://docs.cacti.net/node/447 Reinhard _________________Official Cacti DocumentationOfficial Debugging HelpCentral Plugin RepositoryCentral Templates Repository Top Alard Post subject: Re: On this topicPosted: Tue Feb 03, 2009 8:43 am Joined: Tue Feb 03, 2009 8:35 amPosts: 2 lsmc wrote:What are the correct permissions for the rra directory in 8.7a?I moved a 8.6.i database to a new server and everything seemed fine until we went to create a new graph.then I get the ERROR: reading the cookie off error.I have tried changing permissions but nothing has worked.Thanks in advance. Good time of day! i have exactly the same problem. I've followed install instructions above, tried to change permission, but no luck. When i try to create new graph i've got following error: Code:RRDTool Says:ERROR: reading the cookie off /var/www/cacti/rra/traffic_in_9.rrd failed I have cacti 0.8.7c installed on an CentOS 5.2 Can anyone help me? Top gandalf Post subject: Posted: Tue Feb 03, 2009 4:51 pm Developer Joined: Thu Dec 02, 2004 2:46 amPosts: 22461Location: Muenster, Germany Please try latest ./lib/rrd.php from svn. There was a fix that _may_ be related to your issue Reinhard _________________Official Cacti DocumentationOfficial Debugging HelpCentral Plugin RepositoryCentral Templates Repository Top Alard Post subject: Posted: Wed Feb 04, 2009 3:08 am Joined: Tue Feb 03, 2009 8:35 amPosts: 2 gandalf wrote:Please try latest ./lib/rrd.php from svn. There was a fix that _may_ be related to your issueReinhard Thank you, gandalf, but this doesnt help. I copied ./lib/rrd.php from svn, but still got same error. UPD: I installed Fedora9 (x86_64) and now i have this error when trying to create any graph: Code:RRDTool Says:ERROR: mmaping file '/usr/share/cacti/rra/cat3550_traffic_in_8.rrd': Invalid argumentRRDTool version is:Code:root@cactu
Sign in Pricing Blog Support Search GitHub This repository Watch 42 Star 328 Fork 148 oetiker/rrdtool-1.x Code Issues 81 Pull requests 4 Projects 0 Wiki Pulse Graphs New issue ERROR: reading the cookie off RRD faild #58 Closed oetiker opened this Issue Sep 11, 2012 · 1 comment Projects None yet Labels rrd_update Milestone No milestone Assignees No http://forums.cacti.net/about25571.html one assigned 1 participant Owner oetiker commented Sep 11, 2012 Hello, I was writing a script that encorporates the RRDtool into it. Unfortunately when I attempt to use the update command, it fails. Here is the command: rrdtool update $cur_rrd/nb_jobs.rrd N:$nb_jobs; It's in a perl script, in case you https://github.com/oetiker/rrdtool-1.x/issues/58 were wondering. After I execute it, I get errors such as "ERROR: reading the cookie off /nb_jobs.rrd faild". Any help would be appreciated. I'm using RRDtool 1.2.11 Owner oetiker commented Sep 11, 2012 [oetiker] Please use the support mailinglist for your "non-bug" questions. it could be that you created the rrd on a diferent architecture that you are running the update command ... how ever, see first line! tobi oetiker closed this Sep 11, 2012 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
without target version Feature #1788 mod_rrdtool should init db if file is empty Added by glen about 8 years ago. Updated over 7 https://redmine.lighttpd.net/issues/1788 years ago. Status:FixedPriority:NormalAssignee:glenCategory:mod_rrdtoolTarget version:1.4.23Start date:Due date:% Done:100% Missing in https://forum.centreon.com/forum/centreon-use/setup/7835-censtorage-is-throwing-segmentation-faults 1.5.x: Description for purpose of setting initial permissions from rpm package, there's such file installed to system: -rw-r----- 1 lighttpd stats 0 2008-10-07 13:14 /var/lib/lighttpd/lighttpd.rrd lighty won't run rrdtool create on this file, so the file stays error reading empty. and when rrdtool graph is ran such error is output ERROR: reading the cookie off /var/lib/lighttpd/lighttpd.rrd failed suggestion: make lighttpd run rrdtool create when .rrd file is empty (st.st_size == 0). tested and it would work: # ls -l lighttpd.rrd -rw-r----- 1 lighttpd stats 0 error reading the 2008-10-07 13:14 lighttpd.rrd # > lighttpd.rrd # rrdtool create lighttpd.rrd --step 60 DS:InOctets:ABSOLUTE:600:U:U DS:OutOctets:ABSOLUTE:600:U:U DS:Requests:ABSOLUTE:600:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 # ls -l lighttpd.rrd -rw-r----- 1 lighttpd stats 212040 2008-10-07 13:16 lighttpd.rrd lighttpd-mod_rrdtool-emptyfile.patch View - proposed patch (2.91 KB) glen, 2008-10-07 10:34 Associated revisions Revision 2418 (diff) Added by glen over 7 years ago - Create rrd file for empty rrdfile in mod_rrdtool (#1788) Revision 0e84d4d4 (diff) Added by glen over 7 years ago - Create rrd file for empty rrdfile in mod_rrdtool (#1788) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2418 152afb58-edef-0310-8abb-c4023f1b3aa9 Revision 2457 (diff) Added by stbuehler over 7 years ago merge: Create rrd file for empty rrdfile in mod_rrdtool (#1788) Revision 2686 (diff) Added by stbuehler almost 7 years ago mod_rrdtool: fix creating file if it doesn't exist (#1788) Revision 47bd4036 (diff)
before you can post. / Vous devez vous inscrire avant de pouvoir créer un sujet. Announcement Collapse No announcement yet. censtorage is throwing segmentation faults Collapse X Collapse Posts Latest Activity Search Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts Previous Next iHateZombies Junior Member Oreonistes Join Date: Mar 2009 Posts: 2 #1 censtorage is throwing segmentation faults 19th March 2009, 05:07 Hello all, I am running Centreon 2.0.1 on a RHEL 5.2 machine. I noticed that I was sporadically beginning to see gaps in my graphs. At any given point in time, some graphs would have data and others would not. After verifying that all of the services were running and performance data from them was being saved to my perf data file I stumbled on quite a bit of segfaults coming from centstorage. Each run I see this message outputed to dmesg and /var/log/message: centstorage[8893]: segfault at 00002b47f9d15c50 rip 000000342d42b653 rsp 00007fffb56c3ab0 error 6 centstorage[16150]: segfault at 00002b47f9d15c50 rip 000000342d42b653 rsp 00007fffb56c3ab0 error 6 Looking at the censtorage log I am seeing quite a few of the following: 1237430764 - ERROR while updating /usr/local/centreon/centstorage_rrds/status/151.rrd at 1237430744 -> 100 : reading the cookie off /usr/loc al/centreon/centstorage_rrds/status/151.rrd failed 1237430764 - ERROR while updating /usr/local/centreon/centstorage_rrds/status/3.rrd at 1237430744 -> 100 : reading the cookie off /usr/local /centreon/centstorage_rrds/status/3.rrd failed 1237430764 - ERROR while updating /usr/local/centreon/centstorage_rrds/status/14.rrd at 1237430746 -> 100 : reading the cookie off /usr/loca l/centreon/centstorage_rrds/status/14.rrd failed I also tried to rebuild some of the graphs with the missing data only to find that they ended up looking the same. And querying my centstorage.data_bin table I was able to verify that there were indeed gaps which has me thinking that the process is bailing out before storing the service's metrics. I currently have the following rrd packages installed: rrdtool-1.2.30-1.el5.rf perl-rrdtool-1.2.30-1.el5.rf And my centreon configuration does have 1.2.30 as its version number (if that makes a difference). Does anyone have any ideas on what this could be or on how to further troubleshoot what is happening? Tags: centstorage, rrd, segfault iHateZombies Junior Member Oreonistes Join Date: Mar 2009 Posts: 2 #2 31st March 2009, 19:39 Still dealing with thi