Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6289 Zobrazení

OpenERP on Ubuntu 12.04 (on Amazon AWS)

pg /etc/os-* NAME="Ubuntu" VERSION="12.04.4 LTS, Precise Pangolin" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu precise (12.04.4 LTS)" VERSION_ID="12.04"

Defined admin@ as the email forr root, so server sent this email to admin@ user in OpenERP.

ERROR: Cron <root@ip-10-48-41-143> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) /etc/cron.weekly/apt-xapian-index: Traceback (most recent call last): File "/usr/sbin/update-apt-xapian-index", line 108, in indexer.rebuild(opts.pkgfile) File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 735, in rebuild self.buildIndex(dbdir, generator) File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 698, in buildIndex db = xapian.WritableDatabase(pathname, xapian.DB_CREATE_OR_OVERWRITE) File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 4298, in __init__ _xapian.WritableDatabase_swiginit(self,_xapian.new_WritableDatabase(*args)) xapian.DatabaseLockError: Unable to get write lock on /var/cache/apt-xapian-index/index.1: Couldn't fork: Cannot allocate memory run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1

Avatar
Zrušit
Nejlepší odpověď

Visit below links:

Link-1

Link-2

Avatar
Zrušit
Autor Nejlepší odpověď

Found reason for this Python related issue..

The Ubuntu 12.04 (and some other versions) got an security fix for xapian. This security update needed a restart for server. After restart I run manually the

sudo /etc/cron.weekly/apt-xapian-index

and it worked without errors.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 15
3531
1
bře 15
9534
1
pro 15
4498
1
pro 24
4652
0
lis 24
1897