[Serusers] Permission denied
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Mon Dec 1 19:23:20 CET 2003
On Dec 01, 2003 at 19:09, Claus Thrane <thrane at dumtsvin.dk> wrote:
> Hello I have tryed installing SER on two Debian(I386) servers, on both
> mashines i get the following error in the syslog, while running "serctl
> moni"
>
> Nov 30 13:38:45 *host* /usr/sbin/ser[24949]: ERROR: open_reply_pipe:
> open error (/tmp/ser_receiver_25028): Permission denied
> Nov 30 13:38:45 *host* /usr/sbin/ser[24949]: ERROR: fifo_reply: no reply
> pipe /tmp/ser_receiver_25028
>
> what am I missing.
serctl creates a fifo where it expects ser's reply.
It seems the reply fifo created for "moni" has no write permissions for
"other".
Solutions:
- change serctl (search for moni and add "chmod a+w $path" after
mkfifo $path)
- change umask before running serctl
- run serctl sgid or suid ser
- run ser as root (in /etc/init.d/ser change -u ser -g ser to -u root)
-- not recommended
- don't run serctl moni :-)
Andrei
More information about the sr-users
mailing list