Install error on hosted debian server

Moderator: crythias

Locked
paulkenna
Znuny newbie
Posts: 2
Joined: 12 Apr 2011, 11:35
Znuny Version: 3.0.6
Real Name: Paul Kenna
Company: KennaLaw Pty ltd

Install error on hosted debian server

Post by paulkenna »

I have generally followed the wiki page http://wiki.otrs.org/index.php?title=In ... 5.04_lenny to install on a Debian 6 VPS I have - I have modified the apache2 configuration file to fit in with my virtual server program (Virtualmin)

I have managed to get to the install script up to stage 2 of 4 when I get the following error message that prevents me going further.

Create Database (2/4)
Creating database 'otrs':Done.
Creating tables 'otrs-schema.mysql.sql':Done.
Inserting initial inserts 'otrs-initial_insert.mysql.sql':Done.
Foreign Keys 'otrs-schema-post.mysql.sql':Done.
Creating database user 'otrs@localhost':False! :-(

---==> You are not allowed to create a user with GRANT

Does anyone have any suggestion on how I can get around this

Paul
Melbourne
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Install error on hosted debian server

Post by jojo »

paulkenna wrote: ---==> You are not allowed to create a user with GRANT
Your Database User has no GRANT permission (so can not create new users!)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
paulkenna
Znuny newbie
Posts: 2
Joined: 12 Apr 2011, 11:35
Znuny Version: 3.0.6
Real Name: Paul Kenna
Company: KennaLaw Pty ltd

Re: Install error on hosted debian server

Post by paulkenna »

Many thanks

I fixed this via adding additional permissions to the virtual servers user (which was not root due to the control system implemented)

I now have an OTRS system up and running and Im very impressed

Paul
Melbourne
SLESSARD
Znuny advanced
Posts: 119
Joined: 12 Jan 2011, 22:35
Znuny Version: 4.x.x.x.x
Company: Self-Employed

Re: Install error on hosted debian server

Post by SLESSARD »

Can access be restricted after install ??
if yes, to what extent??
What minimal set of privileges is required for the db account??
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Install error on hosted debian server

Post by crythias »

SLESSARD wrote:What minimal set of privileges is required for the db account??
You need to have all privileges but the account can be restricted to the one database only.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
SLESSARD
Znuny advanced
Posts: 119
Joined: 12 Jan 2011, 22:35
Znuny Version: 4.x.x.x.x
Company: Self-Employed

Re: Install error on hosted debian server

Post by SLESSARD »

Even grant ??

Our system staff are having concerns with having that much privileges so I'm wondering how other OTRS users are dealing with security?!
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Install error on hosted debian server

Post by crythias »

If you don't like GRANT, don't give grant, but what's the problem?
GRANT will only work if:
someone has your database login and password (already bad)
this person is able to log in directly to the database with these credentials (grant ... @localhost means no outside access)
this person wants to grant another user access to this database. Eh... but he can only grant privileges he already has.

If I understand it correctly, the database user can't GRANT for other databases of which the user is not able to GRANT privileges.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked