zextras user cannot...
 
Notifications
Clear all

zextras user cannot restart service without passswords, also scripts still using old method...

1 Posts
1 Users
0 Reactions
5 Views
(@haffi)
Active Member
Joined: 1 year ago
Posts: 15
Topic starter  

So I got this email from my server this morning after update of ubuntu to 24.04 and Carbonio to newest.

 

Cron <zextras@mail> . /opt/zextras/.bashrc; /opt/zextras/libexec/zmsaupdate

zmsaupdate: Amavisd restart failed!

 

So I checked zmsaupdate

and in line 49 

we have this 

 

my $restart="/opt/zextras/bin/zmamavisdctl restart norewrite >/dev/null 2>&1";

I changed it to, since it gives "Services are now handled by systemd.

Enabled systemd targets:

- carbonio-directory-server.target
- carbonio-appserver.target
- carbonio-proxy.target
- carbonio-mta.target

Please check the documentation for further details.
Exiting."

 

 

my $restart="/bin/systemctl restart carbonio-mta.target >/dev/null 2>&1";

 

This does also not work since Zextra cannot run 

/bin/systemctl restart carbonio-mta.target

it need escilation...

I think someone forgot this in the upgrade.

 

 

 


   
Quote