Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-2006, 07:59 AM
Active Member
 
Posts: 46
Default Login does not appear

The Zimbra login no longer appears. I get the silver background (the URL that appears in the web browser right after the silver background is http://domainname/zimbra/auth/) but nothing else appears. I'm enclosing the zimbra.log file. zmcontrol status returns cannot determine services - exiting.

I did a ZMCONTROL STOP and got the following result:

pping antispam...Done
Stopping antivirus...FAILED


Stopping ldap...Done
Stopping logger...Done
Stopping mailbox...FAILED
Error: tomcat not running (pid 10711), stale pid file?
Killing mysqld with pid 5497 /opt/zimbra/bin/mysql.server: line 58: kill: (5497) - No such process
.............................. gave up waiting!


Stopping mta...FAILED

Did a ZMCONTROL start:

Starting ldap...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting mta...
(hangs on MTA start).

Not sure how to address the tomcat issue. Everything was working fine until today. I was trying to get SSL to work with a commercial cert (Commercial SSL Cert) but I'm pretty sure the server was up and running last night.

I tried doing a tomcat start command but it just hangs.


Any ideas?
Attached Files
File Type: txt zimbra.txt (16.1 KB, 222 views)
__________________
Sincerely,

Alex

Last edited by alexz; 04-16-2006 at 02:06 PM..
Reply With Quote
  #2 (permalink)  
Old 04-16-2006, 07:28 PM
Zimbra Employee
 
Posts: 4,792
Default

Is tomcat running? ps -ef | grep tomcat
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-16-2006, 08:10 PM
Active Member
 
Posts: 46
Default

Nope. It's not running. During the day I tried reinstalling the Zimbra server and it seemed to work until the services tried to start. See the enclosed .txt files for the errors.

Also, I checked some of the logs and realized that I was running out of space (less then 8 meg). I deleted a lot of files (mainly Zimbra install files) and I'm back up to a gig. I'm not sure whether or not running low on disk space contributed to the original problem.

If this is really a hairy problem I can just uninstall and reinstall ZCS. This is not a production server. But it would save me loads of time if this is something that can be fixed relatively easily.
Attached Files
File Type: txt mta_postfix_erros.txt (6.8 KB, 260 views)
File Type: txt zmstatus.txt (499 Bytes, 199 views)
__________________
Sincerely,

Alex

Last edited by alexz; 04-16-2006 at 08:13 PM..
Reply With Quote
  #4 (permalink)  
Old 04-16-2006, 08:49 PM
Former Zimbran
 
Posts: 5,606
Default

It looks to me like your passwords may have gotten out of sync during the installs. Try this:

>su zimbra
>/opt/zimbra/bin/mysql.server start

See if it starts. If it starts, or says that a PID exists, then try:
>mysql msyql

If it lets you in, then your passwords are fine, and you can ignore this. If it says Access Denied, then search the forums on how to reset your logger and mysql passwords using the --skip-grant-tables option.

Let us know.

jh

Last edited by jholder; 04-16-2006 at 08:50 PM.. Reason: Grammer
Reply With Quote
  #5 (permalink)  
Old 04-17-2006, 07:21 PM
Active Member
 
Posts: 46
Default

Quote:
Originally Posted by wannabetenor
It looks to me like your passwords may have gotten out of sync during the installs. Try this:

>su zimbra
>/opt/zimbra/bin/mysql.server start

See if it starts. If it starts, or says that a PID exists, then try:
>mysql msyql

If it lets you in, then your passwords are fine, and you can ignore this. If it says Access Denied, then search the forums on how to reset your logger and mysql passwords using the --skip-grant-tables option.

Let us know.

jh
Well, the saga continues. I found this posting: Mailbox Stopped

I could not get the following commands to work. I did the rest:

zmlocalconfig -e zimbra_mysql_password=newpasswd
zmlocalconfig -e mysql_root_password=newrootpasswd

I get this error: [root@zimbra /]# zmlocalconfig -e mysql_root_password='password'
Error: can not edit key mysql_root_password

Tried those two commands as root and zimbra.
__________________
Sincerely,

Alex
Reply With Quote
  #6 (permalink)  
Old 04-17-2006, 07:43 PM
Zimbra Employee
 
Posts: 515
Default

what are the permissions on /opt/zimbra/postfix/sbin/postconf?

if you ran zmcontrol and zmlocalconfig as root you probably want to run (as root) zmfixperms which should be under /opt/zimbra/libexec/

after that, run this and let us know what happens:

su - zimbra
zmcontrol stop
ps ax | grep zimbra #kill anything left running
zmcontrol start
zmcontrol status


Quote:
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.9/conf/main.cf.tmp: Permission denied
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #7 (permalink)  
Old 04-17-2006, 07:59 PM
Active Member
 
Posts: 46
Default

Weird stuff. Can't run that command, either:

[root@zimbra libexec]# pwd
/opt/zimbra/libexec
[root@zimbra libexec]# zmfixperms
bash: zmfixperms: command not found
[root@zimbra libexec]#

Perms for postconf:

-rwxr-xr-x 1 root root 863284 Apr 14 15:26 postconf
__________________
Sincerely,

Alex
Reply With Quote
  #8 (permalink)  
Old 04-18-2006, 12:22 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

The zmfixperms is in that directory on my system, what release of zimbra are you running? I know it's a silly question but did you check to see if it is in there?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 04-18-2006, 02:26 AM
Zimbra Employee
 
Posts: 515
Default

Quote:
>Also, I checked some of the logs and realized that I was running out of space (less then 8 meg). I deleted a lot of files (mainly Zimbra install files) and I'm back up to a gig. I'm not sure whether or not running low on disk space contributed to the original problem.
>
i missed that before. did you run out of disk space during installation? it's not going to work if it didn't finish installing. do you still have any /tmp/install.log.* or /tmp/zmsetup.log.* files?

assuming it was installed, zmfixperms might be in bin; it might have a .sh suffix. you can try to find it:

find /opt/zimbra/ -name *fixperm*
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #10 (permalink)  
Old 04-18-2006, 07:01 AM
Active Member
 
Posts: 46
Default

It's strange. It's there put does not have .sh extension. I reclaimed the disk space before running the setup (the second time). Here is an ls of the /opt/zimbra/libexec dir:

-rwxr-xr-x 1 root root 2705 Apr 14 15:25 addUser.sh
-rwxr-xr-x 1 root root 2251 Apr 14 15:25 get_plat_tag.sh
-rwxr-xr-x 1 root root 36058 Apr 14 15:25 logswatch
-rwxr-xr-x 1 root root 1499 Apr 14 15:25 postinstall.pm
-rwxr-xr-x 1 root root 36967 Apr 14 15:25 sa-learn
drwxr-xr-x 2 root root 4096 Apr 16 18:26 scripts
-rwxr-xr-x 1 root root 36058 Apr 14 15:25 swatch
drwxr-xr-x 3 root root 4096 Apr 16 18:26 util
-rwxr-xr-x 1 root root 1089 Apr 14 15:25 zcs
-rwxr-xr-x 1 root root 1300 Apr 14 15:25 zimbra
-rwxr-xr-x 1 root root 2600 Apr 14 15:25 zmconfigure
-rwxr-xr-x 1 root root 362 Apr 14 15:25 zmconvertd
-rwxr-xr-x 1 root root 3365 Apr 14 15:25 zmconvertdmon
-rwxr-xr-x 1 root root 4627 Apr 14 15:25 zmcpustat
-rwxr-xr-x 1 root root 15887 Apr 14 15:25 zmdailyreport
-rwxr-xr-x 1 root root 2280 Apr 14 15:25 zmdisklog
-rwxr-xr-x 1 root root 4116 Apr 14 15:25 zmexplainslow
-rwxr-xr-x 1 root root 4177 Apr 14 15:25 zmexplainsql
-rwxr-xr-x 1 root root 1778 Apr 14 15:25 zmextractsql
-rwxr-xr-x 1 root root 3533 Apr 14 15:25 zmfixperms
-rwxr-xr-x 1 root root 10108 Apr 14 15:25 zmgengraphs
-rwxr-xr-x 1 root root 3204 Apr 14 15:25 zmiostat
-rwxr-xr-x 1 root root 2395 Apr 14 15:25 zmldapapplyldif
-rwxr-xr-x 1 root root 6214 Apr 14 15:25 zmldapenablereplica
-rwxr-xr-x 1 root root 3399 Apr 14 15:25 zmldapinit
-rwxr-xr-x 1 root root 4004 Apr 14 15:25 zmlogger
-rwxr-xr-x 1 root root 3872 Apr 14 15:25 zmloggerinit
-rwxr-xr-x 1 root root 2001 Apr 14 15:25 zmloggerprune
-rwxr-xr-x 1 root root 31979 Apr 14 15:25 zmlogprocess
-rwxr-xr-x 1 root root 2641 Apr 14 15:25 zmmaintaintables
-rwxr-xr-x 1 root root 11670 Apr 14 15:25 zmmon
-rwxr-xr-x 1 root root 17363 Apr 14 15:25 zmmtaconfig
-rwxr-xr-x 1 root root 3011 Apr 14 15:25 zmmtainit
-rwxr-xr-x 1 root root 3308 Apr 14 15:25 zmmycnf
-rwxr-xr-x 1 root root 3576 Apr 14 15:25 zmmyinit
-rwxr-xr-x 1 root root 1650 Apr 14 15:25 zmnotifyinstall
-rwxr-xr-x 1 root root 2792 Apr 14 15:25 zmpurgemessages
-rwxr-xr-x 1 root root 1908 Apr 14 15:25 zmqaction
-rwxr-xr-x 1 root root 5025 Apr 14 15:25 zmqstat
-rwxr-xr-x 1 root root 1939 Apr 14 15:25 zmqueuelog
-rwxr-xr-x 1 root root 1281 Apr 14 15:25 zmrc
-rwxr-xr-x 1 root root 7606 Apr 14 15:25 zmrcd
-rwxr-xr-x 1 root root 1100 Apr 14 15:25 zmroll_catalina
-rwxr-xr-x 1 root root 2569 Apr 14 15:25 zmsetservername
-rwxr-xr-x 1 root root 62748 Apr 14 15:25 zmsetup.pl
-rwxr-xr-x 1 root root 1240 Apr 14 15:25 zmslapcat
-rwxr-xr-x 1 root root 1929 Apr 14 15:25 zmsnmpinit
-rwxr-xr-x 1 root root 2269 Apr 14 15:25 zmstatuslog
-rwxr-xr-x 1 root root 12576 Apr 14 15:25 zmtomcatstart
-rwxr-xr-x 1 root root 37554 Apr 14 15:25 zmupgrade.pm
__________________
Sincerely,

Alex
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.