Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon May 27, 2019 3:22 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ERROR: mmaping file
PostPosted: Mon Jan 14, 2019 3:34 am 
Offline

Joined: Tue Aug 28, 2018 8:26 am
Posts: 47
Accidental /usr/bin cacti files moved to other folder of linux then i moved back files from other folder to /usr/bin

but after revert cacti poller stop so
for this i have set root to poll devices of cacti


next thing is that as i am trying to add new deivce added succesfully but rrd not creation openinig error occuerd


so i have manually create rrd and copy permission of other rrd file to manully created file and owenership also but

but cacti not collecting and storing data in these files only real time graph working ,



kindly help in this


RRDTool Says:
ERROR: mmaping file '/var/www/html/cacti/rra/pithampur_qtbytesout_409.rrd': Invalid argument


Top
 Profile  
 
 Post subject: Re: ERROR: mmaping file
PostPosted: Mon Jan 14, 2019 5:46 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
Does that file exist?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: ERROR: mmaping file
PostPosted: Mon Jan 14, 2019 9:09 am 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 753
A few things on mmap:

1) Not all file systems are created equal. On some file systems mmap does not work well.
2) If your file system runs out of space while writing an rrdfile it becomes kind of silently corrupted. RRDtool will likely segfault when it attempts to write to mmap space that it does not own.

So, mmap is great, but there are some downsides.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: ERROR: mmaping file
PostPosted: Mon Jan 14, 2019 11:17 pm 
Offline

Joined: Tue Aug 28, 2018 8:26 am
Posts: 47
netniV wrote:
Does that file exist?

no i have created manually because cacti bash profiles are moved to other folders

and revert is not working


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group