Dear Team,
I installed the Carbonio CE on my new server. Installation is completed with all the steps as mentioned in the documentation, but now when I'm trying to login with zextras@<mydomain> it is giving below error:
Credentials are not valid, please check data and try again.
Also in my audit.log, I'm getting below error:
2024-09-20 23:25:22,214 WARN [qtp1928621590-124] [name=zextras@<mydomain>;ip=192.168.3.151;oip=103.226.169.167;port=56572;soapId=3a7e8672;] security - cmd=Auth; account=zextras@<mydomain>; protocol=soap; error=authentication failed for [zextras@<mydomain>], LDAP error: - unable to ldap authenticate: invalid credentials;
2024-09-20 23:25:22,215 WARN [qtp1928621590-124] [name=zextras@<mydomain>;ip=192.168.3.151;oip=103.226.169.167;port=56572;soapId=3a7e8672;] security - cmd=AdminAuth; account=zextras@<mydomain>; error=authentication failed for [zextras@<mydomain>];
Not sure where I went wrong.
Thanks and Regards,
Amit
Hi,
What are the outputs of following commands:
root@mail:~# su - zextras -c "zmcontrol -v && zmcontrol status"
and
root@mail:~# systemctl list-units carbonio*
and
root@mail:~# curl -s -v http://127.78.0.4:10000/health | jq
Regards,
Sharif
Hi Sharif,
Please find requested output below:
root@mail:~# su - zextras -c "zmcontrol -v && zmcontrol status"
Carbonio Release 24.7.1
Host mail.micindia.com
antivirus Running
directory-server Running
mailbox Running
memcached Running
mta Running
proxy Running
service webapp Running
service-discover Running
stats Running
config service Running
root@mail:~# systemctl list-units carbonio*
UNIT LOAD ACTIVE SUB DESCRIPTION
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-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-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-mta-sidecar.service loaded active running Carbonio mta sidecar proxy
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-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.service loaded active exited LSB: Carbonio ServicesLOAD = 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.
31 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
root@mail:~#
root@mail:~# curl -s -v http://192.168.3.151:10000/health | jq
* Trying 192.168.3.151:10000...
* connect to 192.168.3.151 port 10000 failed: Connection refused
* Failed to connect to 192.168.3.151 port 10000 after 0 ms: Connection refused
* Closing connection 0
Hi Team, I used the script that was provided via email. I did not get the admin password. What is the default admin password to login.
I tried the post-installation command at step 17 to set the password but I am not having any luck. it keeps asking me for a password. I tried the admin password for the only user I created during the install and that is not working either.
su - zextras -c "carbonio prov sp zextras@$(hostname -d) KRGb1rLSHj2GxgW"
:~$ su - zextras -c "carbonio prov sp zextras@$(hostname -d) KRGb1rLSHj2GxgW"
Password:
su: Authentication failure
I am a noob when it comes to Linux
Can someone help?
Thanks.
Never mind I figured it out. I had to run the command like it is below.
sudo su - zextras -c "carbonio prov sp zextras mysecretpassword"