The tag has no wiki summary.

learn more… | top users | synonyms

10
votes
8answers
612 views

How to read the messages during power off

I'm using Lubuntu 11.10. Every time I turn off my Sony Vaio I can read FAIL in red letters. But I can not read. I tried to take a photo, but not success. Well, I was not worrying about this but ...
7
votes
4answers
36k views

Error using SCP: “not a regular file”

I have been searching for a while and I can't find the definition of a regular file. My path is permanent (I start at /) and I am connecting to scp root@IP: /path/to/picture.jpg Results in an ...
6
votes
4answers
828 views

Why doesn't grep using pipe work here?

I have the following command: find / -name libGL.so.1 Which returns lots of lines with "Permission denied". I want to exclude such lines, so I added the following: find / -name libGL.so.1 | grep ...
6
votes
6answers
6k views

Installing Skype on Debian x64

I am new to Linux and I'm trying to install Skype using this manual. I successfully download the package using the command: wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb-64 ...
6
votes
1answer
80 views

List of error messages available for a command in Unix

Is it possible to find out what error messages a command includes? For example I want to see the list of error messages that mkfs.ext3 command will print in different error situations. Shall I look ...
5
votes
1answer
716 views

How to trigger error using Trap command

I am using Ubuntu 12.04.2. I am trying to use "trap" command to capture abnormal or error in my shell script but I am also trying to manually trigger "Error" exit. I have tried exit 1, but it won't ...
4
votes
2answers
433 views

Why did BASH print “bash: cd: write error: Success”?

I noticed this several times today. If I type cd ../Directory to change to another directory, it prints "bash: cd: write error: Success". I can't determine what other previous commands might be ...
4
votes
1answer
234 views

Wget out of memory error kills process

I wanted to backup all my .vcf files from my carddav server (ownCloud). The script is very simple and is the following: $ wget -Avcf -r -np -l0 --no-check-certificate -e robots=off --user=user \ ...
4
votes
1answer
1k views

How can I build a rpm for i386 target on a x86-64 machine?

I am building an rpm using rpmbuild command as: rpmbuild -bb --root <DIRECTORY> --target i386 --define "_topdir <DIRECTORY>" <specfile>.spec When I use my SLED 10 SP3 x86 machine, ...
4
votes
1answer
100 views

Stop a task based on output

I have a task that runs written in Mono, however sometimes (randomly) the Mono runtime will hang after the task is complete and just print: _wapi_handle_ref: Attempting to ref unused handle 0x2828 ...
4
votes
1answer
508 views

du — ignore file not found errors

I'm trying to get the size of a folder an application is currently writing to. If I run the du command it sometimes fails with the error: du: cannot access `/a/b/a.txt': No such file or directory ...
4
votes
1answer
295 views

Configuring Apache to Require a Client Certificate

I want to implement mutual authentication (two - way ) with apache web server. References : 1.Failed to sign CSR with the CA root key 2.Firefox error message when adding client certificate ...
3
votes
2answers
445 views

Why does Bash history not record this command?

The command printf "#!/bin/bash\n" > t generates an error(bash: !/bin/bash\n": event not found), but hitting the up key does not recall the command so that I can modify it. Why is that? (What I ...
3
votes
2answers
192 views

cp: what quotation marks are used in error messages?

I'm currently fiddling around with a dying harddisk, and while trying to cp data from it, I get errors like cp: error reading ‘brokenFile’: Input/output error # comparison: backtick: `, apostrophe ' ...
3
votes
3answers
6k views

Java “Could not reserve enough space for object heap” even though there is enough RAM

I am currently having some issues running Java. It won't start because of heap issues. But I have more than 9 GB Ram free (or even 16 GB if you assumed the cache would be empty). This is the error I ...
3
votes
1answer
2k views

How to examine the fast output of rsync

I am using rsync for backup about 100GB files and directories. My command is sudo rsync -azvv /home/path/folder1/ /home/path/folder2 However, the output for each file goes up so quickly and there ...
3
votes
2answers
9k views

What does “INFO: task XXX blocked for more than 120 seconds” exactly mean on Linux?

I had this message in my kernel log : INFO: task XXX blocked for more than 120 seconds. I would like to know what it means technically: under what conditions does the kernel display this message about ...
3
votes
1answer
383 views

Is no caching mode page a serious error?

My server log displays the following error messages in RED: kernel: sda: sda1 sda2 kernel: sd 0:1:0:0: [sda] No Caching mode page found kernel: sd 0:1:0:0: [sda] Assuming drive cache: write through ...
3
votes
1answer
90 views

How can I change the error messages for 'touch'?

Lets just have some typical usage of touch as expected: $ touch this $ sudo chown root this $ touch this touch: this: Permission denied Now what I want to do is change touch: this: Permission ...
3
votes
1answer
1k views

Getting error whenever trying to add a repository

Whenever I try to add a repository I get a NoDistroTemplate Exception. I am using Linux Mint 14 Nadia. tusharmakkar08@tusharmakkar08-Satellite-C660 ~ $ sudo add-apt-repository ppa:webupd8team/java ...
3
votes
1answer
718 views

Firefox error message when adding client certificate signed by CA

I'm getting this message when I'm trying to add a certificate to Firefox's "your certificate tab". I generated and signed it before by a server which also is a CA. Failed to decode the file. ...
3
votes
1answer
122 views

How to troubleshoot systemd's “contradicts existing jobs” error message

Looking through my system logs, I see the following message in /var/log/messages: Sep 2 15:29:15 <myhostname> systemd[1]: Requested transaction contradicts existing jobs: File exists So, my ...
3
votes
0answers
343 views

Proper usage of EXIT & ERR traps in bash scripts [closed]

I'm working on a bash script and as I've been going I've learned about traps, signals, function return codes and other such features I've not previously used. I may be thinking about things ...
2
votes
2answers
1k views

Unable to install g++

How to fix this: sahil@sahil-XPS-L501X ~ $ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
2
votes
2answers
103 views

Error message on terminal despite using 2> symbol

Why does this command show error message despite using 2> symbol? cat < foo 2>bar bash : cannot open foo : No such file or directory
2
votes
1answer
484 views

broken pipe error with popen and JS ffi

I am using a ffi for nodejs which for the most part has nothing to do with this question which is really about understanding pipes better, but does offer some context function exec(cmd) { var ...
2
votes
2answers
73 views

Different error messages when using different strings in terminal

When I insert, for example, unix.stackexchange.com followed by Enter in terminal, I get the following error: unix.stackexchange.com: command not found This is ok and as I expected. But when I insert ...
2
votes
1answer
148 views

How to have a bash script perform a specific action on errors of _each_ command?

Similarly to set -e performs an exit on "uncaught" $? != 0, I'd like to have this event trigger the execution of another command, e.g. a logger call. How can this be done?
2
votes
2answers
1k views

xterm warning: Tried to connect to session manager

I am writing a quick script to read user input and put into commands of a couple different programs. I'm using xterm -e to open a terminal for each separate program. The script is working fine, but ...
2
votes
1answer
44 views

Parameter substitution and error messages: suppressing line numbers etc

Here is my example file: !/bin/bash # argument-one # Is first argument missing? # First method [[ "$1" == "" ]] && echo "Usage: $(basename $0) filename"; exit 1 # Second method # ...
2
votes
1answer
454 views

Unable to install SciPy

I need to use the module skimage, which calls the module SciPy (I need to find contours) import numpy from sys import argv from PIL import Image from skimage import measure # Inicialization ...
2
votes
2answers
169 views

Testing which modules are unloaded with modprobe

I'm currently searching for the right driver for my Broadcom BCM4313 network/wifi device. At first no network was recognized at all, now I managed to connect, but the connection is really slow. I ...
2
votes
1answer
178 views

Mystifying command not found at login

I've just set up Arch Linux (not my first time). Everything installed correctly but when I login (X isn't installed yet) I see: Arch Linux 3.8.4-1-ARCH (tty1) mgoszcz2 login: root Password: Last ...
2
votes
1answer
15 views

How to summarize error messages of an emerge run?

An update on a gentoo system with # emerge --update --newuse --deep --keep-going @world creates lots of text on the console. Error messages and warnings appear between less important informative ...
2
votes
1answer
47 views

CentOS replace config error

I'm currently working on updating our CentOS server, however whenever I'm trying to use yum I get this error. Config Error: Plugin "replace" requires API 2.6. Supported API is 2.5. I'm new to ...
2
votes
2answers
241 views

Error launching Safari with PlayOnLinux

I've installed PlayOnLinux with the following commands: wget -q -O- http://deb.playonlinux.com/public.gpg | sudo apt-key add - sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O ...
2
votes
2answers
3k views

Windows Remote Desktop login failed with Ubuntu Server 12.4

So, I have a server that I have RDC (Remote Desktop Connection) set up on, and I am looking at making it globally available on the internet so that I can access it from anywhere. I am currently in the ...
2
votes
3answers
132 views

Syntax error in shell script

I have this script to divide a file over a 100000 or even more in 50000 lines. desc() { echo ...
2
votes
1answer
2k views

Getting config error for yum in CentOS

I'm very new to linux, and I am using CentOS in a VM for program testing. Everything seems to be fine, except for every few minutes I get this error: Error Type: <class 'yum.Errors.ConfigError'> ...
2
votes
1answer
53 views

APEI Generic Hardware Error

Over the past week my server (running Debian Jessie) has rebooted twice. In the syslog I see this before each reboot, and at no other points: Aug 15 13:32:58 hoshimiya kernel: [296512.005355] ...
2
votes
1answer
316 views

KVM to Ovirt VM migration

I installed ovirt on a machine that was already hosting KVM virtual machines. I am now trying to migrate those VMs over to RHEV format, but I am receiving SASL authentication errors using virt-v2v. I ...
1
vote
3answers
4k views

Print given number in reverse order

clear echo "Enter a number" read n sd=0 rev=0 while [ $n -gt 0 ] do sd=$(( $n % 10 )) rev=$(( $rev *\ 10 + $sd )) n=$(( $n / 10 )) done echo "Reverse number of entered digit is $rev" ...
1
vote
3answers
5k views

sudo: no tty present and no askpass program specified

I have a perl script that I fork from another script that I launch from a web browser via mod_perl. The forked script (which ends up running as apache) needs to sudo service X stop as part of a ...
1
vote
2answers
791 views

Errors while invoking Web service using `Curl` command from Unix terminal

I have been trying to invoke a web service from my script using the Curl command . I got the script from HERE. My Script : #! /bin/sh ...
1
vote
1answer
442 views

-bash: /usr/sbin/useradd: Input/output error — What does this mean?

Today, on my Centos server I tried to add a user but got the following error: -bash: /usr/sbin/useradd: Input/output error How do I fix it?
1
vote
1answer
1k views

Read-only file system error while creating a directory?

I have got one of our production ubuntu machine setup by PRODUCTION Unix team here in our company but somehow when I am doing like this - root@machineA:/test01# ls -lt ls: reading directory .: ...
1
vote
1answer
63 views

`ls` behavior on EACCES error for /root and /root/some-rubbish

I'm trying to code a clone of the ls command as part of a school exercise. I'm wondering why the following output is displayed by ls: $> ls -- -test_dir /root /root/some-rubbish ls: ...
1
vote
1answer
2k views

“No such file or directory” on files that exist? [duplicate]

In the past day, I've found at least 4 binaries that say "bin-name: No such file or directory" when I try to run them. Even if I type part of the name and tab complete it, I get the same error. I'm on ...
1
vote
1answer
1k views

Why do I get kicked out of a FTP session once I run a command?

Why do I get kicked out of a FTP session once I run a command? It seems that once I successfully login into a server is get the following after running a command such as "ls" (I've enclosed the error ...
1
vote
1answer
295 views

Installed Fedora 18 on UEFI machine, got lvm.mod not found error

I've installed Fedora 18 on UEFI system, when I boot the computer I get this error message: File "/EFI/fedora/x86_64-efi/lvm.mod" not found no server specified What should I do?