Hi,
I can't tell you since when it does not work. But it turns into error message when I'm trying to run the index command grommunio-index-run.sh
Any help will be appreciated.
Here is the output.
/usr/sbin/grommunio-index-run.sh [STATUS] Creating new index /var/lib/grommunio-web/sqlite-index/xx@domainx.com/index.sqlite3 [STATUS] Checking for updates... [STATUS] Updating index... [ERROR] Failed to insert message 25/1904641: Connection closed unexpectedly [ERROR] Failed to insert message 25/1904642: Connection closed unexpectedly [ERROR] Failed to insert message 25/1904643: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904644: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904645: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904646: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904647: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904648: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904649: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904650: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904651: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904652: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904653: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904654: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904655: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904656: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904657: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904658: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904659: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904660: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904661: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904662: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904663: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904664: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904665: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904666: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904667: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904668: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904669: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904670: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904671: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904672: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904673: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904674: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904675: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904676: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904677: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904678: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904679: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904680: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904681: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904682: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904683: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904684: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904685: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904686: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904687: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904688: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904689: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904690: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904691: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904692: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904693: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904694: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904695: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904696: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904697: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904698: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904699: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904700: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904701: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904702: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904703: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904704: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904705: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904706: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904707: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904708: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904709: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904710: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904711: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904712: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904713: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904714: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904715: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904716: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904717: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904718: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904719: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904720: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904721: Send failed: Broken pipe [ERROR] Failed to insert message 25/1904722: Send failed: Broken pipe [STATUS] Index updated. [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused [FATAL] Send failed: Connection refused
Du not use the script, instead restart the indexer service: systemctl restart grommunio-index.service The script may set incorrect permissions on index database.
systemctl restart grommunio-index.service
had same issue as i run web, mail on different hosts
edit /usr/sbin/grommunio-index-run.sh grommunio-index "$maildir" -e mail-host01 -o "$web_index_path/$username/index.sqlite3"
grommunio-index -h -e --host Hostname of the exmdb server
forgot to mention, analyzing the script, show a need for additional setting in /etc/gromox/mysql_adaptor.cfg mysql_port=3306 otherwise mysql_port=$(sed -ne 's/mysql_port\s=\s(.*)/-P\1/p' ${MYSQL_CFG}) is a -P without value.
The installation script should enter the port correctly. Without the port probably other parts will not work properly either.
WalterH the installation script does not set the parameter for mysql_port
* writelog "Config stage: database configuration" setconf /etc/gromox/mysql_adaptor.cfg mysql_username "${MYSQL_USER}" setconf /etc/gromox/mysql_adaptor.cfg mysql_password "${MYSQL_PASS}" setconf /etc/gromox/mysql_adaptor.cfg mysql_dbname "${MYSQL_DB}" if [ "$MYSQL_INSTALL_TYPE" = 1 ]; then setconf /etc/gromox/mysql_adaptor.cfg schema_upgrade "host:${FQDN}" fi '
The system log would have the answer.
# journalctl -b ... Feb 27 19:37:20 mail1 systemd[1]: gromox-http.service: Main process exited, code=killed, status=11/SEGV
Fix is coming in gromox-2.4.42.g5ea5e52fa.
gromox-2.3.122.14afd7d grommunio-index-0.1.27.91517d1
grommunio-index-run.sh[13728]: [FATAL] Send failed: Connection refused systemd[1]: grommunio-index.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
had to implement "-e mail-host01" again to get it running
Alf06
next release covers distributed setups.
Similar issue for me. But I use -e ip6-localhost, which is more generic.
-e ip6-localhost
I stated a number of times in different threads that this needs to be included, but nobody is ever picking it up. Please....
Leider habt ihr aber immer noch "localhost" verwendet und nicht "ip6-localhost". Damit kommt es zumindest unter Debian in bestimmten Konstellationen unverändert zum Fehler [FATAL] Send failed: Connection refused
[FATAL] Send failed: Connection refused
Um das zu beheben muss in der /usr/sbin/grommunio-index-run.sh die COALESCE Funktion auf COALESCE(s.hostname, "ip6-localhost") geändert werden.
/usr/sbin/grommunio-index-run.sh
COALESCE(s.hostname, "ip6-localhost")
weini
ip6-localhost ist auch nicht die antwort - suse vs. deb:
/etc/hosts (suse):
127.0.0.1 localhost ::1 localhost ipv6-localhost ipv6-loopback
vs. /etc/hosts (deb):
127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback
beachte das fehlende v mit prefer ipv6-to-ipv4 (auch bei debian default), gerade getestet mit 11.6:
ping localhost PING localhost(localhost (::1)) 56 data bytes 64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.021 ms
in pursuit of happiness: https://github.com/grommunio/grommunio-index/commit/aef1495ec8e1e48482a120c8d671130c7f204678
mwilliams in pursuit of happiness: https://github.com/grommunio/grommunio-index/commit/aef1495ec8e1e48482a120c8d671130c7f204678
1000 Dank, manchmal hilft eben nur die Brechstange
© 2020-2023 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Imprint