karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvaro Marco (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5056) Error executing command: [25] Inappropriate ioctl for device with Karaf-4.1.0 in ARM (BeagleBone)
Date Thu, 23 Mar 2017 06:45:42 GMT
Alvaro Marco created KARAF-5056:
-----------------------------------

             Summary: Error executing command: [25] Inappropriate ioctl for device with Karaf-4.1.0
in ARM (BeagleBone)
                 Key: KARAF-5056
                 URL: https://issues.apache.org/jira/browse/KARAF-5056
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.1.0
         Environment: Beagle Bone Black / Green, Java 1.8.0_91 / 1.8.0_112
            Reporter: Alvaro Marco


When starting a fresh distribution of apache-karaf-4.1.0 on the BeagleBone with bin/karaf,
the following is displayed:

{code}
root@beaglebone:~/sandbox/apache-karaf-4.1.0# bin/karaf
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (4.1.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.

Error executing command: [25] Inappropriate ioctl for device
{code}

and returns to the shell

The karaf.log register this:

{code}
...
2017-03-23T06:25:18,543 | INFO  | pool-13-thread-1 | core                             | 16
- org.apache.aries.jmx.core - 1.1.7 | Registering org.osgi.jmx.framework.PackageStateMBean
to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@481248 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=385edf94-736d-4596-99ef-60ac10d44e88
2017-03-23T06:25:18,576 | INFO  | pool-13-thread-1 | core                             | 16
- org.apache.aries.jmx.core - 1.1.7 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean
to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@481248 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=385edf94-736d-4596-99ef-60ac10d44e88
2017-03-23T06:25:18,453 | ERROR | Karaf local console user karaf | ShellUtil             
          | 43 - org.apache.karaf.shell.core - 4.1.0 | Exception caught while executing command
com.sun.jna.LastErrorException: [25] Inappropriate ioctl for device
        at com.sun.jna.Native.invokeVoid(Native Method) ~[?:?]
        at com.sun.jna.Function.invoke(Function.java:374) [?:?]
        at com.sun.jna.Function.invoke(Function.java:323) [?:?]
        at com.sun.jna.Library$Handler.invoke(Library.java:236) [?:?]
        at com.sun.proxy.$Proxy35.ioctl(Unknown Source) [50:org.jline:3.1.3]
        at org.jline.terminal.impl.jna.linux.LinuxNativePty.getSize(LinuxNativePty.java:82)
[50:org.jline:3.1.3]
        at org.jline.terminal.impl.AbstractPosixTerminal.getSize(AbstractPosixTerminal.java:58)
[50:org.jline:3.1.3]
        at org.apache.karaf.shell.impl.console.JLineTerminal.getSize(JLineTerminal.java:166)
[43:org.apache.karaf.shell.core:4.1.0]
        at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:477) [50:org.jline:3.1.3]
        at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:332)
[43:org.apache.karaf.shell.core:4.1.0]
        at java.lang.Thread.run(Thread.java:745) [?:?]
2017-03-23T06:25:19,236 | INFO  | FelixShutdown    | BlueprintExtender                | 12
- org.apache.aries.blueprint.core - 1.7.1 | Destroying BlueprintContainer for bundle org.apache.karaf.jaas.blueprint.config/4.1.0
2017-03-23T06:25:19,455 | INFO  | FelixShutdown    | BlueprintExtender                | 12
- org.apache.aries.blueprint.core - 1.7.1 | Destroying BlueprintContainer for bundle org.apache.karaf.shell.core/4.1.0
2017-03-23T06:25:19,482 | INFO  | pool-3-thread-1  | CommandExtension                 | 43
- org.apache.karaf.shell.core - 4.1.0 | Registering commands for bundle org.apache.karaf.features.command/4.1.0
...
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message