Hello,
This morning I got the following error in Terminal as regards Pipewire.
[E][00522.621401] mod.protocol-native | [module-protocol-: 760 lock_socket()] server 0x5c0c19ddd280: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00522.621687] pw.conf | [ conf.c: 584 load_module()] 0x5c0c19db6bc0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00522.622061] default | [ pipewire.c: 105 main()] failed to create context: Resource temporarily unavailable
I am running a Lenovo Idea Pad Slim 3, AMD Ryzen 7. I can use ALSA which seems to be working fine.
Any ideas?
First, see what's currently running:
ps aux | grep -i pipewire
and
ps aux | grep -i pulseaudio
If you see pipewire or pipewire-pulse processes still running, they need to be killed.
Kill existing PipeWire processes
pkill -9 pipewire
pkill -9 pipewire-pulse
pkill -9 wireplumber
(WirePlumber is PipeWire's session manager and should also be restarted.)
Remove or reset the lock file
If killing the processes doesn't work, you can manually remove the stale lock file:
rm /run/user/1000/pipewire-0.lock
After cleanup, restart PipeWire:
systemctl --user restart pipewire pipewire-pulse wireplumber
2 Likes
Hi Nourpon,
I couldn't kill the process, so I tried removing the lockfile and got this response;
rm: cannot remove '/run/user/1000/pipewire-0.lock': No such file or directory
I'm not sure where to go from here.
1 Like
my bad,do that and restart the service
pkill -9 pipewire
pkill -9 pipewire-pulse
pkill -9 wireplumber
systemctl --user restart pipewire pipewire-pulse wireplumber
2 Likes
I did the above and got the original error once I restarted. It's in red if that makes any difference.
[E][00539.890357] mod.protocol-native | [module-protocol-: 760 lock_socket()] server 0x57a8527fb280: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00539.890594] pw.conf | [ conf.c: 584 load_module()] 0x57a8527d4bc0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00539.891127] default | [ pipewire.c: 105 main()] failed to create context: Resource temporarily unavailable
Thank you for the help, I am still learning Linux.
1 Like
What did You wanted to do when that happened?
I was trying to first stop and then reset Pipewire.
What exactly did You typed?
See Nourpon's post above my reply to him.
my bad,do that and restart the service
pkill -9 pipewire
pkill -9 pipewire-pulse
pkill -9 wireplumber
systemctl --user restart pipewire pipewire-pulse
could you give me the output of
ls -la /run/user/1000/pipewire-0.lock
and this
journalctl --user -u pipewire -n 50
Hi Nourpon,
It's very long...
jeff@jeff-IdeaPad-Slim-3-15ARP10:~$ ls -la /run/user/1000/pipewire-0.lock
-rw-rw---- 1 jeff jeff 0 Oct 6 07:52 /run/user/1000/pipewire-0.lock
jeff@jeff-IdeaPad-Slim-3-15ARP10:~$ journalctl --user -u pipewire -n 50
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: Stopped pipewire.ser>
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: pipewire.service: Co>
-- Boot af7155f79c8a47e2ab57563fb6723a82 --
Oct 03 14:39:08 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Started pipewire.ser>
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102323286]>
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102359045]>
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopping pipewire.se>
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopped pipewire.ser>
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: pipewire.service: Co>
-- Boot 61612d2175ae43c1ab98f784645a068b --
Oct 04 08:31:21 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Started pipewire.ser>
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670442854]>
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670476238]>
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopping pipewire.se>
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopped pipewire.ser>
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: pipewire.service: Co>
-- Boot 4c0d0feb0cf340e9a18d22f383bf6d9f --
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Started pipewire.ser>
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374386025]>
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374425694]>
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopping pipewire.se>
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopped pipewire.ser>
-- Boot ce0ed77ff2e84f02b33aac73e798b996 --
lines 1-23...skipping...
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: pipewire.service: Consumed 4.977s CPU time.
-- Boot af7155f79c8a47e2ab57563fb6723a82 --
Oct 03 14:39:08 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Started pipewire.service - PipeWire Multimedia Service.
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102323286] [2395] WARN IPAManager ipa_manager.cpp:1>
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102359045] [2395] INFO Camera camera_manager.cpp:28>
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: pipewire.service: Consumed 46.869s CPU time.
-- Boot 61612d2175ae43c1ab98f784645a068b --
Oct 04 08:31:21 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Started pipewire.service - PipeWire Multimedia Service.
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670442854] [2452] WARN IPAManager ipa_manager.cpp:1>
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670476238] [2452] INFO Camera camera_manager.cpp:28>
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: pipewire.service: Consumed 25.525s CPU time.
-- Boot 4c0d0feb0cf340e9a18d22f383bf6d9f --
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Started pipewire.service - PipeWire Multimedia Service.
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374386025] [2446] WARN IPAManager ipa_manager.cpp:1>
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374425694] [2446] INFO Camera camera_manager.cpp:28>
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopped pipewire.service - PipeWire Multimedia Service.
-- Boot ce0ed77ff2e84f02b33aac73e798b996 --
Oct 05 09:28:24 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Started pipewire.service - PipeWire Multimedia Service.
Oct 05 09:28:25 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2409]: [0:00:11.004472389] [2409] WARN IPAManager ipa_manager.cpp:1>
Oct 05 09:28:25 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2409]: [0:00:11.004503887] [2409] INFO Camera camera_manager.cpp:28>
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: pipewire.service: Consumed 17.794s CPU time.
-- Boot 39789effed7d4072abd3866902bfbd04 --
Oct 06 06:21:44 jeff-IdeaPad-Slim-3-15ARP10 systemd[2494]: Started pipewire.service - PipeWire Multimedia Service.
Oct 06 06:21:45 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2509]: [0:00:10.663511802] [2509] WARN IPAManager ipa_manager.cpp:1>
Oct 06 06:21:45 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2509]: [0:00:10.663544208] [2509] INFO Camera camera_manager.cpp:28>
lines 1-33
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 03 14:38:41 jeff-IdeaPad-Slim-3-15ARP10 systemd[2406]: pipewire.service: Consumed 4.977s CPU time.
-- Boot af7155f79c8a47e2ab57563fb6723a82 --
Oct 03 14:39:08 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Started pipewire.service - PipeWire Multimedia Service.
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102323286] [2395] WARN IPAManager ipa_manager.cp>
Oct 03 14:39:09 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2395]: [0:00:11.102359045] [2395] INFO Camera camera_manager.cpp>
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 03 19:21:10 jeff-IdeaPad-Slim-3-15ARP10 systemd[2380]: pipewire.service: Consumed 46.869s CPU time.
-- Boot 61612d2175ae43c1ab98f784645a068b --
Oct 04 08:31:21 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Started pipewire.service - PipeWire Multimedia Service.
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670442854] [2452] WARN IPAManager ipa_manager.cp>
Oct 04 08:31:22 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2452]: [0:00:10.670476238] [2452] INFO Camera camera_manager.cpp>
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 04 15:23:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2437]: pipewire.service: Consumed 25.525s CPU time.
-- Boot 4c0d0feb0cf340e9a18d22f383bf6d9f --
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Started pipewire.service - PipeWire Multimedia Service.
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374386025] [2446] WARN IPAManager ipa_manager.cp>
Oct 05 09:06:26 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2446]: [0:00:10.374425694] [2446] INFO Camera camera_manager.cpp>
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 05 09:27:59 jeff-IdeaPad-Slim-3-15ARP10 systemd[2431]: Stopped pipewire.service - PipeWire Multimedia Service.
-- Boot ce0ed77ff2e84f02b33aac73e798b996 --
Oct 05 09:28:24 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Started pipewire.service - PipeWire Multimedia Service.
Oct 05 09:28:25 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2409]: [0:00:11.004472389] [2409] WARN IPAManager ipa_manager.cp>
Oct 05 09:28:25 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2409]: [0:00:11.004503887] [2409] INFO Camera camera_manager.cpp>
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: Stopped pipewire.service - PipeWire Multimedia Service.
Oct 05 11:48:52 jeff-IdeaPad-Slim-3-15ARP10 systemd[2394]: pipewire.service: Consumed 17.794s CPU time.
-- Boot 39789effed7d4072abd3866902bfbd04 --
Oct 06 06:21:44 jeff-IdeaPad-Slim-3-15ARP10 systemd[2494]: Started pipewire.service - PipeWire Multimedia Service.
Oct 06 06:21:45 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2509]: [0:00:10.663511802] [2509] WARN IPAManager ipa_manager.cp>
lines 1-32
Hope this helps.
When I just hit enter the below popped up
-- Boot 9c4affa8bc1f4d5c9b66be61a4dc952a --
Oct 06 06:50:23 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: Started pipewire.service - PipeWire Multimedia Service.
Oct 06 06:50:23 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2433]: [0:00:11.635322633] [2433] WARN IPAManager ipa_manager.cp>
Oct 06 06:50:23 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2433]: [0:00:11.635356017] [2433] INFO Camera camera_manager.cpp>
Oct 06 07:47:00 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: pipewire.service: Main process exited, code=killed, status=>
Oct 06 07:47:00 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: pipewire.service: Failed with result 'signal'.
Oct 06 07:47:00 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: pipewire.service: Consumed 7.450s CPU time.
Oct 06 07:47:00 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: pipewire.service: Scheduled restart job, restart counter is>
Oct 06 07:47:00 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: Started pipewire.service - PipeWire Multimedia Service.
Oct 06 07:47:01 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: [0:56:48.914689820] [17909] WARN IPAManager ipa_manager.>
Oct 06 07:47:01 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: [0:56:48.914725579] [17909] INFO Camera camera_manager.c>
Oct 06 07:47:41 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: [0:57:28.873178706] [17909] WARN IPAManager ipa_manager.>
Oct 06 07:47:41 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: [0:57:28.873218726] [17909] INFO Camera camera_manager.c>
Oct 06 07:51:46 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: mod.x11-bell: X11 I/O error handler called on display :0
Oct 06 07:51:46 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: mod.x11-bell: X11 display (:0) has encountered a fatal I/>
Oct 06 07:51:46 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: Stopping pipewire.service - PipeWire Multimedia Service...
Oct 06 07:51:46 jeff-IdeaPad-Slim-3-15ARP10 pipewire[17909]: Asked to handle disabled watch: 0x56d4868bb400 26Asked to>
Oct 06 07:51:46 jeff-IdeaPad-Slim-3-15ARP10 systemd[2415]: Stopped pipewire.service - PipeWire Multimedia Service.
-- Boot cbae4a7ff17b4271983a76bbdf1e7c14 --
Oct 06 07:52:14 jeff-IdeaPad-Slim-3-15ARP10 systemd[2458]: Started pipewire.service - PipeWire Multimedia Service.
Oct 06 07:52:15 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2473]: [0:00:10.731975876] [2473] WARN IPAManager ipa_manager.cp>
Oct 06 07:52:15 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2473]: [0:00:10.732020854] [2473] INFO Camera camera_manager.cpp>
lines 26-57/57 (END)
The error you posted at the beginning (unable to lock lockfile ) is not appearing in the systemd journal
give me the output of
systemctl --user status pipewire
Output is below, thanks.
eff@jeff-IdeaPad-Slim-3-15ARP10:~$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: e>
Active: active (running) since Tue 2026-10-06 13:25:56 EDT; 54min ago
TriggeredBy: ● pipewire.socket
Main PID: 2613 (pipewire)
Tasks: 7 (limit: 16137)
Memory: 10.4M (peak: 11.2M)
CPU: 15.604s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
└─2613 /usr/bin/pipewire
Oct 06 13:25:56 jeff-IdeaPad-Slim-3-15ARP10 systemd[2598]: Started pipewire.ser>
Oct 06 13:25:57 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2613]: [0:00:10.750212273]>
Oct 06 13:25:57 jeff-IdeaPad-Slim-3-15ARP10 pipewire[2613]: [0:00:10.750246076]>
lines 1-14/14 (END)
It says active. I haven't done anything else.
I just hope it's not intermittent...
1 Like
I hope too, just tell us if it happen again 