Printing a document to a specific printer - Linux RedHat

Is it possible to print a document to a particular printer with the jdk1.4 in Linux RedHat? I am trying to select a printer with the following program (where args[0] is the name of the printer) but even though it seems that the program selects the right printer service the output allways goes to the default printer of the server.
public class PrintFile {
public static void main(String args[]) {
          String printername = args[0];
          String filename = args[1];
          if (printername != null) {
          if (filename != null) {
          try {
          javax.print.PrintService myprintservice = null;
          //Document flavor
          javax.print.DocFlavor flavor = javax.print.DocFlavor.INPUT_STREAM.POSTSCRIPT;
          //Print service for
          javax.print.attribute.PrintRequestAttributeSet aset = new javax.print.attribute.HashPrintRequestAttributeSet();
          aset.add(javax.print.attribute.standard.MediaSizeName.NA_LETTER);
          //Creating the Print Service
          javax.print.PrintService[] service = javax.print.PrintServiceLookup.lookupPrintServices(flavor,aset);
          if (service.length > 0) {
for(int i=0;i<service.length;i++) {
if (service.getName().equals(printername)) {
myprintservice = service[i];
break;
          if (myprintservice != null) {
          java.io.FileInputStream file = new java.io.FileInputStream(filename);
          javax.print.Doc doc = new javax.print.SimpleDoc(file ,flavor ,null);
          //Send the document to the printer
          javax.print.DocPrintJob pj = myprintservice.createPrintJob();
System.out.println("Printing to: " + pj.getPrintService().getName());
          pj.print(doc, null);
          file.close();
System.exit(0);
} catch(Exception e) {System.out.println(e.toString());}
Is this a bug or am I missing something?

Yes, I've got the same problem, too. First I get all the print services using PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
Once I have the array of PrintService object I get the one that I'm looking for:
for (int i=0; i<services.length; i++) {
PrintService ps = services;
if (ps.getName().equalsIgnoreCase(myPrinterName)) {
myService = ps[i];
break;
But when I try to print through the object "myService" the printing always goes to the same printer!!!

Similar Messages

  • Does printing in Linux RedHat requires CUPS?

    Does the jdk1.4 Printing API require CUPS to run in Linux RedHat? I installed the JDK and programs run well but I cannot direct the printing to a particular prnter. The printing allways goes to the default printer. I ran the examples in Print2DPrinterJob.java (code at the end of this posting) and I find that the windows to select the printers appear, I select the printer to output the image, but the printout allways goes to the default printer regardless of the printer selected.
    Since the java Printing API requires the IPP and since LPR is not based in this protocol, I was wondering if I must install CUPS in the server in order to use the printing API
    import java.io.*;
    import java.awt.*;
    import java.net.*;
    import java.awt.image.*;
    import java.awt.print.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class Print2DPrinterJob implements Printable {
         public Print2DPrinterJob() {
              /* Construct the print request specification.
              * The print data is a Printable object.
              * the request additonally specifies a job name, 2 copies, and
              * landscape orientation of the media.
              PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
              aset.add(OrientationRequested.LANDSCAPE);
              aset.add(new Copies(2));
              aset.add(new JobName("My job", null));
              /* Create a print job */
              PrinterJob pj = PrinterJob.getPrinterJob();
              pj.setPrintable(this);
              /* locate a print service that can handle the request */
              PrintService[] services =
                   PrinterJob.lookupPrintServices();
              if (services.length > 0) {
                   System.out.println("selected printer " + services[0].getName());
                   try {
                        pj.setPrintService(services[0]);
                        pj.pageDialog(aset);
                        if(pj.printDialog(aset)) {
                             pj.print(aset);
                   } catch (PrinterException pe) {
                        System.err.println(pe);
         public int print(Graphics g,PageFormat pf,int pageIndex) {
              if (pageIndex == 0) {
                   Graphics2D g2d= (Graphics2D)g;
                   g2d.translate(pf.getImageableX(), pf.getImageableY());
                   g2d.setColor(Color.black);
                   g2d.drawString("example string", 250, 250);
                   g2d.fillRect(0, 0, 200, 200);
                   return Printable.PAGE_EXISTS;                         
              } else {
                   return Printable.NO_SUCH_PAGE;
         public static void main(String arg[]) {
              Print2DPrinterJob sp = new Print2DPrinterJob();

    i have experienced the same problem as you - inability to print to a particular printer on linux. this appears to be a bug - if you look closely at what is happening, you get the following exception thrown when you try to print to any printer other than the default one (however, by default it will just recover and print to the default printer so you won't see this exception unless you force it by trying to do a print service lookup with no attributes set). I have not had any luck gettign around this. CUPS does not help either - i have installed CUPS and still see this behavior. Let me know if you have found a workaround.
    - Dan Kokotov
    javax.print.PrintException: java.io.IOException: Bad file descriptor
         at sun.print.UnixPrintJob.print(UnixPrintJob.java:485)
         at PrintTest.printJava(PrintTest.java:67)
         at PrintTest.main(PrintTest.java:16)
    Caused by: java.io.IOException: Bad file descriptor
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:191)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at sun.print.UnixPrintJob.print(UnixPrintJob.java:477)
         ... 2 more

  • Hiding a document library from specific users or groups.

    Just FYI I am far from a SharePoint but have able to accomplish a lot from everyone's help on the forums, so thank you in advace.
    Now, Is it possible to hide a document library from specific users or groups? Here is what I am trying to accomplish.
    We have a Document library that we want the whole company to view, we will call this Company Share. We then want to have a separate library/app that
    is only visible to the Finance department. Then another library that is only visible to the shipping dept.
    So when Linda from finance logs into the SharePoint site under Site Contents she should only be able to see 2 items, Company share and Finance.
    Tom from shipping will only see Company Share and Shipping. Administrators and Management will see Company share, finance and shipping.
    I was able to hide the library using sharepoint designer by checking the box "Hide from Browser" which worked but now none of the users can view the library.
    They are only able to access it via a direct URLl link.
    Any help is appreciated.

    Hi 3s1k,
    What did you mean that "management does not want the actual folder library they are in to be visible"?
    Please give more information about your requirement?
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Create a document based on specific document template using JavaScript (ECMA Script/REST API/SP Services)

    Hi,
    I have requirement to create a new document based on specific document template available in document library. Able to set the specific content type but the respective document template not being applied. I am trying with ECMAScript, REST API and SPServices
    but no luck for now. Please help me.
    Thanks,
    JP

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • SDF LDB doesnt pick up documents posted in specific ledger

    Hello,
    I have created a new G/L account 999998 in Q43/700 system and enabled 'Clearing specific to ledger groups'. I created a new ledger C2 and assigned it to the ledger group C2. I have also made a posting to this new G/L account. The table FAGLBSIS contains the entries of the posted document 8900000002/cl99/2009. When I execute the program RFCLLIB02 (general ledger for Chile and peru) with the ledger as C2 in the selection screen, the document is not picked up. The event GET BKPF doesn't pick up this document.  I am using SDF as the LDB. I am not sure why the document is not picked up? Have I missed any setting? Please help !
    Best Regards,
    Vittalkesari G

    I got the root cause behind this problem. The SDF LDB cannot pick up the documents posted in specific non-leading ledger.
    The ledger selection of the SDF refers to the balances which can be displayed by the logical database.
    Therefore the ledger restriction is also stored in the area of the selection screen for the balances.
    Also the SDF only works from a document side for accounts which are u2018line itemu2019 or u2018open itemu2019 managed.

  • Document on Functional Specifications in SAP-FI

    Hi SAP Gurus,
    I would like to know what is Functional Specification.  Can anyone help me in providing me a document on Functional Specification (FI).
    Immediate help would be very much appreciated
    Best Regards
    surya

    Hi
    please refer
    http://www.sceis.sc.gov/content/FI-MM_Implementation_Prep/Blueprint-Gap/1.5_support_Functional_Spec_IDT-1.pdf#search=%22Cost%20Statement%20CSKS%20-%20SAP%22
    http://www.sap-img.com/general/what-are-functional-specification-in-sap.htm
    http://whatis.techtarget.com/definition/0,,sid9_gci212169,00.html
    http://erp.ittoolbox.com/groups/strategy-planning/erp-projectmanagement/samples-for-sap-functional-specification-1194336#
    hope this helps
    pushkaraj

  • How do I save a document to a specific named file

    How do I save a new document to a specificly named file?

    You would use "Save" from the File menu and then give it a name.
    If you are trying to make a copy of an existing file and want to give it a new name, you would use "Save As".  But, if you are using one of Apple's latest applications, the ones that have "Duplicate" instead of "Save As" in the File menu, you have to Duplicate first then you save the duplicated file.  When you save it the first time, you can name it whatever you want.
    Was this what you were asking?

  • Oracle Forms (Support & Certification) on Linux RedHat AS 4.0 (Intel 32bit)

    Hello,
    Does anybody know for sure if Oracle is certifying Forms (part of Application Server 10.1.2.2) on Linux RedHat AS 4.0 (Intel 32 bit). We are trying to move from v3.0 to v.4.0, however without Oracle support, that might not happen.
    Any help or guidance on this matter would be greatly appreciated.
    Regards
    Kunal Bansal

    I did search in Metalink indeed. This document is really the latest certification they have. But funny thing is that the rda.sh script Oracle released checks for RH4 in addition to RH3. I have my test iAS server (10.1.2.0.2) and iDS (same version) installed on RH 3 (just in case) but I have installed iAS server in 2 different places (for deployment) on RH 4 - both went just fine. I know there is a document on Metalink, explaining how to install on RH 4 - basically, they released a small patch set for those who wants to install on RH 4. I did apply that patchset (it is for OUI not for the forms). My quick solution to implement this patchset was to create a staging directory (disk1, ...) and then replace couple of files located under disk1 staging directory with the files that comes with the patchset (unzipped into a separate place), then start the installation of 10.1.2.0.2 on RH 4. Everything then went just perfect on RH 4. No problems reported so far (2 separate installations on 2 separate sites on RH 4). I don't know if this helps but just wanted to provide some feedback.
    R/ Zaf

  • Managing Oracle 9i On Linux Redhat AS

    Hi All,
    Can someone provide me document references for managing oracle9i on linux redhat.
    Thanks in advance.

    managing oracle9i on linux redhatWhat do you mean exactly ? Installation , Administration , or what else ?

  • Oracle 11g v11.1.0.7.0 for Linux RedHat?

    Hello,
    can anybody tell me if there is a Oracle 11g v11.1.0.7.0 available for Linux RedHat, maybe a Pre-Version for Oracle-Customers/Partners?
    A problem was reported to us pertaining to some privilege problems under Oracle 11g v11.1.0.7.0 / Linux, but i cannot find any version on:
    http://www.oracle.com/technology/software/products/database/index.html
    There is only a v11.1.0.7.0 for Microsoft Windows Server 2008 and the last version for Linux is there v11.1.0.6.0.
    Thanks in advance.
    Regards,
    -Lars-

    Macgator wrote:
    There is only a v11.1.0.7.0 for Microsoft Windows Server 2008 and the last version for Linux is there v11.1.0.6.0.As expected. And others have told you how to get the Oracle 11.1.0.7 on Linux - by installing 11.1.0.6 and applying patchset.
    The case with Windows 2008 exists because there was no way to install 11.1.0.6 on that platform, so the process of 'install and patch' is not possible. Therefore they needed to 'fix' the initial install for that specific plaftform and it is their policy to only release to the 'current patch set' (which was 11.1.0.7 at the time).
    With Linux, you can 'make it work' with newer versions (eg: RH 5u4) by providing the appropriate compat libraries, therefore the original 'install and patch' process is still valid.
    Making Linux 11.1.0.7 available would nullify their Support mechanisms.

  • Did 9i (Linux Redhat 9) support Heterogeneous Connectivity?

    Hi,
    I have oracle 9i on linux redhat 9, and the MSSQL is runing on window
    2003. I try with no luck and having the same problems. Hope can get some
    hints from you guys.
    TNS:01201 : listener cannot find executable
    /opt/oracle/product/9.2.0/bin/hsodbc for SID DBSTAF.
    Listener failed to start
    initDBSTAF.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = DbStaf
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    Thanks
    Daron

    Daron,
    You could probably use the transparent gateways, but no, I was refering to Generic Connectivity which is installed as part of Oracle 9i Database (for windows).
    When you use a database link, Oracle looks up the 'USING' string in its local TNSNAMES.ORA. In that same TNSNAMES.ORA, you can specify the hostname of a different (ie windows) server.
    I have recently discussed setting up hsodbc on two machines Generic connectivity for M.S ACCESS? and Generic Connectivity 4 MS ACCESS on host  A  and ORACLE 9I on host B...
    The only bit I'm uncertain about is whether Oracle 9i on Linux can do the client side. If you have 'caths.sql' and 'SYS.HS_FDS_CLASS', then you probably can.
    Tak

  • Install linux redhat for oracle 10g2

    Hi Friends,
    I will install linux redhat linux 5 for oracle 10g 2. How to created correct partition of linux to match oracle 10g 2.
    I install linux as server style. any advice?
    Thanks
    JIm

    Hi JIm
    It is true that for us DBA the OFA is the standard by excellence. You have also the quite good document on that gives you also a lot of examples.
    http://www.ss64.com/orasyntax/ofa.html
    What is a style server? Do you mean as a template server?
    Please note also that if you need to do more than 1 installation you can clone your binaries from your first installation. Ideally you should patch it to he latest release and then make your clone.
    1. tar your current binaries under /oracle/product/10.2.0/db_1
    2. copy the tar file on the target server under /export/home/oracle and then untar it.
    3. cd to new_oracle_home/oui
    4. ./runInstaller -clone -silent ORACLE_HOME="<new_oracle_home>" ORACLE_HOME_NAME="<unique_home_name>"
    read more on http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/app_cloning.htm
    You can also clone your database to other targets
    1 Duplicate from source to your targets     
    1.1 Perform a database backup including archive log
    1.2 Create an Oracle password file for the auxiliary instance
    1.3 Establish Oracle Net connectivity to the auxiliary instance
    1.4 Create an initialization parameter file for the auxiliary instance
    1.5 Start the auxiliary instance in NOMOUNT mode
    1.6 Mount or open the target database
    1.7 Ensure that backups and archived redo log files are available
    1.8 Allocate auxiliary channels if needed
    1.9 Execute the DUPLICATE script
    Hope this will help you to get the templates installed.
    Cheers
    Hubert
    Edited by: Hub on Oct 25, 2008 1:52 PM

  • Linux Redhat 7.3 Support IDE RAID Promise PDC20276 "845E Max2 LR

    845E Max2 LR (MS-6398E) Motherboard with onboard PDC20276
    I Must have linux redhat 7.3 support for onboard
    PROMISE IDE RAID  -- if it was clearly supported I
    could build a serious web farm or render farm with
    this nicely priced powerhouse of a motherboard.
    I emailed MSICOMPUTER.com to see if they support it since web site has no
    specific mention of Linux Redhat 7.3 support.
    Very low cost high performing MBoard -- I am hoping to build a web farm using the
    mirroring capability of the onboard chip
    Please advise if you know of anyone with success or hints.
    I am assembling it and about to try -- no doc on Promise.com or redhat.com or msicomputer.com
    or anywhere.
    promise.com site says mboard maker must support onboard promise chips.  promise.com web site
    says promise.com will not support mboard makers.
    Thanks In Advance
    Critical Need for support backing by MSICOMPUTER
    Arthur

    Quote
    Originally posted by wystewart
    Check
    http://www.linux-ide.org/
    You will likely need to patch the kernel and re-compile.  Suggest using the latest kernel, 2.4.19.
    Thanks.  Here is were I am up to (see my question at the end).
    I.  I received rhup-ftb22.zip from the people at promise.com who promised that they can't support
    this but I "could try it".  MSI.com must support the onboard chip.  Anyone at MSI.com feel free to contact
    me direct -- perhaps we can work something out
    and together we can qualify this promise chip for
    Redhat 7.3, anyway:
    rhup-ftb22.zip contains:
                            1.02.0.22up
                            FT-ioctl.txt
                            install
                            modinfo
                            modules.cgz
                            modules.dep
                            pcitable
                            readme.txt
                            rhdd-6.1
                            setup-ft
    II. complete readme.txt:
    ----- snip ------
     FastTrak Series Linux Driver Version 1.02.0.22
              Installation Note for RedHat Linux [06/27/2002]
    [INTRODUCTION]
    1.1 Foreword
           This driver diskette should be used with all Promise FastTrak Series
           adapter and onboard chipsets running under RedHat Linux operating
           systems.
           Do NOT use this diskette for other versions of Linux for FastTrak
           support.
    NOTE:  For FastTrak users with Promise chips labelled PDC20265R or PDC20270
           (FastTrak100 Lite motherboard-embedded solutions or FastTrak100TX2)
           running with Linux kernel versions 2.4.x, be aware of additional
           instructions to be performed.
           See Item 1.3 below for description of the issue which use of the
           driver and instructions solves.
    1.2 Support List
           PDC20262         FastTrak66
           PDC20265R        FastTrak100 Lite
           PDC20267         FastTrak100
           PDC20270         FastTrak LP/TX2/TX4
           PDC20271         FastTrak TX2000
           PDC20276         MBFastTrak133 Lite
           PDC20277         SBFastTrak133 Lite
           with
           Red Hat 7.0      (kernel 2.2.16-22)
           Red Hat 7.1      (kernel 2.4.2-2)
           Red Hat 7.2      (kernel 2.4.7-10)
           Red Hat 7.3      (kernel 2.4.18-3)
    1.3 Linux kernel 2.4.x ATA issue on FastTrak Series PDC20265R/PDC20270
            Linux Kernels 2.4.x misidentifies PDC20265R/PDC20270 (FastTrak 100 Lite
        motherboard-embedded solution/FastTrak100TX2) cards and/or chips as simple
        IDE controllers. This results in the built-in Linux IDE driver trying to
        handle the controller and can prevent the proper FastTrak ATA RAID driver
        to be loaded. Follow the installation instructions AND the parameter
        commands referred to in the Notes section.
        This called "IDE issue."
    [INSTALLATION]
           Extract the contents of the ZIP file on to a formatted floppy disk.
           (ZIP file can be extracted by `WinZIP' in windows or `unzip' in linux)
           Label the disk "FastTrak Driver Disk".
    2.1 To install the FastTrak Series Linux Driver into an EXISTING SYSTEM:
       1.) Boot linux system and login as root.
       2.) Insert FastTrak Driver Disk for install FastTrak Driver by issuing
           commands :
           # mount /dev/fd0 /mnt/floppy
           # cd /mnt/floppy
           # sh install     (Answer Yes/No when inquire setup configuration)
           You can answer Yes to load FastTrak driver when linux booting everytime.
           # cd ..
           # umount /dev/fd0
           NOTE: All IDE channels except the first and second one are disable
                 for the "Linux 2.4 ATA issue". It can be enable by removing
                 'ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0' in
                 /etc/lilo.conf or /boot/grub/grub.conf.
       3.) Reboot redhat linux system.
    2.2 To install the FastTrak Series Linux Driver into a NEW SYSTEM
       1.) Start the RedHat Linux Installation with CD ROM booting.
       2.) At the "Welcome to Red Hat Linux ..." installation screen, a
           prompt labeled "boot:" will appear at the bottom of the screen.
       3.) If you are in "IDE issue", please press TAB key and append parameters
           (see Note 1 below).
           --- OR ---
           If you are NOT in "IDE issue", type "expert" (without quotations)
           at the "boot:" prompt, then press the enter key.
       4.) At the "Devices" dialog box, insert the FastTrak Driver Disk in the
           floppy drive and then select "OK" or "Yes".
           If installing RedHat 7.1/7.2/7.3, please skip to Step 9.
       5.) After reaching the "Devices" dialog box again, select "Add Device".
       6.) When asked "what kind of device would you like to add?", select
           "SCSI", and then select "OK".
       7.) Press the "P" key and scroll down to "Promise FastTrak Series ....",
           and then select "OK".
       8.) The installation process will now display "Promise FastTrak Series
           Linux Driver" has been found. Select "Done".
       9.) If you are in "IDE issue", when the Boot Loader Configuration menu
           is displayed, please type parameters (see NOTE 2 below) in the Kernel
           parameters field.
           --- OR ---
           If NOT in "IDE issue", ignore step 9 and proceed to step 10.
      10.) Continue with the installation as normal.
      11.) If installing RedHat 7.2 or Update Linux to RedHat 7.1/7.2/7.3.
           Press Ctrl-Alt-F2 when installation at the "Congratulations" menu.
           Other RedHat version please click "Exit" button to finish installation.
      12.) Insert the FastTrak Driver Disk floppy, Issue commands to load FastTrak
           driver.
           # chroot /mnt/sysimage
           # mount /dev/fd0 /mnt
           # cd /mnt
           # sh setup-ft
           # cd /
           # umount /mnt
           # exit
      13.) Choose your selection here, after FastTrak driver setup successful.
           Please Press Ctrl-Alt-F7 and click "Exit" button to finish installation.
    [NOTE]
       1.) "expert ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0
            ide5=0 ide6=0 ide7=0 ide8=0 ide9=0"
       2.) "ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0
            ide6=0 ide7=0 ide8=0 ide9=0"
    ----- snip ------
    III. For my RAID farm, render farm, I have multiple
    20 GB IBM IDE/100 hard drives, so I connected one
    of them to a regular (non-RAID) IDE port, booted from CDROM and sucessfully installed Redhat 7.3 selecting very simple defaults.  Tried multiple times, clean shutdown, clean reboot, all OK, no surprises.  Great.
    Then after clean shutdown, I removed ths drive from
    the IDE connector and moved it to the first RAID IDE
    conenctor.  Then I added an identical blank drive to the
    second RAID IDE connector.  The boot process guided
    me to select between "Performance" mode (striping)
    versus "Security" mode (mirroring).  I selected mirroring
    purely so that I do not have to panic when a drive fails, I can take my time in replacing the falty drive and no
    one will ever have noticed a problem.
    Upon reboot, it started to clear boot but locked up
    within a few seconds after starting to spew boot messages.
    I would have expected that Linux would have recognized the RAID array as some standard
    supported SCSI drive.
    I guessed the promise engineers didn't think of
    adding a BIOS option to force the chip to emulate
    some simple cheap reliable SCSI drive (maybe the next
    motherboard support chip), so I imagined that I would
    have to make sure PDC20276  (MBFastTrak133 Lite)
    support is added.
    Then I returned the drive to the IDE (non-RAID) port,
    rebooted successfully, unzipped rhup-ftb22.zip into
    a directory and ran the following command:
    # sh install
    Looking at install, it seems to take a peak in
    the following directory:
    /lib/modules
    and sees the name "2.4.18" in mine just to figure
    out where to copy "FastTrak.o" (/lib/modules/.../kernel/drivers/scsi in my case).
    Then it determines that /etc/lilo.conf is not there
    and confirms that /boot/grub/grub.conf exists and
    append the following text to the "kernel" line:
    ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0
    then inserts the following modules:
    FastTrak
    scsi_mod
    sd_mod
    QUESTION:  Should I now expect to boot OK by removing the drive from the IDE (non-RAID), moving to
    first RAID port, adding second blank identical IDE drive
    to second RAID port?
    BEFORE DOING THAT: Before trying, for fun, I added two blanks to the RAID ports and booted from the IDE
    (non-RAID), yes three IDE drives altogether.
    Here is what I now see in the dmesg:
    ---- snip ----
    SCSI subsystem driver Revision: 1.00
    PROMISE FastTrak Series Linux Driver Version 1.02.0.22
    scsi0 : FastTrak
      Vendor: Promise   Model: 1X2 Mirror/RAID1  Rev: 1.10
      Type:   Direct-Access                      ANSI SCSI revision: 02
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    SCSI device sda: 39062500 512-byte hdwr sectors (20000 MB)
     sda: unknown partition table
    ---- snip -----
    FINAL COMMENT:
    Seeing the following line in the readme.txt:
           Red Hat 7.3      (kernel 2.4.18-3)
    is very comforting when my uname -a results in:
    Linux **.**.com 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
    Perhaps I should freeze my kernel at 2.4.18-3 until
    promise gives me the source code to FastTrak.o  X(
    In the words of strongbad of http://www.homestarrunner.com:
    X( What's their freakin' problem X(
    Arthur

  • Oracle 10.2.0 DB installation problem on Linux RedHat 4

    When I install Oracle 10g release 2 database on my Linux RedHat 4 platform, I got the following error message (from action log file):
    INFO: /u01/app/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
    INFO: make: *** [liborasdkbase] Error 1
    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2006-10-05_11-17-26AM.log' for details.
    Exception Severity: 1
    Can someone help me to solve this problem?
    Your kind assistance will be highly appreciated!

    I didn't install the whole OS but just some packages that contain required rpms by Linux Redhad 4. I guess I accidently missed a package. In order to make sure that I have installed all necessary packages, I just re-installed the OS with care. Thanks for your advices.
    The Oracle DB installation was successful, however, after I installed the Oracle HTTP Server and then stop the HTTP Server, I can't start it again. The following is the error message.
    [oracle@linuxkm database]$ /u01/app/oracle/product/10.2.0/http_1/opmn/bin/opmnctl startproc ias-component=HTTP_Server
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=linuxkm:6200
    0 of 1 processes started.
    ias-instance id=standalone
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=23484)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/app/oracle/product/10.2.0/http_1/opmn/logs/HTTP_Server~1
    Thank you very much for your help!

  • Installing Oracle 8.1.7 on Linux RedHat 7.1

    I am trying to install Oracle 8.1.7 on a Linux RedHat 7.1 machine with P4 1.7GHz. I 've tryed all the papers I found on the net for setting the user accounts and groups, linking with the old gcc libraries, etc. The problem is that after starting the OUI and when a window pops-up that spans the products list available, the whole operation finishes too quicly without reaching the 100%. At the next screen when I am trying to give the Instalation Unix group - should be oinstall/dba - I press next and get the message "Unable to setup Inventory. You may not have proper permisions". The machine has 256MBs Ram and 520MB Swap file on a 20GB HDD.Has anyone else seen this before? I couldn't find anything on the net. Can anyone help me? Thanks in advance...

    Hi,
    In the user where you are trying to install Oracle, give the following command at the prompt.
    $ umask
    The result should be "022". If it is not, connect as root and change the umask-settings of the user.
    $ umask 022 <user-name>
    and connect as the user, where you are trying to install and run the Installer.
    Hope this will work,
    Murali.

Maybe you are looking for