Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed otrs like so:

sudo apt-get install otrs

And in the end it gave me this error below.

Setting otrs2 (3.1.7 + dfsg1-5) ...
dbconfig-common: writing config to / etc/dbconfig-common/otrs2.conf
Replacing config file / etc / OTRS / with new version
Already perl module enabled
Already rewrite module enabled
  * Reloading web server config apache2: Could not reliably determining the server's fully qualified domain name, using for ServerName
DBI connect ('database = OTRS, host = localhost, port = 3306;', 'OTRS', ...) failed: Access denied for user'' @ 'localhost' to database 'OTRS' at / usr / share / OTRS / Kernel / System / line 256
ERROR: Perl: 5.14.2 OS: linux Time: Wed March 13 2013 12:01:17

  Message: Access denied for user'' @ 'localhost' to database 'OTRS'

  Traceback (7612):
    Module: Kernel :: System :: DB :: new (v1.144.2.1) Line: 227
    Module:. / Bin / (v1.14) Line: 55

Got no DBObject! at / usr / share / OTRS / Kernel / System / line 103.
dpkg: error processing otrs2 (- configure):
  subprocess installed post-installation script returned error exit status 255 back
Errors were encountered while processing:
E: Sub-process / usr / bin / dpkg returned an error code (1)

I have a dutch Ubuntu the error above I copy/paste it in Google translater

share|improve this question
up vote 0 down vote accepted

This is a problem with the Ubuntu package. While the OTRS debian package is pretty well maintained, the Ubuntu package (which is derived from the Debian package) is broken and no-one really seems to care about it. See all bug reports here:

So if you want to install OTRS from a package manager, choose Debian, or if you want to install OTRS on Ubuntu, please look at this procedure:

(yeah I know it is written for Ubuntu 10.04 and OTRS 3.0.x but the procedure is really very much the same)

share|improve this answer
Awesome it worked, thanks! – blade19899 Mar 13 '13 at 15:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.