[Gluster-users] Failed to start gluster daemon from systemd with debug option

Suvendu Mitra suvendu.mitra at gmail.com
Wed Aug 6 08:00:25 UTC 2014


Hi,
When used  --debug option glusterd failed to start from systemd. with
following error

*Failed to create logfile "/dev/stderr" (No such device or address)*


#systemctl status glusterd.service

glusterd.service - GlusterFS an clustered file-system server
   Loaded: loaded (/usr/lib/systemd/system/glusterd.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-08-06 13:53:47 EEST;
2min 24s ago
  Process: 372 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid --debug
(code=exited, status=255)

Aug 06 13:53:47 SN-0 glusterd[372]: ERROR: failed to create logfile
"/dev/stderr" (No such device or address)
Aug 06 13:53:47 SN-0 glusterd[372]: ERROR: failed to open logfile
/dev/stderr
Aug 06 13:53:47 SN-0 systemd[1]: glusterd.service: control process exited,
code=exited status=255
Aug 06 13:53:47 SN-0 systemd[1]: Failed to start GlusterFS an clustered
file-system server.
Aug 06 13:53:47 SN-0 systemd[1]: Unit glusterd.service entered failed state.
[root at SN-0(vNE-01) /usr/lib/systemd/system]

-----------------------------


# gluster --version
*glusterfs 3.4.2 built on Jul 31 2014 17:06:40*
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.

--------------

# cat glusterd.service
[Unit]
Description=GlusterFS an clustered file-system server
After=network.target rpcbind.service
Before=network-online.target

[Service]
Type=forking
PIDFile=/run/glusterd.pid
LimitNOFILE=65536
ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid --debug
KillMode=process

[Install]
WantedBy=multi-user.target
[root at SN-0(vNE-01) /usr/lib/systemd/system]
#




-
Suvendu Mitra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140806/2e7b11fc/attachment.html>


More information about the Gluster-users mailing list