Obsolete Releases > SME 8.x Contribs

Egroupware fails to install

(1/8) > >>

mojo:
I have been attempting to install egroupware on sme8 from the contrib located at http://wiki.contribs.org/Egroupware

The yum install complains...

  Installing     : eGroupware                                                                                                                                     28/29
chcon: couldn't compute security context from unlabeled
setsebool:  SELinux is disabled.
/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=?|f0d#oZggLF2teF' '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!

EGroupware install log saved to /root/eGroupware-install.log
Updating eGroupware... Please wait!
Backing up MySQL database...
Error in PREIN scriptlet in rpm package smeserver-egroupware-1.8.005-5.el5.sme.noarch
error: %pre(smeserver-egroupware-1.8.005-5.el5.sme.noarch) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping smeserver-egroupware-1.8.005-5.el5.sme
Migrating existing database hosts

The install log from /root ...
Mon Sep  8 13:23:24 CDT 2014
/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=?|f0d#oZggLF2teF' '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!

What can I do to install this?

Thanks

mojo:
I found this...

--- Quote from: Drifting 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.

--- End quote ---

How do I find the random password generated while running the installer?

stephdl:
I suppose in the DB

config show egroupware

are you interested to test smeserver-egroupware-epl-14.1, I'm currently working on it, testing only at the minute and just for SME9

stephdl:
I don't think that your post found on internet is relevant. Indeed at the end of the egroupware installation, it is 'normal' that we have a fail in the DB creation, mainly because it is the job of smeserver-egroupware, But your problem comes of this package

please give me the return of these commands


--- Code: ---ll /opt
cat /etc/group|grep apache
cat /etc/group-|grep apache
groups apache
--- End code ---

mojo:
The results...

ll /opt

--- Code: ---total 20
drwxr-xr-x  6 root  root  4096 Aug 23  2013 egroupware
drwxr-xr-x  2 root  root  4096 Sep  8 12:33 eGW_RPM_BACKUP
drwxr-xr-x 11 www   www   4096 Sep  4  2013 fax
drwxrwxr-x 13   504   504 4096 Jun  5  2010 Funambol
drwxr-xr-x  3 admin admin 4096 Sep 21  2013 openoffice

--- End code ---
cat /etc/group|grep apache

--- Code: ---apache:x:102:
--- End code ---
cat /etc/group-|grep apache

--- Code: ---apache:x:102:
--- End code ---
groups apache

--- Code: ---apache : www
--- End code ---

And yes I would be interested in 14.1, looks slick!

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version