Notifications
Clear all

/tmp files being created 2 per min from zmconfigd with 22.3.1 CE


JDunphy
(@jdunphy)
Joined: 4 years ago
Posts: 7
Topic starter  

Running 18.04.6 LTS that was initially installed with 22.1.0 CE ... Today updated to 22.3.1 CE. My process was:

<pre>

# su -

# apt-get update

# apt-get upgrade

# su - zextras

% zmcontrol restart

</pre>

and noticed 2 tmp files being created every min. On investigation of /var/log/carbonio.log, found these type of entries:

<pre>

Apr 1 0606 carbonio zmconfigd[345]: File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig for line in open(fr).readlines():
Apr 1 0606 carbonio zmconfigd[345]: Rewrite failed: [Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/zimbra.web.xml.in' ([Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/zimbra.web.xml.in')

Apr 1 0606 carbonio zmconfigd[345]: File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig for line in open(fr).readlines():
Apr 1 0606 carbonio zmconfigd[345]: Rewrite failed: [Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/jetty-env.xml.in' ([Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/jetty-env.xml.in')

</pre>

Note: the tmp files were also being created with 22.1.0 but I never noticed. They all start with 'tmp' and then some random letters. I had over 18K tmp????? zero byte files in /tmp when I finally noticed. Oops. 😉 

Took a few guesses of what these files could be and this seems to have stopped both the errors in carbonio.log and /tmp file problem.  

Workaround:

<pre>

# su - zextras

% cd /opt/zextras/mailboxd/etc/

% ln -s jettyrc jetty-env.xml.in

% ln -s jetty.xml.in zimbra.web.xml.in

</pre>

Everything else seems to be really good with this update. 

Could someone from zextra's verify what these files should be and if my guesses are even appropriate. 

Thanks

Jim


Quote
JDunphy
(@jdunphy)
Joined: 4 years ago
Posts: 7
Topic starter  

Don't approve this... fix will trash mailboxd as they are the wrong files ... going to test again with zero byte files 


ReplyQuote