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 03-08-2010, 11:55 PM
Junior Member
 
Posts: 8
Default [SOLVED] cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2

I came into work this morning to find the following error, while trying to start the zmcontrol service. This must have happen after 02:30 during the night, as we have last nights back-up.

sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system

Starting logger...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting mailbox...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting antispam...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.


Starting antivirus...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting snmp...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting spell...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting mta...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.

Starting stats...sh: cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: Read-only file system
cat: /opt/zimbra/data/tmp/zmcontrol.out.XXYn2: No such file or directory
Failed.
Reply With Quote
  #2 (permalink)  
Old 03-09-2010, 12:28 AM
Moderator
 
Posts: 7,928
Default

Do you use local or SAN based storage ? Does /var/log/messages should anything ? What does dmesg show ?
__________________
Reply With Quote
  #3 (permalink)  
Old 03-09-2010, 12:55 AM
Junior Member
 
Posts: 8
Default

A restart of the server seems to have fixed the problem. Just trying to see why it happen now.
Reply With Quote
  #4 (permalink)  
Old 04-15-2011, 10:45 PM
New Member
 
Posts: 4
Default

I have that same issue, and a reboot didn't help. I have searched through the logs, but I haven't been able to find anything relating to this. It's weird because the /tmp folder has drwxrwxrwt permissions, so it should be writeable?!
Does anyone have an idea.

I have this error as well. I don't know if they are related...
"Use of uninitialized value $current_proto in string eq at /usr/lib/perl/5.10/Sys/Syslog.pm line 371"
"Use of uninitialized value $current_proto in string eq at /usr/lib/perl/5.10/Sys/Syslog.pm line 374"

I'm running this version as a ESXi 4 virtual machine.
Release 7.0.0_GA_3077.UBUNTU10_64 UBUNTU10_64 FOSS edition

Can anyone help?

Kind regards Anders

Last edited by Smakodak; 04-16-2011 at 12:46 AM..
Reply With Quote
  #5 (permalink)  
Old 04-17-2011, 08:55 PM
Partner (VAR/HSP)
 
Posts: 425
Default

Do you have space left on the device?
Reply With Quote
  #6 (permalink)  
Old 04-17-2011, 10:16 PM
New Member
 
Posts: 4
Default Space left?

Hi iway

Thank you for responding.

Yes, there is plenty of space left.
System load: 0.21 Processes: 180
Usage of /: 17.6% of 51.45GB Users logged in: 0
Memory usage: 52% IP address for eth0: 192.168.100.2
Swap usage: 0%

-Anders
Reply With Quote
  #7 (permalink)  
Old 04-20-2011, 05:43 PM
Partner (VAR/HSP)
 
Posts: 425
Default

What was the solution?
Reply With Quote
  #8 (permalink)  
Old 06-02-2011, 01:43 PM
Starter Member
 
Posts: 2
Lightbulb Solution

Hello!

Write permission problem occurs because during shutdown or reboot the system is set read-only files.
This happens before stopping Zimbra.

For solutions to the problem, change the order of call scripts in the directories:
/etc/rc0.d/ (shutdown)
/etc/rc6.d/ (reboot)

eg: change @89zimbra the @10zimbra

Zimbra stop before setting the file system for read-only.


"Use of uninitialized value $current_proto in string eq at
/usr/lib/perl/5.10/Sys/Syslog.pm line 371"
"Use of uninitialized value $current_proto in string eq at
/usr/lib/perl/5.10/Sys/Syslog.pm line 374"

The problem can be solved by giving the initial values ​​of the variable "$current_proto" eg $current_proto = 0; instead of # undef;
in the file "/ usr/lib/perl/5.10/Sys/Syslog.pm"


Bartłomiej Kapica
infortica.pl

Quote:
Originally Posted by Smakodak View Post
I have that same issue, and a reboot didn't help. I have searched through the logs, but I haven't been able to find anything relating to this. It's weird because the /tmp folder has drwxrwxrwt permissions, so it should be writeable?!
Does anyone have an idea.

I have this error as well. I don't know if they are related...
"Use of uninitialized value $current_proto in string eq at /usr/lib/perl/5.10/Sys/Syslog.pm line 371"
"Use of uninitialized value $current_proto in string eq at /usr/lib/perl/5.10/Sys/Syslog.pm line 374"

I'm running this version as a ESXi 4 virtual machine.
Release 7.0.0_GA_3077.UBUNTU10_64 UBUNTU10_64 FOSS edition

Can anyone help?

Kind regards Anders
Reply With Quote
  #9 (permalink)  
Old 11-09-2011, 02:47 PM
Junior Member
 
Posts: 6
Default $current_proto

Sorry for my ignorance in reviving this old thread but I recently ran into this issue.
I was able to fix the read only by following your advice on correcting the shutdown order.
but i still get the $current_proto error. Where in the file should we set it equal to 0?
do you have an exerpt?
Reply With Quote
  #10 (permalink)  
Old 11-10-2011, 12:15 AM
Starter Member
 
Posts: 2
Default

Hi,
in section Global Variables, it is 95 line in file /usr/lib/perl/5.10/Sys/Syslog.pm
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.