The failure tag has no wiki summary.
15
votes
1answer
347 views
Is there a standard command that always exits with a failure?
I want to test my script with a command that fails. I could use an existing command with bad arguments. I could also write a simple script that immediately exits with a failure. Both of these are easy ...
7
votes
2answers
1k views
Bash: run command2 if command1 fails
I want to do something like this:
if cmd1 && cmd2
echo success
else
echo epic fail
fi
How should I do it?
5
votes
5answers
2k 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
...
5
votes
3answers
337 views
What would happen if a hard drive failed while the Linux kernel was running?
I've always been curious of what would happen if a hard drive failed while the Linux kernel was running. Since the kernel image itself is loaded completely into RAM, I don't imagine there would be any ...
4
votes
1answer
536 views
Salvaging a “broken” hard drive
My girlfriend's macbook's hard drive failed, so I gave her a new one and reinstalled OSX on it. Works fine. However, I wanted to see if I could use her old hard drive for backups/fun.
I was able to ...
4
votes
1answer
956 views
Does LVM increase the risk of data loss?
Let's say I have two identical disks, and I set one LVM logical volume on them (no mirroring). Question: What will happen when one of the disks fails?
I will lose all the data from all the disks
I ...
4
votes
1answer
124 views
Too big delay with xscreensaver on wrong password in OpenSUSE 12.2
There is too big delay when logging in with xscreensaver in OpenSUSE 12.2
--- Actual delay is 10 seconds, but not found anywhere in configs
Already done:
checked pam timeout in login.defs (3 ...
2
votes
3answers
394 views
Infinitely Nested Directories
Let me start off by saying this is a Mac Terminal I'm using. Not Linux, but I assumed I would get the best answers here as it has to do with Unix and the command line not really anything about Mac ...
2
votes
3answers
728 views
How to schedule something run once using anacron?
Frequently within my scripts I schedule auxiliary tasks for later in the form:
at now + 8 hours <<< "rm -f workfile.$$ >> $worklog 2>&1 "
or
at 11pm + $(date +%M) minutes ...
2
votes
0answers
33 views
SSL Configurations for Intermediate certificate
I had implement a mutual certificate authentication and it worked successfully for following steps :
create root ca (self-signed)
create server certificate and sign it with ca private key
create ...
2
votes
0answers
213 views
Linux mint 13: Error starting MATE
My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
1
vote
4answers
323 views
Why does my linux keep crashing?
I am running Debian 6.0 Squeeze. Every half hour or so a dialog pops up on the side of my screen with the message -
Kernel failure. A report has been sent to the developers to help them
fix the ...
1
vote
5answers
200 views
How to debug whether restarts are caused by software or hardware?
A newly build Linux debian 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux server suffers numerous restarts.
'last -x' output shows:
root pts/0 192.168.254.11 Sat ...
1
vote
1answer
1k views
Linux Mint does not shut down
Sometimes (very rarely actually) I have a problem that when I try to shut down my desktop, it will freeze with the following screen and I can only shut it down by pressing the power button for 8 ...
1
vote
1answer
351 views
Problem with keyboard and mouse in gdm3 and lightdm
Linux anarki 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux
Distributor ID: LinuxMint
Description: Linux Mint Debian Edition
Release: 1
Codename: debian
When my ...
1
vote
0answers
82 views
Unmanaged VPS bought today. Sendmail not functioning correctly
I purchased an unmanaged VPS today. I moved my website on over, and when I try to send an email. It returns a blank page. Not to mention I had to install PHP myself. Apache was there, for some reason, ...
1
vote
0answers
835 views
Hard drives goes missing until reboot - what can be the cause?
I am struggling here. My end goal is assembling a RAID-6 array on my PC, but time and again, the assemble doesn't complete (and cat /proc/mdstat shows that one drive dropped away). This now happened ...
0
votes
0answers
152 views
PC BSD 9.1 not loading after initial install
I just tried to install PC-BSD 9.1 on my Alienware m14x-R3 laptop (with Optimus support), and it refuses to boot. It will come to the bootloader screen, but when I attempt to boot, the actual kernel ...
0
votes
1answer
126 views
Check for failure of piped command [duplicate]
Possible Duplicate:
Get exit code of process that's piped to another
If I pipe the output of one command into another, is there a way for me to check explicitly whether the first ...