Most Popular
1500 questions
66
votes
9 answers
What's the best way to move c:\users to d:\users under vista/W7
I just installed Windows 7 RC1 and want to move c:\users to d:\users.
What's the best way to do this?
Due to the fact that Windows 7 creates a reserved partition that is mounted as C:
in the recovery console, I had to use the following…
Scott
- 1,072
66
votes
3 answers
Docker: failed to add the pair interfaces (operation not supported)
After installing Docker, I am getting an error when I try to run the Hello World example:
Error response from daemon: Cannot start container 4145d0fccd96b904e4ab4413735f1129b8765429bad5be71dc8d5f4c0760666d:
failed to create endpoint high_saha on…
piero-la-lune
- 663
66
votes
5 answers
How do I tell when/if/why a container in a kubernetes cluster restarts?
I have a single node kubernetes cluster in google container engine to play around with.
Twice now, a small personal website I host in it has gone offline for a couple minutes. When I view the logs of the container, I see the normal startup sequence…
Marc Hughes
- 825
66
votes
12 answers
Install a newer version of Git on CentOS 7
I like to enable Git "Push to Deploy" on my CentOS 7 server. Currently I only can get Git 1.8.3.1 via yum. I need a newer version.
Do I have to build it from source or is there any repo I can use? I alreay added EPEL and elrepo but yum still gives…
Oliver
- 771
66
votes
12 answers
MySQL keeps crashing: InnoDB: Unable to lock ./ibdata1, error: 11
I have a simple webserver (Debian 6.0 x86, DirectAdmin with 1 GB of memory and still 10 GB free space, mySQl version 5.5.9), however the mySQL server keeps crashing and I need to kill all mySQL processes to be able to restart it…
Devator
- 1,483
66
votes
7 answers
DNS failing to propagate worldwide
I haven't changed anything related to the DNS entry for serverfault.com, but some users were reporting today that the serverfault.com DNS fails to resolve for them.
I ran a justping query and I can sort of confirm this -- serverfault.com dns appears…
Jeff Atwood
- 13,174
- 20
- 75
- 93
66
votes
18 answers
How to ping in linux until host is known?
How can I ping a certain address and when found, stop pinging.
I want to use it in a bash script, so when the host is starting up, the script keeps on pinging and from the moment the host is available, the script continues...
Sander Versluys
- 921
- 1
- 10
- 12
66
votes
7 answers
Extracting files from Clonezilla images
Is there a way to browse Clonezilla images and extract individual files from them without restoring the whole image?
Ferruccio
- 2,773
66
votes
7 answers
What are the drawbacks of running a database inside a virtual machine? How do I overcome them?
Running anything inside a virtual machine will have some level of performance hit, but how much does it really impact the performance of a database system?
I found this academic reference paper with some interesting benchmarks, but it was a limited…
Russ
- 713
66
votes
9 answers
Linux: How to know where a process was started and how it was started?
I was checking a Linux box and found a perl process running and taking a good share of cpu usage. With top, i could only perl in process name.
When i pressed c, to view the command-line, it showed /var/spool/mail. Which does not make sense, since…
Fernando
- 1,229
66
votes
5 answers
How can I launch a screen session with a command over ssh on a remote server from my desktop?
I want to be able to launch screen sessions on remote servers from a single ssh command on my desktop. However, screen seems to need a terminal, which is not available when running a command through ssh.
So the obvious
ssh root@my.machine screen…
Thomas Vander Stichele
- 1,075
66
votes
5 answers
associate name with ip for ssh?
Let's say I just have an ip address for a server and I don't have a domain with it (it's just a database server, so it doesn't need a domain). I don't want to have to remember the ip address every time, so is there a way I could still use the syntax…
Matthew
- 1,927
- 4
- 22
- 32
66
votes
5 answers
How do I grant start/stop/restart permissions on a service to an arbitrary user or group on a non-domain-member server?
We have a suite of Windows Services running on our servers which perform a bunch of automated tasks independently of one another, with the exception of one service which looks after the other services.
In the event that one of the services should…
abitgone
- 1,343
66
votes
5 answers
How can I set environment variable for just one command in fish shell?
In bash, I can do EDITOR=vim crontab -e. Can I get similar effect in Fish shell?
skalee
- 773
66
votes
7 answers
What permissions are needed to write a PID file in /var/run?
On Ubuntu:
touch: cannot touch `/var/run/test.pid': Permission denied
I am starting start-stop-daemon and like to write the PID file in /var/run
start-stop-daemon is run as my-program-user
/var/run setting is drwxr-xr-x 9 root root
I like to…
s5804
- 785
- 1
- 6
- 8