Modify

Ticket #3472 (closed defect: fixed)

Opened 19 months ago

Last modified 18 months ago

Error trying to access gvfs filesystems belonging to other users (they should be ignored)

Reported by: michaelbjurving@… Owned by: jacalvo@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

received this error when trying to open monitoring view

Error

 rrdtool fetch /var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd AVERAGE -s end-1h -e 1321088210 failed. 
Error output: ERROR: opening '/var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd': Filen eller katalogen finns inte

Command output: . 
Exit value: 1

Trace

 rrdtool fetch /var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd AVERAGE -s end-1h -e 1321088210 failed. 
Error output: ERROR: opening '/var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd': Filen eller katalogen finns inte

Command output: . 
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 110
	EBox::Sudo::_commandError('rrdtool fetch /var/lib/collectd/rrd/ubunyal.bjurving.com/df/d...', 256, 'ARRAY(0x7fb1996b7338)', 'ARRAY(0x7fb1990cb188)') called at /usr/share/perl5/EBox/Sudo.pm line 90
	EBox::Sudo::command('rrdtool fetch /var/lib/collectd/rrd/ubunyal.bjurving.com/df/d...') called at /usr/share/perl5/EBox/Monitor/Measure/Base.pm line 211
	EBox::Monitor::Measure::Base::fetchData('EBox::Monitor::Measure::Df=HASH(0x7fb19756dbe8)', 'resolution', 10, 'start', 'end-1h') called at /usr/share/perl5/EBox/Monitor.pm line 288
	EBox::Monitor::allMeasuredData('EBox::Monitor=HASH(0x7fb1974e5ea8)') called at /usr/share/perl5/EBox/CGI/Monitor/Index.pm line 82
	EBox::CGI::Monitor::Index::masonParameters('EBox::CGI::Monitor::Index=HASH(0x7fb199248148)') called at /usr/share/perl5/EBox/CGI/Base.pm line 522
	EBox::CGI::Base::_process('EBox::CGI::Monitor::Index=HASH(0x7fb199248148)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::Monitor::Index=HASH(0x7fb199248148)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'Maintenance/Monitor', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7fb19925cf28)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7fb19925eae8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7fb19925eae8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7fb19925cf28)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (67.9 KB) - added by anonymous 19 months ago.
zentyal.log
software.log Download (183.1 KB) - added by anonymous 19 months ago.
software.log

Change History

Changed 19 months ago by anonymous

zentyal.log

Changed 19 months ago by anonymous

software.log

comment:1 Changed 18 months ago by jamor@…

  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to In Monitoring view: ERROR: opening '/var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd': Filen eller katalogen finns inte

comment:2 Changed 18 months ago by ejhernandez@…

Hello Michael,

Could you provide the output of the following commands to track the issue?

$ sudo cat /etc/mtab
$ sudo ls -l /var/lib/collectd/rrd

Thanks very much for your feedback.

comment:3 Changed 18 months ago by ejhernandez@…

And if possible, the output of ls -l /var/lib/collectd/rrd/ubunyal.bjurving.com/df/.

Thanks very much for your feedback.

comment:4 Changed 18 months ago by jacalvo@…

  • Status changed from new to assigned
  • Summary changed from In Monitoring view: ERROR: opening '/var/lib/collectd/rrd/ubunyal.bjurving.com/df/df-home-michael-.gvfs.rrd': Filen eller katalogen finns inte to Error trying to access gvfs filesystems belonging to other users (they should be ignored)

comment:5 Changed 18 months ago by jamor@…

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [23758]) Ignoring unreadable RRD files instead of throwing exception all the way to the web page closes #3472

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.