How to debug "Cannot open SWUpdate IPC stream: No such file or directory"

14 views
Skip to first unread message

Geoffrey Lansberry

unread,
Dec 11, 2025, 10:47:19 AM (10 days ago) Dec 11
to swupdate
I'm taking over and continuing some work that a former colleague had started a few years ago.  I have a simple swu file that works fine when run with swupdate -i, but does not work properly when using surricatta and hawkbit.  I'm not sure where to look, but found this group, and hope that someone here can point me in the right direction.

FIrst of all I should let you know that I'm trying to get an older version of swupdate  (v2021.11.0) to work with an older hawkbit (0.3.0)

The first error I get is this one:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/corelib/channel_curl.c : channel_get_file : 1197 : Cannot open SWUpdate IPC stream: No such file or directory 

And it's followed later by these two:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_hawkbit_error : 196 : No suitable .swu image found
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_install_update : 1429 : Error processing update chunk named 'Test Hello', version 1.0, part bApp 

I've tried running "swupdate-ipc hawkbit" but the response is not too helpful "
swupdate-ipc gethawkbit
Sending: '' returned -1
Error: suricatta did respond with NACK.

Thanks in advance for any suggestions
Geoff


The whole log (journalctl -u swupdate):

Dec 11 14:13:36 bot08365 swupdate[26949]: [INFO ] : SWUPDATE running :  [channel_get_file] : Total download size is 1 kB.
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/corelib/channel_curl.c : channel_get_file : 1197 : Cannot open SWUpdate IPC stream: No such file or directory
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [process_notification_thread] : Update log to server from thread
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running :  [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_post_method] : POSTed/PATCHed to http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback: { "id": 19, "time": "20251211T141340", "status": { "result": { "progress": { "cnt" : 0, "of" : 0 }, "finished": "none" }, "execution": "proceeding", "details" : [   ] } }
Dec 11 14:13:40 bot08365 swupdate[26949]: *   Trying 172.17.34.22...
Dec 11 14:13:40 bot08365 swupdate[26949]: * TCP_NODELAY set
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connected to 172.17.34.22 (172.17.34.22) port 7802 (#0)
Dec 11 14:13:40 bot08365 swupdate[26949]: > POST /default/controller/v1/bot08365/deploymentBase/19/feedback HTTP/1.1
Dec 11 14:13:40 bot08365 swupdate[26949]: Host: 172.17.34.22:7802
Dec 11 14:13:40 bot08365 swupdate[26949]: User-Agent: libcurl-agent/1.0
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Type: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: Accept: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: charsets: utf-8
Dec 11 14:13:40 bot08365 swupdate[26949]: Authorization: GatewayToken eae3e48c0457f22f1d3fe2552e646167
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Length: 170
Dec 11 14:13:40 bot08365 swupdate[26949]: [1B blob data]
Dec 11 14:13:40 bot08365 swupdate[26949]: * upload completely sent off: 170 out of 170 bytes
Dec 11 14:13:40 bot08365 swupdate[26949]: < HTTP/1.1 200
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Content-Type-Options: nosniff
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-XSS-Protection: 1; mode=block
Dec 11 14:13:40 bot08365 swupdate[26949]: < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Dec 11 14:13:40 bot08365 swupdate[26949]: < Pragma: no-cache
Dec 11 14:13:40 bot08365 swupdate[26949]: < Expires: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Frame-Options: DENY
Dec 11 14:13:40 bot08365 swupdate[26949]: < Content-Length: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < Date: Thu, 11 Dec 2025 14:13:40 GMT
Dec 11 14:13:40 bot08365 swupdate[26949]: <
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connection #0 to host 172.17.34.22 left intact
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_log_effective_url] : Channel's effective URL resolved to http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_log_reply] : Channel operation returned HTTP status code 200.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [parse_reply] : Got channel reply:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_hawkbit_error : 196 : No suitable .swu image found
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_install_update : 1429 : Error processing update chunk named 'Test Hello', version 1.0, part bApp
Dec 11 14:13:40 bot08365 swupdate[26949]: * Found bundle for host 172.17.34.22: 0xaaaac7b40350 [can pipeline]
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running :  [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
Dec 11 14:13:40 bot08365 swupdate[26949]: * Re-using existing connection! (#23) with host 172.17.34.22
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connected to 172.17.34.22 (172.17.34.22) port 7802 (#23)
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_post_method] : POSTed/PATCHed to http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback: { "id": 19, "time": "20251211T141340", "status": { "result": { "progress": { "cnt" : 0, "of" : 1 }, "finished": "failure" }, "execution": "closed", "details" : [ "No suitable .swu image found" ] } }
Dec 11 14:13:40 bot08365 swupdate[26949]: > POST /default/controller/v1/bot08365/deploymentBase/19/feedback HTTP/1.1
Dec 11 14:13:40 bot08365 swupdate[26949]: Host: 172.17.34.22:7802
Dec 11 14:13:40 bot08365 swupdate[26949]: User-Agent: libcurl-agent/1.0
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Type: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: Accept: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: charsets: utf-8
Dec 11 14:13:40 bot08365 swupdate[26949]: Authorization: GatewayToken eae3e48c0457f22f1d3fe2552e646167
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Length: 198
Dec 11 14:13:40 bot08365 swupdate[26949]: [1B blob data]
Dec 11 14:13:40 bot08365 swupdate[26949]: * upload completely sent off: 198 out of 198 bytes
Dec 11 14:13:40 bot08365 swupdate[26949]: < HTTP/1.1 200
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Content-Type-Options: nosniff
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-XSS-Protection: 1; mode=block
Dec 11 14:13:40 bot08365 swupdate[26949]: < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Dec 11 14:13:40 bot08365 swupdate[26949]: < Pragma: no-cache
Dec 11 14:13:40 bot08365 swupdate[26949]: < Expires: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Frame-Options: DENY
Dec 11 14:13:40 bot08365 swupdate[26949]: < Content-Length: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < Date: Thu, 11 Dec 2025 14:13:40 GMT
Dec 11 14:13:40 bot08365 swupdate[26949]: <
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connection #23 to host 172.17.34.22 left intact
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_log_effective_url] : Channel's effective URL resolved to http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [channel_log_reply] : Channel operation returned HTTP status code 200.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running :  [parse_reply] : Got channel reply:
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running :  [suricatta_wait] : Sleeping

Stefano Babic

unread,
Dec 11, 2025, 10:58:40 AM (10 days ago) Dec 11
to Geoffrey Lansberry, swupdate
Hi Geoff,

On 12/11/25 16:26, Geoffrey Lansberry wrote:
> I'm taking over and continuing some work that a former colleague had
> started a few years ago.  I have a simple swu file that works fine when
> run with swupdate -i, but does not work properly when using surricatta
> and hawkbit.  I'm not sure where to look, but found this group, and hope
> that someone here can point me in the right direction.
>
> FIrst of all I should let you know that I'm trying to get an older
> version of swupdate  (v2021.11.0) to work with an older hawkbit (0.3.0)
>
> The first error I get is this one:
> Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
> ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-
> linux/swupdate/2021.04-r0/git/corelib/channel_curl.c :
> channel_get_file : 1197 : Cannot open SWUpdate IPC stream: No such file
> or directory

SWUpdate has some channels based on UDS sockets that are created at the
startup or by systemd with CONFIG_SYSTEMD=y. As default, they are in
tml, and you should see just after starting the saemon /tmp/swupdateprog
and /tmp/sockinstctrl. If they are not there, nothing works.

You should first verify that sockets are there.

>
> And it's followed later by these two:

These are following errors.

> Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
> ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-
> linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c :
> server_hawkbit_error : 196 : No suitable .swu image found
> Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
> ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-
> linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c :
> server_install_update : 1429 : Error processing update chunk named 'Test
> Hello', version 1.0, part bApp
>
> I've tried running "swupdate-ipc hawkbit" but the response is not too
> helpful "
> swupdate-ipc gethawkbit
> Sending: '' returned -1
> Error: suricatta did respond with NACK.
>

This should be :

ending: '' returned 0
Server returns ACK
status: 0, time: 2025-12-11T16:56:47.000+01

Best regards,
Stefano Babic
> server_hawkbit_error : 196 : No suitable .swu image found
> Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
> ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-
> linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c :
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> swupdate/49a6f7f5-da9b-4b42-8c48-652182e561a7n%40googlegroups.com
> <https://groups.google.com/d/msgid/swupdate/49a6f7f5-
> da9b-4b42-8c48-652182e561a7n%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Geoffrey Lansberry

unread,
Dec 11, 2025, 4:46:06 PM (10 days ago) Dec 11
to swupdate
Thank you - I didn't realize that the swupdate.socket was not running.   as soon as I started it, the /tmp/sockets appeared and everything worked!
Reply all
Reply to author
Forward
0 new messages