Most Popular

1500 questions
45
votes
5 answers

How do I install the JRE on a Windows server without Oracle adware?

I would like to install Java on one of our servers, but I am reticent due to Oracle's bundling of an Ask.com toolbar and some virus scanner. I've read that the java updater even installs these for important security fixes if they are missing, and…
Jason Goemaat
  • 661
  • 1
  • 6
  • 14
45
votes
7 answers

Removing an (apparently) infinitely recursive folder

Somehow, one of our old Server 2008 (not R2) boxes has developed a seemingly infinitely-recursing folder. This is playing havock with our backups, as the backup agent tries to recurse down into the folder and never returns. The folder structure…
KenD
  • 1,127
  • 2
  • 17
  • 35
45
votes
5 answers

How to disable AAAA lookups?

... to compensate for broken DNS servers that are outside our control. Our problem: We deploy embedded devices that collect sensor data at various, mostly IPv4-only sites. Some sites have poorly maintained networks, e.g. misconfigured or otherwise…
Nils Toedtmann
  • 3,202
  • 5
  • 25
  • 36
45
votes
1 answer

how to install an older version of a pecl package

I have this code $passengerId = new \MongoId(oPassenger->getId()); return $this->createQueryBuilder('Device') ->update() ->multiple(true) ->field('activated')->set(false) …
abbood
  • 1,087
  • 3
  • 13
  • 21
45
votes
2 answers

Use a specific forwarded key from SSH-agent?

Let's say I have a key for Github, along with other keys. I've added lots of keys to my ssh agent (ssh-add -L returns lots of lines) at my home computer A. In my .ssh/config I have set up which key to use with which host, so e.g. ssh -T -vvv…
danmichaelo
  • 552
  • 1
  • 4
  • 8
45
votes
6 answers

Is it safe for a production server to have make installed?

During the setup of my virtual server instances I require some applications to be built using make. Are there any security risks associated with having make installed? Or should I clean it up before the instance is deployed? I also have the gcc…
S-K'
  • 1,281
  • 2
  • 11
  • 15
45
votes
9 answers

System error 1219 has occurred

I am trying to connect to a remote server and deploy a service there, through a deploy script. I start by stating "Net use" and send the credentials for the server. But here I get system 1219 error: Multiple connections to a server or shared…
khebbie
  • 660
  • 1
  • 6
  • 12
45
votes
2 answers

Prevent the possiblity of writing data to an unmounted mount point directory

I have an Ubuntu server where I'm automounting an external hard drive each boot. To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder. However, what if I perform a backup to this path when…
LonnieBest
  • 1,450
  • 4
  • 21
  • 36
45
votes
9 answers

Nginx fails to stop and nginx.pid is missing

I want to stop Nginx but it fails like this. $ sudo service nginx stop Stopping nginx: [FAILED] And nginx.conf that defines place of nginx.pid have a line. # /etc/nginx/nginx.conf pid …
ironsand
  • 687
  • 1
  • 7
  • 12
45
votes
8 answers

How to enable SSH X11 forwarding through additional server?

I have hosts A,B and C. From host A I can access through ssh only B. From B I can access C. I want to be able to run X11 programs on C and forward display to A. I tried this: A$ ssh -X B B$ ssh -X C C$ xclock Error: Can't open display: But it…
lexsys
  • 2,863
  • 5
  • 30
  • 34
45
votes
4 answers

Setting Nginx to catch all unhandled vhosts

If I already have a bunch of virtualhosts, how can I create a virtual host to handle requests that don't match any of the virtualhosts? (i.e. access by IP, another domain linking to IP, .etc .etc)
SandyD
  • 561
  • 1
  • 4
  • 4
45
votes
6 answers

How to automatically close netcat connection after data is sent?

I am executing the following command from a script: echo '{"hostUp": true}' | sudo /usr/local/bin/netcat localhost 8001 However, the netcat client stays open indefinitely. How can I close the connection once this data has been sent?
Justin Meltzer
  • 621
  • 1
  • 9
  • 18
45
votes
6 answers

Can an SSL certificate be on a single line in a file (no line breaks)?

SSL certificates by default have line breaks after 67 characters. I'm trying to create SSL certificate files using Chef. Essentially I want to create the entire certificate file from a string variable without any line breaks. I've tried this a few…
wrangler
  • 2,920
  • 5
  • 23
  • 20
45
votes
1 answer

HP ProLiant DL360 G7 hangs at "Power and Thermal Calibration" screen

I have a new HP ProLiant DL360 G7 system that is exhibiting a difficult-to-reproduce issue. The server randomly hangs at the "Power and Thermal Calibration in Progress..." screen during the POST process. This typically follows a warm-boot/reboot…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
45
votes
3 answers

Why is it not possible to use two remotes for rsync?

Note to serverfault users: This closed question is answered here by four comments by hynekcer. It is then well accepted in other comments as a regularly answerable question. It's now being voted for re-opening. When both source and destination are…
loopbackbee
  • 1,305
  • 1
  • 10
  • 20