View Single Post
  #12 (permalink)  
Old 07-30-2007, 02:10 PM
redbaron redbaron is offline
Intermediate Member
 
Posts: 16
Default

OK, Some updates....

I run the zmmyinit script in bash whit debug, and sew that there is a parameter "password=" that in the end of the script need to be changed, but I have MYSQL password, so I changed the script and added my password to the script (I know, bad idea, bad security).... and it worked !!!
(OK, I used this article to override mysql password )
now MySQL is running and the passwords in the output of this command "zmlocalconfig -s | grep mysql" and my passwords are the same...
testing:
/opt/zimbra/bin/mysqladmin -u root ping -p
Enter password:
mysqld is alive

after running zmmyinit finelly the passwords changed and MySQL start running. I can test the PING whit my passwords (from zmlocalconfig -s | grep mysql).

BUT, when I start zimbra by the zmcontrol, I get LDAP started, and that's it...
I can see it running from the command:
Code:
ps -ef | grep zimbra
zimbra   24752     1  0 22:59 ?        00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://slinkilin.XXX.YYY:389 -f /opt/zimbra/conf/slapd.conf
I can start mysql and connect to it. But if I'll try to run any script like /opt/zimbra/bin/zmmailboxctl I'll get a complain about LDAP that is NOT RUNNING....
WHAT?! Why?!
What I'm missing ???
Code:
Starting mysqld daemon with databases from /opt/zimbra/db/data

ERROR: problem reading config from ldap. Make sure ldap is running.
[zimbra@slinkilin ~]$ zmcontrol status
Cannot determine services - exiting
Gili

Last edited by redbaron; 07-30-2007 at 02:29 PM..
Reply With Quote