CyberPanel Community

Can't connect to server

gu
guisaldanha #1

Everything was working and suddenly thunderbird shows the message: Can’t connect to server
I tried to log into Rainloop and also the same message

I went to see the status and the problem follows.

systemctl status cpecs.service

cpecs.service - CyberPanel Email Policy Control Daemon
Loaded: loaded (/etc/systemd/system/cpecs.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2021-01-09 17:31:57 -03; 10min ago
Process: 2090 ExecStart=/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py start (code=exited, status=203/EXEC)

Jan 09 17:31:57 vmi500005.contaboserver.net systemd[1]: Starting CyberPanel Email Policy Control Daemon…
Jan 09 17:31:57 vmi500005.contaboserver.net systemd[2090]: Failed at step EXEC spawning /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py: Permission denied
Jan 09 17:31:57 vmi500005.contaboserver.net systemd[1]: cpecs.service: control process exited, code=exited status=203
Jan 09 17:31:57 vmi500005.contaboserver.net systemd[1]: Failed to start CyberPanel Email Policy Control Daemon.
Jan 09 17:31:57 vmi500005.contaboserver.net systemd[1]: Unit cpecs.service entered failed state.
Jan 09 17:31:57 vmi500005.contaboserver.net systemd[1]: cpecs.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Can someone help me? The server is already in production

1 reply
da
danko #2

Hello
cyberadmin Current Version 2.1
Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-88-generic x86_64)
CPECS fixes #712
Enable Email Policy Server enabled, I make the fixes that are in the work .then
THE OK
cpecs.service - CyberPanel Email Policy Control Daemon
Loaded: loaded (/etc/systemd/system/cpecs.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-10-06 21:23:37 CEST; 9min ago
Process: 5508 ExecStart=/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py start (code=exited, status=0/SUCCESS)
Main PID: 5517 (startServer.py)
Tasks: 1 (limit: 19143)
Memory: 28.6M
CGroup: /system.slice/cpecs.service
└─5517 /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/startServer.py
however, I can’t send email, and email account locker doesn’t work either.
error message mail log postfix:
journalctl -f | grep postfix and
tail -f /var/log/mail.log:
postfix / smtps / smtpd [4404]: warning: connect to / var / log / policyServerSocket: Connection timed out
postfix / smtps / smtpd [4404]: warning: problem talking to server / var / log / policyServerSocket: Connection timed out

do you have an idea or help?
I have been suffering for days.
we managed to see that after enabling EMAIL POLICY SERVER, port 1089 does not open and remains closed.

please help.
thank you
Stephen
Hungary

Sign in to reply