Error during Carbon...
 
Notifications
Clear all

Error during Carbonio installation via Ansible

2 Posts
2 Users
0 Reactions
9 Views
(@dwinar)
New Member
Joined: 4 years ago
Posts: 1
Topic starter  

Hi all,

This is my first time installing Carbonio using Ansible, and I'm currently doing a test setup. During the installation, I ran into the following error:

TASK [../roles/bootstrap_cluster_services : run Service Discover Bootstrap] ********************************************************************************
fatal: [webmail.dwinar.web.id]: FAILED! => {"changed": true, "cmd": ["/usr/bin/service-discover", "setup", "192.168.1.5", "--password", "9_shm74y-HxpKuPgX:jD"], "delta": "0:00:00.055633", "end": "2025-06-18 07:43:53.933556", "msg": "non-zero return code", "rc": 2, "start": "2025-06-18 07:43:53.877923", "stderr": "panic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x78c27e]\n\ngoroutine 1 [running]:\ngithub.com removed link (*Conn).nextMessageID(...)\n\t removed link ngithub.com removed link (*Conn).SimpleBind(0x0, 0xc00010ee28)\n\t removed link  +0x13e\ngithub.com removed link (*Conn).Bind(0xc00015ae20?, {0xc00015b040?, 0xc00010ef10?}, {0xc0001663f0?, 0x828d60?})\n\t removed link  +0x53\ngithub.com removed link (0xc00012e900, 0x65?)\n\t removed link  +0x1eb\ngithub.com removed link (*ldapContext).QueryAllServersWithService(0x8c9ade?, {0x8be909, 0x10})\n\t removed link  +0x65\ngithub.com removed link (*Setup).isFirstInstance(0xc0001a0018, {0x96d450, 0xc000116e80})\n\t removed link  +0x7b\ngithub.com removed link (*Setup).Run(0xc0001a0018, 0xc0001a0008)\n\t removed link  +0x1b9\nreflect.Value.call({0x88b9e0?, 0xc0001a0018?, 0x8b5700?}, {0x8b6d2a, 0x4}, {0xc000128e40, 0x1, 0x1?})\n\t removed link  +0xca6\nreflect.Value.Call({0x88b9e0?, 0xc0001a0018?, 0xc00010f8b8?}, {0xc000128e40?, 0x8b5700?, 0xc00010f7f8?})\n\t removed link  +0xb9\ngithub.com removed link ({0x88b9e0?, 0xc0001a0018?, 0xc00010fa30?}, 0xc0001cf650)\n\t removed link  +0x45a\ngithub.com removed link (*Context).RunNode(0xc000172180, 0xc0001a20f0, {0xc00010fef8, 0x1, 0x828d60?})\n\t removed link  +0x80e\ngithub.com removed link (*Context).Run(0xc000172180?, {0xc00010fef8?, 0xc00017bf08?, 0x10?})\n\t removed link  +0x132\nmain.main()\n\t removed link  +0x8bc", "stderr_lines": ["panic: runtime error: invalid memory address or nil pointer dereference", "[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x78c27e]", "", "goroutine 1 [running]:", "github.com removed link (*Conn).nextMessageID(...)", "\t removed link ", "github.com removed link (*Conn).SimpleBind(0x0, 0xc00010ee28)", "\t removed link  +0x13e", "github.com removed link (*Conn).Bind(0xc00015ae20?, {0xc00015b040?, 0xc00010ef10?}, {0xc0001663f0?, 0x828d60?})", "\t removed link  +0x53", "github.com removed link (0xc00012e900, 0x65?)", "\t removed link  +0x1eb", "github.com removed link (*ldapContext).QueryAllServersWithService(0x8c9ade?, {0x8be909, 0x10})", "\t removed link  +0x65", "github.com removed link (*Setup).isFirstInstance(0xc0001a0018, {0x96d450, 0xc000116e80})", "\t removed link  +0x7b", "github.com removed link (*Setup).Run(0xc0001a0018, 0xc0001a0008)", "\t removed link  +0x1b9", "reflect.Value.call({0x88b9e0?, 0xc0001a0018?, 0x8b5700?}, {0x8b6d2a, 0x4}, {0xc000128e40, 0x1, 0x1?})", "\t removed link  +0xca6", "reflect.Value.Call({0x88b9e0?, 0xc0001a0018?, 0xc00010f8b8?}, {0xc000128e40?, 0x8b5700?, 0xc00010f7f8?})", "\t removed link  +0xb9", "github.com removed link ({0x88b9e0?, 0xc0001a0018?, 0xc00010fa30?}, 0xc0001cf650)", "\t removed link  +0x45a", "github.com removed link (*Context).RunNode(0xc000172180, 0xc0001a20f0, {0xc00010fef8, 0x1, 0x828d60?})", "\t removed link  +0x80e", "github.com removed link (*Context).Run(0xc000172180?, {0xc00010fef8?, 0xc00017bf08?, 0x10?})", "\t removed link  +0x132", "main.main()", "\t removed link  +0x8bc"], "stdout": "", "stdout_lines": []}

RUNNING HANDLER [../roles/bootstrap_cluster_services : restart_postgres] ********************************************************************************

PLAY RECAP **********************************************************************************************************************************************
webmail.dwinar.web.id : ok=54 changed=40 unreachable=0 failed=1 skipped=121 rescued=0 ignored=0

dwinar@Dwinar-PC:~/.ansible/collections/ansible_collections/zxbot/carbonio_install$

Since this is my first time using Ansible with Carbonio, I'm not yet familiar with the troubleshooting steps. I'd really appreciate any guidance or suggestions from the community. Thanks in advance!


   
Quote
(@sharif)
Reputable Member Admin
Joined: 3 years ago
Posts: 731
 

@dwinar

Hi,

Just to clear the confusion, are you talking about Carbonio or Carbonio CE?

And what is your Hostname and /etc/hosts configuration?

regards,


   
ReplyQuote