Unable to load module "oracleasm" on z/os

I am trying to install Oracle 10.2 on Linux on IBM z/os.
I am having a problem with using asm.
The following is a screen shot of what I did:
linux:~ # id oracle
uid=103(oracle) gid=105(oinstall) groups=105(oinstall),6(disk),106(dba)
linux:~ # /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: 103
Default group to own the driver interface []: 105
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Creating /dev/oracleasm mount point: done
Loading module "oracleasm": Unable to load module "oracleasm"
failed
linux:~ # rpm -qa | grep asm
oracleasm-2.6.16.21-0.8-default-2.0.3-1
oracleasm-support-2.0.3-1
oracleasmlib-2.0.2-1
linux:~ # uname -r
2.6.16.21-0.8-default
linux:~ #
What am I missing since I cannot load module oracleasm.
Thanks.

if versions and arch match,
please check messages file while trying to load oracleasm,
e.g. on RH4, it is known oracleasm has problems loading if SELinux is enabled
guido

Similar Messages

  • Loading module "oracleasm": Unable to load module "oracleasm"

    Hi,
    I'm trying to install ASM Library RPMs.But the oracleasm configure is failing with the following error:
    Default user to own the driver interface [507]:
    Default group to own the driver interface [507]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Fix permissions of Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: [  OK  ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    the following are the RPM version details:
    [root@narya tmp]# ls oracleasm-2.6.9-5.0.5.EL*
    oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.i686.rpm
    [root@narya tmp]# ls
    oracleasmlib-2.0.2-1.i386.rpm
    oracleasm-support-2.0.3-1.i386.rpm
    the following are the kernel version details for my machine:
    [root@narya tmp]# uname -r
    2.6.9-5.0.5.EL_snaresmp
    Please do let me know if i'm installing the right RPMs and if not please provide me the link for the right RPMs.
    Thanks in advance!!!

    Are you running this on RHEL4?
    If so, this error could be caused by SELinux. If SELinux is enabled, it can prevent the successful load of the ASMLIB driver. This is documented in Bug 4758215.
    If you see an error message similar to the following in your /var/log/messages file:
    modprobe: FATAL: Error inserting oracleasm: Permission Denied
    then it is likely that SELinux is enabled and this is preventing the module from being loaded.
    The solution suggested by Oracle is to either disable SELinux or upgrade to RHEL 4 Update 3 as a fix for this bug is incorporated into this release.

  • Powerdns Unable to load module '/usr/lib/powerdns/libgmysqlbackend.so'

    hello
    i have recently this problem with powerdns
    Unable to load module '/usr/lib/powerdns/libgmysqlbackend.so'
    the folder  "/usr/lib/powerdns" has disapeared
    do you know what is the problem ?
    thanks

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • Unable to load module

    Hey guys,
       I have an app with two modules within, both optimized for the app and are combined along with the app.  One module (Method) works fine, but my second module gives me an error.
         param 2 incompatible
       virt Object mx.core::FlexModuleFactory/callInContext()
       over * _SequenceDetail_mx_core_FlexModuleFactory/callInContext()
    VerifyError: Error #1053: Illegal override of _SequenceDetail_mx_core_FlexModuleFactory in _SequenceDetail_mx_core_FlexModuleFactory.
        at global$init()
    Some googling suggested that this module (SequenceDetail) should be compiled with the same SDK as my app.  They are comipled everytime I debug and app so that issue should be eliminated.
    It was running fine when app was compiled with FB Beta 1 and 2.  But it isn't working now.  Any ideas?  I don't have any other output in my console regarding this.
    Thanks
    Jay

    I have posted about this issue long time ago:
    http://forums.adobe.com/message/28925#28925
    this is the as file I had to link into main application :
    http://github.com/levancho/flex-shell/blob/master/fs-demo/web/flex/src/linker.as
    otherwise one of the modules, styles were completely gone for all of its those components,TabNavigation, ComboBox, etc ..
    this module has  a view inside, that is not part of display list, its just part of variable. that view has those components in it,.
    after module is loaded that view is addedto display List,but styles are gone.
    I have an application that demonstrates it, i cant say its  a simple app but I will try to simplify it, later on.
    this afternoon I will remove that linker and build a demo without it you will see the problem.
    Regards

  • Acrobat unable to load module, why?

    .. when trying to login. Why?

    Are these all FormsCentral forms?  If so, I suggest that you report your question in their forum (http://forums.adobe.com/community/formscentral).
    I suspect that there is something not quite right with the embed code.  This one doesn't work:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="550" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="ADCMainEmbed.swf" />
    <param name="quality" value="high" /> <param name="bgcolor" value="#202020" /> <param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="d=nW7kvGi8pdsRKcbpP19mHw" />
    <embed src="ADCMainEmbed.swf" quality="high" bgcolor="#202020" width="800" height="550" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" flashvars="d=nW7kvGi8pdsRKcbpP19mHw" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed> </object></body>
    But this one does:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="550" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="https://formscentral.acrobat.com/Clients/current/ADCMainEmbed.swf" />
    <param name="quality" value="high" /> <param name="bgcolor" value="#202020" /> <param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="d=ACx71zEKll6eTszp3k9SYQ" /> <embed src="https://formscentral.acrobat.com/Clients/current/ADCMainEmbed.swf" quality="high" bgcolor="#202020" width="800" height="550" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" flashvars="d=ACx71zEKll6eTszp3k9SYQ" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed> </object>
    Notice that in the former, the value for "movie" doesn't have a full path.  Just a guess that this might be the problem.

  • ASM 10gr2/RHEL4  Unable to load oracleasm

    Hi,
    I have seen many threads on this, but no resolution. Please help.
    uname -r is -> 2.6.9-5.EL
    [oracle@localhost ~]$ /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface [oracle]:
    Default group to own the driver interface [oracle]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Fix permissions of Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: [  OK  ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    [oracle@localhost ~]$ /etc/init.d/oracleasm enable
    Writing Oracle ASM library driver configuration: [  OK  ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    [oracle@localhost ~]$ /etc/init.d/oracleasm start
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    The /var.log/messges is following:
    Oct 3 13:11:05 localhost oracleasm: succeeded
    Oct 3 13:11:05 localhost modprobe: FATAL: Module oracleasm not found.
    Oct 3 13:11:05 localhost oracleasm: Unable failed
    And I am using the most recent asmlib downloaded from ORN for RehHat Linux 4.
    No problems installing rpms.
    Thanks
    Sam

    And I am using the most recent asmlib downloaded from ORN for RehHat Linux 4.
    No problems installing rpms.You do not want the most recent version of the {font:Courier}oracleasm{font} package: you want the one that exactly matches your kernel version:
    oracleasm-$(uname -r)You do want the latest versions of the user-space helpers:
    oracleasm-support
    oracleasmlib

  • Unable to load configfs

    i receive the following error when i try to check the status of /etc/init.d/o2cb staus
    module "configfs: not loaded"
    filesystem "configfs not mounted
    module "ocfs2_nodemanager":Not loaded
    module "ocfs2_dlm":Not loaded
    filesystem "ocfs2_dlmfs":Not loaded
    and when i try to load or restart o2cb i receive the following
    loading module "configfs" :unable to load module "configfs"
    failed
    can someone gett me out of this problem

    Hello,
    I was dealing recently with the similar problem.
    It turned out that I installed the wrong version of ocfs2 on my system.
    # uname -a
    Linux misio1 2.6.9-89.EL #1 Mon Jun 22 12:19:40 EDT 2009 i686 i686 i386 GNU/Linux
    So I downloaded the latest ocfs2 which seems to be
    ocfs2-2.6.9-89.0.29.EL-1.2.9-1.el4.i686.rpm
    But that caused:
    # cd /lib/modules
    # ls -l
    drwxr-xr-x 3 root root 4096 Oct 16 22:04 2.6.9-89.0.29.EL
    drwxr-xr-x 3 root root 4096 Oct 16 22:34 2.6.9-89.EL
    So If You do the following check:
    # ls /lib/modules/`uname -r`/kernel/fs/configfs/configfs.ko
    ls: /lib/modules/2.6.9-89.EL/kernel/fs/configfs/configfs.ko: No such file or directory
    And it does not finds the file it means that the wrong binary of ocfs2 is installed.
    In my case I should have ocfs2-2.6.9-89.EL-1.2.9-1.el4.i686.rpm installed instead.
    Greetings
    Remigiusz Boguszewicz

  • Loding module "oracleasm" failed

    Hi
    I m configuring Oracle ASM on RHEL 4 but me geting following problem while configuring
    Writing Oracle ASM library driver configuration [OK]
    Loading module "oracleasm" [Failed]
    can anyone suggest something
    thnx

    Did you run /etc/init.d/oracleasm configure on both nodes?

  • Unable to load the kernel module 'nvidia.ko' [SOLVED]

    After my most recent kernel upgrade, I can't get my GUI to run. I've tried reinstalling the nvidia driver to no avail.
    Any insight would be greatly appreciated. I'm using a GeForce 8400 GS
    cat /var/log/nvidia-installer.log
    ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
    frequently when this kernel module was built against the wrong or
    improperly configured kernel sources, with a version of gcc that differs
    from the one used to build the target kernel, or if a driver such as
    rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
    obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
    installed in this system is not supported by this NVIDIA Linux graphics
    driver release.
    Please see the log entries 'Kernel module load error' and 'Kernel
    messages' at the end of the file '/var/log/nvidia-installer.log' for
    more information.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
    -1 No such device
    -> Kernel messages:
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as rivafb, nvidiafb or
    NVRM: rivatv was loaded and obtained ownership of the NVIDIA
    NVRM: device(s).
    NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
    NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
    NVRM: support), then try loading the NVIDIA kernel module again.
    NVRM: No NVIDIA graphics adapter probed!
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Last edited by wsims (2010-06-22 15:06:04)

    if you used the packages from repos, the blacklist is done automatically in nvidia,
    $ pacman -Qo /etc/modprobe.d/nouveau_blacklist.conf
    /etc/modprobe.d/nouveau_blacklist.conf is owned by nvidia 195.36.31-1
    $ cat /etc/modprobe.d/nouveau_blacklist.conf
    blacklist nouveau
    but i guess you just want to mess your system by using unsupported and very bad ways and you are way smarter than the devs if you used that installer
    Last edited by wonder (2010-06-22 14:10:01)

  • Unable to load style(SWF is not a loadable module)

    While devoloping an App voor iOS we decided to use several StyleSheets.
    We are implementing the loading of Stylesheets as:
    event_dispatcher:IEventDispatcher = this.styleManager.loadStyleDeclarations2("assests/styles/default.swf");
     event_dispatcher.addEventListener(StyleEvent.COMPLETE, OnStyleLoaded);
    event_dispatcher.addEventListener(StyleEvent.ERROR, OnStyleError);
    running the app on the desktop simulators work fine.
    packaging the app with package method fast, and running the app on an iphone4 works fine.
    packaging the app with package method standaard, and running the app on an iphone4 gives an error:
    Unable to load style(SWF is not a loadable module): assets/styles/default.swf.
    Is there something im missing? Why does it work when packaging as Fast, and not as Standard?

    Hi,
            The source file is .swf ie(.css is converted to .swf).
             Main swf is running from local.
             Style module is from server.
    I set security domain. But it throws security sanbox violation.
    What should i do. Even some time if a use the local url means it thorws the same error Unable to load style(SWF is not a loadable module).
    thanks,
    Jayagopal.

  • System.DllNotFoundException: Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Hi,
    I have a asp.net web application running on windows server 2008 with oracle server 10g installed.
    now we are planning to run application on another server with same server as database server. but when the deployed on new server the login page comes up and after login System.DllNotFoundException: Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) exception is thrown. any help would highly be appreciated.

    Did you run the ODAC installer, OUI or xcopy, or did you just copy over Oracle.DataAccess.dll to the new machine? If the latter, then you need to run the installer to put in all the necessary Oracle DLLs ODP.NET references.

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the application with Glassfish I get the following startup error and the application does not deploy. I don't understand what it means, can someone ellaborate?
    SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer prepare method
    SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
    org.glassfish.deployment.common.DeploymentException: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
         at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    My guess is that you deployed an ejb without bean in it. when you have an ejb module, be sure you have at least one bean present.
    Are you sure you have implementend some beans? Or did you do this only in the web module?
    Try adding an @Stateless bean doing nothing in you ejb module, redeploy and let me know if that works

  • Unable to load servlet  class specified in the module.

    Hi,
    Hope that I am in the right Forum to ask this question.
    I tried to develop basic servlet example as specified in http://java.sun.com/developer/onlineTraining/J2EE/Intro2/servlet/servlet.html.
    When I create WAR file in Deployment tool I get the following error. How can I rectify this?
    Thank you very much for any help.
    Regards,
    Indika
    Error :
    Unable to load servlet class specified in the module.
    Please contact online help for assistance.
    java.lang.UnsupportedClassVersionError : bonus/controller/BonusCalculationServlet (Unsupported major.minor version 49.0)

    Hi Yohan_co,
    I haven't used Application Server 8.2, but I think the problem is because the jdk that AS is using is previous to the jdk that your are using to compile your source files.
    I hope that it helps you.
    Regards

  • Unable to load your custom module provider's module-factory-class

    I am having a problem while I deploy my application. it gives me following error:
    Unable to load your custom module provider's module-factory-class com.bea.p13n.descriptor.module.ConfigModuleFactory
    Dont know how to resolve it. the class is in p13n_system.jar file, I have added that jar as a library in deployment but still it shows the same error.
    Added it in classpath as well but same error. (Dont know exactly how to add in class path, i have added just in "Start Server" tab's classpath)
    Any help will be greatly appreciated

    Below link might be helpful.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1049509&tstart=0
    Regards,
    Anandraj
    http://weblogic-wonders.com/

  • "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

    I am using intermec printer (directly loading to the printer no system used for printing) for this program and if i run this,i'm getting this below error
    "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
    any help on this .........
    Thanks in advance.
    using System.Globalization;
    using Intermec.Printer;
    using System;
    using System.IO;
    using System.Threading;
    class TestCommunicationUSBHost
        static UI.Canvas _canvas;
        static UI.Keypad _keypad;
        static UI.Canvas.Text _exitInstruction;
        static UI.Canvas.Text _appliCationTitle;
        // static UI.Canvas.Text _companyname;
        static string _operatorCodeValue;
        static UI.Canvas.Text _operatorCodeDisplayText;
        private const string operatorCodeDisplayHeader = "SCAN Code: ";
        static PrintControl printControl = new PrintControl();
        static Drawing drawing = new Drawing();
        private static bool _isExitKeyPressed = false;
      //  private static Communication.USBHost _usbHost;
        static int Main(string[] args)
            // Init new UI canvas
            _canvas = new UI.Canvas();
            // Set up some colors to use
            Color white = new Color(255, 255, 255, 255);
            Color blue = new Color(50, 100, 150);
            // Add UI black background
            UI.Canvas.Rectangle bg = new UI.Canvas.Rectangle(0, 0, _canvas.Width, _canvas.Height, blue);
            _canvas += bg;
            // Add Line
            UI.Canvas.Line ln = new UI.Canvas.Line(10, 35, 300, 35, white);
            _canvas += ln;
            // _companyname = new UI.Canvas.Text(30, 45, "KEYBORD DEMO", "Univers Bold", 18, white);
            // _canvas += _companyname;
            // Add UI keycode text
            _exitInstruction = new UI.Canvas.Text(20, 200, "Press [F4] to EXIT.", "Univers Bold", 18, white);
            _canvas += _exitInstruction;
            _appliCationTitle = new UI.Canvas.Text(05, 05, " A1 Technologies", "Univers Bold", 23, white);
            _canvas += _appliCationTitle;
            _operatorCodeDisplayText = new UI.Canvas.Text(20, 100, operatorCodeDisplayHeader, "Univers Bold", 20, white);
            _canvas += _operatorCodeDisplayText;
            // Set up keypad event handler
            _keypad = new UI.Keypad();
            _keypad.KeyDown += new UI.Keypad.KeyEventHandler(KeyHandler);
            // Set up timer event handler
            UI.Canvas.Timer timer = new UI.Canvas.Timer();
            timer.Interval = 1000;
            timer.Tick += new UI.Canvas.TimerEventHandler(TimerHandler);
            timer.Start();
            //int USBHost port o or Setup USBHost
            Communication.USBHost _usbHost = new Communication.USBHost("/dev/ttyUSB0");
            _usbHost.Open();
            // Enter UI main loop
            _canvas.Run();
            // Cleanup UI
            _canvas.Dispose();
            _keypad.Dispose();
            return 0;
        public static void KeyHandler(Object o, UI.Keypad.KeyEventArgs eventArgs)
            int keycode;
            keycode = eventArgs.KeyChar;
            if (keycode == 4)
                _isExitKeyPressed = true;
                return;
        public static void TimerHandler(Object obj, UI.Canvas.TimerEventArgs eventArgs)
            if (_isExitKeyPressed)
                UI.Canvas.Timer timer = (UI.Canvas.Timer)obj;
                timer.Stop();
                _canvas.Exit();
            else
                // Open the first USB host device and read any data sent
                Communication.USBHost usbHost = new Communication.USBHost("/dev/ttyUSB0");
                usbHost.Open();
                if (usbHost.IsOpen)
                    Console.WriteLine("Opened /dev/ttyUSB0 ({0})", usbHost.HIDName);
                    FileStream fileStream = usbHost.GetStream();
                    try
                        int timeout = 0;
                        int i;
                        while (timeout < 5)
                            // Console.WriteLine("Exiting in {0} secs", 10 - timeout);
                            Byte[] bytes = new Byte[256];
                            if ((i = fileStream.Read(bytes, 0, bytes.Length)) > 0)
                                // string data = System.Text.Encoding.ASCII.GetString(bytes, 0, bytes.Length);
                                string data = System.Text.Encoding.ASCII.GetString(bytes, 0, i++);
                                _operatorCodeValue = data;
                                // _operatorCodeValue = _operatorCodeValue + data;
                                _operatorCodeDisplayText.Data = operatorCodeDisplayHeader + _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                int leftCordinate = 40;
                                drawing.Clear();
                                Drawing.Text line1Text = new Drawing.Text();
                                line1Text.Point = new Point(leftCordinate + 30, 40);
                                line1Text.Data = _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                line1Text.Height = 18;
                                line1Text.FontName = "CG Times Bold";
                                drawing += line1Text;
                                drawing.PartialRendering = true;
                                printControl.PrintFeed(drawing, 4);
                            else
                                Thread.Sleep(1000);
                                timeout++;
                    catch (Exception ex)
                        Console.WriteLine("Exception reading /dev/ttyUSB0: {0}", ex.Message);
                // Wait a short while
                Thread.Sleep(1000);
                // Clean up 
               // usbHost.Dispose();
            return;

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

Maybe you are looking for

  • HT1212 I don't know my passcode for my iPad mini and I don't have access to a computer what do I do

    I recently changed my passcode on my iPad mini and forgot what it was and I don't have access to a computer to hook it up to iTunes so what do I do?

  • Quicktime on my website

    I have a questions concerning Quicktime. Is there a code that would tell the browser to load the page before it loads the video. I am having trouble with this. It may be a problem with Firefox, but I cannot watch it on a windows computer running IE o

  • Does anyone know if there is a key that will update a sheet automatically?

    I have a spreadsheet that uses the now formula to calculate how much time has passed and how much time remains for certain tasks. If I modify any of the cells in the spreadsheet, the cell with the now formula is updated. I would love to have some key

  • BW Workbook into portal

    hi,   Can we integrate BW workbook into portal using visual composer? Does any one have documents regarding this? Thanks in advance, Gopi

  • LIS Extractor

    Hi people I have activated the business content and i have some problem in the SD Scenarios. In the phase of ectraction do not work properly. I talk with an expert that say's to me there's a problem about LIS extracotor. I say that this extractor mus