Ports 8742 and 8743...
 
Notifications
Clear all

Ports 8742 and 8743 not running on fresh install

4 Posts
3 Users
0 Reactions
179 Views
(@flicted)
New Member
Joined: 3 months ago
Posts: 2
Topic starter  

Hey!

I was wondering if anyone else is having this issue:

GET removed link 502 (Bad Gateway)
GET removed link 502 (Bad Gateway)

Nothing seems to be running on ports 8742 and 8743 (as seen in netstat) so I am getting 502 gateway errors in webUI, also nginx logs:

2025/07/07 09:00:29 [error] 3134#3134: *96854 connect() failed (111: Connection refused) while connecting to upstream, client: 91.216.163.18, server: pastas.ist.lt, request: "GET  removed link  HTTP removed link ", upstream: "http://85.206.172.5:8742 removed link ", host: "pastas.ist.lt:6071", referrer: " removed link "
2025/07/07 09:00:29 [error] 3134#3134: *96857 connect() failed (111: Connection refused) while connecting to upstream, client: 91.216.163.18, server: pastas.ist.lt, request: "GET /zx/auth/supported HTTP removed link ", upstream: " removed link ", host: "pastas.ist.lt:6071", referrer: " removed link "

Carbonio CE was recently installed without any changes to nginx config, any ideas?

Thank you


   
Quote
(@vladki)
New Member
Joined: 2 weeks ago
Posts: 5
 

Yes, I have noticed it too.

removed link 13:59:41 [error] 2718#2718: *103258 connect() failed (111: Connection refused) while connecting to upstream, client: <IP>, server: , request: "GET /zx/login/supported HTTP removed link ", upstream: "http://<IP>:8742/zx/login/supported", host: "<hostname>:6071", referrer: "https://<hostname>:6071/static/login/"

 


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 3 years ago
Posts: 777
 

@vladki @flicted

Could you please check and share followings:

  1. su - zextras -c "zmcontrol -v && zmcontrol status"
  2. systemctl list-units carbonio*
  3. su - zextras -c "carbonio prov gs $(hostname -f)| grep -i port"

 


   
ReplyQuote
(@vladki)
New Member
Joined: 2 weeks ago
Posts: 5
 
zextras@carbonio:~$ carbonio prov gs $(hostname -f)| grep -i port
carbonioAdminProxyPort: 6071
zimbraAdminImapImportNumThreads: 20
zimbraAdminPort: 7071
zimbraAdminProxyPort: 9071
zimbraBackupReportEmailSubjectPrefix: ZCS Backup Report
zimbraCBPolicydBindPort: 10031
zimbraChatXmppPort: 5222
zimbraChatXmppSslPort: 5223
zimbraChatXmppSslPortEnabled: FALSE
zimbraClamAVListenPort: 3310
zimbraExtensionBindPort: 7072
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraLowestSupportedAuthVersion: 2
zimbraMailPort: 8080
zimbraMailProxyPort: 80
zimbraMailSSLClientCertPort: 9443
zimbraMailSSLPort: 8443
zimbraMailSSLProxyClientCertPort: 3443
zimbraMailSSLProxyPort: 443
zimbraMemcachedBindPort: 11211
zimbraMessageChannelPort: 7285
zimbraMilterBindPort: 7026
zimbraMtaAuthPort: 7073
zimbraMtaLmtpTlsCiphers: export
zimbraMtaSmtpDnsSupportLevel: enabled
zimbraMtaSmtpTransportRateDelay: $default_transport_rate_delay
zimbraMtaSmtpdClientPortLogging: no
zimbraMtaSmtpdVirtualTransport: error
zimbraMtaTransportMaps: proxy:ldap:/opt/zextras/conf/ldap-transport.cf
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995
zimbraRemoteImapBindPort: 8143
zimbraRemoteImapSSLBindPort: 8993
zimbraRemoteManagementPort: 22
zimbraSmtpPort: 20025
netstat -lpn|grep 8742   (empty)
netstat -lpn|grep 8743   (empty)
 # systemctl list-units 'carbonio*'
  UNIT                                               LOAD   ACTIVE SUB     DESCRIPTION                                       
  carbonio-altermime-config.service                  loaded active exited  Carbonio AlterMIME Config
  carbonio-antivirus.service                         loaded active running Carbonio Anti-virus Daemon
  carbonio-appserver-db.service                      loaded active running Carbonio Appserver DB Daemon
  carbonio-appserver.service                         loaded active running Carbonio Appserver Daemon
  carbonio-catalog-sidecar.service                   loaded active running Carbonio Catalog sidecar proxy
  carbonio-catalog.service                           loaded active running Carbonio Catalog daemon
  carbonio-clamav-sidecar.service                    loaded active running Carbonio clamav sidecar proxy
  carbonio-clamav-signature-provider-sidecar.service loaded active running NGINX Carbonio ClamAV signature provider sidecar
  carbonio-configd.service                           loaded active running Carbonio Config Daemon
  carbonio-docs-connector-db-sidecar.service         loaded active running Carbonio Docs Connector database sidecar
  carbonio-docs-connector-sidecar.service            loaded active running Carbonio docs connector sidecar proxy
  carbonio-docs-connector.service                    loaded active running Carbonio docs connector daemon
  carbonio-docs-editor-sidecar.service               loaded active running Carbonio Docs server sidecar proxy
  carbonio-docs-editor.service                       loaded active running Carbonio Docs Server
  carbonio-files-db-sidecar.service                  loaded active running Carbonio Files database sidecar
  carbonio-files-sidecar.service                     loaded active running Carbonio Files sidecar proxy
  carbonio-files.service                             loaded active running Carbonio Files daemon
  carbonio-freshclam.service                         loaded active running Carbonio Freshclam Daemon
  carbonio-mailbox-admin-sidecar.service             loaded active running Carbonio Mailbox Admin proxy sidecar
  carbonio-mailbox-db-sidecar.service                loaded active running Carbonio Mailbox database sidecar
  carbonio-mailbox-nslookup-sidecar.service          loaded active running Carbonio Mailbox NSLookup proxy sidecar
  carbonio-mailbox-sidecar.service                   loaded active running Mailbox carbonio proxy sidecar
  carbonio-mailthreat.service                        loaded active running Carbonio Mail Threat Daemon
  carbonio-memcached.service                         loaded active running Carbonio Memcached Daemon
  carbonio-message-broker-sidecar.service            loaded active running Carbonio message broker sidecar proxy
  carbonio-message-broker.service                    loaded active running Carbonio message broker daemon
  carbonio-message-dispatcher-auth-sidecar.service   loaded active running Carbonio Message Dispatcher auth sidecar proxy
  carbonio-message-dispatcher-auth.service           loaded active running Carbonio Message Dispatcher auth daemon
  carbonio-message-dispatcher-db-sidecar.service     loaded active running Carbonio Message Dispatcher database sidecar
  carbonio-message-dispatcher-http-sidecar.service   loaded active running Carbonio Message Dispatcher HTTP sidecar proxy
  carbonio-message-dispatcher-xmpp-sidecar.service   loaded active running Carbonio Message Dispatcher XMPP sidecar proxy
  carbonio-message-dispatcher.service                loaded active running Carbonio Message Dispatcher daemon
  carbonio-milter.service                            loaded active running Carbonio Milter Daemon
  carbonio-mta-sidecar.service                       loaded active running Carbonio mta sidecar proxy
  carbonio-nginx.service                             loaded active running Carbonio Web and Reverse Proxy Server
  carbonio-opendkim.service                          loaded active running Carbonio OpenDKIM Daemon
  carbonio-openldap.service                          loaded active running Carbonio OpenLDAP Daemon
  carbonio-postfix.service                           loaded active running Carbonio Postfix Daemon
  carbonio-preview-sidecar.service                   loaded active running Carbonio Preview sidecar proxy
  carbonio-preview.service                           loaded active running Carbonio Preview daemon
  carbonio-prometheus-consul-exporter.service        loaded active running Carbonio Prometheus Consul exporter
  carbonio-prometheus-mysqld-exporter.service        loaded active running Carbonio Prometheus MySQL exporter
  carbonio-prometheus-nginx-exporter.service         loaded active running Carbonio Prometheus NGINX exporter
  carbonio-prometheus-node-exporter.service          loaded active running Carbonio Prometheus Node Exporter
  carbonio-prometheus-openldap-exporter.service      loaded active running Carbonio Prometheus OpenLDAP exporter
  carbonio-proxy-sidecar.service                     loaded active running NGINX carbonio proxy sidecar
  carbonio-saslauthd.service                         loaded active running Carbonio SASL Auth Daemon
  carbonio-stats.service                             loaded active running Carbonio Stats Daemon
  carbonio-storages-sidecar.service                  loaded active running Storages-CE sidecar proxy
  carbonio-storages.service                          loaded active running Carbonio Storages-CE daemon
  carbonio-tasks-db-sidecar.service                  loaded active running Carbonio Tasks database sidecar
  carbonio-tasks-sidecar.service                     loaded active running Carbonio Tasks sidecar proxy
  carbonio-tasks.service                             loaded active running Carbonio Tasks daemon
  carbonio-user-management-sidecar.service           loaded active running Carbonio User Management sidecar proxy
  carbonio-user-management.service                   loaded active running Carbonio User Management daemon
  carbonio-videoserver-sidecar.service               loaded active running Carbonio Videoserver sidecar proxy
  carbonio-videoserver.service                       loaded active running Zextras Videoserver
  carbonio-ws-collaboration-db-sidecar.service       loaded active running Carbonio Workstream Collaboration database sidecar
  carbonio-ws-collaboration-sidecar.service          loaded active running Carbonio Workstream Collaboration sidecar proxy
  carbonio-ws-collaboration.service                  loaded active running Carbonio Workstream Collaboration daemon          
  carbonio-appserver.target                          loaded active active  Carbonio Appserver
  carbonio-directory-server.target                   loaded active active  Carbonio Directory Server
  carbonio-mta.target                                loaded active active  Carbonio MTA
  carbonio-proxy.target                              loaded active active  Carbonio Proxy
  carbonio.target                                    loaded active active  Zextras Carbonio                                  
  carbonio-certbot.timer                             loaded active waiting Run Carbonio Certbot twice daily

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

64 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


Regarding carbonio services - i noticed that there are a few services that are not enabled: carbonio-files-watches.service (can be started manually) and carbonio-prometheus.service (can be started manually, but then it complains to syslog: (i think this was already reported in another thread)

2025-09-23T13:00:49.684457+02:00 carbonio prometheus[12662]: time=2025-09-23T11:00:49.681Z level=ERROR source=consul.go:286 msg="Error retrieving datacenter name" component="discovery manager scrape" discovery=consul config=haproxy err="Unexpected response code: 403 (Permission denied: token with AccessorID 'hexa-hash-code' lacks permission 'agent:read' on \"server-carbonio-mydomain-tld\")"


2025-09-23T13:01:41.242018+02:00 carbonio carbonio-prometheus-mysqld-exporter[2422]: time=2025-09-23T11:01:41.240Z level=ERROR source=exporter.go:131 msg="Error opening connection to database" err="dial tcp 127.0.0.1:7306: connect: connection refused"

And one service that is enabled, but inactive (dead): carbonio-policyd.service :

# systemctl status carbonio-policyd.service 
○ carbonio-policyd.service - Carbonio Policyd Daemon
     Loaded: loaded (/usr/lib/systemd/system/carbonio-policyd.service; disabled; preset: enabled)
     Active: inactive (dead)

# systemctl start carbonio-policyd.service 
# systemctl status carbonio-policyd
× carbonio-policyd.service - Carbonio Policyd Daemon
     Loaded: loaded (/usr/lib/systemd/system/carbonio-policyd.service; disabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-09-23 12:56:17 CEST; 2s ago
   Duration: 372ms
    Process: 10594 ExecStartPre=bash -c if [ ! -f /opt/zextras/data/cbpolicyd/db/cbpolicyd.sqlitedb ]; then /opt/zextras/libexec/zmcbpolicydinit; fi (code=>
    Process: 10667 ExecStartPre=echo REWRITE cbpolicyd | netcat -w $configd_rewrite_timeout localhost $configd_listen_port (code=exited, status=0/SUCCESS)
    Process: 10669 ExecStart=/opt/zextras/common/bin/cbpolicyd --config /opt/zextras/conf/cbpolicyd.conf -fg (code=exited, status=1/FAILURE)
   Main PID: 10669 (code=exited, status=1/FAILURE)
        CPU: 4.705s

Sep 23 12:56:17 carbonio bash[10595]: Adding subnets from Mynetworks server...
Sep 23 12:56:17 carbonio bash[10662]: /opt/zextras/libexec/zmcbpolicydinit: line 91: zmhostname: command not found
Sep 23 12:56:17 carbonio bash[10659]: /opt/zextras/libexec/zmcbpolicydinit: line 91: zmprov: command not found
Sep 23 12:56:17 carbonio bash[10595]: done.
Sep 23 12:56:17 carbonio echo[10667]: REWRITE cbpolicyd | netcat -w 120 localhost 7171
Sep 23 12:56:17 carbonio systemd[1]: Started carbonio-policyd.service - Carbonio Policyd Daemon.
Sep 23 12:56:17 carbonio cbpolicyd[10669]: ERROR: No configuration file '/opt/zextras/conf/cbpolicyd.conf' found!
Sep 23 12:56:17 carbonio systemd[1]: carbonio-policyd.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 12:56:17 carbonio systemd[1]: carbonio-policyd.service: Failed with result 'exit-code'.
Sep 23 12:56:17 carbonio systemd[1]: carbonio-policyd.service: Consumed 4.705s CPU time.

   
ReplyQuote