Modify

Ticket #3728 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

Error fetching data from /var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd: opening '/var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd': No existe el fichero o el directorio

Reported by: iameneiros@… Owned by: jamor@…
Milestone: 2.2.X Component: monitor
Severity: normal Keywords:
Cc:

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

Al picar en Monitorización sale este error:

Error fetching data from /var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd: opening '/var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd': No existe el fichero o el directorio

Zentyal 2.2.4 instalado sobre un Ubuntu 10.04

Error

Error fetching data from /var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd: opening '/var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd': No existe el fichero o el directorio

Trace

Error fetching data from /var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd: opening '/var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd': No existe el fichero o el directorio at /usr/share/perl5/EBox/Monitor/Measure/Base.pm line 220
	EBox::Monitor::Measure::Base::fetchData('EBox::Monitor::Measure::Df=HASH(0xbb375c18)', 'resolution', 10, 'start', 'end-1h') called at /usr/share/perl5/EBox/Monitor.pm line 315
	EBox::Monitor::allMeasuredData('EBox::Monitor=HASH(0xbbf463f0)') called at /usr/share/perl5/EBox/CGI/Monitor/Index.pm line 82
	EBox::CGI::Monitor::Index::masonParameters('EBox::CGI::Monitor::Index=HASH(0xba2328e8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 522
	EBox::CGI::Base::_process('EBox::CGI::Monitor::Index=HASH(0xba2328e8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::Monitor::Index=HASH(0xba2328e8)') 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(0xba372aa8)') 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(0xba372e98)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xba372e98)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xba372aa8)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (125.0 KB) - added by anonymous 16 months ago.
zentyal.log
software.log Download (103.1 KB) - added by anonymous 16 months ago.
software.log

Change History

Changed 16 months ago by anonymous

zentyal.log

Changed 16 months ago by anonymous

software.log

comment:1 Changed 16 months ago by jamor@…

  • Component changed from base to monitor
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Error fetching data from /var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd: opening '/var/lib/collectd/rrd/km.avantemedios.com/df/df-dev-pts.rrd': No existe el fichero o el directorio

comment:2 Changed 16 months ago by jamor@…

  • Status changed from new to accepted

comment:3 Changed 16 months ago by jamor@…

Hello Iameneiros,

I don't know how monitor is trying to track /dev/pts as a disk device (which is not). Could you attach to this ticket /etc/fstab and /etc/mtab files from your system?.

Maybe the contents of this files shed light over this problem.

Regards,

Javier

comment:4 Changed 16 months ago by iameneiros@…

Aquí lo tienes. Supongo que se debe a que este Ubuntu está montado sobre un VPS:

/etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
devpts          /dev/pts        devpts  rw,noexec,nosuid,gid=5,mode=620 0  0
/dev/xvda 	/ 		ext3 	noatime,nodiratime,errors=remount-ro,usrquota,grpquota,acl 0 1
/dev/xvdb none swap sw 0 0

/etc/mtab

/dev/xvda / ext3 rw,noatime,nodiratime,errors=remount-ro,usrquota,grpquota,acl 0 0
proc /proc proc rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0

comment:5 Changed 16 months ago by jamor@…

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

Hola Iameneiros,

el commit [715c17b8ae69b519ed28] debería arreglar este problema.

Si quieres probarlo en tu sistema:

1) Baja la nueva versión de FileSystem?.pm de  http://git.zentyal.org/zentyal.git/blob/715c17b8ae69b519ed288fad657a6593651fcfb0:/main/common/src/EBox/FileSystem.pm

2) Usala para remplazar /usr/share/perl5/EBox/FileSystem.pm en tu servidor

3) Ejecuta los siguientes comandos para reiniciar servicios:

$ sudo /etc/init.d/zentyal monitor restart
$ sudo /etc/init.d/zentyal apache restart

Saludos, Javier

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.