Some IOL nodes crashing after start

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

debugnetiq1
Posts: 6
Joined: Sun Sep 10, 2017 11:22 pm

Re: Some IOL nodes crashing after start

Post by debugnetiq1 » Sun Jul 06, 2025 3:10 am

Looking at very old eve-ng source code on github (vers 0.9)
https://github.com/dainok/unetlab/tree/master
I can see the error in iol_functions.c : int mk_afsocket(int *wrapper_socket, int *iol_socket) {
...
int iol_id = device_id;
int wrapper_id = iol_id + 512;
...
sprintf(tmp, "%u", wrapper_id);
strcat(wrapper_socketfile, tmp);

// Creating sockets
if ((rc = afsocket_listen(wrapper_socketfile, iol_socketfile, wrapper_socket, iol_socket)) != 0) {
UNLLog(LLERROR, "Cannot listen at AF_UNIX (%s). ERR: Cannot open AF_UNIX sockets (%i).\n", tmp, rc);
return 2;
}

return 0;
}

In afsocket.c
// AF_UNIX socket: listen
int afsocket_listen(char *server_socketfile, char *remote_socketfile, int *server_socket, int *remote_socket) {
...
remote_addr.sun_family = AF_UNIX;
strncpy(remote_addr.sun_path, remote_socketfile, sizeof(remote_addr.sun_path) - 1);
while (connect(*remote_socket, (struct sockaddr *)&remote_addr, sizeof(struct sockaddr_un)) < 0) {
rc = 2;
UNLLog(LLERROR, "Error while connecting local AF_UNIX: %s (%i)\n",strerror(errno), rc);
return rc;
}
...

Unfortunately there is no way to rebuild the executable with more debug info - the newer source code is no longer open-source.
Anyone has any idea of how to fix it?

debugnetiq1
Posts: 6
Joined: Sun Sep 10, 2017 11:22 pm

Re: Some IOL nodes crashing after start

Post by debugnetiq1 » Sun Jul 06, 2025 3:19 am

Maybe helpwire is a more affordable (https://www.helpwire.app/pricing/) alternative to Anydesk (US$46/mo rip-off)

rusty725
Posts: 368
Joined: Thu Mar 29, 2018 4:19 pm

Re: Some IOL nodes crashing after start

Post by rusty725 » Sun Jul 06, 2025 3:36 am

debugnetiq1 wrote:
Sun Jul 06, 2025 3:19 am
Maybe helpwire is a more affordable (https://www.helpwire.app/pricing/) alternative to Anydesk (US$46/mo rip-off)
anydesk is free to use a for a certain time.

rusty725
Posts: 368
Joined: Thu Mar 29, 2018 4:19 pm

Re: Some IOL nodes crashing after start

Post by rusty725 » Sun Jul 06, 2025 6:54 am

You have an old Eve version 2 which is no longer supported. Download and install Eve CE version 6.x

Post Reply