Opened 17 months ago

Closed 8 months ago

#1152 closed defect (fixed)

after update to 8.03 every 5 min Cron mail

Reported by: jstrebel Owned by:
Priority: major Milestone:
Component: Backend Version: 8.0.3-RC2
Keywords: Cc:

Description

Hi,
after the update from 8.02 to 8.03 (64bit version) I get every 5 min the following mail:

Traceback (most recent call last):

File "/usr/local/bin/graph.py", line 467, in <module>

GenerateInterfaceGraph?()

File "/usr/local/bin/graph.py", line 122, in GenerateInterfaceGraph?

'GPRINT:global_tot_tx:ca. %5.1lf%s Total\l'

rrdtool.error: Could not save png to '/tmp/graph/if-sis0-1h.png'

What is the suggestet fix for this?
jakob

Change History (12)

comment:1 Changed 17 months ago by gcooper

Was the previous version x86 or x64?

comment:2 Changed 17 months ago by jstrebel

It was the AMD64 8.0.2
jakob

comment:3 Changed 17 months ago by gcooper

What does...

df -h /tmp
ls -lr /tmp

... say?

Last edited 17 months ago by gcooper (previous) (diff)

comment:4 Changed 17 months ago by jstrebel

[root@freenas] ~# df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
/dev/md2 149M 7.4M 130M 5% /var

[root@freenas] ~# ls -lr /tmp
lrwxr-xr-x 1 root 1002 7 Jan 3 12:08 /tmp@ -> var/tmp

comment:5 Changed 17 months ago by gcooper

Sorry.

ls -lr /var/tmp

is what I need to know.

comment:6 Changed 17 months ago by jstrebel

root@freenas] ~# ls -lr /var/tmp/
total 10
drwxrwxrwt 2 root wheel 512 Jan 3 12:06 vi.recover/
-rw------- 1 root wheel 98 Jan 6 16:45 sessionideb5031bbff7154676773c8598a03a71f
-rw------- 1 root wheel 98 Jan 6 11:26 sessionidac9daee2c8f4e168065ccbe2221b054b
-rw------- 1 root wheel 98 Jan 6 08:22 sessionid65e4ddf72e658ae8274a49a5685c30d9
-rw------- 1 root wheel 98 Jan 6 15:23 sessionid4f4bfe1b8c5f653520f2085a2bb0442c
-rw------- 1 root wheel 98 Jan 6 13:08 sessionid4b9ca3daa2144d72dedeee761f1cb22f
-rw------- 1 root wheel 98 Jan 6 09:38 sessionid435457a463690964a7eddc3791eb3cf3
-rw-r--r-- 1 root wheel 611 Jan 6 08:22 rc.conf.freenas
drwxr-xr-x 2 root wheel 1024 Jan 6 20:10 graph/
srwxr-xr-x 1 www www 0 Jan 6 08:22 django.sock=
-rw-r--r-- 1 root wheel 42 Jan 6 20:10 alert
drwxrwxrwt 2 root wheel 512 Jan 6 08:22 .font-unix/
drwxrwxrwt 2 root wheel 512 Jan 6 08:22 .XIM-unix/
drwxrwxrwt 2 root wheel 512 Jan 6 08:22 .X11-unix/
drwxrwxrwt 2 root wheel 512 Jan 6 08:22 .ICE-unix/
drwxr-xr-x 26 root 1002 512 Jan 6 08:22 ../
drwxrwxrwt 8 root wheel 1024 Jan 6 16:45 ./

comment:7 Changed 13 months ago by william

Do you still have this issue with 8.0.4?

comment:8 Changed 13 months ago by jstrebel

Hi,
after a while, I did a fresh full install. this solved my problem. ;-)

jakob

comment:9 Changed 13 months ago by gcooper

  • Resolution set to duplicate
  • Status changed from new to closed

Same as bug # 1368

comment:10 Changed 13 months ago by william

  • Resolution duplicate deleted
  • Status changed from closed to reopened

No, not duplicated, the issues are different, check error message.

Last edited 13 months ago by william (previous) (diff)

comment:11 Changed 13 months ago by gcooper

You're right; it was probably a race or missing/incomplete logic in the code path that generates graphs.

comment:12 Changed 8 months ago by william

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

Please reopen this ticket if you're still experiencing this bug in 8.2+

Note: See TracTickets for help on using tickets.