Koozali.org: home of the SME Server

Egroupware Install failed. (Solved)

Offline Drifting

  • *****
  • 431
  • +0/-0
Egroupware Install failed. (Solved)
« on: May 22, 2014, 08:59:39 PM »
Followed the instructions to the letter, worked perfectly on my test bench machine, went belly up on my production one!
Did a total un-install as instructed on the Contribs page.
Re installed again and noticed this :-


> /usr/bin/php -d memory_limit=256M /usr/share/egroupware/setup/setup-cli.php --setup-cmd-database sub_command=create_db 'domain=default' 'db_type=mysqli' 'db_host=localhost' 'db_port=3306' 'db_name=egroupware' 'db_user=egroupware' 'db_pass=l%mw5]0sq!WC&GcQ' 'db_root=root' 'db_root_pw=' 'db_grant_host=localhost'
> Can not connect to mysqli database mysql on host localhost:3306 using user root! (ADOdb::Connect(localhost:3306, root, $Password, mysql) failed.:
> Access denied for user 'root'@'localhost' (using password: NO))
>
> Installation failed --> exiting!

Now I am out of my depth, any suggestions?

CANCEL that. I should really learn to google contribs more often, found the solution elsewhere on the site.

mysqladmin -u root create egroupware
mysql -e " grant all privileges on egroupware.* to 'egroupware'@'localhost' "
mysql -u root -e " SET PASSWORD FOR egroupware@localhost = PASSWORD( 'ATTENTION_put_here_password_for_egroupware_mysql_user' ) "
mysqladmin flush-privileges

Paul.
« Last Edit: May 22, 2014, 09:09:47 PM by Drifting »
Infamy, Infamy, they all have it in for me!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Egroupware Install failed. (Solved)
« Reply #1 on: May 23, 2014, 10:22:24 AM »
Can you raise a bug and explain what you did to solve your issue
Which link you found, what command you did, whate error you had, log of yum install....in brief all needed info.

I worry that we cannot do something  because the package comes from epel and if i remember well what i tested for sme9 the error comes just after the egroupware package.
In fact we do not modify the package, we use for special modifications a  package called smeserver-egroupware
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Egroupware Install failed. (Solved)
« Reply #2 on: May 23, 2014, 10:33:24 AM »
Hi
The error was on the install, and that is a cut of what saw.

The solution was at the bottom of my post, which I found on the contribs site.

Paul.
Infamy, Infamy, they all have it in for me!