Author Topic: ERROR: relation "samba_access_report" does not exist  (Read 3021 times)

whoop

  • Guest
ERROR: relation "samba_access_report" does not exist
« on: August 24, 2010, 02:16:16 am »
I get an this error type every hour (when samba is in use) in root mail (using ubuntu server 10.04 64 bit):

Date: Mon, 23 Aug 2010 22:17:02 +0200 (CEST)
From: Cron Daemon <root@phserver>
To: root@phserver
Subject: Cron <root@phserver>    cd / && run-parts --report /etc/cron.hourly

/etc/cron.hourly/90manageEBoxLogs:
Error inserting data: INSERT INTO samba_access_report ( operations, date, username) VALUES ( ?, ?, ?)
ERROR:  relation "samba_access_report" does not exist
LINE 1: INSERT INTO samba_access_report ( operations, date, username...
                    ^
Values: $VAR1 = [
          '547',
          '2010-7-01',
          'ausername'
        ];

run-parts: /etc/cron.hourly/90manageEBoxLogs exited with return code 25

How do I fix this? Is there something wrong with the database?

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: ERROR: relation "samba_access_report" does not exist
« Reply #1 on: August 24, 2010, 10:08:10 am »
Which version are you using ?

whoop

  • Guest
Re: ERROR: relation "samba_access_report" does not exist
« Reply #2 on: August 25, 2010, 02:43:48 am »
From the ubuntu 10.04 repos (1.5-0ubuntu1) 1.5

whoop

  • Guest
Re: ERROR: relation "samba_access_report" does not exist
« Reply #3 on: October 08, 2010, 04:38:28 pm »
My roots mail is still being flooded with these messages (just removed 863 of them). strange thing is it's always the same single entry:
'547',
'2010-7-01',
'ausername'

what to do?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: ERROR: relation "samba_access_report" does not exist
« Reply #4 on: October 08, 2010, 07:43:40 pm »
Hi there,

Try using our latest stable version 2.0, please upgrade to that version. :)
My secret is my silence...

brumela

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: ERROR: relation "samba_access_report" does not exist
« Reply #5 on: February 01, 2011, 09:46:28 pm »
Hi there,

Try using our latest stable version 2.0, please upgrade to that version. :)

hmm, I have latest stable version 2.0, but sill getting this message.  ???