Last line is still not read

Hi,
I fixed error in last post and rewrote the code using ProcessBuilder instead.
Output from my unix tool is:
Command is a shell application' /home/myid/test/myshell/bin/run' that starts a ascii gui that looks like ( see below). It waits for input from user.
*   My shell Application                   *
HELP: h
COMMAND: c
QUIT:q
135.19.45.18>
And still the last line is not showing when I read the text.
I have tried with readLine() and I get the same error.
Note: When I debug, after characters in line:
OUIT:q
have been read I can see that debugger hangs on
br.read()
And now the code looks like:
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
public class RunShellCmd {
    private BufferedReader processInputStream;
    private BufferedWriter processWriter;
    public static void main(String args[]) throws Exception {
        RunShellCmd cmd = new RunShellCmd();
        cmd.runCmd();
    public void runCmd() throws Exception {
        Process process = null;
        List<String> cmd = new ArrayList<String>();
        cmd.add("/bin/bash");
        cmd.add("/home/myid/test/myshell/bin/run");
        ProcessBuilder processBuilder = new ProcessBuilder(cmd);
        processBuilder.redirectErrorStream(true);
        try {
            System.out.println("start process ....");
            process = processBuilder.start();
            InputStream is = process.getInputStream();
            InputStreamReader isr = new InputStreamReader(is);
            BufferedReader br = new BufferedReader(isr);
            StringBuilder sb = new StringBuilder();
            int intch;
            while ((intch = br.read()) != -1) {
              char ch = (char) intch;
              sb.append(ch);
              System.out.println(sb.toString());
        } catch (IOException e) {
            System.out
                    .println("An error occourd: "
                            + e.toString());
        } finally {
            processInputStream.close();
            process.destroy();
            System.out.println("exit value: " + process.exitValue());
            processWriter.close();

DUPLICATE THREAD!
Please don't create duplicate threads. You already have a thread for this same issue.
I fixed error in last post and rewrote the code using ProcessBuilder instead.
Good - then post your progress in the original thread and keep using it until the problem is resolved. That way the people that tried to help you before can see the entire context of what you are trying.
https://forums.oracle.com/thread/2611844

Similar Messages

  • Nikon D550 Lightroom 5.7.1 and will still not read NEF format

    Both 12-bit and 14-bit RAW will still not read in updated Lightroom 5.7.1.  DNG Converter also will not recognize NEF files on camera.  Nothing worse than a new camera and not being able to import the pictures.  Can anyone help? Please......

    It's not supported yet but should be soon. You can get interim support by downloading the latest dng converter (8.8) free from adobe and converting the NEFs to dng. Those will work in Lightroom. See which cameras are supported here: Camera Raw plug-in | Supported cameras

  • Audio Line-In Input: Not Reading Sound

    So here's my problem:
    I tried recording some stuff I was doing in my DAW using Quicktime's Audio Recording option. My understanding is that I simply start a new recording, choose my input device, and start recording (by which I chose "Built-In Input: Line In").  I chose that option thinking, "Oh hey, I obviously want the highest quality sound for a recording so my friends can hear what I'm doing...why not have them hear what I'm hearing in my headphones?" Turns out, after I listened back to the recording....NO SOUND. I triple checked but the audio clip had no sound...just silence. Then, I went to system preferences, checked to make sure the correct Audio Input was selected...yes: "Line In: Audio Line-in port,"     NOT "internal microphone." Ok...so what now?
    Then I went into the AUDIO MIDI SETUP in Utilities to make sure everything was okay there. Everything's fine...except the master volume on my Built-in Input is set to "0." The left and right faders are at a moderate level but the master is simply 0 (and it won't let me adjust it...it's just grayed out). The weird thing is, when I go back to system preferences, I have the Built-In Input level turned up. Why are these two levels different if they're the same input? Is this why I'm getting no sound when trying to record things like: music coming from my DAW, or simple audio tracks on my mac, or other recordings? I should emphasize: I AM hearing sound through my output, BUT I am NOT able to record that sound with a recording device. I've tried multiple things: Line In application, Audacity, restarting comp, changing to audo interface, checking DAW settings, etc. Why is my Line-In Input getting no signal? Thanks guys!
    My specs:
    http://support.apple.com/kb/sp644

    Couple of things to check, you say you have selected line in ok, are you sending an analog signal to the line in port?(It needs to be analog to be seen) If you are, when you open  QT, under file click new audio recording, then also click the little white triangle on the upper right and make sure that it is set to line is a well. You need to click the red square to begin recording. Also check the Audio MIDI Set Up is configured as in the 2nd  screen shot

  • Trying for the last 3 days. still not able to work on webservices

    Have made a webservice.
    Made a client.
    ran the client.
    it works fine. It prints the entire "receiving xml" part. then "sending xml" part.
    then again receiving xml and then the message i sent back from the web service
    However,
    shift it to another machine which has wls6.1
    It hangs in between
    It prints the entire "receiving xml" part.
    It stops in between printing the "sending xml" part.
    It gives an error :filenotfoundexception http://localhost:7001/invoicews/invoicewsuri.
    I think it is able to get the remote(?) of the webservice. but when it fires the
    method, it gives this error. This i found out by looking at the line number.
    On teh server side, it gives an error - NameNotFoundException: Unable to resolve
    xxx. resolved ''. unresolved 'xxx'. remaining name 'xxx'.
    Pl help. I am amazed how it works on one machine and not on another??
    Wuold request you to send your response to my account [email protected] as well.
    Thanks heap in advance. An early response would be highly appreciated!!!!
    Prashant Gupta

    Try replacing 'localhost' with the actual name of the host.
    You will also need to fix the NameNotFoundException - something is not registered.
    Mike
    "prashant gupta" <[email protected]> wrote:
    >
    Have made a webservice.
    Made a client.
    ran the client.
    it works fine. It prints the entire "receiving xml" part. then "sending
    xml" part.
    then again receiving xml and then the message i sent back from the web
    service
    However,
    shift it to another machine which has wls6.1
    It hangs in between
    It prints the entire "receiving xml" part.
    It stops in between printing the "sending xml" part.
    It gives an error :filenotfoundexception http://localhost:7001/invoicews/invoicewsuri.
    I think it is able to get the remote(?) of the webservice. but when it
    fires the
    method, it gives this error. This i found out by looking at the line
    number.
    On teh server side, it gives an error - NameNotFoundException: Unable
    to resolve
    xxx. resolved ''. unresolved 'xxx'. remaining name 'xxx'.
    Pl help. I am amazed how it works on one machine and not on another??
    Wuold request you to send your response to my account [email protected]
    as well.
    Thanks heap in advance. An early response would be highly appreciated!!!!
    Prashant Gupta

  • Still not reading Tiger DVD....

    The last topic turned into a mess, so I post it again.
    Everytime I insert the Tiger DVD, it stays in the Mac for a few seconds, and then gets ejected by the computer. I have the black labeled DVD,and do have a DVD drive able to read it. Could the DVD have comed damaged inside the box, or do I have to do something else?
    I have already tried Patchburn and it didn't work, because i already had the CD/DVD drive.....

    Arigottijr,
    your previous thread became a mess because 8 out of 11 messages came from you and you obviously lost track of your own answers to your questions, questions about questions and answers to answers.
    Was the DVD drive built-in when you bought the eMac or did you buy it later?
    And yes, there is a chance that you have mis-burnt install disks. Apple will exchange them for you. Just call the Apple Store or go to the next authorized Apple dealer (should even work with the US-bought disk).
    If this answered your question please consider granting some stars: Why reward points?

  • Canon XF Plug-in for FCP7 still not reading files

    I downloaded the Canon XF Plug-in for Final Cut Pro, so that I can log and transfer files from CanonXF 305 to FCP7 but it still doesn't work. What am I doing wrong? Also, do I have to log and transfer directly from the camera or can I just use the files?

    Copy the entire card. From the  L&T pane click the Mount Volume icon and select the Clips folder. Should work.
    Russ

  • HP PSC 1300 Series printer does not print the entire last line on page

    Using an HP PSC 1310 series printer (1315xi I think). Just changed computers and OS from winXP to Win7 Professional. Now the very bottom line on my checks only shows the top 10% of that last line. There is a 1-inch margin at the bottom of 11.5" LETTER paper. There is no problem if I use another printer (HP PSC 1210xi). Is there an updated 1310 series driver that wasn't automatically selected by Win7Prof when I switched computers?

    I see no way to adjust the margins on the printer. When I click 'Printer Properties - Effects' the Margins area has nothing I can change and even though there is a box to Minimize Margins, it cannot be clicked. Using the Resizing Option to reduce page to 95% does not pull the last line into the printable area. I can print the file to PDF using doPDF v7 and then see the printable white area that goes just under the last line when I choose the 1210xi printer, but when I select the 1300 series printer the white area moves slightly upward just above most of the last line to be printed. I can't choose the pdf selection to fit or shrink to printer because that distorts the page on my pre-printed checks, so I must choose Page Scaling as 'None'. My checks printed fine on the old computer with XP and using the same PSC 1300 printer. I've also tried to print to another printer that prints the last line with no problem.

  • Mac mini not reading CD's

    Mac mini has stopped reading cd's, I get this message "The disk you inserted was not readable by this computer."  but it will still play dvd's.  OSX10.9
    Any ideas please

    First try cleaning CDs, as per > How to Clean a DVD or CD Disc ?
    Then if the Superdrive will still not read CDs, it may have a dirty laser len and I would try either a > Maxell DVD-LC DVD Lens Cleaner or a > Memorex CD and DVD Lens Cleaning Kit on it.

  • Camera raw will not read my cf

    i have been using camera raw for 1 yr. great no problems, my computer crashed and had it reworked at my repair guys. all adobe was removed in the process. i reloaded my same discs from last year, cs4 will not read my canon 5dmark 2 compact flash files. it is fine all other ways. i shoot in raw on the camera. 2 weeks ago all was good. i have a wedding that needs to be processed and i cant read the any of the past year's raw files.

    Windows:    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4681
    Macintosh:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=4682
    -Noel

  • Cs5 not reading raw from canon t5i

    CS5 is not reading my raw files from a new camera Canon T5i.  I read in a forum or somewhere to download camera raw 7.4 update.  I did and installed, but it's still not reading my raw files.  I also have lightroom 4, so I updated lightroom 4 and that does read them.  My CS5 appears up to date saying updated and no new updates available and again, downloaded camera raw 7.4 with no success.  But I prefer to do much of my processing in CS5.  Can anyone please help.  Thanks so much~Jennifer

    Thanks so much. I purchased and installed the upgrade to CS6 via download, but it still doesn't seem to read the raw.  I have not yet unistalled CS5, I thought the one would override the other, but I must have to manually unistall CS5.  Do I need to do that before CS6 works correctly?  I also did a manual update for Camera Raw and it apparently didn't find any updates.  I also extrcted that update 7.4 update DNG converter, but perhaps I don't quite understand the digital negative files, but when I asked it to search my image folders, it also said files not found. Any additonal help would be much appreciated.  Thanks again!~Jennifer

  • HT1338 My macbook pro(2010) is not reading the hard drive, but the hard drive works through the USB?

    Hi everyone,
         My Macbook pro(2010) is not reading the internal Hard Drive. At first I thought it to be a hard drive gone bad, so i bought a new hard drive. My macbook is still not reading the Hard Drive. I am able to use the original hard drive through a external(USB) connection. Also, when the macbook turns, there is a redelling sound. Can anyone offer me any suggestions to what the problem might be?   

    It sounds like the internal cable connecting the HDD to the logic board is improperly connected or faulty.  An appointment at an Apple genius bar might be a good option.  The repair should not be too expensive.
    Ciao.

  • I had free adobe reader and i scanned a doc to send to a client and as of last night i could not send as an attachment thru my email. So I paid for the 89.99 year adobe pkg and it still wont let me email a scanned and saved doc. it says 'an unknown error

    i had free adobe reader and i scanned a doc to send to a client and as of last night i could not send as an attachment thru my email. So I paid for the 89.99 year adobe pkg and it still wont let me email a scanned and saved doc. it says 'an unknown error occurred'?

    What exactly means "could not"?
    And what Adobe product/service did you pay for?

  • Safari settings still not lasting

    Good Evening,
    I recently posted a question which I felt was answered at the time correctly in reference to maintaining my settings in Safari.  I'll attach the URL as well as repost the question asked:
    How do I lock the favorites bar and stop the "welcome screen"?
    I've been a Mac user for quite some time and recently upgraded to OX X 10.10, and Safari 8.0.  My issue is I like my favorites bar to be available, however each time I quit Safari I have to hit Shift+Command+b to force it to appear again.  Is there a way I can lock this setting so I don't have to set up my browser each time I sit down to the computer?  Also, I would like to know what it takes to get rid of the "Welcome to Safari" banner from starting up each time I restart the program.  I went to preferences>general and tried to change the settings in "New tab opens with" and "New windows open with", however these settings reset each time I restart Safari as well.  Thanks for any assistance
    Bottom line is that I unchecked the general "close windows when quitting an app" and this worked it seemed, however the issue is back.  If anyone knows how to lock the favorites bar permanently aside from switching to firefox, opera, or chrome I would appreciate the help.

    So, I believe I have found a fix that is somewhat long and technical.  The thread I found it in was here:
    safari unstable
    for some reason on this new update safari has become unstable for some users I'm guessing.  The following steps seemed to have helped me (NOTE: I've edited the procedure to reflect what I've seen on my Mac...Linc Davis deserves all credit for the assist!)
    Back up all data if you haven’t already done so. Before proceeding, you must be sure you can restore your system to the state it’s in now.
    Last warning: DO NOTHING unless you have a backup and you know you can restore from it.
    Read this whole message before doing anything. (I copied and pasted it to a word doc and printed it out)
    Quit (command+q) Safari if it’s running.
    Step 1
    In the Finder, press the key combination shift-command-A to open the Applications folder. Select the Safari icon in that folder and press the key combination command-I to open the Info window. There’s a checkbox in the Info window labeled Open in 32-bit mode. If that box is checked, uncheck it. Close the Info window and the Applications folder.
    ***I didn't see the above first step, as my Mac is already upgraded to Yosemite.***
    Open the Library folder in your home folder as follows:
    ***** ON YOSEMITE - in finder press shift+command+g in order to find the "Go to Folder"  and search for ~/Library option discussed below"******
    ☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
    Delete the following items from the Library folder (some may not exist):
    Caches/com.apple.Safari
    Caches/com.apple.WebKit.PluginProcess
    Caches/Metadata/Safari
    Preferences/com.apple.WebKit.PluginProcess.plist
    Saved Application State/com.apple.Safari.savedState
    Leave the Library folder open. Try Safari again. If it works now, stop here. Close the Library folder. (For me my browser was still not saving settings at this point)
    Step 2
    If Safari still doesn’t work right, quit, go back to the Finder and move the following items from the open Library folder to the Desktop (some may not exist):
    (I REMOVED A FEW MORE FILES THAN THE ORIGINAL PROCEDURE - the different ones are underlined)
    Cookies/com.apple.appstore.plst - corrupt (not sure if this matters, however I see corrupt to be a bad thing)
    Cookies/Cookies.binarycookies
    Cookies/Cookies.binarycookies - corrupt
    Cookies/Cookies.plist
    Cookies/Cookies.plist_temp_9140_0.dat (figured temp files should go too)
    Cookies/Cookies.plist_temp_41767_0.dat
    Cookies/Cookies.plist_temp_44798_0.dat
    Cookies/Cookies.plist_temp_58558_0.dat
    Preferences/com.apple.Safari.LSSharedFileList.plist
    Preferences/com.apple.Safari.plist
    Preferences/com.apple.Safari.RSS.plist
    PubSub/Database
    Safari
    (Note: you are not moving the Safari application. You’re moving a folder named “Safari.”)
    Try again. This time Safari should perform normally, but your settings and bookmarks will be lost. (this is where I found success...my custom settings were remaining even after I quit Safari!)
    If the issue is still not resolved, quit Safari again and put all the items you moved to the Desktop back where they were, overwriting the newer ones that will have been created in their place. You don’t need to replace the files you deleted in step 1. Stop here and post again.
    If Safari is now working normally (apart from the lost settings), look inside the “Safari” folder on the Desktop for a file named “Bookmarks.plist”. Select File ▹ Import Bookmarks from the Safari menu bar. Import from that file. Recreate the rest of your Safari settings. You can then delete the items you moved to the Desktop.
    Note: This step will remove your Safari Extensions, if any, and their settings. If you choose to restore them, do so one at a time, testing after each step to make sure you haven’t restored the problem.
    If you don’t like the results of step 2, you can undo it completely by quitting Safari and restoring the items you moved or deleted in that step from your backup, overwriting any that were created in their place. If you followed these instructions, you have a working backup and you know how to restore from it. If you didn’t follow the instructions, I can’t help.
    I will leave this thread up, in case someone comes up with a more direct reason why this works, however at this time it seems as though things are working how I want them again.

  • Cannot retrieve all vector objects - reading only last line .. Please help

    <pre>
    When I test the vector in the method that adds the elements, each line is returned. Testing the vector in the method getData(), all items are returned within the while loop, but the test returns only the last line of in the vector. Can anyone help me out and let me know what I'm doing wrong.
    Here's a summary of what I'm doing and the code follows.....
    My bean class:
    - creates a vector and adds several lines to the vector
    - using StringTokenizer and Enumeration, parses the data and checks to see if the line has the required amount of tokens (which is 4). If so, then the string is passed to my main class
    In the main class, the string is parsed into its appropriate attribute and then the required ones are displayed in the browser.
    //Vector class bean
    public SpecBean()
    public Vector addData()
    vecdata.addElement ("3|4||");
    vecdata.addElement ("2|3||1200");
    vecdata.addElement ("1|2|Q|");
    vecdata.addElement ("4|2|U|4356");
    return vecdata;
    public String getData()
    StringTokenizer st;
    String record = new String();
    Enumeration enumdata = vecdata.elements();
    while (enumdata.hasMoreElements())
    record = enumdata.nextElement().toString();
    System.out.println (record);
    st = new StringTokenizer( record, "|");
    int numberOfTokens = st.countTokens();
    if (numberOfTokens < 4)
    record = "Incomplete Data";
    return record;
    // end class...
    //begin main class -- this is a servlet which is why the
    //out.println statements are there
    try {
    SpecBean specs = new SpecBean();
    specs.getItemListing();
    token = new StringTokenizer ((String)specs.getData(), "|");
    out.println ("<table width=\"100%\" border=1>");
    out.println("<tr>");
    out.println ("<td width=\"40%\">");
    while (token.hasMoreTokens())
    String id = token.nextToken();
    String orderNum = token.nextToken();
    String name = token.nextToken();
    String confNum = token.nextToken();
    out.println (title + "</td>");
    out.println ("<td width=\"20%\" align=\"right\">" + "$" + price + "</td>");
    out.println ("<td width=\"40%\">" + notes);
    //end main class
    Thank you.

    <pre>
    My apologies. What I was looking to do was return EVERY line from the vector that had an equivalent of 4 tokens and no less. I just realized that the sample data I had entered into the vector only had one line w/ 4 tokens. When this is modified and there are 2+ lines that contain 4 tokens, the only line that is retrieved is the very last line. So if the data in the vector was:
    public Vector addData()
    vecdata.addElement ("3|4|rtd|222");
    vecdata.addElement ("2|3||1200");
    vecdata.addElement ("1|2|QsT|");
    vecdata.addElement ("4|2|U|4356");
    return vecdata;
    public String getData()
    StringTokenizer st;
    String record = new String();
    Enumeration enumdata = vecdata.elements();
    while (enumdata.hasMoreElements())
    record = enumdata.nextElement().toString();
    System.out.println (record);
    st = new StringTokenizer( record, "|");
    int numberOfTokens = st.countTokens();
    if (numberOfTokens < 4)
    record = "Incomplete Data";
    return record;
    The output to the browser is
    4 2 U 4356
    and not
    3 4 rtd 222
    4 2 U 4356
    I did some print statements throughout addData() and getData() to see if all of the objects in the vector were still there and everything checked out until I hit the end of the getData(). Before 'return record' the print statement returned '4 2 U 4356' only. I'm not sure what I have missed to have the getData() method return only one matching line and not all of them.
    Your help is appreciated. Thank you.

  • TS2570 Still cant access my computer, followed instructions to perform a safe boot and last line of script it shows: BootCacheControl: Unable to open /Var/db/BootCache.playlist:2 No such file or directory. Any idea?

    Brand new Mac Book Pro
    Purchased in Mexico's Department store Liverpool on June 20th 2012
    Purchased Memory upgade to 8Gb, on june 27th, at Apple Store Memorial City, Houston
    Upgraded memory from 4Gb to 8Gb on June 28th.
    Tried to write on my external HD (previously written on a windows based PC) with no success.
    Upon reccomendation from a Mac assistant, copied all my external HD contents into my Mac Hard drive.
    Then formatted my external HD and copied back all my information to it.
    deleted all the  information from my MacBook Pro HD.
    Attempted to repeat the same operation with another external HD, but got a message saying there was not enough epace on the computer HD (even though I have a 750Gb Hard Drive.
    Looked in the trash bin and there it was, all the information previously deleted..
    Could not empty the trash bin, although I got a message asking me to safely delete all the information from the trash bin,
    Could not get enough space released, after several attpempts the trash bin was finally emptied.
    All happy getting acquainted with my new MacBook Pro. Two days later, got a gray screen and not able to start the computer.
    Looking in to Mac support I found article http://support.apple.com/kb/TS2570 and followed instructions to perform a safe boot:
    "Perform a Safe Boot
    Simply performing the Safe Boot may resolve this issue.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start your Mac, then immediately hold the Shift key. This performs a Safe Boot. Advanced tip: If you want to
    see the status of a Safe Boot as it progresses, you can hold Shift-Command-V during start up (instead of just Shift).
    Note: A Safe Boot takes longer than a typical start up because it includes a disk check and other operations.
    The following is the script that appears on the screen upon safe boot. and halt after the last line.
    AppleACPICPU:Processor Id=6 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=7 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=8 LocalAplicId=255 Disabled
    calling mpo_policy_init for TMSafetyNet
    Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    calling mpo_policy_init for Sandbox
    Security policy loaded: Seatbelt sandbox policy (Sandbox)
    calling mpo_policy_init for Quarantine
    Security policy loaded: Quarantine Policy (Quarantine)
    Copyright (c) 1982, 1986, 1989, 1991, 1993
            The Regents of the University of California. All Rights Reserved.
    MAC Framework Succesfully initializad
    using 16384 buffer headers and 10240 cluster IO buffer headers
    IOAPIC: Version 0x20 Vextors 64:87
    ACPI: System State [SO S3 S4 S5] (S3)
    PFM64 (36cpu) 0xf10000000, 0xf0000000
    Aplconsole relocated to 0xf1000000
    PCI configuration changed (bridge=16 device=4 cardbus=0)
    [ PCI configuration end, bridges 12 devices 16 ]
    Firewire (OHCI) Lucent ID 5901 built-in now active, GUID 3c0754fffe9b2aa2; max speed s800.
    Pthread support ABORTS when sync kernel primitives misused
    com.apple.AppleFSCompressionTypeZlib kmod start
    com.apple.AppleFSCompressionTypeDataless kmod start
    com.apple.AppleFSCompressionTypeZlib load succeeded
    com.apple.AppleFSCompressionTypeDateless load succeeded
    AppleIntelCPUPowerManagementClient: ready
    BTCOEXIST off
    wl0: Broadcom BCM4331 802.11 Wireless controller
    5.100.98.75
    AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitializad
    rooting via boot-uuid from /chosen: 6E918706-FC0D-37460-A3A0-6268A51DF93B
    Waiting on <dict ID="0"><key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleAPIPCI/SATA@1F,2/AppleIntelPchSe riesAHCI/PRT0@0/AOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlock
    storageevice /IoBlockStorageDriver/TOSHIBA MK7559GSXF Media/IOGUIDPartit
    BSD root: disk0s2, major 14, minor 2
    Kernel is LP64
    com.apple.launchd 1   com.apple.launchd 1   *** launchd[1] has started up. ***
    com.apple.launchd 1   com.apple.launchd 1   *** Verbose boot, will log to /dev/console. ***
    Running fsck on the boot volume...
    ** /dev/rdisk0s2 (NO WRITE)
    ** Root file system
       Executing FSCK_HFS (version diskdev_cmds-540.1~25).
    BootCacheControl: UNable to open /Var/db/BootCache.playlist:2 No such file or directory
    launchctl:Dubious permissions on file (skipping): /Library/LaunchDaemons
    launchctl:Dubious permissions on file (skipping): /System/Library/LaunchDaemons
    Any help or suggestions on what to do next would be welcomed.
    I am in the middle of the Atlantick, stuck with a brand new, non working Apple MacBook Pro.
    Best regards
    Sergio Ramos

    Reinstalling MacOS does NOT fix the problem for me.  I'm still searching a solution !
    Bernard

Maybe you are looking for