Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B7E4E200C02 for ; Fri, 6 Jan 2017 06:50:58 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B67D9160B42; Fri, 6 Jan 2017 05:50:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0AAAD160B33 for ; Fri, 6 Jan 2017 06:50:57 +0100 (CET) Received: (qmail 39525 invoked by uid 500); 6 Jan 2017 05:50:57 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 39514 invoked by uid 99); 6 Jan 2017 05:50:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 05:50:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9E410C0258 for ; Fri, 6 Jan 2017 05:50:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.452 X-Spam-Level: X-Spam-Status: No, score=-0.452 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 9fLMDc5yNR6j for ; Fri, 6 Jan 2017 05:50:52 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2D6415FD36 for ; Fri, 6 Jan 2017 05:50:52 +0000 (UTC) Received: from [139.2.4.130] by 3capp-gmx-bs33.server.lan (via HTTP); Fri, 6 Jan 2017 06:50:50 +0100 MIME-Version: 1.0 Message-ID: From: "Jens Offenbach" To: user@karaf.apache.org Subject: Aw: Shell commands are unavailable #1 Content-Type: text/plain; charset=UTF-8 Date: Fri, 6 Jan 2017 06:50:50 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:JzJ4kVqp5cfr8oEIZN+gK1Qr9ZdZ5IJtFBnLZO5579N yjJlpDq/6DLzC2Ft1xJfaf1x+O3oIyXGv9NKCqMdYXZ5HCR32C 4QJGyERu9E7BKn/1gP3emjE0K75fn7H9kkUKTR6+E+oGn5tNzg Ca4ZedFVbDeP1QSNukvWnFlTwNtJJnDUBwd+v318vGAWz6WQTK X88Z58jZxpiECe7MAoPQF0y1ucz8wt+QOT79225z7fNg+J5DC3 a5fAOiGKfGBgy8FUstiBG7LBIyG6uVj3QdLMq1cA6aUilS4usY WXG3X8= X-UI-Out-Filterresults: notjunk:1;V01:K0:++kqxnG7lQM=:oVR4/4/UZSaHw1BL0yns48 ZgL+qwNvGe1tDrPaYnA2aCvkJ/zGvjTwyAHJxAHfpCtDrs29NleDTJzUitYMiAIqB65OO5WI/ 8EVQYk7qpwbarGfg7Bg8DcJ8OWrjOm87pRyWb69G9UetjUHTABdrPsnu7MqjTG55fhVyDlZ0J K1iF038Rn6J4nUn6ywyt3eaLclHaOCd42c8B/AZMXhunKAfHXqgssjrHy59buDsuqZX+5cdqk g0hCTlEzp7ckRGO+SchDq5VxWUW7g4hnIEaq64F4Yj35dcC6F5wWpz6QwcFi6bGt+ipE7xFRb qNhq3pjsFsxEkjMPxL7zxb7RFoJMkb1jJf3HXJHTYX7YCIGqSFwGLqADMTshmoPxXZrIFJMPr imkVXxYwVqPVsa4m19Ql1LWNlpA5D46Bv03mzWG0MONZWkVQmKzDr44BnF3MIN2hi5tDuhDx9 5XAI7ca630Sdm+O4bCHthLuzI1iq38sNsOI8GnMnr0XSiIUw7gHHlxoKr7mkvM2Fu0YuRvFuo wWIxnXNeVnGqaA4Cp/ZR7F6KGOtJvi2KZYYyI8QwjLy8NvwhvfbyoFFqFUagv57qLSuilvyql Qq6TTLmCbHr8k/q1SBnucdkJQeaQWuYtHHt1lBdzBezKGm2s4VSU0hQd6wguwe6q4MmrGsLL8 zSiqIf2up6BlgIZzlU7eUFuekde7SqwytacZB2mE5BsW77g== archived-at: Fri, 06 Jan 2017 05:50:58 -0000 The problem seems to occur only when using the "shell" script from the "bin= " folder=2E Using "=2E/start", followed by "=2E/client", the commands "syst= em:shutdown" and "logout" are working properly=2E Jens Gesendet:=C2=A0Freitag, 06=2E Januar 2017 um 06:43 Uhr Von:=C2=A0"Jens Offenbach" An:=C2=A0user@karaf=2Eapache=2Eorg Betreff:=C2=A0Shell commands are unavailable Hi, I am using Apache Karaf 4=2E1=2E0-Snapshot and in the current snapshot rel= ease, there seems to be a problem regarding shell commands=2E I have opened= the following issue: https://issues=2Eapache=2Eorg/jira/browse/KARAF-4926= =2E But things seem to be much more problematic=2E Even the "logout" comman= d is reported as unavailable=2E I am using the last snapshot (apache-karaf-4=2E1=2E0-20170105=2E165025-279= =2Etar=2Egz") from the Apache snapshot repository=2E Give it a try: $ =2E/shell [org=2Eapache=2Ekaraf=2Eshell=2Eimpl=2Econsole=2EConsoleSessionImpl] : com= pletionMode property is not defined in etc/org=2Eapache=2Ekaraf=2Eshell=2Ec= fg file=2E Using default completion mode=2E __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4=2E1=2E0-SNAPSHOT) Hit '' for a list of available commands and '[cmd] --help' for help on a specific command=2E Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf=2E karaf@root()> logout [org=2Eapache=2Ekaraf=2Eshell=2Esupport=2EShellUtil] : Unknown command ent= ered org=2Eapache=2Efelix=2Egogo=2Eruntime=2ECommandNotFoundException: Command = not found: logout at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteCmd(Closure=2E= java:549) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteStatement(Clos= ure=2Ejava:478) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2Eexecute(Closure=2Ejav= a:367) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2EdoCall(Pipe=2Ejava:417) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:229) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:59) at java=2Eutil=2Econcurrent=2EFutureTask=2Erun(FutureTask=2Ejava:266) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor=2ErunWorker(ThreadPoolExe= cutor=2Ejava:1142) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor$Worker=2Erun(ThreadPoolEx= ecutor=2Ejava:617) at java=2Elang=2EThread=2Erun(Thread=2Ejava:745) Command not found: logout karaf@root()> system:shutdown [org=2Eapache=2Ekaraf=2Eshell=2Esupport=2EShellUtil] : Unknown command ent= ered org=2Eapache=2Efelix=2Egogo=2Eruntime=2ECommandNotFoundException: Command = not found: system:shutdown at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteCmd(Closure=2E= java:549) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteStatement(Clos= ure=2Ejava:478) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2Eexecute(Closure=2Ejav= a:367) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2EdoCall(Pipe=2Ejava:417) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:229) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:59) at java=2Eutil=2Econcurrent=2EFutureTask=2Erun(FutureTask=2Ejava:266) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor=2ErunWorker(ThreadPoolExe= cutor=2Ejava:1142) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor$Worker=2Erun(ThreadPoolEx= ecutor=2Ejava:617) at java=2Elang=2EThread=2Erun(Thread=2Ejava:745) Command not found: system:shutdown This is a hard blocker right now=2E May someone please have a look at this= =2E Thanks a lot! Regards, Jens