The tag has no wiki summary.

learn more… | top users | synonyms

15
votes
4answers
67k 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 ...
10
votes
8answers
1k 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
1answer
164 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 ...
6
votes
4answers
4k 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
8k 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
2answers
2k 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 ...
5
votes
4answers
32k 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 ...
5
votes
2answers
3k 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 ...
5
votes
1answer
136 views

using ! character in echo

I am messing with echo and having issues with echo displaying the ! character. I tried this. echo -e "Wake!\nUp! bash: !\n!: event not found Then this # echo "Wake\!\nUp!" Wake\! Up! Well now ...
5
votes
1answer
152 views

What is ENOANO (No Anode) intended to be used for?

This question is merely for idle curiosity, but I suspect others will be curious as well. Searching through errno.h (of Linux 2.6) I found ENOANO "No Anode". There is no sign of a "No cathode" error. ...
5
votes
2answers
1k 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 ...
5
votes
1answer
2k views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
5
votes
3answers
17k 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 ...
5
votes
2answers
966 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
2answers
727 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 ...
4
votes
2answers
108 views

Is there a way to have a function in my bash script auto run on any command error?

I'm writing a shell script that needs to do a bunch of commands and every command depends on every previous command. If any command fails the entire script should fail and I call an exit function. I ...
4
votes
2answers
7k 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 ...
4
votes
1answer
589 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
3k 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
127 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
2k 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 ...
4
votes
1answer
2k 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] ...
4
votes
0answers
2k 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 ...
4
votes
1answer
526 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
9k views

dpkg: dependency problems prevent configuration of initramfs-tools

I started an upgrade of my Kubuntu 12.04 system with this command, as usual: sudo apt-get --show-upgraded dist-upgrade I came back later and it had failed: Preconfiguring packages ... (Reading ...
3
votes
2answers
247 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
2answers
11k 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 ...
3
votes
2answers
320 views

Parenthesis works in bash shell itself, but not in bash script

As the title says, I can run this command from my command line prompt: cp -r folder/!(exclude-me) ./ To recursively copy all contents of folder except for the subdirectory named exclude-me into the ...
3
votes
1answer
8k 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
338 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 ...
3
votes
2answers
908 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 ...
3
votes
1answer
478 views

Critical messages from gsm and gtk

After upgrading to Fedora 18, I am seeing the following critical messages on /var/log/messages whenever I log on to the computer: CRITICAL: gsm_manager_set_phase: assertion \`GSM_IS_MANAGER<br> ...
3
votes
2answers
4k views

What does gpg error code 2(GPG_ERR_UNKNOWN_PACKET) mean?

I am tasked to explain the variation of gpg errors that happened in one of my batch script. Currently when I perform gpg decrypt for a specified file it returns 2. The problem with this is when I ...
3
votes
1answer
61 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 ...
3
votes
1answer
138 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

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
264 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
2answers
2k views

Boot Error Debian: “ata3: softreset failed (device not ready)” [closed]

I am trying to figure out why I am getting this boot errors. I have looked all through the dmesg, boot.log, kern.log. I also have a few modprobe -b pci:<PCI ID> errors during boot on the screen ...
2
votes
1answer
891 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?
2
votes
1answer
4k views

mei 0000:00:16.0: init hw failure

When I boot up I get the following errors: mei 0000:00:16.0: init hw failure. mei 0000:00:16.0: initialization failed. (they don't prevent the bootup, I'm just curious as to what they are and if ...
2
votes
2answers
2k 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 ...
2
votes
2answers
3k 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
172 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
829 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
1answer
586 views

Correct syntax to avoid bash 'ambiguous redirect' message

I am trying to execute a command which accumulates stdout into an existing file and sends the error messages to another using the command below. commmand >> /home/user/accumulate_output.log ...
2
votes
2answers
83 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
2answers
2k 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
1k views

./configure, syntax error: unexpected token (lighttpd)

I want to build a modified version of lighttpd. I follow this tutorial: Downloading and building the H264 Streaming Module for Lighttpd (version 2) This is what I've done so far: apt get install ...
2
votes
1answer
88 views

How to scan a directory with a space in its name with maldet

I'm trying to scan some directories with Linux Malware Detect (command-line command maldet): maldet -a /SOMETHING\ 1/ But I get: maldet(13857): {scan} invalid path /SOMETHING 1/ I've tried ...
2
votes
1answer
6k views

Read-only file system error while creating a directory?

I have one of our production Ubuntu machines set up by PRODUCTION Unix team here in our company, but somehow when I am doing like this - root@machineA:/test01# ls -lt ls: reading directory .: ...