[Home]

Summary:ASTERISK-16823: asterisk -rnx causes many errors on broken pipe
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2010-10-18 06:52:47Date Closed:2017-12-12 22:18:03.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Running from the CLI (in order to get immediate logs:

sweetmorn*CLI> logger show channels
Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
/var/log/asterisk/full              File     Enabled    - Debug Verbose Warning Notice Error
/var/log/asterisk/messages          File     Enabled    - Warning Notice Error
                                   Console  Enabled    - Warning Notice Error

sweetmorn*CLI> !asterisk -rx 'core show help' | true

(no problem at all)

sweetmorn*CLI> !asterisk -rnx 'core show help' | true

Results in screenful of messages such as:
[Oct 18 13:50:56] ERROR[8940]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Oct 18 13:50:56] ERROR[8940]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
Comments:By: Leif Madsen (lmadsen) 2010-10-18 07:13:32

OK, thanks for the information. This is likely going to be the rock bottom of the priority list because I have no idea why you would want to do this :)

If you're able to resolve the issue, feel free. This is likely only going to get resolved by a community member.

By: Corey Farrell (coreyfarrell) 2017-12-12 22:18:03.662-0600

I'm unable to reproduce this issue with Asterisk 13 or current master, so I'm marking this fixed.