Bug 97405 - Errors in authkey.c, pid.c, module.c, main.c
Summary: Errors in authkey.c, pid.c, module.c, main.c
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 09:35 UTC by Yousha Aleayoub
Modified: 2018-07-30 09:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Yousha Aleayoub 2016-08-19 09:35:03 UTC
Fujitsu laptop x64 - Slackware 14.2 64-bit, Realtek audio

1:35:34 pulseaudio[1650]: [pulseaudio] authkey.c: Failed to open
cookie file '/root/.config/pulse/cookie': No such file or directory
21:35:34 pulseaudio[1650]: [pulseaudio] authkey.c: Failed to load
authentication key '/root/.config/pulse/cookie': No such file or
directory
21:35:34 pulseaudio[1650]: [pulseaudio] authkey.c: Failed to open
cookie file '/root/.pulse-cookie': No such file or directory
21:35:34 pulseaudio[1650]: [pulseaudio] authkey.c: Failed to load
authentication key '/root/.pulse-cookie': No such file or directory
21:35:35 pulseaudio[1672]: [pulseaudio] pid.c: Daemon already running.
21:35:35 pulseaudio[1675]: [pulseaudio] pid.c: Daemon already running.
22:39:28 pulseaudio[1947]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:28 pulseaudio[1947]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:28 pulseaudio[1947]: [pulseaudio] main.c: Module load failed.
22:39:28 pulseaudio[1947]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:28 pulseaudio[1944]: [pulseaudio] main.c: Daemon startup failed.
22:39:28 pulseaudio[1952]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:28 pulseaudio[1955]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:28 pulseaudio[1955]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:28 pulseaudio[1955]: [pulseaudio] main.c: Module load failed.
22:39:28 pulseaudio[1955]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:28 pulseaudio[1952]: [pulseaudio] main.c: Daemon startup failed.
22:39:28 pulseaudio[1958]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:28 pulseaudio[1961]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:28 pulseaudio[1961]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:28 pulseaudio[1961]: [pulseaudio] main.c: Module load failed.
22:39:28 pulseaudio[1961]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:28 pulseaudio[1958]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[1965]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[1968]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[1968]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[1968]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[1968]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[1965]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[1972]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[1975]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[1975]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[1975]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[1975]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[1972]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[1981]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[1984]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[1984]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[1984]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[1984]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[1981]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[1989]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[1992]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[1992]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[1992]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[1992]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[1989]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[1997]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[2000]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[2000]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[2000]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[2000]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[1997]: [pulseaudio] main.c: Daemon startup failed.
22:39:29 pulseaudio[2005]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:29 pulseaudio[2008]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:29 pulseaudio[2008]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:29 pulseaudio[2008]: [pulseaudio] main.c: Module load failed.
22:39:29 pulseaudio[2008]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:29 pulseaudio[2005]: [pulseaudio] main.c: Daemon startup failed.
22:39:30 pulseaudio[2013]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:30 pulseaudio[2016]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:30 pulseaudio[2016]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:30 pulseaudio[2016]: [pulseaudio] main.c: Module load failed.
22:39:30 pulseaudio[2016]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:30 pulseaudio[2013]: [pulseaudio] main.c: Daemon startup failed.
22:39:30 pulseaudio[2021]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:30 pulseaudio[2024]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:30 pulseaudio[2024]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:30 pulseaudio[2024]: [pulseaudio] main.c: Module load failed.
22:39:30 pulseaudio[2024]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:30 pulseaudio[2021]: [pulseaudio] main.c: Daemon startup failed.
22:39:32 pulseaudio[2037]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:32 pulseaudio[2040]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:32 pulseaudio[2040]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:32 pulseaudio[2040]: [pulseaudio] main.c: Module load failed.
22:39:32 pulseaudio[2040]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:32 pulseaudio[2037]: [pulseaudio] main.c: Daemon startup failed.
22:39:58 pulseaudio[2049]: [pulseaudio] client-conf-x11.c:
xcb_connection_has_error() returned true
22:39:58 pulseaudio[2052]: [pulseaudio] socket-server.c: bind():
Address already in use
22:39:58 pulseaudio[2052]: [pulseaudio] module.c: Failed to load
module "module-esound-protocol-unix" (argument: ""): initialization
failed.
22:39:58 pulseaudio[2052]: [pulseaudio] main.c: Module load failed.
22:39:58 pulseaudio[2052]: [pulseaudio] main.c: Failed to initialize daemon.
22:39:58 pulseaudio[2049]: [pulseaudio] main.c: Daemon startup failed.
Comment 1 Tanu Kaskinen 2016-08-20 15:42:01 UTC
    authkey.c: Failed to open cookie file '/root/.config/pulse/cookie':
        No such file or directory
    authkey.c: Failed to load authentication key '/root/.config/pulse/cookie':
        No such file or directory
    authkey.c: Failed to open cookie file '/root/.pulse-cookie':
        No such file or directory

The cookie errors are generally harmless. However, this shows that you're trying to run pulseaudio as root. That's a bad idea, unless there are no real users on the system.

    pid.c: Daemon already running.

That means that something tried to start pulseaudio when pulseaudio was already running.

    socket-server.c: bind(): Address already in use
    module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.

That means that the esound socket is already reserved when pulseaudio tries to start listening on it. Probably another pulseaudio instance is running and has reserved it. Assuming that you don't have any esound applications, you can remove the esound module from /etc/pulse/default.pa.

    client-conf-x11.c: xcb_connection_has_error() returned true

DISPLAY is set, but connecting to X11 fails. This is not a serious problem in itself, but indicates that something is weird on your system.
Comment 2 Yousha Aleayoub 2016-08-20 21:52:43 UTC
IK what does those messages mean, but it happened in a FRESH system! 
specially "Daemon already running." and "Module load failed."
Comment 3 Tanu Kaskinen 2016-08-21 00:47:22 UTC
So none of this is a result of your own actions, this stuff just appears in the log without you doing anything?

It seems that Slackware sets allow-autospawn-for-root in /etc/pulse/client.conf. It shouldn't do that. That option (which is not even included in upstream, the patch originates from OpenEmbedded) is only safe to use when root is the only user. Try disabling that option.
Comment 4 GitLab Migration User 2018-07-30 09:59:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/153.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.