delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/03/01/06:57:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DFFD83858D33
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1677671815;
bh=1ZtetPXK9fvkrIcN65Cyk52zUDCfeSHbVuJhJWF3hEM=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=I7UzO1k7w9HvssjRyVdTdTMPPGhXoZCL81F0V6m1U0EoGEVXe+dokX/Z+KKbTlR4J
v4LO2N1kkNpsc1fO4FxT9TgEr/9mXqvrbuq69wHz0PM5SUXL4l4zKPqNHUUnNWMcFW
c3d7ItaZt33SA1anua4DlQr4TL2+rzxDdOspg6PM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3F563858D33
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=mw16Xg4CLAyj6FUlQ1GWm8EDvJb2Z6PnirH8Pg9OC0wgBQjhPtN32En1ch/czy/ZO1HN8LBYqqGwp5lAoigWtS1fq1Vo/moESKQF/cxO+wcmas3XsmlGho0nLEApE8ul3Zq0MdFW9AeG28/TJJ5zvhOkwcLFZYzjcaZkB5pM3oejqCmAotLcTCm0+Rz5BMCf1cZ5ZuSldU02xjh629dEUUlZx/xijjrcGejwHZIyhRqE6FDfgu0xe9JXIzrSrSwNB76rL4nd720pjR+UeCxmoM1tdRrP6Qk2dAOGTVF1NmQZLYyo4FgritiHYFo8/uy3Ust53MQyKAD5aHNN4x0o1Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=gwinAG2u8hq06Ix12q61Z+fQq17aGOKYgkLE62hjwio=;
b=NZ6LUKgajQfPsPWl5xwTYx+08izHg8R20XCIYL1yuiancr3r/EZnLHQhTrUYrq1w10NXdi01WQ89Jlr6FrkOXnQSlDITUh8DYKgAvFCXeyyA1pusGS8Z2oH39MlF5ZaNEMB3vmA/YGBIOSGcGtZzTOciq+zBDsSjTDJYDgZ1U46g2i2MfXZ5XdaHmuhTIf0NpnFJn0o6/B7mS+HC628UCp3oZhUm6e0B4/BdrJNW02RzAszq9eQOJzTlDveNVbgjiSIDlrewrlXu4O3S/lfE/4p6eXWUcCy/yo0SdROAvEKyZCqvmSDyWq2GstzXeg0f5L4uU63c7IYjLcx1QR2hQA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
Message-ID: <PH0PR05MB9918670DD03942C96BE6187AA4AD9@PH0PR05MB9918.namprd05.prod.outlook.com>
Date: Wed, 1 Mar 2023 19:56:20 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Subject: Re: [ERROR] msgget() "Function not implmented" Error : Cygwin
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <PH0PR05MB991839979E718043F9917BCEA4AC9 AT PH0PR05MB9918 DOT namprd05 DOT prod DOT outlook DOT com>
<Y/3XcBIH3zo7knRZ AT calimero DOT vinschen DOT de>
In-Reply-To: <Y/3XcBIH3zo7knRZ@calimero.vinschen.de>
X-TMN: [tLOCdElSz/4vNoX6F5qkQGB/3B2b3JZz]
X-ClientProxiedBy: SG2PR04CA0208.apcprd04.prod.outlook.com
(2603:1096:4:187::10) To PH0PR05MB9918.namprd05.prod.outlook.com
(2603:10b6:510:299::5)
X-Microsoft-Original-Message-ID: <f570ee8f-3ff4-82e2-5121-c38246fa490c AT hotmail DOT com>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH0PR05MB9918:EE_|BYAPR05MB5111:EE_
X-MS-Office365-Filtering-Correlation-Id: 6a3f3c70-b60e-4326-66f8-08db1a4c0237
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: ccv165az9h+VR33vYTamrMBcyMp1tuvDOjqnwd55anU19aohDlU7In/LuAq9vW52KOHBdeY88IiklC4xExG0kibgSzS70AqfqOOuL7RWezVbKk1Jq8NleQ382FtjqsSbCkbU1UiK7EazPbt3sKLvNQO/aqOmgN8/EYS5iu2L8jbNiSFJrGSX3KYFQTCh+ljTXYV/pw0NxdVsBYKsAsKSMe/Zwi/hccmwWoGZTpbIhKjrhiM3Lz9hom/PCJ9lXDEa5YRy7jG89O9T8+cleUsFiLoWTVFX95q1VeLIX8qDcZ92Gcv0twum5xH7J0cX69iMMdvcSlfPXSOr3s48AyrWAhg4v3oXRnp+LnHUrOw48DFIdRJNi6v+j4ZOY3847ud7wkAfVWY3KZUjdqDE3xa3JTAaM8eGYtQkaE+brJCnisVB/+/DrEcJTr0csz6KFmufwFPSmlcvraCn8PRDWEvd0LEWtBotKH2ZB3RXsa8mqYgBnNrlZBHpDQum5f9i/rU1Gftn1o2zYUVhfvqw4t20ZCT/EGKlMIUITdV3DCRsm/HvdKrarn0foY3hupCX2WJ9hhuSCx71ja2eFRkWV+0zW+rYEF3iCSfq/32N6F4hDSZzdSME7VD0Wx8L/MAxlPVG2ScJYAH4RRXIjpkZhd2HNoWWUt352kbthzyQxofnqLc=
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?clBqQnlxS1dhQVVHb1FFcjVkeE8yVTczbkJ4WE5jRGlhVVlpcUYwRlg5QnJv?=
=?utf-8?B?Y1Q3NVNiK1g5U0RRRmxPQS9VQVFCRDZjRklsO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VEdXdhZTNCRG5aZnRGUjRpZFhHbHZyTysxeWh6dGFMcFVFS0h6Z3Q0K2lE?=
=?utf-8?B?NXVOZ3hndHpFUzhjeFBzSU15dEJOWnQ5MjYrYUJsVDVZQktHdWdwWXhYRlNM?=
=?utf-8?B?VGNvM1gwS2tBMDFZS3FBS0FjYWJETWF6K25MSTJKZ0VkNzFvTjRqcFRESzNn?=
=?utf-8?B?QVhmMTVnOE5WZVBjbUthLzJJbENBVHQ0a3gzV0c2Y05VeWRxendOaFhHcjBn?=
=?utf-8?B?UjhQaVVoQlc1dWdpdUxsbVk4dklCVWREdjhmM04zM2Y5bHdYOTk3aHBQNTJW?=
=?utf-8?B?bVlCMlowaGRXQ21rQ2hFQ013cUlhdGIzTG1aTkY2OVJOdjFvTUZLVWxINHE1?=
=?utf-8?B?Ujd3ckhieWhNenQzTHBaaWFRNHQ1R0tBcmtnSUR4MXNXWXN1SDN1eU8zVkJO?=
=?utf-8?B?ZXhUaEFrMUZvSjcwbFRkdjgvcklyZTdmTitxbGFYMU9EaXdrTm1sUXlxVGRm?=
=?utf-8?B?ZERmdnR0amxnYVo5SGI3c1pWdlQ0NkhHRmpvTTkvNE82RDZGS1NIek16ODBU?=
=?utf-8?B?cFY5NC9BbHViVEgySlhyeXlZSmRmSVdCS2EzM201eTh1dmlmcUdRYnZaUjJR?=
=?utf-8?B?eERKMlZWQmw2NHJaYytjcE42V3A0MlJ4Wno4NWF3dktubmV2MityUWZVUWZj?=
=?utf-8?B?RHBRSWNNZkFVMnlydHZxOGhwTStRWTVOREZweWkrZ1VDSjBMcGR3bll3Vkpt?=
=?utf-8?B?d1g4MzVxb2M5anBZSHhhSEF2TGZBOGVhKzFyZXI3RmZibm0yS2VHRVFBPT0=?=
X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 6a3f3c70-b60e-4326-66f8-08db1a4c0237
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB9918.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 11:56:36.5390 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5111
X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_MUA_MOZILLA, FREEMAIL_FROM,
HTML_MESSAGE, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Yeo Kai Wei via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Yeo Kai Wei <yeokaiwei AT hotmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 321BvKCg014362

Hi Corinna,

Thank you for the help.

I tried following the instructions on 
https://cygwin.com/cygwin-ug-net/using-cygserver.html#start-cygserver

There was a line, "Before you run Cygserver for the first time, you 
should run the /usr/bin/cygserver-config script once."

I googled for some instructions and it said to use "cygserver-config" in 
the Cygwin terminal.

I did it and the following is the reply from the terminal.

*Without admin privileges*

"$ cygserver-config
Generating /etc/cygserver.conf file
chown: changing ownership of '/etc/cygserver.conf': Permission denied


Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes
/usr/bin/cygserver-config: line 181: cygrunsrv: command not found

Installation of cygserver as service failed.  Please check the
error messages you got.  They might give a clue why it failed.

A good start is either you don't have administrator privileges
or a missing cygrunsrv binary.  Please check for both."


*With admin privileges*
"$ cygserver-config
Overwrite existing /etc/cygserver.conf file? (yes/no) yes
Generating /etc/cygserver.conf file


Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes
/usr/bin/cygserver-config: line 181: cygrunsrv: command not found

Installation of cygserver as service failed.  Please check the
error messages you got.  They might give a clue why it failed.

A good start is either you don't have administrator privileges
or a missing cygrunsrv binary.  Please check for both."


May I ask what I should do next?


Thank you very much.


Kind Regards,

YEO Kai Wei

P.S. How do you convert to using POSIX message queues in Cygwin?


On 28/2/2023 6:29 pm, Corinna Vinschen wrote:
> On Feb 28 18:13, Yeo Kai Wei via Cygwin wrote:
>> Hi Cygwin,
>>
>> May I ask if there will be an implementation of msgget() on Cygwin for
>> Windows?
> There is, for ages.  However, you have to run cygserver for that
> to work:
>
>    https://cygwin.com/cygwin-ug-net/using-cygserver.html
>
> If cygserver isn't running, the XSI IPC functions return ENOSYS.
>
> Alternatively, convert your tool to using POSIX message queues, those
> are using a file backed solution and don't require cygserver.
>
>
> Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019