Mailbox Stopped
Mailbox Stopped
Now you have to start tomcat
su - zimbra
tomcat start
su - zimbra
tomcat start
Mailbox Stopped
Hiya,
Firstly, I appreciate the help, and I am hoping these experiences will eventually enrich the project and make it easier for those that follow.
su - zimbra
tomcat start
mysql.server start &
(have to control-z that)
zmcontrol stop (just to make sure)
zmcontrol start
- all come up "done"
zmcontrol status
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mta Running
snmp Running
spell Running
Firstly, I appreciate the help, and I am hoping these experiences will eventually enrich the project and make it easier for those that follow.
su - zimbra
tomcat start
mysql.server start &
(have to control-z that)
zmcontrol stop (just to make sure)
zmcontrol start
- all come up "done"
zmcontrol status
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mta Running
snmp Running
spell Running
Mailbox Stopped
WHy are you doing it that way? Specifically, why start tomcat before sql, when tomcat won't run without sql?
su - zimbra
zmmailboxctl stop
zmmailboxctl start
sh -x zmmailboxctl status
post the output of the last command.
su - zimbra
zmmailboxctl stop
zmmailboxctl start
sh -x zmmailboxctl status
post the output of the last command.
Mailbox Stopped
ok, done that:
202:~ zimbra$ sh -x zmmailboxctl status
+ BASE=/opt/zimbra
+ SCRIPTS=tomcat mysql.server
+ STATUS=0
+ '[' tomcat = mysql.server ']'
+ /opt/zimbra/bin/tomcat status
+ R=1
+ '[' 1 -ne 0 ']'
+ STATUS=1
+ '[' mysql.server = mysql.server ']'
+ /opt/zimbra/bin/mysqladmin status
+ R=1
+ '[' 1 -ne 0 ']'
+ STATUS=1
+ exit 1
Does that help at all?
202:~ zimbra$ sh -x zmmailboxctl status
+ BASE=/opt/zimbra
+ SCRIPTS=tomcat mysql.server
+ STATUS=0
+ '[' tomcat = mysql.server ']'
+ /opt/zimbra/bin/tomcat status
+ R=1
+ '[' 1 -ne 0 ']'
+ STATUS=1
+ '[' mysql.server = mysql.server ']'
+ /opt/zimbra/bin/mysqladmin status
+ R=1
+ '[' 1 -ne 0 ']'
+ STATUS=1
+ exit 1
Does that help at all?
Mailbox Stopped
su - zimbra
mysql.server start
mysqladmin status
Any errors? Also check /var/log/zimbra.log
mysql.server start
mysqladmin status
Any errors? Also check /var/log/zimbra.log
Mailbox Stopped
202:~ zimbra$ zmcontrol status
Host XXXreplacedXXX
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mta Running
snmp Running
spell Running
202:~ zimbra$ mysql.server start
202:~ zimbra$ A mysqld process already exists
mysqladmin status
/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
202:~ zimbra$ tail -f -n 20 /var/log/zimbra.log
no errors apparent in the log, only the status of things
Host XXXreplacedXXX
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mta Running
snmp Running
spell Running
202:~ zimbra$ mysql.server start
202:~ zimbra$ A mysqld process already exists
mysqladmin status
/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
202:~ zimbra$ tail -f -n 20 /var/log/zimbra.log
no errors apparent in the log, only the status of things
Mailbox Stopped
Kill your mysql process, and restart it with mysql.server - if the mysqladmin returns an errror after that, we'll have to reset your password:
zmcontrol stop
zmlocalconfig -e zimbra_mysql_password=newpasswd
zmlocalconfig -e mysql_root_password=newrootpasswd
edit /opt/zimbra/bin/mysql.server
Change
'start')
# --defaults-file must be first argument
cd ${mysql_directory};
${mysql_directory}/bin/mysqld_safe
--defaults-file=${mysql_mycnf}
--ledir=${mysql_directory}/bin &
;;
to
'start')
# --defaults-file must be first argument
cd ${mysql_directory};
${mysql_directory}/bin/mysqld_safe
--defaults-file=${mysql_mycnf}
--skip-grant-tables
--ledir=${mysql_directory}/bin &
;;
su - zimbra
mysql.server start
mysql mysql
update user set password=PASSWORD('newpasswd') where user='zimbra';
update user set password=PASSWORD('newrootpasswd') where user='root';
flush privileges
exit
mysql.server stop
Change mysql.server back (remove --skip-grant-tables)
mysql.server start
mysqladmin status
zmcontrol stop
zmlocalconfig -e zimbra_mysql_password=newpasswd
zmlocalconfig -e mysql_root_password=newrootpasswd
edit /opt/zimbra/bin/mysql.server
Change
'start')
# --defaults-file must be first argument
cd ${mysql_directory};
${mysql_directory}/bin/mysqld_safe
--defaults-file=${mysql_mycnf}
--ledir=${mysql_directory}/bin &
;;
to
'start')
# --defaults-file must be first argument
cd ${mysql_directory};
${mysql_directory}/bin/mysqld_safe
--defaults-file=${mysql_mycnf}
--skip-grant-tables
--ledir=${mysql_directory}/bin &
;;
su - zimbra
mysql.server start
mysql mysql
update user set password=PASSWORD('newpasswd') where user='zimbra';
update user set password=PASSWORD('newrootpasswd') where user='root';
flush privileges
exit
mysql.server stop
Change mysql.server back (remove --skip-grant-tables)
mysql.server start
mysqladmin status
Mailbox Stopped
hmmmm...
zmcontrol stop
zmlocalconfig -e zimbra_mysql_password=newpasswd
Error: can not edit key zimbra_mysql_password
even sudo'ing it I get the same...
zmcontrol stop
zmlocalconfig -e zimbra_mysql_password=newpasswd
Error: can not edit key zimbra_mysql_password
even sudo'ing it I get the same...
Mailbox Stopped
Add -f to both of those (zmlocalconfig -f -e ...)
Sorry
Sorry
Mailbox Stopped
Sweet, all good now
Ok, now onto configuration... oh, and at some point I will have to get this autostarting if it does end up meeting my needs, which it does look like it will
Once again - Thanks!!!
Ok, now onto configuration... oh, and at some point I will have to get this autostarting if it does end up meeting my needs, which it does look like it will
Once again - Thanks!!!