Bash /usr/bin/scp Input/output Error
Contents |
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search linux bash: input/output error Forum Operating Systems UNIX Help Unable to copy file input/output error kali linux using SCP (Input/output & Permission denied error) Thread: Unable to copy file using SCP (Input/output &
-bash: /root/.bash_profile: Input/output Error
Permission denied error) Page 1 of 2 12 Last Jump to page: Share This Thread Tweet This + 1 this Post To
Reading Directory Input Output Error Linux
Linkedin Subscribe to this Thread Subscribe to This Thread June 28th, 2011,05:13 AM #1 No Profile Picture Technext View Profile View Forum Posts Contributing User Devshed Newbie (0 - 499 posts) Join Date May 2010 Posts 35 Rep Power 7 Unable to copy file using SCP (Input/output & bashrc input/output error Permission denied error) Hi, I am facing issue while using scp. Source & target machines are Linux & HP-UX respectively. On target machine, if I fire the following command, I get error: Code: bash-2.05# scp jim@source:/builds/20110622/trunk/hpux/abc.jar . jim@source's password: abc.jar 100% 33MB 8.2MB/s 10.2MB/s 00:04 scp: /builds/20110622/trunk/hpux/abc.jar: Input/output error Now if I try scp on another file, which is on the same source machine, it works fine. Code: bash-2.05# scp jim@source:/builds/20110622/trunk/linux/xyz.jar . jim@source's password: xyz.jar 100% 15MB 7.5MB/s 8.4MB/s 00:02 bash-2.05# All directories and subdirectories for both the source files have same permissions. Even the source files themselves have identical permissions set. The target location is also the same. Still, I am getting error for one file, and not for the other. One thing to be noted is that the error description changes after I get the above input/output error. On second (and further attempts) unsuccessful try, I get the following err
LINUX HOWTO | 2 Replies More Bad Disk This article I am trying to explain how to deal with " Input/output error " when you initiate any commands in Linux. I
.bashrc Input/output Error
have pointed some examples that reports similar error. # du -bash: /usr/bin/du: Input/output error #mkdir centos input/output error sampledir mkdir: cannot create directory `sampledir': Input/output error Input/output error while running the command mostly due to two reason. Either it could be reboot input/output error bad blocks on the disk or someone hacked your machine. In this situation first suggestion would be to check /var/log/messages for any disk related alerts (might see some sense key alerts). tail -n 100 /var/log/messages tail -f http://forums.devshed.com/unix-help-35/unable-copy-file-using-scp-input-output-permission-denied-error-828198.html /var/log/messages If you notice any disk issues , try any disk utility to confirm this. One option would be use smarttools. You can check smartool option to fix bad blocks. If you already installed it you can take the advantage of that. Next immediate action would be take backup of your system. Good if you already have it :-). If you have good backup its safe to reboot.If your system was hacked there are chances they http://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/ might messed up your file and system would not work after reboot. You can also try fsck but it really dont fix most time if it bad block issue. Fsck can fix only if it related to any filesystem related issues. Usually fsck will fail in between as when it try to read the file at bad block. Now if try to reboot , it can also give the same output. You can try init 6. # reboot bash: /sbin/reboot: Input/output error # shutdown -r now bash: /sbin/shutdown: Input/output error If the above reboot commands doesnot work try either forced reboot or shutdown . Forced Reboot echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Forced Shutdown echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger You might also likeHow To Fix / Repair Bad Blocks In LinuxHow To Backup LVM Configuration On Linux (vgcfgbackup & vgcfgrestore)Linux Crontab : How To Configure Cron With Best ExamplesHow To List Linux Pci Devices Using lspci CommandSet Date And Time In Linux And Sync With Hardware (CMOS)Linux Hdparm Command: Display Hard Disk Model and Serial NumberLinux: Manage Spaces And Special Characters In File NameUnderstand Linux Su Command Function With ExampleHow To Create / Remove Swap Partition In LinuxHow To Use Linux Grep Command To Find Strings Tags: bad block linux, bad blocks linux Category: HARDWARE, HOWTOS, LINUX HOWTO Sha
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Networking scp does not work and http://www.linuxquestions.org/questions/linux-networking-3/scp-does-not-work-and-gives-the-following-error-message-scp-fatal-executing-ssh1-i-253417/ gives the following error message: scp: FATAL: Executing ssh1 i User Name Remember Me? Password Linux - Networking This forum is for any issue related to networks or networking. http://stackoverflow.com/questions/17131048/error-when-using-scp-command-bash-scp-command-not-found Routing, network cards, OSI, etc. Anything is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining output error our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit bashrc input/output error the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide abso
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error when using scp command “bash: scp: command not found” up vote 28 down vote favorite 6 I want to use scp command to copy a local file to remote server, but I get an error message after input the password of user in remote server. ~]$ scp gitadmin.pub git@123.150.207.18: git@123.150.207.18's password: bash: scp: command not found lost connection I checked on server using the git user and it seems the scp command can be found and openssh-clinets were installed too. git@... ~]$ scp usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 git@... ~]$ su root ...... root@... ~]# yum info openssh-clients Loaded plugins: product-id, subscription-manager Updating Red Hat repositories. Installed Packages Name : openssh-clients Arch : x86_64 Version : 5.3p1 Release : 52.el6 Size : 1.0 M Repo : installed From repo : anaconda-RedHatEnterpriseLinux-201105101844.x86_64 Summary : An open source SSH client applications URL : http://www.openssh.com/portable.html License : BSD Description : OpenSSH is a free version of SSH (Secure SHell), a program for : logging into and executing commands on a remote machine. This : package includes the clients necessary to make encrypted : connections to SSH servers. I'm confused for the situation. Did I missing some configuration on server? (We are using RHEL6 as server.) It's my fault in path setting. I added 'custom.sh' in /etc/profile.d and added following lines in it to add /usr/local/node/bin directory to PATH. export PATH="/usr/local/node/bin:$PATH" But the format is wrong. I removed the pair of