Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] cannot create /opt/zimbra/data/tmp/zmcontrol.out.XXYn2

  1. #1
    vortex566 is offline Junior Member
    Join Date
    Jan 2010
    Location
    Birmingham, England
    Posts
    8
    Rep Power
    5

    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.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Do you use local or SAN based storage ? Does /var/log/messages should anything ? What does dmesg show ?

  3. #3
    vortex566 is offline Junior Member
    Join Date
    Jan 2010
    Location
    Birmingham, England
    Posts
    8
    Rep Power
    5

    Default

    A restart of the server seems to have fixed the problem. Just trying to see why it happen now.

  4. #4
    Smakodak is offline Junior Member
    Join Date
    Apr 2011
    Location
    Copenhagen
    Posts
    8
    Rep Power
    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.

  5. #5
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    6

    Default

    Do you have space left on the device?

  6. #6
    Smakodak is offline Junior Member
    Join Date
    Apr 2011
    Location
    Copenhagen
    Posts
    8
    Rep Power
    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

  7. #7
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    6

    Default

    What was the solution?

  8. #8
    infortica is offline Starter Member
    Join Date
    Jun 2011
    Location
    Poland
    Posts
    2
    Rep Power
    3

    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

  9. #9
    meuchel is offline Junior Member
    Join Date
    Jun 2011
    Posts
    9
    Rep Power
    3

    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?

  10. #10
    infortica is offline Starter Member
    Join Date
    Jun 2011
    Location
    Poland
    Posts
    2
    Rep Power
    3

    Default

    Hi,
    in section Global Variables, it is 95 line in file /usr/lib/perl/5.10/Sys/Syslog.pm

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. UNAUTHORIZED ACCESS Totally fouled up install
    By Lostin60s in forum Installation Help
    Replies: 0
    Last Post: 08-28-2009, 10:17 PM
  2. Having problem form todat accessing zimbra desktop
    By rajeshkodali in forum Installation Help
    Replies: 2
    Last Post: 06-18-2009, 11:30 PM
  3. Various errors during install and initial startup
    By theschles in forum Installation Help
    Replies: 2
    Last Post: 11-21-2007, 02:51 PM
  4. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  5. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •