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 06-08-2009, 12:37 AM
Senior Member
 
Posts: 59
Default REPAIR: Zimbra wont start

Fellows;


This is the error that whenever I try to get the "zmcontrol status" command. Im not a Linux expert, by the way.

Please help me how I can fix this problem.

Thanks.


Here is the error:


imbra@zimbra:~$ /opt/zimbra/bin/zmcontrol status
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host mail2.pacifichub.net
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
antispam Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
antivirus Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
ldap Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
logger Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
mailbox Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
mta Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
snmp Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
spell Stopped
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
stats Stopped
zimbra@zimbra:~$




After i tried to stop and start it, this is the report;


imbra@zimbra:~$ /opt/zimbra/bin/zmcontrol stop
Host mail2.pacifichub.net
Stopping stats...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping mta...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping spell...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping snmp...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping archiving...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping antivirus...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping antispam...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping imapproxy...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping mailbox...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping logger...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


Stopping ldap...sh: cannot create /tmp/zmcontrol.out.JBdoW: Read-only file system
cat: /tmp/zmcontrol.out.JBdoW: No such file or directory
FAILED


zimbra@zimbra:~$ /opt/zimbra/bin/zmcontrol start
Host mail2.pacifichub.net
Starting ldap...sh: cannot create /tmp/zmcontrol.out.OPEGX: Read-only file system
Done.
cat: /tmp/zmcontrol.out.OPEGX: No such file or directory
FAILED


zimbra@zimbra:~$

--------------------------------------------------------------------------

zimbra@zimbra:~$ /opt/zimbra/bin/zmcontrol -v


Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8

---------------------------------------------------------------------------

The server has been fully restarted several times already but it didnt improve.

Fellows, what could be the problem?

Last edited by emcampos; 06-08-2009 at 12:40 AM..
Reply With Quote
  #2 (permalink)  
Old 06-08-2009, 12:40 AM
Trained Alumni
 
Posts: 123
Default

Seems like your filesystem where Zimbra is located is read only. Is /opt an own filesystem? What does cat /etc/fstab give you? You can try remount the filesystem with write permission. IF this does not work, please provide us with the information from this:

Code:
su zimbra
zmcontrol -v
Flums
Reply With Quote
  #3 (permalink)  
Old 06-08-2009, 12:43 AM
Senior Member
 
Posts: 59
Default

zimbra@zimbra:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=84444b1a-2a71-42f3-9136-f0a142656422 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=67867243-51ea-4fd6-ac11-20af92c5fa07 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
zimbra@zimbra:~$



zimbra@zimbra:~$ /opt/zimbra/bin/zmcontrol -v


Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8

--------------------------------------------------


Sorry, fellows but Im really new to Linux.

Could you please help me how I can remount this?

Last edited by emcampos; 06-08-2009 at 12:45 AM..
Reply With Quote
  #4 (permalink)  
Old 06-08-2009, 12:44 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

I hope you have a good backup.

The error is caused by this:
Quote:
Originally Posted by emcampos View Post
sh: cannot create /tmp/zmcontrol.status.1v7Vw: Read-only file system
You've quite likely had some problem with either your HD or the filesystem: Zimbra problem
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 06-08-2009, 03:30 AM
Senior Member
 
Posts: 59
Default

ive tried this;

zimbra@zimbra:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=84444b1a-2a71-42f3-9136-f0a142656422 / ext3 relatime,errors=remount-ro 0
# /dev/sda5
UUID=67867243-51ea-4fd6-ac11-20af92c5fa07 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0


================================================== ========

result;

zimbra@zimbra:~$ sudo e2fsck -C0 -p -f -v /dev/sda1

sudo: unable to resolve host zimbra
[sudo] password for zimbra:
Duplicate or bad block in use!
/dev/sda1: Multiply-claimed block(s) in inode 4440762: 17768834
/dev/sda1: Multiply-claimed block(s) in inode 4440777: 17768834
/dev/sda1: (There are 2 inodes containing multiply-claimed blocks.)

/dev/sda1: File /opt/zimbra/log/zmlogprocess.pid (inode #4440762, mod time Sun Jun 7 20:10:02 20 09)
has 1 multiply-claimed block(s), shared with 1 file(s):
/dev/sda1: /opt/zimbra/log/.zmcontrol.cache (inode #4440777, mod time Sun Jun 7 20:20:03 20 09)
/dev/sda1:

/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
zimbra@zimbra:~$

--------------------------------------------------------------------------

is it safe? how much is the risk of getting the /opt corrupted or messed up if i run sudo e2fsck -f -y -v /dev/sda1?

what's the better alternative?
Reply With Quote
  #6 (permalink)  
Old 06-10-2009, 05:51 AM
Outstanding Member
 
Posts: 594
Default

Do you have any SAN mounted disks ? If yes check those.
Reply With Quote
  #7 (permalink)  
Old 06-10-2009, 05:52 AM
Outstanding Member
 
Posts: 594
Default

just running e2fsck e2fsck -v /dev/sda1 should also be fine
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.