Failed to start gluster daemon from systemd with debug option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@SN-0(vNE-01) /usr/lib/systemd/system]





Suvendu Mitra

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux