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

Similar Messages

  • On Mac OS 10.5, can't print to Linux CUPS printing server

    We attached a USB printer to a Linux server, which is CUPS1.3.8 installed.
    The printer is Epson Stylus CX5900.
    Printing from another Linux with CPUS is OK.
    But I can NOT print from my MacOSX10.5 system.
    I tried IPP, SMB, no success.
    Visit the http://127.0.0.1:631 on Mac, the CUPS on Mac even can not discovery the printer shared by Linux server.
    If I add added the printer as samba on MacOS, it will report
    /Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app/Contents/MacOS/ras tertoescp failed
    I see many users report printing issues on MacOSX10.5 on the Internet.
    What's the matter?
    As I know, MacOSX10.4 can print to printer on Linux CUPS server.

    Slow down a bit and think this through.
    CUPS on linux is nearly identical to CUPS on OS X - but there is no Mac-to-Mac Apple proprietary print sharing. Rather, on linux you are sharing the printer using standard printing protocols. Just like on the Mac (when using the standard protocols like Windows/SMB or IP printing), linux print queues expect postscript input. Try using a generic postscript driver from the mac.
    And when you add the printer via Windows Printing or IP > LPD or IPP, you will need to know the queue name for that printer from the linux box. (one computer with one IP address can have multiple printers - so what's the additional address info to print to your desired printer? - queue name.)
    HTH

  • 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!!!

  • Nigpib-linux PCI-GPIB driver does not work on RedHat 8.0

    The PCI-GPBI driver for linux (nigpib-linux) can't be installed on Linux RedHat 8.0. The first error is a reference to "malloc.h" having to be replaced by "slab.h". Then, the module compiles, but it has to be loaded with the "force" option, by replacing all instances of "insmod" in the "INSTALL" script by "insmod -f". When loading there is an error message that the kernel is compiled with gcc 3.2, but the module with gcc 2.9, and this is known "not to work". One can load the kernel module with "insmod -f", but when running "ibconf", "insmod" is used when saving the configuration, so there is an error message again. The solution to this problem is probably to compile the source code for the driver (supplied by NI a
    s a binary) with gcc 3.2. It would be so much easier if NI opensourced the entire driver.
    Can NI compile a binary against gcc 3.2 on RedHat 8.0??
    Thanks in advance.
    Best regards, Erwin

    Ok, my bad. Apparently the gcc3 compilied driver has
    been available since Jan 2003. Here is a link:
    ftp://ftp.ni.com/support/gpib/linux/nigpib-linux-0.8.3.tar.gz
    I should think NI could use a better naming convention to
    flag this a bit better. (Like nigpib-linux-gcc3-x.x.x)

  • Printing PDF files with smb/cups not possible // SLPReg status -20!

    Hello *,
    i am running SAMBA 3.6.1-1 and CUPS 1.5.0-1 on a dedicated system. Printer: Canon Pixma IP4500 (USB).
    The problem is that all Windows 7 clients are not able to print PDF files (since few months) on that printer while printing these files with Linux software is no problem. The PDF files are neither encrypted nor forbidden to print.
    I tried to print with Adobe Acrobat Reader X (latest) and Foxit Reader. Both are preparing the pages to be printed and close their printing dialog after processing. Windows printing queue does not show any jobs (which it even does not when printing simple images with MS Paint, which is not a problem).
    Windows systems are using the Canon Inkjet 4500 and Canon iP 4500 driver (manually installed). Printing images works with both drivers.
    I searched for "SLPReg […] failed with status -20!" but found no helpful information.
    /var/log/cups/error_log
    D [24/Dec/2011:23:05:35 +0100] Report: clients=0
    D [24/Dec/2011:23:05:35 +0100] Report: jobs=499
    D [24/Dec/2011:23:05:35 +0100] Report: jobs-active=0
    D [24/Dec/2011:23:05:35 +0100] Report: printers=2
    D [24/Dec/2011:23:05:35 +0100] Report: printers-implicit=0
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-string-count=199735
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-alloc-bytes=14344
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-total-bytes=3718136
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
    D [24/Dec/2011:23:05:36 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:05:36 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:05:48 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:05:48 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    D [24/Dec/2011:23:06:07 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:06:07 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:06:19 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:06:19 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    D [24/Dec/2011:23:06:35 +0100] Report: clients=0
    D [24/Dec/2011:23:06:35 +0100] Report: jobs=499
    D [24/Dec/2011:23:06:35 +0100] Report: jobs-active=0
    D [24/Dec/2011:23:06:35 +0100] Report: printers=2
    D [24/Dec/2011:23:06:35 +0100] Report: printers-implicit=0
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-string-count=199735
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-alloc-bytes=14344
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-total-bytes=3718136
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
    D [24/Dec/2011:23:06:38 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:06:38 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:06:50 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:06:50 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    /etc/samba/smb.conf
    load printers = yes
    printing = cups
    printcap = cups
    [printers]
    path = /var/spool/samba
    printable = yes
    public = yes
    writable = no
    /etc/cups/printers.conf
    # Printer configuration file for CUPS v1.5.0
    # Written by cupsd on 2011-12-24 22:25
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer IP4500>
    UUID urn:uuid:f9850f70-d898-39ad-4e0a-9edfecf4977b
    Info Canon iP4500 series
    Location Keller
    MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
    DeviceURI usb://Canon/iP4500%20series?serial=42E635
    State Idle
    StateTime 1306084752
    Type 45084
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    DenyUser xy
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer IP4500_Duplex>
    UUID urn:uuid:14fcd3ca-2118-380e-5033-79beb09bb3b7
    Info Canon iP4500 series (Duplex)
    Location Keller
    MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
    DeviceURI usb://Canon/iP4500%20series?serial=42E635
    State Idle
    StateTime 1324761079
    Type 45084
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>

    Hi,
    I can, unfortanetly, confirm this problem for me with a Brother HL-2030 and an HP Officejet 5600 series.
    cups error log
    D [03/May/2012:21:42:46 +0200] Report: printers=3
    D [03/May/2012:21:42:46 +0200] Report: printers-implicit=0
    D [03/May/2012:21:42:46 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:42:46 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:42:46 +0200] Report: stringpool-total-bytes=192536
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
    D [03/May/2012:21:43:48 +0200] Report: clients=0
    D [03/May/2012:21:43:48 +0200] Report: jobs=233
    D [03/May/2012:21:43:48 +0200] Report: jobs-active=0
    D [03/May/2012:21:43:48 +0200] Report: printers=3
    D [03/May/2012:21:43:48 +0200] Report: printers-implicit=0
    D [03/May/2012:21:43:48 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:43:48 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:43:48 +0200] Report: stringpool-total-bytes=192536
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
    D [03/May/2012:21:44:50 +0200] Report: clients=0
    D [03/May/2012:21:44:50 +0200] Report: jobs=233
    D [03/May/2012:21:44:50 +0200] Report: jobs-active=0
    D [03/May/2012:21:44:50 +0200] Report: printers=3
    D [03/May/2012:21:44:50 +0200] Report: printers-implicit=0
    D [03/May/2012:21:44:50 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:44:50 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:44:50 +0200] Report: stringpool-total-bytes=192536
    printers.conf
    # Printer configuration file for CUPS v1.5.0
    # Written by cupsd on 2011-12-24 13:14
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer CUPS-PDF>
    UUID urn:uuid:ad99f5dd-2577-355f-759c-6b2941a88d34
    Info Virtual PDF Printer
    Location Zion
    MakeModel Generic CUPS-PDF Printer
    DeviceURI cups-pdf:/
    State Idle
    StateTime 1309396700
    Type 8450124
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer HL2030>
    UUID urn:uuid:1b453a5d-ade0-3ddb-45e4-c5bcfe1feabd
    Info Brother HL-2030 series
    Location Zion
    MakeModel Brother HL-2030 Foomatic/hl1250 (recommended)
    DeviceURI usb://Brother/HL-2030%20series?serial=G6J274210
    State Idle
    StateTime 1324728260
    Type 8433668
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer HP5600>
    UUID urn:uuid:8d882659-3c7e-319f-5072-38d14683cfaf
    Info HP Officejet 5600
    Location
    MakeModel HP Officejet 5600 Series, hpcups 3.11.10
    DeviceURI hp:/usb/Officejet_5600_series?serial=CN838F31ZQ04B2
    State Idle
    StateTime 1324728896
    Type 8425484
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    smb.conf
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    # Set public = yes to allow user 'guest account' to print
    guest ok = yes
    writable = no
    printable = yes
    Did you find a solution in the meantime?

  • Unable to install Oracle 9.0.1 on Linux RedHat

    Hi,
    I am unable to install Oracle 9.0.1 on Linux RedHat, tried many times. While installing i get following errors-
    "Error in invoking target install of makefile
    /usr/oracle/9.0.1/plsql/lib/ins-plsql.mk"
    "error in invoking target ioracle of makefile
    /usr/oracle/9.0.1/rdbms/lib/ins-rdbms.mk"
    "Error loading native library : libnjni.so"
    Installation halts while configuring Net Confugration Assistant....
    Any workaround ???
    Thanks in advance.

    There are many versions of RedHat. Your post indicates you are using one of them, but your post really does not give a hint as to which one. Funny thing is - different versions have different install requirements.
    I really don't understand why operating system version is such a big secret. Especially since it is logically so critical to installation issue. Even when installing on Windows, the first questions is 'which Windows'.
    You have, of course, followed the suggestions at http://www.puschitz.com and noted the errors and workarounds, have you not.
    Especially about things like packages and versions.

  • Cd printing under Linux (Pixma MG5350)

    Hi all,
    I've bought a Canon Pixma MG5350 just a few weeks ago.
    It works great but this week I've tried to print with the CD-tray.
    I have made a nice label using Glabels, and set the printing configuration as followed:
    Paper tray: CD tray
    Paper size: CD 5-inch
    Resolution: 600x600 DPI high cd
    Then the printer indicated that I need to push the tray in the slot and press OK. After that it will ask the same thing again, again and again without doing much. I've tried every single adjustment if it comes to inserting the cd-tray but the machine just wont insert it.
    Hopefully some of you can give me advise on this one. Probably I am overlooking something but don't know what. Can it be that this feature is not working under Linux? (hope it will)
    Operating details:
    Kubuntu 13.04 64bit
    Printer driver: Canon Pixma MG5300 - CUPS+Gutenprint v5.2.9
    Kind regards,
    Jurgen

    Great, thanks for the quick reply. I will keep this post open for now and at the same time fill in a form on the canon site for Europe. If I understand what is going wrong I will post it here as well.
    jurgen

  • [PARTIALY SOLVED]Can't see SAMBA share or Printer in Linux

    Greetings all,
    I have built a headless server running Arch linux as the base OS.  I am running SAMBA and CUPS and performing all maintenance of this server via SSH.
    The SAMBA share I can see (read/write) on all the Windows 7 machines on the network as well as the Printer connected to the server.  But I can't see it when I open Thunar or PCManFM.  Nor can I access the printer.
    It's obviously something I am doing wrong but I have Googled different parameters trying to find a solution but have come up short.
    Your assistance and guidance in putting me in the right direction is most appreciated.  All my Linux machines are running Arch.
    Thanks,
    Ian
    Last edited by ichase (2012-10-28 07:19:14)

    I have looked high and low.  The printer is set up via CUPS and the printer in smb.conf is set to CUPS.  All 4 windows computers in the house now have this printer set as default and can print fine.
    But if I try to print in Linux, for example in Libreoffice, I get No default printer found.  Please choose a printer and try again.  When I click ok, the network printer does not show up for me to select.
    I have tried updating the /etc/cups/client.conf on the client computer and it is set as:
    # see 'man client.conf'
    homeserver /var/run/cups/cups.sock
    homeserver 192.168.X.XX
    From what I have read so far, this is correct.  When I go to the CUPS Web Interface it shows under Manage Printer my HP 7300 Series printer there and in idle waiting for job.  And in Windows I can print to it just fine.
    As far as I can  tell SAMBA is set up correctly (I can mount the file drive in Arch with no issues) and CUPS seems to be configured correctly as well from all that I have read.
    Any insight would be great,
    Thanks,
    Ian
    Last edited by ichase (2012-10-28 07:28:31)

  • Negative error code when trying to print from Linux OS

    What does a negative error code mean when trying to print from Linux OS.
    Terminated with error: REP-50157: Error while sending file to printer apps_dev. Exit with error code -1
    It is Oracle Application Server 9.0.4 on Redhat Linux when I'am directly sending the output to the printer.
    Thanks for the help in advace.
    -P

    Reinstall or update your Lexmark printer driver.

  • 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!

  • How to Print to Linux Terminal

    Would anyone happen to know how to create a VI that prints to Linux Terminal.  I wish to make a test VI that verifies the RTE is working on a Linux Server and no more dependencies/Libraries are necessary.  Going to be pretty simple.  Just a VI that, when ran, will write "Hello World" to terminal then close.  All of that is pretty easy of course.  I just don't know how to print to Terminal.
    Remember, code does exactly what you tell it.

    I don't have a linux system to test on, but it seems like you could modify this comunity code sample to do what you're looking to do.  Have a look: https://decibel.ni.com/content/docs/DOC-40941

  • Error (short dump) while doing Print review of PO

    Freinds,
    Business Scenario:We have developed a custom message type for PO output based on standard message type NEU.Also we have created a custom requirement type such taht print as well email output can created by system.
    Problem:While doing print preview (via TCode ME23N)of the custom output we manage to see the print preview of PO      -->then come back.
    But while coming back we get a short dump related to include CL_HANDLE_MANAGER_MM==========CM005.
    If any one of you have faced this problem eralier please let us know about the solution.
    Regards,
    Shailesh Seth

    check the OSS note 358293, 548857, 923695

  • 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

  • Cannot bring up the SAP ERP 6.0 Installer GUI on a linux redhat 5.4 machine

    Hi,
    I'm trying to install the SAP ERP 6.0 on a Linux Redhat 5.4 machine and the gui for the install does not come up
    Here is the message
    sudo ./sapinst
    Password:
    [==============================] \ extracting...  done!
    Starting GuiServer using:
    /usr/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.24750.1283972427/JAR/instgui.jar:/tmp/sapinst_exe.24750.1283972427/JAR/inqmyxml.jar SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true
    init: retrieving account information for group sapinst...
    init: retrieving account information done.
    load resource pool /remote/repeng5/SAP/sd_benchmark/Extracted/BS_2005_SR3_SAP_Installation_Master/IM_LINUX_X86_64/resourcepool.xml
    guiengine: No GUI server connected; waiting for a connection on host inspired.sybase.com, port 21200 to continue with the installation
    My env. is the following
    java -version
    java version "1.6.0"
    OpenJDK  Runtime Environment (build 1.6.0-b09)
    OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
    Memory in the machine is 16 GB. I have tried bringing up the installer on a different linux redhat 5.4 machine and there are no issues there
    Any help/pointers would be greatly appreciated

    Thank you both for your reponse.
    I did try changing the java to 1.4.2 but I still get the same behaviour. The gui just hangs.
    Here's my new env.
    java -version
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • Best way to transfer a 10g database from HP9000 to Linux Redhat?

    What is the best way to transfer a 10g databasse from HP9000 to Linux Redhat?

    Hi Bill,
    What is the best way to transfer a 10g databasse from HP9000 to Linux Redhat?Define "best"? There are many choices, each with their own benefits . . .
    Fastest?
    If you are on an SMP server, parallel CTAS over a databaee link can move large amnunts of tables, fast:
    http://www.dba-oracle.com/t_create_table_select_ctas.htm
    I've done 100 gig per hours . . .
    Easiest?
    If you are a beginner, data pump is good, and I have siome tips on doing it quickly:
    http://www.dba-oracle.com/oracle_tips_load_speed.htm
    Also,, make sure to check the Linux kernel settings. I query http://www.tpc.org and search for the server type . . .
    The full disclosure reports show optimal kernel settings.
    Finally, don't forget to set direct I/O in Linux:
    http://www.dba-oracle.com/t_linux_disk_i_o.htm
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference" http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

Maybe you are looking for

  • How to Rebuild OS X Server

    I need to rebuild my OS X Server, and I'd like to do this from scratch without resorting to migration assistant tools. Briefly, my server crashes every 3-5 days, whether booting from an internal HD or an external CCC clone. Getting it to work after t

  • Mac OS X 10.5, Leopard

    Hello all, I have G5 power mac with 1.8 dual core PowerPC G5 cpu, and 512 of ram installed. I payed 100 bucks for the thing without the HD display. I think I got a good price but on to my prob the superdrive is making this weird sound if i play a DVD

  • Unable to open jsp file in Design mode

    Hi, I am unable to open jsp files in design mode, I am using eclipse Version: 3.6.1. Please help. Regards, Ale Hasan

  • Import technical system details into SLD

    HI , I was looking for the way to import the technical system data for a SAP R/3 system into the SLD . Is there a automated way of doing this or do we have to key in the details . Thanks Nikhil

  • Command+V = Failed to load extension?

    Ok so here's what I get after command+V: Failed to load extension com.apple.driver.applemacriscAGP Failed to load extension com.apple.driver.applemacriscPCI Couldn't alloc class AGP Then it keeps repeating: Still waiting for root device Does anyone k