在玩 Zentyal 時,在架設 WEBMAIL 時,我被這 3 篇文章,誤導........................
---------------------------------------------------------------------------------------------
I did what you said and things are working even after rebooting. Here's what I did to fix it.
1. Disabled the webmail module through the 'Module Status' section of the admin interface.
2. Deleted the webmail service from the Software Managment - > Zentyal components section of the admin interface.
3. I opened /etc/mysql/conf.d/zentyal.cnf and modified the line to read innodb=on.
4. I found the password to mysql by looking in this file... /var/lib/zentyal/conf/zentyal-mysql.passwd
5. I ran this command and supplied the password.
sudo mysql -p
6. Then I issued the following commands
show databases; (this will show you the databases)
DROP DATABASE roundcube; (this deletes the roundcube databse)
exit (this exits the mysql command prompt.
After doing this, I reinstalled the webmail service, enabled it and it all worked!
Thanks again to all that posted to help out.
Then reinstalled the webmail service via the Software Management -> Zentyal Components menu.
---------------------------------------------------------------------------------------------
To fix this:
Disable the webmail service in 'Module Status'
sudo nano /etc/mysql/conf.d/zentyal.cnf
and change this line as shown: innodb=on
then: service mysql restart
get the MySQL pass: sudo cat /var/lib/zentyal/conf/zentyal-mysql.passwd
then: sudo mysql -p
Execute this query: DROP DATABASE roundcube;
Run this script: sudo /usr/share/zentyal-webmail/enable-module
Re-enable the webmail service in 'Module Status'
Easy huh. Everything is working now. Think about it when you click Next.
---------------------------------------------------------------------------------------------
My case
remark this
#innodb = off
and
service mysql restart
is not enough. I must replace password for roundcube user at mysql too.
Zentyal generate password at this file /etc/roundcube/debian-db.php
and Mysql admin at this file /var/lib/zentyal/conf/zentyal-mysql.passwd.
mysql -u=root
mysql> use mysql;
mysql> update user set Password = PASSWORD('Password roundcube from debian-db.php') where User = 'roundcube';
謹記【阻礙別人未來,等同自毀未來!】這是【時空穿越者】最大的課題。
2019年03月03日 重置所有文章連結,舊有連結全數失效,若要尋找特定文章,請使用版面上【搜尋此網誌】
有事找我,請直接 TEL:886 0972174238 找我爸媽是沒用的,他們一句都不會跟我談,他們早就習慣不問我願不願意。
本人沒有加入過任何政黨,有任何問題,歡迎留言提出。
為 台灣獨立 停止 中國政權 參加台灣選舉
Blog各種敘述,若有雷同之處純屬巧合,切勿做過當行為。
2014年10月13日 星期一
訂閱:
張貼留言 (Atom)
HR , NO!Human Resources,NO!
※※ 這樣內容,上手會困難嗎?※※ 我想到什麼?就寫什麼!※※
※對於資訊!我想到什麼?就寫什麼!
如果困難的話?
歡迎來信討論或發表意見,我會儘快回覆。
也歡迎來 YAHOO 知識家,集思廣益!
我的YAHOO 知識家 首頁:
Yahoo 知識+ 2013年改版前 (網域似乎已作廢)
YAHOO 知識家+ 2013年改版後
有需要技術文件 DarkMan 蒐集了不少!
存在FTP共享。想下載?請洽DarkMan信箱取得下載帳號。※
如果困難的話?
歡迎來信討論或發表意見,我會儘快回覆。
也歡迎來 YAHOO 知識家,集思廣益!
我的YAHOO 知識家 首頁:
Yahoo 知識+ 2013年改版前 (網域似乎已作廢)
YAHOO 知識家+ 2013年改版後
有需要技術文件 DarkMan 蒐集了不少!
存在FTP共享。想下載?請洽DarkMan信箱取得下載帳號。※
上句:不修一切法,如如是己身。傳其法,授其使,說其名,淪為其用。
下句:你寫得出來其意就傳你【大神威、大魔法,無上魔道。】
沒有留言:
張貼留言
歡迎討論