Deleted /var/log/zimbra.log file

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
drdre
Outstanding Member
Outstanding Member
Posts: 411
Joined: Fri Sep 12, 2014 10:43 pm

Deleted /var/log/zimbra.log file

Postby drdre » Mon Sep 19, 2011 4:03 pm

hi all..
I accidentally wiped out my whole /var/log folder..
how can i get my zimbra.log file that sits in that folder ?
I have tried restarting the zimbra service but the zimbra.log isnt recreated :(


drdre
Outstanding Member
Outstanding Member
Posts: 411
Joined: Fri Sep 12, 2014 10:43 pm

Deleted /var/log/zimbra.log file

Postby drdre » Mon Sep 19, 2011 5:10 pm

got a new zimbra.log file and all other services file.. sadly enough i lost all my old logs from that folder... lesson learn t thou.. PAY ATTENTION when using "rm -rf" command.
Arunmani Murugan
Posts: 11
Joined: Fri Jun 26, 2015 9:10 am

Deleted /var/log/zimbra.log file

Postby Arunmani Murugan » Tue Sep 15, 2015 8:19 am

Dear mate,



Accidentally, I did the same mistake.. Pls guide me how to get the log file again zimbra.log

I am using same version of zimbra



Arun
chauvetp
Outstanding Member
Outstanding Member
Posts: 350
Joined: Fri Sep 12, 2014 11:28 pm

Deleted /var/log/zimbra.log file

Postby chauvetp » Wed Sep 16, 2015 9:39 am

Have you tried creating a blank zimbra.log file, making sure it is owned by the Zimbra user/group (chown zimbra:zimbra zimbra.log) and restarting Zimbra?



You may need to set the permissions (chmod 644 zimbra.log) on the file as well.
Arunmani Murugan
Posts: 11
Joined: Fri Jun 26, 2015 9:10 am

Deleted /var/log/zimbra.log file

Postby Arunmani Murugan » Thu Sep 17, 2015 10:23 pm

Dear Chauvet,



Thanks for your reply, I did all mentioned steps...

created blank zimbra.log file owned by zimbra with permission 644 and restarted the services but no improvement in writing log.

There seems issue with swatch.pid and logswatch.pid file with related process of zimbra.log and this thing happens on all time i create this blank file.



So to resolve this, after doing all these steps stopped the zimbra services and rebooted the server

Everything rebuilted and everything goes well.. No issues now.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 13 guests