Notifications
Clear all

Files not found after install


nologin
(@nologin)
Joined: 4 months ago
Posts: 1
Topic starter  

After fresh install i've got this error:

Jan 11 1936 carbon zmconfigd[8115]: Watchdog: skipping service antivirus. Service not yet available for restarts.
Jan 11 1936 carbon zmconfigd[8115]: File " removed link ", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 1936 carbon zmconfigd[8115]: Rewrite failed: [Errno 2] No such file or directory: ' removed link ' ([Errno 2] No such file or directory: ' removed link ')
Jan 11 1936 carbon zmconfigd[8115]: File " removed link ", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 1936 carbon zmconfigd[8115]: Rewrite failed: [Errno 2] No such file or directory: ' removed link ' ([Errno 2] No such file or directory: ' removed link ')
Jan 11 1936 carbon zmconfigd[8115]: All rewrite threads completed in 0.03 sec
Jan 11 1936 carbon zmconfigd[8115]: All restarts completed in 0.00 sec

 

I try to create this empty files: ' removed link '  , ' removed link '

services started but admin panel show 404 page.

Fresh installed Ubuntu 18.04, hosts file and dns correctly configured. 


Quote
Arman Khosravi
(@arman)
Admin
Joined: 1 year ago
Posts: 179
 
Posted by: @nologin

After fresh install i've got this error:

Jan 11 1936 carbon zmconfigd[8115]: Watchdog: skipping service antivirus. Service not yet available for restarts.
Jan 11 1936 carbon zmconfigd[8115]: File " removed link ", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 1936 carbon zmconfigd[8115]: Rewrite failed: [Errno 2] No such file or directory: ' removed link ' ([Errno 2] No such file or directory: ' removed link ')
Jan 11 1936 carbon zmconfigd[8115]: File " removed link ", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 1936 carbon zmconfigd[8115]: Rewrite failed: [Errno 2] No such file or directory: ' removed link ' ([Errno 2] No such file or directory: ' removed link ')
Jan 11 1936 carbon zmconfigd[8115]: All rewrite threads completed in 0.03 sec
Jan 11 1936 carbon zmconfigd[8115]: All restarts completed in 0.00 sec

 

I try to create this empty files: ' removed link '  , ' removed link '

services started but admin panel show 404 page.

Fresh installed Ubuntu 18.04, hosts file and dns correctly configured. 

Hi nologin,

Can you send these again so this time the paths are visible? You could also try apt install libpcre2-8-0 as the root user and then freshclam --config-file=./conf/freshclam.conf and zmantivirusctl start as the zextras and check them again.


ReplyQuote
adriangibanelbtactic
(@adriangibanelbtactic)
Joined: 4 months ago
Posts: 11
 

I confirm this bug. I already have it. You have to check /var/log/carbonio.log manually in order to see it though.

The error reads:

Jan 13 1336 carboniodemo zmconfigd[9943]:   File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig     for line in open(fr).readlines():
Jan 13 1336 carboniodemo zmconfigd[9943]: 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')
Jan 13 1336 carboniodemo zmconfigd[9943]:   File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig     for line in open(fr).readlines():
Jan 13 1336 carboniodemo zmconfigd[9943]: 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')


My workaround for this bug is to edit /opt/extras/conf/zmconfig.cf file and remove these four lines:

SECTION zimbra
    REWRITE mailboxd/etc/zimbra.web.xml.in mailboxd/webapps/zimbra/WEB-INF/web.xml
    REWRITE mailboxd/etc/jetty-env.xml.in mailboxd/webapps/zimbra/WEB-INF/jetty-env.xml
    RESTART mailboxd


and then restart the system thanks to zmcontrol restart command.

It would be nice if Zextras could confirm if my workaround is safe and, anyways, fix this bug (or otherwise add these missing files) so that this is already fixed on packages from the repo.

Thank you.

Note: This Carbonio version was installed on 2022-01-13 from an Ubuntu 18.04 minimal installation.


ReplyQuote
damirabal
(@damirabal)
Joined: 4 months ago
Posts: 4
 

My workaround for this bug is to edit /opt/extras/conf/zmconfig.cf file and remove these four lines:

 

SECTION zimbra
    REWRITE mailboxd/etc/zimbra.web.xml.in mailboxd/webapps/zimbra/WEB-INF/web.xml
    REWRITE mailboxd/etc/jetty-env.xml.in mailboxd/webapps/zimbra/WEB-INF/jetty-env.xml
    RESTART mailboxd

@adriangibanelbtactic,

Can you please checkthat the correct path & file is /opt/zextras/conf/zmconfigd.cf?

At least in my installation, the problem is that these files do not exist:

mailboxd/etc/zimbra.web.xml.in 
mailboxd/etc/jetty-env.xml.in

Instead there are:

mailboxd/etc/zimlet.web.xml.in 
mailboxd/etc/jetty.xml.in

I need Zextras to confirm if the issue is actually a typo on the file names or another issue at all.

Regards,

Dennis

 

 

 

 


ReplyQuote
adriangibanelbtactic
(@adriangibanelbtactic)
Joined: 4 months ago
Posts: 11
 
Posted by: @damirabal

My workaround for this bug is to edit /opt/extras/conf/zmconfig.cf file and remove these four lines:

 

SECTION zimbra
    REWRITE mailboxd/etc/zimbra.web.xml.in mailboxd/webapps/zimbra/WEB-INF/web.xml
    REWRITE mailboxd/etc/jetty-env.xml.in mailboxd/webapps/zimbra/WEB-INF/jetty-env.xml
    RESTART mailboxd

@adriangibanelbtactic,

Can you please checkthat the correct path & file is /opt/zextras/conf/zmconfigd.cf?

At least in my installation, the problem is that these files do not exist:

mailboxd/etc/zimbra.web.xml.in 
mailboxd/etc/jetty-env.xml.in

Instead there are:

mailboxd/etc/zimlet.web.xml.in 
mailboxd/etc/jetty.xml.in

I need Zextras to confirm if the issue is actually a typo on the file names or another issue at all.

Regards,

Dennis

 

 

 

 

I suspect these files do not exist because they are no longer used in Carbonio (but were used in Zimbra).
Why check them in the first place, then?

That's what my workaround does. Avoid that checking.

We need confirmation from Zextras of course.


joet liked
ReplyQuote
Satrier
(@satrier)
Joined: 3 weeks ago
Posts: 1
 

@adriangibanelbtactic 

Its work for me. Thanks

 

Im just install new version.

Ubuntu 20.04 

Carbonio: 22.3.1_ZEXTRAS_202203.FOSS


ReplyQuote