Project

General

Profile

Bug #7820

Pulseaudio error Failed to open volume database

Added by r a almost 3 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-01-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The following error is generated because the permissions on the ~/.config/pulse directory are incorrect, they default to rwx------ which prevents the volume database from being opened.
Resetting the permissions to rwxr-x--- or rwxr-xr-x will correct the issue

Jan 28 13:57:17 tesla pulseaudio1236: [ID 295310 user.error] [(null)] module-device-restore.c: Failed to open volume database '/home/russell/.config/pulse/ce41a7037b30eebdefda138d000000f5-device-volumes': I/O error
Jan 28 13:57:17 tesla pulseaudio1236: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-device-restore" (argument: ""): initialization failed.
Jan 28 13:57:17 tesla pulseaudio1236: [ID 295310 user.error] [(null)] main.c: Module load failed.
Jan 28 13:57:17 tesla pulseaudio1236: [ID 295310 user.error] [(null)] main.c: Failed to initialize daemon.
Jan 28 13:57:17 tesla pulseaudio1233: [ID 295310 user.error] [(null)] main.c: Daemon startup failed.
Jan 28 13:57:19 telsa pulseaudio1270: [ID 295310 user.error] [(null)] pid.c: Daemon already running.

History

#1

Updated by Alexander Pyhalov almost 3 years ago

Does rm -fr ~/.pulse help ? Perhaps, it's the issue with updated pulseaudio trying to read files from old version. New configs should live in ~/.config/pulse

#2

Updated by r a almost 3 years ago

I have tried removing the ~/.pulse directory does not exist.

The problem lies with the permissions of the ~/.config/pulse directory which are rwx------ if I change the permissions to rwxr-x--- rwxr-xr-x before logging out and log back in the error message no longer appears.

After a reboot the ~/.config/pulse directory always defaults to rwx------ so the error always appears.

#3

Updated by Aurélien Larcher almost 3 years ago

How come you have the line below:

Jan 28 13:57:19 telsa pulseaudio1270: [ID 295310 user.error] [(null)] pid.c: Daemon already running.

#4

Updated by Alexander Pyhalov almost 3 years ago

Does someone know, why permissions matter, when pulseaudio run as user?

#5

Updated by r a over 2 years ago

Hi,
I have upgrade to OpenIndiana Hipster 2017.04 Assembed on 01 May 2017 and illumos-dea5823132, however I am still having from problems with pulseaudio.
While I can use VLC to play video and audio, playing youtube videos works but I do not get any audio.
When I use the Sound control to adjust the settings it reports no devices and it is not possible to configure.

May 30 19:59:21 tesla pulseaudio1931: [ID 295310 user.error] [(null)] module-device-restore.c: Failed to open volume database '/home/russell/.config/pulse/ce41a7037b30eebdefda138d000000f5-device-volumes': I/O error
May 30 19:59:21 tesla pulseaudio1931: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-device-restore" (argument: ""): initialization failed.
May 30 19:59:21 tesla pulseaudio1931: [ID 295310 user.error] [(null)] hook-list.c: Assertion '!slot->dead' failed at pulsecore/hook-list.c:83, function pa_hook_slot_free(). Aborting.
May 30 19:59:21 tesla pulseaudio1905: [ID 295310 user.error] [(null)] main.c: Daemon startup failed.
May 30 19:59:22 tesla pulseaudio1952: [ID 295310 user.error] [(null)] pid.c: Daemon already running.
May 30 20:08:11 tesla pulseaudio1946: [ID 295310 user.error] [solaris] sink.c: Assertion '!pa_thread_mq_get()' failed at pulsecore/sink.c:2229, function pa_sink_set_mute(). Aborting.

After changing the permissions on the /home/russell/.config/pulse directory from 700 to 755 then logging out and immediately logging back in, the logs indicate the following

May 30 20:31:54 tesla pulseaudio2117: [ID 295310 user.error] [(null)] module-device-restore.c: Failed to open volume database '/home/russell/.config/pulse/ce41a7037b30eebdefda138d000000f5-device-volumes': I/O error
May 30 20:31:54 tesla pulseaudio2117: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-device-restore" (argument: ""): initialization failed.
May 30 20:31:54 tesla pulseaudio2117: [ID 295310 user.error] [(null)] hook-list.c: Assertion '!slot->dead' failed at pulsecore/hook-list.c:83, function pa_hook_slot_free(). Aborting.
May 30 20:31:54 tesla pulseaudio2115: [ID 295310 user.error] [(null)] main.c: Daemon startup failed.

Now when I used the Sound preferences now show Audio devices for both Input and Output.

#6

Updated by Aurélien Larcher 3 months ago

  • Status changed from New to Closed

Closing as the version is obsolete.

Also available in: Atom PDF