GetRuntime().exec problem under Linux

Here's a piece of code under Mandrake.
            Process p;
            try
                p=Runtime.getRuntime().exec("/usr/local/WordNet-3.0/bin/./wn " + englishword + " -hypen > /home/istvan/wordnet/Kimenetek/ki.txt"); //"englishword" is a String
                //p=Runtime.getRuntime().exec("ls");
                try {p.waitFor();}
                   catch (InterruptedException ex1) {System.out.println(ex1.getMessage());}
                System.out.println(p.getInputStream().toString()); // ---> "java.io.BufferedInputStream@1bcc0bc"
                System.out.println(p.getErrorStream().toString()); // ---> "java.io.FileInputStream@111a3a4"
               catch (IOException ex) {System.out.println(ex.getMessage());} It does absolutely nothing, doesn't create the desired "ki.txt" file, although from the command line works just fine. In fact, even at the simple "ls" command gives the message mentioned in the code as a comment.
Can somebody help me? Thanks in advance.

There are several problems.
First of all, the "command > somefile" syntax is interpreted by
the shell on Linux. But exec does not load the shell by default.
So the redirection does not work.
Secondly, you should not execute the program as is,
and then read its output using "getInputStream()" afterwards.
There is buffer overflow and data starvation issues.
See this excellent tutorial for how to create separate
threads to channel data to and from a subprocess:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Similar Messages

  • Runtime.getRuntime().exec problem with linux script.

    Hello,
    I try to start a script under Linux RedHat 9. This script must just create another file.
    I work with JDK 1.4.1_02b06.
    If I use the next command
    process = Runtime.getRuntime().exec("/temp/myScript.sh");
    This is not working. I script file is existing otherwise I receive an error. I don't understand why the script is not executed!
    I have check some other posts in this forum but I cannot find the solution.
    Thanks in advance for your help.
    Alain.

    Try running it with sh: Runtime.getRuntime().exec("sh /temp/myScript.sh");

  • GetRuntime().exec problem

    I am trying to set a password for a user on a linux box but getRuntime().exec won't cooperate. I have researched this topic to death and haven't been able to find any solutions. I've rewritten the exec() and code several different ways and get no reponse or error message except when trying to use a pipe in the command, which is basically useless because I can't find any listing of what the error codes mean.
    In code previous to this the user is successfully added. This code tries to set the password. Under linux the system should prompt for the new password twice once the passwd command is executed. I read the input and error streams and get nothing. Depending on the way its coded the system either appears to hang (waiting on input?) or the waitFor() returns an error.
    Thanks for helping,
    Bob
    <PRE>
    try {
    proc = Runtime.getRuntime().exec("passwd " + this.usersName );
    InputStream istr = proc.getInputStream();
    InputStream estr = proc.getErrorStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(istr));
    BufferedReader er = new BufferedReader(new InputStreamReader(estr));
    OutputStream output = proc.getOutputStream();
    PrintWriter outputWriter = new PrintWriter ( new OutputStreamWriter(output));
    // Get streams, write password
    String str;
    while ((str = er.readLine()) != null)
    logger.debug(str);
    while ((str = br.readLine()) != null)
    logger.debug(str);
    outputWriter.println(newpasswd);
    // Get streams, write password again
    while ((str = er.readLine()) != null)
    logger.debug(str);
    while ((str = br.readLine()) != null)
    logger.debug(str);
    outputWriter.println(newpasswd);
    if (proc.waitFor() != 0) {
    logger.error("Error setting password)");
    error = true;
    return false;}
    } catch(InterruptedException ex) {
    logger.error("Exception interrupted");
    } catch(IOException e) {
    logger.error("IOException error setting password.");
    error = true;
    return false; }
    </PRE>

    I saw running of different threads at http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html but thought it was a bit of overkill for a simple procedure.
    I was about to give up on this because the waitFor() would never exit.I used output.flush(), but apparently the process doesn't close until the output stream is closed. Another strange thing is half the input comes over the error stream and half over the output stream.Not for me to worry about because my problem is solved. The Thread.wait() seems to be important otherwise I get a conversation error.
    I only point this out so that later when someone else is looking it may be a bit easier than it was for me. People tend not to post a solution when they finally find the answer they are looking for. I searched, and though there were a lot of questions relating to this exact problem, nobody posted anything they found out.
    One of my clients blessed me this morning, so it must have been divine inspiration that lead me to the right combination that finally worked. The first waitfor() and flush() appear to be necessary. The second waitfor() is necessary but I didn't check the flush(). I doubt it is necessary, but what the heck, it works.
    Here is my final code that does work.
      Process proc = null;
      try {
        proc = Runtime.getRuntime().exec("/usr/bin/passwd " + this.usersName );
        OutputStream output = proc.getOutputStream();
        PrintWriter outputWriter = new PrintWriter(new OutputStreamWriter(output));
        // Get the messages
        StreamGobbler eg = new StreamGobbler(proc.getErrorStream(), "ERROR");           
        StreamGobbler og = new StreamGobbler(proc.getInputStream(), "OUTPUT");
        eg.start();
        og.start();
        Thread.sleep(500);
        outputWriter.println(newpasswd);
        outputWriter.flush();
        Thread.sleep(500);
        outputWriter.println(newpasswd);
        outputWriter.flush();
        outputWriter.close();
        if (proc.waitFor() != 0) {
          logger.error("Error setting password)");
          error = true; }
        } catch(InterruptedException ex) {
          logger.error("Exception interrupted");
        } catch(IOException e) {
          logger.error("IOException error setting password.");
          error = true; }
    class StreamGobbler extends Thread {
        InputStream is;
        String type;
        StreamGobbler(InputStream is, String type)
            this.is = is;
            this.type = type;
        public void run()
            try
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                   logger.debug(type + ">" + line);   
                } catch (IOException ioe)
                    ioe.printStackTrace(); 
        }

  • Runtime.getRuntime().exec() problem while getting Mozilla version.

    Hi all,
    I've trying to get the current mozilla version in Java side using
    Runtime.getRuntime().exec(). The sample code is as below.
    I've tested two cases using exec(), as case# 1 and case# 2.
    The result is after the code.
    try
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(new String[] {"mozilla", "-remote"}); //case# 1
    //Process proc = rt.exec(new String[] {"mozilla", "-version"}); //case# 2
    InputStream stderr = proc.getErrorStream();
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    System.out.println("<ERROR>");
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    System.out.println("</ERROR>");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t) {
    t.printStackTrace();
    // execute "mozilla -remote"(case# 1)
    $ java TestExec
    <ERROR>
    -remote requires an argument
    </ERROR>
    Process exitValue: 1
    // execute "mozilla -version"(case# 2)
    $ java TestExec
    <ERROR>
    </ERROR>
    Process exitValue: 0
    I'm just surprised that why case# 2 couldn't get the returned version string as case #1 ? Since there will be version string be returned from command line:
    $ mozilla -version
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830, build 2002083014
    Could anybody explain the problem or give any solution ?
    Thanks.
    -George.

    Hi all,
    One more question here.
    While I use Runtime.getRuntime().exec() to execute some commands,
    the commands may fail for some reason. Generally, they will return with the exit
    value set to 1 or others. But sometime, before waitFor() exits, there is a popped up
    dialog giving some info, and only after I click the "OK" button, it dispears, and
    waitFor() returns the exit value.
    So I'm not sure that could I suppress this popped up dialog, and make it run
    just like other commands ? I mean, just get the exit value by waitFor() without user
    interferance ?
    Thanks.
    -George.

  • Runtime.exec() problem with Linux

    Hi All,
    I have a java program which I am using to launch java programs on all platforms.
    I am using the Runtime.exec() method to start the process in a separate JVM.
    But, I had a problem with the -classpath switch if the directories contained spaces. So I modified the java command which I am passing to the exec() method to something like:
    java -classpath \"./my dir with spaces\" com.harshal.MainThis I had to do because of the problem in windows. But, if I use double quotes in Linux (for the classpath switch in my exec() method), it won't work.
    Can anyone correct me so that I can use the Runtime.exec() method on all platforms to launch the java application even if the classpath directories contains spaces.
    Thank you very much.

    I was reading about the command line args on java's
    tutorial and I found a shocking news. Mac OS doesn't
    support command line args, That's news to me. Could you please elaborate ?
    More important is: I got it working. I figured out I had forgotten to try something before, or, to be more correct, I made an error when trying malcommc's envp suggestion: I used "classpath" as key, not "CLASSPATH", as it should have been.
    Ran a new test, got it working.
    Sample:
    Given a rootdir. Subdirectory "cp test" with a classfile (named "test") without package declaration. Running another class in another directory, using:
    String[] cmd = new String[]{
        "java", "test"
    String[] envp = new String[]{
        "CLASSPATH=rootdir:rootdir/cp test" // <-- without quotes.
    Runtime.getRuntime().exec(cmd, envp);It's been my wrong all the time. I didn't check hard enough. It simply had to work somehow (that's the kind of things that's easy to say afterwards :-)).

  • Runtime.getRuntime().exec problems

    i am trying to run files from my java application, i use the following command
    Runtime.getRuntime().exec("cmd /c start " + filePath);but it seems that it cant handle file path with spaces, like
    C:\Documents and Settings\Administrator\My Documents\My Web\Untitled-3.fla
    it works well with path like this
    C:\Downloads\1.rar
    am i right? and how to solve this problem? thanks

            final String[] command =
                "cmd.exe",
                "/C",
                "start \"" + filename + "\"",
            final Process p = Runtime.getRuntime().exec(command);this method can only trigger files in the same folder as the java application, isnt it?

  • Opening a new browser using Runtime.getRuntime().exec(cmd); under windows

    Can Runtime.getRuntime().exec(cmd); open a URL in to a new browser in wondows OS or ...can we force it to any specific browser insted on OS's default browser...
    It does open a new bowser under MAC but not under windows..
    cmd = "'rundll32 url.dll,FileProtocolHandler"+URL (windows)
    Thanks

    public class WindowsProcess
         public static void main(String[] args)
              throws Exception
              String[] cmd = new String[3];
              cmd[0] = "cmd.exe";
              cmd[1] = "/C";
              cmd[2] = "start";
              Process process = Runtime.getRuntime().exec( cmd );
              process = Runtime.getRuntime().exec( cmd );
    }When you run the above code you should get two open dos windows.
    Now just just enter some html filename and hit enter in each window. IE should start up separately in each window.
    Thats also what should happen if you specify the html file as the fourth parameter. A new process should be created and two separate windows should open with a browser in each.

  • Runtime.getRuntime().exec problems running with applet

    Hi,
    I am running the command
    Process prc = Runtime.getRuntime().exec("net config workstation");
    InputStream in = prc.getInputStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    line = br.readLine();
    When running from an application(/stand alone program) on Win-NT it runs fine. But when i include the same code in an Applet and try to run.
    It doesnt return any thing. I see the DOS-prompt open and close and i can also see the required output generated on the DOS prompt, but the program doesnt return any results(null) in the InputStream.
    I even tried to get the ErrorStream incase it is writing some error but it doesnt write anything.
    I tried running some other commands like (cmd.exe /c set) which were able to run on both application as well as from the applet.
    I have tried giving the "net config workstation" command in all flavors
         String[] cmd = new String[3];
         cmd[0] = "cmd.exe";
         cmd[1] = "/C";
         cmd[2] = "net config workstation";     
    And      
         String[] cmd = new String[3];
         cmd[0] = "net.exe";
         cmd[1] = "config";
         cmd[2] = "workstation";          
    AND
         String[] cmd = new String[5];
         cmd[0] = "cmd.exe";
         cmd[1] = "/C";
         cmd[2] = "net.exe";
         cmd[3] = "config";
         cmd[4] = "workstation";     
    AND giing the full path as
    C:\winnt\system32\net.exe config workstation
    But still it doesnt work.
    Can anybody please suggest what is the problem.Its Urgent.....
    Well the purpose of this is to get users system properties like the Logon Domain , server name etc.... or else can anybody suggest a better way to obtain this information.....
    Your reply will be highly appriciated...
    Thanks in Advance......

    Thanks for atleast replying.....
    Sorry, i forgot to mention.... yes OfCourse, i am using an Signed Applet..... That how i was able to run the "set" command.....
    I have made sure it is not sucha simple problem..... the thing is as i have mentioned i know that even "net config workstation" works..... cause i see the output on the DOS prompt,.... but this output is not returned to the Applet in the getInputStream()/getErrorStream().....
    Can anybody please suggest a way to get this output..... OR is there some other way to get the machine's domain, server name etc info from the machine....?????
    Thanks in Advance...!!

  • GetRuntime().exec problems

    Hello,
    I recently started working on a program and I wanted to use some batch coding along with java for several reasons. However, I coulden't get it to work, bellow are the many things I've tryed:
              try{ Process p = Runtime.getRuntime().exec("cmd /c c:/TIME.bat") ; }
              catch(Exception e){ System.out.println(e); }Variations on such include:
    �     Runtime.getRuntime().exec("cmd /c c:/TIME.bat")
    �     Runtime.getRuntime().exec("cmd c:/TIME.bat")
    �     Runtime.getRuntime().exec("cmd c:\\TIME.bat")
    // I also tried moving the file into the project folder and then executed it:
    �     Runtime.getRuntime().exec("cmd TIME.bat")From reading responses to people with a similar problem I tried also to change the .bat extension to ".cmd" but this to wasn't successful either.
    The file seems to run, since the dos black screen appears, but it doesen't concude the operation. I read the "Runtime.exec pitfals", but it seems as though the problem there mentioned is not the same as I face.
    I am using eclipse, but the same problem seems to appear in netbeans. Java returns no errors.
    The batch file I am trying to execute is this:
    @ECHO off
    ECHO %TIME% > TIME.dat
    :end If executed from dos or by double click it will work, writing out the current time in the file TIME.dat .
    Though I know that you can do the same as this command does, I am using this meerly as a test.
    Help would be appreciated,
         --andrelloyd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    baftos wrote:
    public static void main( String[] args ) throws Exception
    Runtime.getRuntime().exec("cmd /C c:\\time.bat");
    System.out.println( new File(".").getCanonicalPath() );
    }This works fine on my machine. The last line is there, so that you know where to find your TIME.DAT file.Thank you very much, this worked for me perfectly.
         --andrelloyd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Runtime.getRuntime.exec() Problem

    hi,
    I want convert MS Office documents to PDF through my aaplication which is online. I'm using PDFCreator.exe for doing this.
    From a standalone Java program the command is executed properly.
    But If I call the same program from a JSP the PDFCreator.exe is started, but it doesnt convert the document to PDF, also the .exe keeps on running for a long time and does not exit. the JSP prints "Files Converted" before the Java program has finished execution or give error as "Proocess has not exited".
    My JSP code:
    <%@ page import="java.io.*,java.util.*"%>
    <%@ page import="pack.Test.*"%>
    <%
    try{
    pack.Test t=new pack.Test(); //initialixe the java class
    t.print();//call  the function
    }catch(Exception e) {e.printStackTrace();}
    %>
    <br>File Converted Code for Java program:
    package pack;
    import java.io.*;
    import java.lang.Process;
    import java.lang.Runtime;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class  Test
    Process p;
    Runtime r;
    BufferedReader stdInput,stdError,br,buff,Input;
    int i=0;
    public void print()
    String cmd="C:\\Program Files\\PDFCreator\\PDFCreator.exe /NOSTART /PF
    \"C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\
    \Reports\\1.doc\"";
    System.out.println("In print="+cmd);
    try{
    p = r.getRuntime().exec(cmd);
    //p.waitFor();
    stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    System.out.println("Input="+stdInput);
    System.out.println("Error="+stdError);
    } catch(IOException ioe){System.out.println("Exception="+ioe);}
    //catch(InterruptedException ie){System.out.println("Exception="+ie);}
    } //end of print fnction
    } //end of class Even if I dont use waitFor() then too the process continues for a long
    time without any output.

    Read the following.
    [http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=1]

  • GetRuntime().exec() hangs reading Linux stdin

    Hi All,
    First, my apologies if I’m in the wrong forum and would appreciate directions.
    I am having trouble getting the process to accept input from stdin. Commands that just write to stdout and/or stderr work fine. Each buffered stream has its own thread. I have even appended a <cr> to the input text but to no avail. For example, this script hangs on the read (even adding a sleep before the read is no help); but runs when hardcoding x and commenting out the read.
    abbrvd
    getRunTime().exec(“test.src”)
    proc.getOutputStream().write(“Hello World”) <expected in stdout>
    test.src
    #!/bin/bash
    read x
    /bin/echo $x
    Any help would be greatly appreciated.
    Thanks in advance.

    Easy translation for the ones who don't like hyperlinks:
    Don't forget to add the command shell in the exec() method
    (like command.com, /bin/sh, etc.).

  • Form builder Language problem under linux

    Hello,
    i have a problem with my form builder 10g under RHEL 3,
    when i write a simple text with in other languages other than English -- russian for example the inputs are not mapped correctly i mean i input a character and it displays other than expected and in the compiled applet the text is always in english,
    i have motif 2.1 with latest patches and bidi and Complex Text layout,
    and also i've set the NLS_LANG and locale , but i couldn't till now write correctly in any other language except english
    is there is any configuration files need to be edited or variables set , can anybody help with this , any links or docs are appreciated. thanks
    scenario
    Set locale russian
    set NLS russian
    run builder
    write text and run un web browser
    result text other than entered

    Hi,
    If you used the standard installation for reader, the path should have been /usr/lib32/Adobe/Reader8/bin and not /usr/lib32/Acrobat/Reader8/bin. Could you confirm how you performed the installation?
    The solution is to uninstall and re-install the reader using the standard location. We highly recommend that you install under /opt if it's a system-wide installation. Installing under /usr/lib32 seems strange given that the reader consists of more than just libraries.
    If that's not possible, you can fix it by tweaking the INSTALL script that is part of the language pack installer. Change line 198:
    from:
    198 if [ ! -d "$dir/Adobe/Reader8/Reader" -o ! -d "$dir/Adobe/Reader8/Resource" ]
    to:
    198 if [ ! -d "$dir/Acrobat/Reader8/Reader" -o ! -d "$dir/Acrobat/Reader8/Resource" ]
    and specify /usr/lib32 as the path of installation when prompted.
    Let us know how you progress.
    Gaurav

  • JFileChooser problem under Linux

    I am using a JFileChooser component to allow a user to select files for which status information is displayed in my gui.
    I am using a native method to get permissions etc on the choosen file and everything works well. If the user chooses a file which is actually a link or a fifo or a device node or a regular file, everthing works fine - the JFileChooser returns the File selected. I use the File.getPath() function and my native method gives me back permission information for display.
    My problem is when I enable multiple selections in the JFileChooser. For regular files, links, directories it works fine. But if the user try's to select a file which is actually a device node then the JFileChooser won't allow the user to select one.
    Is there any way I can overcome this problem?
    TIA
    Paul

    Hi,
    Windows is completely open and permissible regarding to user permissions. Linux is not. Check if the user you are trying to execute this java file has the permission to open a socket, for example. If he doesn't have it, then an exception would occur.
    Regards,
    Filipe Fedalto

  • RMI activation problem under LINUX

    When I try to run the activation example from the RMI tutorial, I get the following exception:
    Exception in thread "main" java.rmi.activation.ActivationException: ActivationSystem not running; nested exception is:
    java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:453)
    at examples.activation.Setup.main(Setup.java:68)
    Caused by: java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:449)
    ... 1 more
    This is with J2SE 1.4.1 on RedHat 7.3 running a vanilla 2.4.18 kernel. I'm running everything out of shell scripts to keep from getting bitten by typos.
    Here's the punchline: The identical code works just fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1.
    Netstat tells me there is something listening on the appropriate ports, and output from strace suggests that there is some traffic back and forth to the server. There is no firewall running - I unloaded ipchains in the interest of paranoia. (There is firewalling running on the working system, go figure...)
    Help? I can post more details if that would help resolve the problem.

    I wrote
    When I try to run the activation example from the RMI
    tutorial, I get the following exception:<snip>
    The key was this:
    The identical code works just
    fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1."Identical" really was - I'd used a tar archive to make a complete copy of the code running on the RH 6.2 system. The copy included the file log/Logfile.1, written by rmid (or rmiregistry). This contains lots of IP addresses; I suspect it's more than a log. Since the original machine and the clone are separated by a firewall, attempts by the clone to contact the original failed.
    Deleting the "log" directory made the problem go away.

  • DR8-A (150D) Write speed problems under linux

    Hi all,
    I would appreciate a response from MSI , perhaps a modification to the next fimware release.
    Linux applications have difficulty changing the DVD +-R write speed due to an alleged incorrect response from the DR8-A firmware.  See example, from growisofs author; http://lists.debian.org/cdwrite/2004/05/msg00192.html
    (extract)
    > > here my "dvd+rw-mediainfo /dev/dvdrecorder verbose" output:
    > >
    > > INQUIRY:                [ATAPI   ][DVD RW 8XMax    ][140D]
    > > ...
    > > GET CURRENT PERFORMANCE:        00 00 00 00 00 00 00 00 00 00 15 a4 00 23 05 3f 00 00 15 a4
    >                                    ^^ Firmware should have returned 2 in
    > this position. Value of 2 would indicate that following data is *write*
    > speed descriptor, while value of 0 indicates that it's *read*
    > descriptor, which is why growisofs terminates. I mean point is that
    > growisofs tries to verify if speed setting was successful, it does ask
    > for *write* descriptor, but apparently gets read descriptor. It's
    > clearly a firmware deficiency. Check vendor site for firmware update.
    So-far I have been unable to select a speed for the unit other than the maximum speed of the media. Apparently, when the burning program asks for the current writer speed setting, the media speed  is returned.
    While I am impressed with the advertised versatility of the unit, i am disappointed in the number of "hangups" when unsuitable media is inserted. The only way to return the unit to service is to completely turn off the power, a re-start is insufficient. (Linux or Windows)
    Thanks
    Noel

    Post your computer's specification.
    And what kind of Linux are u using, i.e. what OS? Also try other burning software in Linux.
    Note: I know how to use Linux myself.

Maybe you are looking for

  • MB Colorista renders interlaced in (AME) APP CS4

    Hey everyone, Everytime I apply colorista to a Clip in Adobe Premiere Pro CS4 and render it out with Adobe Media Encoder (Youtube Widescreen HD, H.264) the parts of the video are interlaced although my footage, sequence as well as my render settings

  • How can I add invisible buttons to a scrollable window?

    I've made a scrollable window that basically scrolls some text and images. I'd like the images to link to another site but I'm having trouble getting the invisible buttons to scroll with the images. The text and images laid out in Flash. That is, I'm

  • Downloading spool to PDF background

    Hi friends How can i downlaod spool to PDF format in back gorund. i know we cna download background into server as we required in PDf format. i am able to downlaod but when i go to AL11 tcode and open i am not able to see in PDF format.. is there any

  • Layout too small on 4k monitor

    the software layout is too small to read on my new 4k laptop monitor, how can i fix that?

  • Jdbc database access

    The following is not running and it got compiled . I want to know whether it is possible to open a recordset for processing based on a value from another recordset . I need to get values from a recordset based on a value from previous recordset.. Nes