Pipe read  error

i'm trying to make a ServerSocket that listen for clients and then uses one thread to read from a file and for each client starts another thread, and then as the file is being readed to send data to the other threads and from there to the clients but i've got a little stock
i don't know if i have used how it should the pipe connection; can somebody take a look at it? i would be grateful
thanks
import java.io.*;
import java.net.*;
public class sample_server {
  public static void main(String[] args) {
    try{
      ServerSocket listener = new ServerSocket(Config.port);
      Socket server;
       Reader cititor=new Reader();
       cititor.start();
      while((Config.openConexions++ < Config.maxConnections) || (Config.maxConnections == 0)){
         server = listener.accept();
        Handler conn= new Handler(server,cititor);
        conn.start();
    } catch (IOException ioe) {}
class Config {
static int port=4444, maxConnections=0,openConexions=0;
class Reader extends Thread{
RandomAccessFile file;
public PipedWriter  pipeOut;
char ch;
public Reader(){
try {
file = new RandomAccessFile("c:/student.txt","r");
pipeOut = new PipedWriter();
     catch (IOException e){}
public void run()
     try {
          while (true)
               ch=file.readChar();
               System.out.println(ch);
               pipeOut.write(ch);
          catch(IOException e){}
class Handler extends Thread {
    private Socket server;
    private String line;
     private Reader cititor;
     private PipedReader cit;
     private char ch;
    Handler(Socket server,Reader citeste) {
      this.server=server;
       this.cititor=citeste;
       try {
       this.cit=new PipedReader(cititor.pipeOut);
            catch(IOException e){};
    public void run () {
      try {
        // Get input from the clien
        DataOutputStream out = new DataOutputStream(new BufferedOutputStream(server.getOutputStream()));
        while(true)
               ch=(char)cit.read();
            System.out.println(ch);
      } catch (IOException ioe) {}
}

The basic flaws are that you're not checking for EOS when reading from the file or the pipe, and swallowing exceptions instead of logging them and handling them sensibly, and that you're never closing anything, but the entire scheme doesn't make any sense. If you're trying to serve the contents of 'student.txt' to every client, there is no reason to have the file reading thread at all: just read the file in every client-handling thread. If you want every client to get an arbitrary portion of the file, stick with your current architecture. In reality, the first client to connect will most probably read the entire contents of the file from the pipe, after which the file reader thread can't do anything except exit, so all the other clients will get nothing.

Similar Messages

  • Named Pipes provider, error:40 could not open a connection to sql server. Only happens on one of the front end SRS servers

    when testing a datasource connection I get the following error.
    Named Pipes provider, error:40 could not open a connection to sql server.
    I've read all the posts on this and nothing works.  This is a scale out deployment and the connection
    works from the other server I have setup with SRS that is connected to the same backend SRS databases.  It just doesn't work from one of the SRS front ends.  I'm at a loss..  please help

    Enable both named pipe and TCP communications.
    Make sure client is using the same (named) pipe name as server for connection.
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Reporting Services 2008 R2 configuration error: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    Hi, I am using SQL Server 2008 R2 and on one of our dev boxes I am trying to setup ReportServer using ReportingServices Configuration manager. This is was installed longtime back and during installation they created a service account for reporting services.
    When I try to configure the service account I do not get the service account created during the installation in the pull down and if I were to use something different I get this "Named Pipes Provider, error: 40 - Could not open a connection to SQL Server"
    error.
    Thanks in advance...........
    Ione

    Hi,
    Take a look at this blog - http://blogs.msdn.com/b/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx
    I hope it will help.

  • Re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    Hi,
    I'm encountering an issue with "Named Pipes Provider, error: 40 windows" and am having problems determining how to fix it due to the environment I'm using.  I have two SQL Servers installed on two separate Win2K3 Server boxes, one is SQL Server 2000 and the other is SQL Server 2005.  The SQL Server 2000 contains the actual application data.  The 2005 database is used only for Reporting Services.  I've set up the reports on SSRS such that their datasources hit the 2000 server.  This is using SQL Server authentication.
    When testing the reports via SSRS (in Visual Studio 2005), the connection to the data works and the reports are generated fine.  When I deploy them to the reporting server and launch IE to test locally (still on the 2005 box), I get this "Named Pipes Provider, error 40" issue.  I made sure that Named Pipes and TCP were enabled and the port set at 1433 (to match that on the 2000 box). 
    Now I changed the datasource's authentication from SQL Server to Windows authentication.  I tested this in SSRS and this works too.  When I redeployed the reports with this authentication change, testing the reports via IE locally (on the 2005 box) worked.  Great.  Now when I open IE on an external box, i.e. on the 2000 box, and try to test the reports, I get this same error 40 issue.  I've been through a few threads describing the error 40, fiddling around with the SQL Server configuration as well as SSRS, to no avail.  I have a feeling this error 40 issue has to due with permissions/authentication between the SQL Server boxes but I can't really be sure.  Anyone have any ideas on how to troubleshoot my situation.  Thanks.
    larry

    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server :
    I.   Incorrect connection string, such as using SqlExpress.
    Check out: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=558456&SiteID=17
                    https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1245564&SiteID=1
    The typical error when dealing with Express includes:
    a.  User is not aware of SqlExpress was installed as a named instance, consequently, in his/her connection string, he/she only specify ".","localhost" etc instead of ".\SqlExpress" or "<machinename>\Sqlexpress".
    b. Np was disabld by default after installing SqlExpress.
    c. If Sqlexpress was installed on the remote box, you need to enable remote connection for Express.
    Please read the following blog for best practice of connecting to SqlExpress.
    http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx
    II. Named Pipes(NP) was not enabled on the SQL instance.
    Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=136253&SiteID=1
    Oppose to SQL 2000 which turn on all protocols, SQL 2005 SKUs turn off NP by default. So, when you see this error, please check:
    1) Go to SQL Server Configuration Manager, See Server has NP enabled.
    2) %windir%\program files\microsoft sql server\mssql.1\mssql\log, notepad ERRORLOG, see whether Server is listening on NP.  You should see "Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ] or [\\.\pipe\mssql$<InstanceName>\sql\query]"
    3) Notice that "sql\query" is the default pipe name, so you need to know server is listening on which pipe name. eg: if you specify server pipe name is "sql\query1", then you would see in the errorlog that server listening on [ \\.\pipe\sql\query1 ], and go to SQL Server Configuration Manager, click client Named Pipe properties, see whether the pipe name is same with the one server listening on.
    4) If you are using SQL Native Client ODBC/OLEDB provider({SQL Native Client} or SQLNCLI), go to SQL Configuration Manager, click client protocols, make sure NP and TCP are both enabled. Right click properties of NP, make sure client is using the same pipe name as server for connection.
    5) If you are using MDAC ODBC/OLEDB({SQL Server} or SQLOLEDB) provider, in command line, launch "cliconfg.exe" and make sure NP enabled and right pipe name specified.
    III. Remote connection was not enabled. 
    Check out: when you right click on the Server in SQL Server Management Studio, in Connections, the Remote server connections part, you have enabled the "Allow remote connections to this server" check box
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322792&SiteID=1
    https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=763875&SiteID=1
    If you are making a remote connection, namely, your target SQL Server is on the different box as client application, you might need to check whether:
    a. "File and Printer Sharing" was opened in Firewall exception list.
    b. Please see the blog for enabling remote connection for express and troubleshooting tips of remote connection.
    http://blogs.msdn.com/sql_protocols/archive/2005/11/14/492616.aspx
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    IV. Server not started, or point to not a real server in your connection string.
    Check out: Open SQL Server Surface Area Configuration and ensure all the required services are started, Remote Connections are configured.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=348662&SiteID=1
    a. use "sc query mssqlserver" for default instance or "sc query mssql$<instancename>" to make sure SQL Server was started. Sometimes, reseason behind the broken of your client application w/ this error:40 might be SQL server restarted and failed, so, it'd better for you to double check.
    b. User specified wrong server in their connection string, as described in the forum discussion, "MSSQLSERVER" is an invalid instance name. Remember, when you connect to default instance, <machinename> could be best representitive for the instance, when you connect to a named instance such as sqlexpress, you should specify <machinename>\<instancename> as data source in your connection string.
     V. Other reasons such as incorrect security context.
    Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&SiteID=1
    Such error also occured during user operation such as moving database or db mirroring or cluster, any DB OP that might invovle different sql instances, namely, the destination database is located in another sql instance and user is not aware of the state of the destination. I recommend you first isolate whether this fail is during connection stage or data operation stage.
    a. During data operation, you are normally asked to type in the destination server name whether it is default to "(local)" or another server "<remotemachinename>". So, remember the exact string that represent the target instance, then when the error repros, open command line, use "sqlcmd -S<representitive> -E" ,see what happens, if the connection fail, please follow up above I - IV troubleshooting lists. otherwise continue.
    b. If you can make basic conection, but still face the error, then there must be something that server reject the connection or client close the connection for some reason.
    VI. Please try basic connectivity tests between the two mahcines you are working on. One simple way to verifty connectivity is to use command line tools, such as osql.exe. For example, osql -E -Stcpervername\instancename. If it connects cross-machine successfully, please also verify that your connection string in your scenario is correct.
    Here are some blogs which could be helpful: just follow the basic connectivity troubleshooting guidelines on the SQL Protocols blog, see:
    SQL Server 2005 Connectivity Issue Troubleshoot - Part I
    http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx
    and
    SQL Server 2005 Connectivity Issue Troubleshoot - Part II
    http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx
    Hope this helps.

  • "Disk read error occurred" cannot even load System Recovery

    Hello,
    yesterday I powered on my computer, and it was almost froze, with only the mouse moving and even the task manager not showing up when called.
    I first tried to make it go in standby, as I thought it was some program which didnt start as planned. After I closed the screen , the screen went black, but the pc continued to run. I then pressed the power button, shutting the system the hard way.
    After that, I powered back the pc, which now only showed "Disk read error occurred, press ctrl+alt+del to restart" and obviously this wasnt the solution. I tried resetting the BIOS, then running the diagnostics on f2: it ALWAYS passes the test the first time, then if i try to run the diagnostics again, it says "NOT INSTALLED". I tried running the system recovery on f11, but the same "disk read error" appears.
    I-ve already confirmed the problem lies in the hard disk itself {hitachi 750gb}, having plugged it in another notebook with an hitachi hard disk and still showing the same problem, while the other hard disk booted just fine in my HP.
    I tried with a win7 cd, both recovering and installing a new version, but they both kept frozen for about 1 hour and did nothing.
    I then made a bootable USB with Trinity Recovery Kit and after a quick diagnostic, it said boot partition has "unclean" windows files and tried fixing the problem, without success. I-m now writing from a bootable USB linux distro, because i cannot find a bootable iso oh hitachi recovery program, what should I do?
    Is it possible the hard disk failed so bad for an uncommon closure of the system? It looks to me like some data got corrupted.
    Please help me, as I-m an academy student and I use the PC for almost everything.
    Thank you.

    I-ve booted Boot Repair 64bit and tried repairing the boot section... i even checked the boot infos and printed an info file, can someone answer what the actual FOG is happening here?
    Spoiler (Highlight to read)
     Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]
    ============================= Boot Info Summary: ===============================
     => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
     => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
        File system:       vfat
        Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
        Boot sector info:  Syslinux looks at sector 840 of /dev/sda1 for its
                           second stage. SYSLINUX is installed in the /multiboot
                           directory. No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi
                           /multiboot/boot-repair-disk-64bit/EFI/BOOT/grubx64.efi
    sdb1: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /bootmgr /Boot/BCD
    sdb2: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /Windows/System32/winload.exe
    sdb3: __________________________________________________________________________
        File system:       vfat
        Boot sector type:  Windows 7/2008: FAT32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /Hewlett-Packard/BIOSUpdate/CryptRSA.efi
                           /Hewlett-Packard/BIOSUpdate/CryptRSA32.efi
                           /Hewlett-Packard/BIOSUpdate/HpBiosUpdate.efi
                           /Hewlett-Packard/BIOSUpdate/HpBiosUpdate32.efi
    sdb4: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 2014 MB, 2014314496 bytes
    48 heads, 47 sectors/track, 1743 cylinders, total 3934208 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    /dev/sda1    *          7,736     3,934,207     3,926,472   6 FAT16
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    /dev/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
    /dev/sdb2             206,848 1,042,102,271 1,041,895,424   7 NTFS / exFAT / HPFS
    /dev/sdb3       1,042,102,272 1,058,879,487    16,777,216   c W95 FAT32 (LBA)
    /dev/sdb4       1,058,879,488 1,465,145,343   406,265,856   7 NTFS / exFAT / HPFS
    GUID Partition Table detected, but does not seem to be used.
    Partition    Start Sector    End Sector  # of Sectors System
    "blkid" output: ________________________________________________________________
    Device           UUID                                   TYPE       LABEL
    /dev/loop0                                              squashfs   
    /dev/sda1        8445-39EA                              vfat       MULTIBOOT
    /dev/sdb1        E48A3EB48A3E82DA                       ntfs       System Reserved
    /dev/sdb2        869E4B729E4B5A37                       ntfs       
    /dev/sdb3        70C8-BABE                              vfat       HP_TOOLS
    /dev/sdb4        FA50FC5C50FC2155                       ntfs       Bananalandia
    /dev/sr0                                                udf        UDF Volume
    /dev/zram0       c7af1e29-699f-4efa-a763-6bd4df3c5edf   swap       
    /dev/zram1       ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1   swap       
    /dev/zram2       744b5bbe-811f-43c5-b381-5f9723476774   swap       
    /dev/zram3       501bb243-bf9b-4346-a227-d10edf37dfda   swap       
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root  9 Jan  6 20:12 ata-hp_DVDRAM_GU90N_M83E1M80128 -> ../../sr0
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 usb-Generic_Flash_Disk_E5F27B91-0:0 -> ../../sda
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 usb-Generic_Flash_Disk_E5F27B91-0:0-part1 -> ../../sda1
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 wwn-0x5000cca760d011d0 -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 wwn-0x5000cca760d011d0-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root  9 Jan  6 20:12 wwn-0x5001480000000000 -> ../../sr0
    ================================ Mount points: =================================
    Device           Mount_Point              Type       Options
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sr0         /media/it/UDF Volume     udf        (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 9523: bash
    File descriptor 63 (pipe:[28797]) leaked on lvs invocation. Parent PID 9523: bash
      No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2015-01-06__20h12 ===================
    boot-repair version : 4ppa14
    boot-sav version : 4ppa14
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version : 4ppa14
    File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 4571: /bin/sh
    No volume groups found
    boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
    ls: cannot access /home/usr/.config: No such file or directory
    CPU op-mode(s):        32-bit, 64-bit
    BOOT_IMAGE=/multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi file=/cdrom/multiboot/boot-repair-disk-64bit/preseed/lubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid live-media-path=/multiboot/boot-repair-disk-64bit/casper/ initrd=/multiboot/boot-repair-disk-64bit/casper/initrd.lz quiet splash --
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== os-prober:
    /dev/sdb1:Windows 7 (loader):Windows:chain
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: SEC_TYPE="msdos" LABEL="MULTIBOOT" UUID="8445-39EA" TYPE="vfat"
    /dev/sdb1: LABEL="System Reserved" UUID="E48A3EB48A3E82DA" TYPE="ntfs"
    /dev/sdb2: UUID="869E4B729E4B5A37" TYPE="ntfs"
    /dev/sdb3: LABEL="HP_TOOLS" UUID="70C8-BABE" TYPE="vfat"
    /dev/sdb4: LABEL="Bananalandia" UUID="FA50FC5C50FC2155" TYPE="ntfs"
    /dev/sr0: LABEL="UDF Volume" TYPE="udf"
    /dev/zram0: UUID="c7af1e29-699f-4efa-a763-6bd4df3c5edf" TYPE="swap"
    /dev/zram1: UUID="ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1" TYPE="swap"
    /dev/zram2: UUID="744b5bbe-811f-43c5-b381-5f9723476774" TYPE="swap"
    /dev/zram3: UUID="501bb243-bf9b-4346-a227-d10edf37dfda" TYPE="swap"
    1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
    Windows not detected by os-prober on sdb2.
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== UEFI/Legacy mode:
    This live-session is not in EFI-mode.
    EFI in dmesg.
    [    0.000000] ACPI: UEFI 000000009cffd000 000236 (v01 HPQOEM 2166     00000001 HP   00040000)
    SecureBoot maybe enabled.
    =================== PARTITIONS & DISKS:
    sdb1    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    not-far,    /mnt/boot-sav/sdb1.
    sdb2    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    haswinload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb2.
    sdb3    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb3.
    sdb4    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb4.
    sdb    : GPT,    no-BIOS_boot,    has-no-EFIpart,     not-usb,    has-os,    2048 sectors * 512 bytes
    =================== parted -l:
    Model: Generic Flash Disk (scsi)
    Disk /dev/sda: 2014MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number  Start   End     Size    Type     File system  Flags
    1      3961kB  2014MB  2010MB  primary  fat16        boot
                                                                                Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    Model: ATA HGST HTS541075A9 (scsi)
    Disk /dev/sdb: 750GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Number  Start  End  Size  File system  Name  Flags
                                                                                Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
                                                                                Error: /dev/sr0: unrecognised disk label
                                                                                Error: /dev/zram0: unrecognised disk label
                                                                                Error: /dev/zram1: unrecognised disk label
                                                                                Error: /dev/zram2: unrecognised disk label
                                                                                Error: /dev/zram3: unrecognised disk label
    =================== parted -lm:
    BYT;
    /dev/sda:2014MB:scsi:512:512:msdos:Generic Flash Disk;
    1:3961kB:2014MB:2010MB:fat16::boot;
                                                                                Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    BYT;
    /dev/sdb:750GB:scsi:512:4096:gpt:ATA HGST HTS541075A9;
                                                                                Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
                                                                                Error: /dev/sr0: unrecognised disk label
                                                                                Error: /dev/zram0: unrecognised disk label
                                                                                Error: /dev/zram1: unrecognised disk label
                                                                                Error: /dev/zram2: unrecognised disk label
                                                                                Error: /dev/zram3: unrecognised disk label
    =================== mount:
    /cow on / type overlayfs (rw)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    none on /sys/fs/cgroup type tmpfs (rw)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    none on /sys/fs/pstore type pstore (rw)
    systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
    gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=it)
    /dev/sr0 on /media/it/UDF Volume type udf (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)
    /dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb3 on /mnt/boot-sav/sdb3 type vfat (rw)
    /dev/sdb4 on /mnt/boot-sav/sdb4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    =================== ls:
    /sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent
    /sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 sdb4 size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd freefall full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb4 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
    ls /dev/mapper:  control
    =================== hexdump -n512 -C /dev/sdb1
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
    00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
    00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
    00000040  f6 00 00 00 01 00 00 00  da 82 3e 8a b4 3e 8a e4  |..........>..>..|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb2
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|
    00000020  00 00 00 00 80 00 80 00  ff 0f 1a 3e 00 00 00 00  |...........>....|
    00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
    00000040  f6 00 00 00 01 00 00 00  37 5a 4b 9e 72 4b 9e 86  |........7ZK.rK..|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb3
    00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 10 16 20  |.X.MSDOS5.0.... |
    00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3e  |........?....8.>|
    00000020  00 00 00 01 f5 1f 00 00  00 00 00 00 02 00 00 00  |................|
    00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000040  80 01 29 be ba c8 70 4e  4f 20 4e 41 4d 45 20 20  |..)...pNO NAME  |
    00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
    00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 41  |{......|[email protected]|
    00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
    00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |[email protected].|
    00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|
    000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
    000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
    000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
    000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
    000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
    000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
    00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
    00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |[email protected]|
    00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
    00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
    00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|
    00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
    00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |[email protected]|
    00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|
    00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............Re|
    000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|
    000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|
    000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |
    000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|
    000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb4
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3f  |........?....8.?|
    00000020  00 00 00 00 80 00 80 00  ff 1f 37 18 00 00 00 00  |..........7.....|
    00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
    00000040  f6 00 00 00 01 00 00 00  55 21 fc 50 5c fc 50 fa  |........U!.P.P.|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== df -Th:
    Filesystem     Type       Size  Used Avail Use% Mounted on
    /cow           overlayfs  3.9G  6.2M  3.9G   1% /
    udev           devtmpfs   3.9G   12K  3.9G   1% /dev
    tmpfs          tmpfs      792M  1.2M  791M   1% /run
    /dev/sda1      vfat       1.9G  628M  1.3G  33% /cdrom
    /dev/loop0     squashfs   549M  549M     0 100% /rofs
    none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
    tmpfs          tmpfs      3.9G  8.0K  3.9G   1% /tmp
    none           tmpfs      5.0M     0  5.0M   0% /run/lock
    none           tmpfs      3.9G     0  3.9G   0% /run/shm
    none           tmpfs      100M   16K  100M   1% /run/user
    /dev/sr0       udf        3.0G  3.0G     0 100% /media/it/UDF Volume
    /dev/sdb1      fuseblk    100M   26M   75M  26% /mnt/boot-sav/sdb1
    /dev/sdb2      fuseblk    497G  429G   69G  87% /mnt/boot-sav/sdb2
    /dev/sdb3      vfat       8.0G   11M  8.0G   1% /mnt/boot-sav/sdb3
    /dev/sdb4      fuseblk    194G   99G   96G  51% /mnt/boot-sav/sdb4
    =================== fdisk -l:
    Disk /dev/sda: 2014 MB, 2014314496 bytes
    48 heads, 47 sectors/track, 1743 cylinders, total 3934208 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2628973b
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        7736     3934207     1963236    6  FAT16
    Disk /dev/sdb: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0xedc07a32
    Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
    /dev/sdb2          206848  1042102271   520947712    7  HPFS/NTFS/exFAT
    /dev/sdb3      1042102272  1058879487     8388608    c  W95 FAT32 (LBA)
    /dev/sdb4      1058879488  1465145343   203132928    7  HPFS/NTFS/exFAT
    No OS or WinEFI system
    =================== Suggested repair
    The default repair of the Boot-Repair utility would not act on the MBR.
    Additional repair would be performed:  repair-filesystems  fix-windows-boot
    =================== User settings
    The settings chosen by the user will not act on the boot.
     Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]============================= Boot Info Summary: =============================== => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda. => Windows 7/8/2012 is installed in the MBR of /dev/sdb.sda1: __________________________________________________________________________    File system:       vfat    Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n    Boot sector info:  Syslinux looks at sector 840 of /dev/sda1 for its                       second stage. SYSLINUX is installed in the /multiboot                       directory. No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi                       /multiboot/boot-repair-disk-64bit/EFI/BOOT/grubx64.efisdb1: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /bootmgr /Boot/BCDsdb2: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:  Windows 7    Boot files:        /Windows/System32/winload.exesdb3: __________________________________________________________________________    File system:       vfat    Boot sector type:  Windows 7/2008: FAT32    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /Hewlett-Packard/BIOSUpdate/CryptRSA.efi                       /Hewlett-Packard/BIOSUpdate/CryptRSA32.efi                       /Hewlett-Packard/BIOSUpdate/HpBiosUpdate.efi                       /Hewlett-Packard/BIOSUpdate/HpBiosUpdate32.efisdb4: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        ============================ Drive/Partition Info: =============================Drive: sda _____________________________________________________________________Disk /dev/sda: 2014 MB, 2014314496 bytes48 heads, 47 sectors/track, 1743 cylinders, total 3934208 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesPartition  Boot  Start Sector    End Sector  # of Sectors  Id System/dev/sda1    *          7,736     3,934,207     3,926,472   6 FAT16Drive: sdb _____________________________________________________________________Disk /dev/sdb: 750.2 GB, 750156374016 bytes255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesPartition  Boot  Start Sector    End Sector  # of Sectors  Id System/dev/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS/dev/sdb2             206,848 1,042,102,271 1,041,895,424   7 NTFS / exFAT / HPFS/dev/sdb3       1,042,102,272 1,058,879,487    16,777,216   c W95 FAT32 (LBA)/dev/sdb4       1,058,879,488 1,465,145,343   406,265,856   7 NTFS / exFAT / HPFSGUID Partition Table detected, but does not seem to be used.Partition    Start Sector    End Sector  # of Sectors System"blkid" output: ________________________________________________________________Device           UUID                                   TYPE       LABEL/dev/loop0                                              squashfs   /dev/sda1        8445-39EA                              vfat       MULTIBOOT/dev/sdb1        E48A3EB48A3E82DA                       ntfs       System Reserved/dev/sdb2        869E4B729E4B5A37                       ntfs       /dev/sdb3        70C8-BABE                              vfat       HP_TOOLS/dev/sdb4        FA50FC5C50FC2155                       ntfs       Bananalandia/dev/sr0                                                udf        UDF Volume/dev/zram0       c7af1e29-699f-4efa-a763-6bd4df3c5edf   swap       /dev/zram1       ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1   swap       /dev/zram2       744b5bbe-811f-43c5-b381-5f9723476774   swap       /dev/zram3       501bb243-bf9b-4346-a227-d10edf37dfda   swap       ========================= "ls -l /dev/disk/by-id" output: ======================total 0lrwxrwxrwx 1 root root  9 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B -> ../../sdblrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part1 -> ../../sdb1lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part2 -> ../../sdb2lrwxrwxrwx 1 root root 10 Jan  6 20:12 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part3 -> ../../sdb3lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part4 -> ../../sdb4lrwxrwxrwx 1 root root  9 Jan  6 20:12 ata-hp_DVDRAM_GU90N_M83E1M80128 -> ../../sr0lrwxrwxrwx 1 root root  9 Jan  6 20:13 usb-Generic_Flash_Disk_E5F27B91-0:0 -> ../../sdalrwxrwxrwx 1 root root 10 Jan  6 20:12 usb-Generic_Flash_Disk_E5F27B91-0:0-part1 -> ../../sda1lrwxrwxrwx 1 root root  9 Jan  6 20:13 wwn-0x5000cca760d011d0 -> ../../sdblrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part1 -> ../../sdb1lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part2 -> ../../sdb2lrwxrwxrwx 1 root root 10 Jan  6 20:12 wwn-0x5000cca760d011d0-part3 -> ../../sdb3lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part4 -> ../../sdb4lrwxrwxrwx 1 root root  9 Jan  6 20:12 wwn-0x5001480000000000 -> ../../sr0================================ Mount points: =================================Device           Mount_Point              Type       Options/dev/loop0       /rofs                    squashfs   (ro,noatime)/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)/dev/sr0         /media/it/UDF Volume     udf        (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)=============================== StdErr Messages: ===============================File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 9523: bashFile descriptor 63 (pipe:[28797]) leaked on lvs invocation. Parent PID 9523: bash  No volume groups foundADDITIONAL INFORMATION :=================== log of boot-repair 2015-01-06__20h12 ===================boot-repair version : 4ppa14boot-sav version : 4ppa14glade2script version : 3.2.2~ppa47~saucyboot-sav-extra version : 4ppa14File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 4571: /bin/shNo volume groups foundboot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)ls: cannot access /home/usr/.config: No such file or directoryCPU op-mode(s):        32-bit, 64-bitBOOT_IMAGE=/multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi file=/cdrom/multiboot/boot-repair-disk-64bit/preseed/lubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid live-media-path=/multiboot/boot-repair-disk-64bit/casper/ initrd=/multiboot/boot-repair-disk-64bit/casper/initrd.lz quiet splash --WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== os-prober:/dev/sdb1:Windows 7 (loader):Windows:chain=================== blkid:/dev/loop0: TYPE="squashfs"/dev/sda1: SEC_TYPE="msdos" LABEL="MULTIBOOT" UUID="8445-39EA" TYPE="vfat"/dev/sdb1: LABEL="System Reserved" UUID="E48A3EB48A3E82DA" TYPE="ntfs"/dev/sdb2: UUID="869E4B729E4B5A37" TYPE="ntfs"/dev/sdb3: LABEL="HP_TOOLS" UUID="70C8-BABE" TYPE="vfat"/dev/sdb4: LABEL="Bananalandia" UUID="FA50FC5C50FC2155" TYPE="ntfs"/dev/sr0: LABEL="UDF Volume" TYPE="udf"/dev/zram0: UUID="c7af1e29-699f-4efa-a763-6bd4df3c5edf" TYPE="swap"/dev/zram1: UUID="ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1" TYPE="swap"/dev/zram2: UUID="744b5bbe-811f-43c5-b381-5f9723476774" TYPE="swap"/dev/zram3: UUID="501bb243-bf9b-4346-a227-d10edf37dfda" TYPE="swap"1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.Windows not detected by os-prober on sdb2.WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== UEFI/Legacy mode:This live-session is not in EFI-mode.EFI in dmesg.[    0.000000] ACPI: UEFI 000000009cffd000 000236 (v01 HPQOEM 2166     00000001 HP   00040000)SecureBoot maybe enabled.=================== PARTITIONS & DISKS:sdb1    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    not-far,    /mnt/boot-sav/sdb1.sdb2    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    haswinload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb2.sdb3    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb3.sdb4    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb4.sdb    : GPT,    no-BIOS_boot,    has-no-EFIpart,     not-usb,    has-os,    2048 sectors * 512 bytes=================== parted -l:Model: Generic Flash Disk (scsi)Disk /dev/sda: 2014MBSector size (logical/physical): 512B/512BPartition Table: msdosNumber  Start   End     Size    Type     File system  Flags1      3961kB  2014MB  2010MB  primary  fat16        boot                                                                            Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPTpartition tables.  Or perhaps you deleted the GPT table, and are now using anmsdos partition table.  Is this a GPT partition table?Model: ATA HGST HTS541075A9 (scsi)Disk /dev/sdb: 750GBSector size (logical/physical): 512B/4096BPartition Table: gptNumber  Start  End  Size  File system  Name  Flags                                                                            Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0has been opened read-only.                                                                            Error: /dev/sr0: unrecognised disk label                                                                            Error: /dev/zram0: unrecognised disk label                                                                            Error: /dev/zram1: unrecognised disk label                                                                            Error: /dev/zram2: unrecognised disk label                                                                            Error: /dev/zram3: unrecognised disk label=================== parted -lm:BYT;/dev/sda:2014MB:scsi:512:512:msdos:Generic Flash Disk;1:3961kB:2014MB:2010MB:fat16::boot;                                                                            Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPTpartition tables.  Or perhaps you deleted the GPT table, and are now using anmsdos partition table.  Is this a GPT partition table?BYT;/dev/sdb:750GB:scsi:512:4096:gpt:ATA HGST HTS541075A9;                                                                            Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0has been opened read-only.                                                                            Error: /dev/sr0: unrecognised disk label                                                                            Error: /dev/zram0: unrecognised disk label                                                                            Error: /dev/zram1: unrecognised disk label                                                                            Error: /dev/zram2: unrecognised disk label                                                                            Error: /dev/zram3: unrecognised disk label=================== mount:/cow on / type overlayfs (rw)proc on /proc type proc (rw,noexec,nosuid,nodev)sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)udev on /dev type devtmpfs (rw,mode=0755)devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)/dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)/dev/loop0 on /rofs type squashfs (ro,noatime)none on /sys/fs/cgroup type tmpfs (rw)none on /sys/fs/fuse/connections type fusectl (rw)none on /sys/kernel/debug type debugfs (rw)none on /sys/kernel/security type securityfs (rw)tmpfs on /tmp type tmpfs (rw,nosuid,nodev)none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)none on /run/shm type tmpfs (rw,nosuid,nodev)none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)none on /sys/fs/pstore type pstore (rw)systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=it)/dev/sr0 on /media/it/UDF Volume type udf (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)/dev/sdb3 on /mnt/boot-sav/sdb3 type vfat (rw)/dev/sdb4 on /mnt/boot-sav/sdb4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)=================== ls:/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 sdb4 size slaves stat subsystem trace uevent/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd freefall full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb4 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zerols /dev/mapper:  control=================== hexdump -n512 -C /dev/sdb100000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|00000040  f6 00 00 00 01 00 00 00  da 82 3e 8a b4 3e 8a e4  |..........>..>..|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200=================== hexdump -n512 -C /dev/sdb200000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|00000020  00 00 00 00 80 00 80 00  ff 0f 1a 3e 00 00 00 00  |...........>....|00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|00000040  f6 00 00 00 01 00 00 00  37 5a 4b 9e 72 4b 9e 86  |........7ZK.rK..|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200=================== hexdump -n512 -C /dev/sdb300000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 10 16 20  |.X.MSDOS5.0.... |00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3e  |........?....8.>|00000020  00 00 00 01 f5 1f 00 00  00 00 00 00 02 00 00 00  |................|00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|00000040  80 01 29 be ba c8 70 4e  4f 20 4e 41 4d 45 20 20  |..)...pNO NAME  |00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 41  |{......|[email protected]|00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |[email protected].|00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |[email protected]|00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |[email protected]|00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|*000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............Re|000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............U.|00000200=================== hexdump -n512 -C /dev/sdb400000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3f  |........?....8.?|00000020  00 00 00 00 80 00 80 00  ff 1f 37 18 00 00 00 00  |..........7.....|00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|00000040  f6 00 00 00 01 00 00 00  55 21 fc 50 5c fc 50 fa  |........U!.P.P.|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== df -Th:Filesystem     Type       Size  Used Avail Use% Mounted on/cow           overlayfs  3.9G  6.2M  3.9G   1% /udev           devtmpfs   3.9G   12K  3.9G   1% /devtmpfs          tmpfs      792M  1.2M  791M   1% /run/dev/sda1      vfat       1.9G  628M  1.3G  33% /cdrom/dev/loop0     squashfs   549M  549M     0 100% /rofsnone           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgrouptmpfs          tmpfs      3.9G  8.0K  3.9G   1% /tmpnone           tmpfs      5.0M     0  5.0M   0% /run/locknone           tmpfs      3.9G     0  3.9G   0% /run/shmnone           tm

  • Named Pipes Provider, error: 40 on workgroup workstations

    I am having issues with a vendor supplied application. It generates an error when run from workstations that are not part of an Active Directory domain. The error is “provider: Named Pipes Provider, error: 40 –
    Could not open a connection to SQL Server)”. It runs as expected when ran from a workstation that is a member of the domain. Obviously adding the workstation to the domain is a solution. However, because of concern of what might break this is not our preferred
    solution.
    The database is SQL Server 2008 on a 2008R2 system that is a member server of a domain. The systems that are having the error are workgroup systems running Windows 7. Except for the final step, I have pretty much
    eliminated the other possibilities in Steps to troubleshoot SQL connectivity issues.
    That, and the fact that the application successfully runs from a workstation that is a member of the domain lead me to believe it is an account/authentication issue on the workstation.
    From what I have determined SQL authentication is required in this scenario and I have confirmed that the database server is configured for Windows and SQL Server authentication. I have also examined
    the configuration file the application uses. It contains the user name and password for the account. Are these credentials not used to establish a connection?
    The only thing I can think of, which I haven’t tested because 1) it is a production system and 2) it is a vendor supplied application, is the application needs to be run under a local workstation
    account with the same credentials as the SQL Server account.
    Could this be the case or is there something else I should be look at?
    Thanks in advance.

    Thanks for your response. I had posted a reply earlier but for some reason it doesn't appear to have uploaded.
    The server name in the connection string is ntsrv12.xxx.yyy.edu. I am able to ping that name and ntsrv12 as well from workstations where the application fails.
    I have some information from some additional testing I have done. Using my workstation, which is a domain member, I can successfully run the application when logged on with my domain user account.
    However, if I logon with a local account the application fails with the error described above.
    I have also been able to match Audit Failures in the SQL Server event log with failed attempts to run the application. There is a two error sequence that appears several times for 15 seconds until the application times out and displays the error message.
    I have listed the errors below but certainly the application appears to see the server. Any ideas on what to check next?
    Thank you.
    The first error in the sequence is this:
    Log Name:      Security
    Source:        Microsoft-Windows-Security-Auditing
    Date:         
    5/6/2014 1:50:05 PM
    Event ID:      4776
    Task Category: Credential Validation
    Level:         Information
    Keywords:      Audit Failure
    User:         
    N/A
    Computer:      Ntsrv12.xxx.yyy.edu
    Description:
    The computer attempted to validate the credentials for an account.
    Authentication Package:              
    MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
    Logon Account: <MyLocalAccount>
    Source Workstation:      
    <LocalSystemName>
    Error Code:        
    0xc0000064
    This error is followed by this one:
    Log Name:      Security
    Source:        Microsoft-Windows-Security-Auditing
    Date:         
    5/6/2014 1:50:05 PM
    Event ID:      4625
    Task Category: Logon
    Level:         Information
    Keywords:      Audit Failure
    User:         
    N/A
    Computer:      Ntsrv12.xxx.yyy.edu
    Description:
    An account failed to log on.
    Subject:
    Security ID:                        
    NULL SID
    Account Name:                
    Account Domain:                            
    Logon ID:                            
    0x0
    Logon Type:                                      
    3
    Account For Which Logon Failed:
    Security ID:                        
    NULL SID
    Account Name:                
    <MyLocalAccount>
    Account Domain:                            
    <LocalSystemName>
    Failure Information:
    Failure Reason:                
    Unknown user name or bad password.
    Status:                                 
    0xc000006d
    Sub Status:                        
    0xc0000064
    Process Information:
    Caller Process ID:            
    0x0
    Caller Process Name:     -
    Network Information:
    Workstation Name:        <LocalSystemName>
    Source Network Address:           
    10.1.36.70
    Source Port:                      
    50145
    Detailed Authentication Information:
    Logon Process:                 
    NtLmSsp
    Authentication Package:              
    NTLM
    Transited Services:         
    Package Name (NTLM only):      
    Key Length:                       
    0
    This event is generated when a logon request fails. It is generated on the computer where access was attempted.
    The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
    The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
    The Process Information fields indicate which account and process on the system requested the logon.
    The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
    The authentication information fields provide detailed information about this specific logon request.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

  • Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    This was originally posted in the SSIS Forum, but a member of the IS team suggested it be moved here.  "Most recently I got this error (Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager?"
    I'm having the same issue, and here's our scenario:
    Installed SQL Server 2005 Developer Edition on a machine with WinXP SP2 and enabled remote connections over TCP/IP
    Installed SQL Server 2005 Standard Edition on a machine with Win2003 SP1 (remote connections over TCP/IP enabled by default)
    Attempted to 'Copy Database' from Developer Edition TO Standard Edition using 'Detach and Attach' method and recieved the error on the Win2003 machine: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
    Attempted to 'Copy Database' from Developer Edition TO Standard Edition using 'SQL Management Objects' method and recieved the error on the Win2003 machine: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
    Reinstalled Standard Edition on the Win2003 SP1 machine
    Checked all the settings on both machines several times, restarted services etc., and read every post I could find referencing the error.
    Same error
    Lost my last hair
    Thanks in advance,
    Steve

    Nan,
    Before I get on with this post - thank you for your reply.
    The XPSP2 machine actually had the firewall disabled, and I verified that it could accept connections on the the associated ports with the Shields Up utility.  I tested this on both machines.
    I can connect to the server from the XPSP2 machine, Import / Export, manage, view logs, and do everything EXCEPT get the Copy Database package to run.  SQL Server Agent always fails on the last step with the following error:
    Event Type: Error
    Event Source: SQLISPackage
    Event Category: None
    Event ID: 12550
    Date:  1/10/2006
    Time:  1:34:15 PM
    User:  NT AUTHORITY\SYSTEM
    Computer: 401SERVER
    Description:
      Event Name: OnError
     Message: Failed to connect to server BETHESDA.
    StackTrace:    at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
       at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.OpenConnection(Server& server, ServerProperty serverProp)
    InnerException-->An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    StackTrace:    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.Common.ConnectionManager.InternalConnect(WindowsIdentity impersonatedIdentity)
       at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
     Operator: NT AUTHORITY\SYSTEM
     Source Name: BETHESDA_401SERVER_Transfer Objects Task
     Source ID: {86F355AD-3B74-4D7B-8D2D-C743C790A269}
     Execution ID: {91B7C32C-C439-4EDB-8A0F-9F8BF207BC06}
     Start Time: 1/10/2006 1:34:15 PM
     End Time: 1/10/2006 1:34:15 PM
     Data Code: 0
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Have you (or anyone else) successfully executed a Copy Databse task?
    Steve

  • Got reading error when deploying a web Dynpro project

    Hi everyone,
    I'm working on NWDS 7.1 CE.  After I synchronized a project (using the "Create Project" option), then Build and Deploy it under the Development Infrastructure perspective, I can run it by choosing the "Run" option of the web Dynpro project's application. But once I chose "Deploy new arcihve and run", I got the following error message:
    [ERROR CODE DPL.DC.3095] A reading error occurred while loading the SDU 'D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/3888/dow.comgcacmpprofitcenterui.ear'.; nested exception is:
         com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException: [ERROR CODE DPL.DC.3388]
    The specified file D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/3888/dow.com~gca~cmp~profitcenter~ui.ear is not a valid SAP deployable unit. In case it is Java Enterprise application, please convert it to SAP compatible deloyable unit first.
    Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Does anyone know what happens here? What's the difference of the Build/Deploy commands under Web Dynpro perspective and under Development Infrastructure perspective? After I made changes to the project, can I just deploy it under the Development Infrastructure perspective?
    Thanks,
    James

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • My Itunes wont open - reading error "cannot be read because it was created by a newer verdion of itunes"

    My Itunes wont open - reading error "cannot be read because it was created by a newer verdion of itunes"
    should i uninstall/ reinstal.
    will i loose all my music nd playlists?

    This technique should work...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Socket read error: connection reset by peer

    Hi.
    Has anybody experienced the error message �Socket read error: connection reset by peer�
    Please see below for detailed information.
    Appreciate your help
    Regards
    RT
    Enviroment specification
    Server: HP/UX 11.00 64-bit, Oracle RDBMS 8.1.6.0.0 64-bit
    2 firewalls between client and db.
    Client:
    Win 2000,
    SP3,
    Oracle Client 8.1.7.0.0 ,JDBC OCI (thin JDBC driver,class12.zip)
    JDK 1.3
    JRUN3.0
    The TCP protocol is being used in the communication
    Error messages
    Web Users receive:           Socket read error: connection reset by peer
    Trace files on the sever:      Read unexpected EOF ERROR on 18.
    Explanation: The error in the server sqlnet trace file, suggests that a client connection has terminated abnormally, i.e. client machine powered off, a cable removed or a network connection aborted without warning. No user has complained of such a problem and there is no client trace with an error.
    The problem
    The users of the java web application, experiencing an exception almost once or twice a day.
    The JRUN web-server reports broken connections to the db and client are receiving "connection reset by peer".
    At the moment when the errors occurs the users just have to wait a while(2-10 min) and then they can use the web application again.(no action is taken)
    This problem can not be reproduced. The problem happens only occasionally when the network is under heavy load and new DB connection is being created.
    The application
    The java web-application uses a customized connection pooling against the database. This pool is shared among all the users of the website. whenever a user process needs to fetch data from the database, a free connection from this pool is allocated. The application is testing if the connection is valid before making a transaction (select '1' from dual). When the error occurs a ORA-3113 end-of-file on communication channel is returned to the application.
    The path between the client and db involves at least two firewalls. The firewalls are opened for sql*net traffic. The network group can tell that enquiries from the app.server is not getting feedback from the db. They have not however, identified if the enquiries are reaching the db-srever, or if they are stopped earlier in the network.
    Around 1000 users, are using other applications which uses dedicated sqlnet connections against the db and they have not experienced any problems.
    Issues considered
    Connection pooling
    It is a customized connection pooling, developed by Lindorff developers.
    I have read through the source code for the connection pooling and it does the job as it should, and in case of bad connection, it tries to create a new connection.
    The log file shows that the call to the method DriverManager.getConnection() hangs until the server goes down, which is probably because of the fact that the method DriverManager.setLoginTimeout(), does not take effect and timeout value is Zero. ( According to oracle , Oracle JDBC does not support login timeouts and calling the static DriverManager.setLoginTimeout() method will have no effect).
    Firewall
    One thing to consider is when the firewall may decide to shut down the socket due to long inactivity of a connection. This will cause problems to JDBC Connection Pool because the pool is not aware of this disconnection at the TCP/IP level; until someone checks out the connection from the pool and tries to use it. The user will get a Socket read error: connection reset by peer.
    Jrun timeout paramter is less than the firewall�s timeout so the firewall will not close a connection before Jrun does.
    Number of processes the DB can handle
    Processes parameter is 1300, , they have not experienced the Oracle error msg �max # of processes reached�.
    Port redirection through a firewall:
    Since the firewall has a sql net proxy Port redirection through a firewall is not a problem. Problems with port redirection only appear at connect time, but in this situation the connections fail long after the connection is established.
    The network group
    The network people who investigaged the problem at Lindorff report that there are a significant amount of "dropped packages" between the database server and the jdbc client (web-application) 24 hrs. The reason for this is "unknown established TCP packet" which means that the firewall does not consider these packages to be part of an already established session. The network group believes this happen because one of the hosts send a RESET or FIN signal which the firewall have noticed but are not received by the other host.
    It seems like the firewall are dropping packages bacause of "Unknown
    established TCP packet" from both the JDBC client and the TNSLISTENER on the database server. The dropped packages are SQL*Net v2 traffic so clearly Oracle products are involved

    Presumably something is working.
    Thus the problem is not with your code. At least not the database part that you have control over.
    That error occurs when the other side closes the socket. Presumably you are catching lost connection exceptions and trying to restore it.

  • "A Disk Read Error Has Occured" past 239 FSB?

    The title says it all.  I'm runnin an Neo Platinum 2 and when booting up overclocked past 239 FSB I get "A Disk Read Error Has Occured" and it asks me to reboot.  Is this as simple as my SATA being overclocked too far?  I was under the impression this board had an SATA lock, but I could be wrong.  Any suggestions on getting past this?  Or have I reached my peak?

    Quote
    Originally posted by sarlen
    67 mghz?  That doesn't make any sense - giving it a try right now though.  The ram is tricky though, I hear Ballistix is unrealiable.  I'm doing 2.5-2-2-5 at 243, but nothing will make it run 255 for me (next step up to keep my cpu at 2.55).  I suppose 243 isn't bad, anyone have any ideas on getting more out of this ram though?
    my 3200XL doesn't even reach 210 with ras cas at 2 :/

  • I get "Reading Error" when using USB connection from Ipod Touch to car radio. Any ideas?

    I am trying to connect an IPOD Touch with my car radio via USB port.  Using proper cable which works.  When I connect the auto radio automatically tries to hook up with the Ipod but then displays "reading error"

    The the car-system manyfacturer say it will work with your model iPod and its iOS?
    Not all do.

  • I have received an error message when trying to install 13 new apps for Creative Cloud. It reads: "Error There was an error with this action. Try again later.  7b1f5f56-79b3-4a0d-8fd2-137b1a3e6b67" I don't know what to do.

    I have received an error message when trying to install 13 new apps for Creative Cloud. It reads: "Error There was an error with this action. Try again later.  7b1f5f56-79b3-4a0d-8fd2-137b1a3e6b67" I don't know what to do.

    AppTrial1 where are you seeing this error exactly?  For information on how to install the Adobe Creative applications included with the Creative Cloud please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • When i try to install iPlanet App Server on NT, I do not get screen to enter license key valid for evaluation. --- " cache File Read error"

    When i try to install iPlanet App Server on NT, I do not get screen to enter license key valid for evaluation.
    Also during installation screens an error window is displayed saying "cache File Read error -- Could not read ProductKey entry from the cache file "

    Hi,
    I also get the following message:
    "Could not read ProductKey entry from the cache file"
    I have no idea how to provide the installation software with the key. I also tried "keycheck.exe"
    Do you have a solution for this problem? Did you finish the installation?
    Christian

  • Xf86-video-intel-2.5.0-1 causing "underrun in pipe b" errors

    Since todays upgrade to xf86-video-intel-2.5.0-1 I've been getting "Underrun in Pipe B" errors.
    The initial start of Openbox worked, but as soon as I switched to the virtual console and back, I'd only get a black screen in xorg, and the VC would be filled with hundreds of underrun error messages.
    Downgrading to xf86-video-intel-2.4.2-1 fixed the problem.
    A quick google showed quite a few people having the same errors.
    Edit: Seems there's already a bugreport up at http://bugs.archlinux.org/task/11854
    Last edited by schuay (2008-10-28 10:49:20)

    Problem appeared with 2.4.x, as you said there were many bug reports... I've tried a few patches as proposed on bugzilla, some helped but none solved the problem completly. As it happens on my machine the screen also gets garbeled, runing "xrandr -q" restores the screen, I settled on that for now (since it happens only 2-3 times a day).
    You can start here http://bugs.freedesktop.org/show_bug.cgi?id=16169 and here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497267

Maybe you are looking for

  • Abap report print logo or image in reverse order

    Dear all, Currently we are using sap enterprise 4.7 . in our abap report sap report and data is OK but log is print in reverse in  HP LaserJet p255d and  HP LaserJet p250 series PCL 6. But same report in hp leaser jet 1320 run ok in SWIN driver. I ch

  • Java Sockets and Output Streams

    Hi All, I am beginning sockets programming and I have a problem. If there is a server listening in the background for incoming connections and say for example 4 client programs programs which we shall call client1...client4 connect. How best can I ca

  • Forte Bug 22023 .

    Ivor Vaz@SUNLIFE 08-11-97 12:57 PM Hello, Does anybody know of a work-around for using MS-SQL stored procedures with complex select statements to build cursors in forte ? I have to use a select statement that contains a union. When I do an OpenCursor

  • My daughter lost her ipod.   Is there any way we can track it after the fact?

    Again, my question is, we bought an ipod for my daughter's Bday about 6 weeks ago, and last week she lost it.  Is there any way to track it?

  • My ipad is disconnected to my wifi, though wifi is fine, and in settings it says it is connected..help pl

    this has been happening frequently lately. when I look in settings it says that my ipad is already connected to my home wifi, but I can't get on anything that uses it. I'm am not good with this stuff as it is all new to me, so any help would be appre