Greatest Hits

1
vote
4answers
22k views

Fix/Bypass “Cannot connect to the real website-blocked” error in Google Chrome with OpenDNS blocking

Tl;Dr: How do I stop chrome from refusing to load pages that are blocked by OpenDNS, where the server has explicitly requested HTTPS? Long question: I have a large problem with Chrome in my ...
7
votes
3answers
14k views

What does “localhost | FAILED => Missing become password” mean? How do I get past it?

I have a Ubuntu 14.04 virtual machine set up in virtualbox and I am trying to follow these instructions. https://serversforhackers.com/an-ansible-tutorial When I get to the module section and try to ...
20
4
votes
2answers
24k views

How to make Samba share to NOT ASK FOR PASSWORD

NOTE: I have read probably up to 50 different pages describing how to setup public Samba share in the span of 2 YEARS and nothing ever worked for me. I don't know how much RTFM I need to set this ...
1
vote
3answers
34k views

How to to avoid “Port 22: Connection refused” error on SSH port (22)?

I have a server where I just use openssh, openvpn and rabbitmq (which requires a lot of erlang dependencies). Every time I reboot my server I can't access to it anymore getting Port 22: ...
23
votes
6answers
67k views

How to rename a SQL Server 2008 instance?

How can I rename a SQL Server 2008 instance without reinstalling? For example, if the db is referenced as "MySQLServer\MSSQL2008", how can I rename to "MySQLServer\SQL2008"?
16
votes
2answers
15k views

Docker COPY issue - “no such file or directory”

In my Dockerfile I have the following 'COPY" statement: # Copy app code COPY /srv/visitor /srv/visitor It should go without saying that in my host system, under the "/srv/visitor" directory, there ...
5
votes
4answers
45k views

Windows Update not working on Windows Server 2008 R2

The Windows Update screen comes up and I click on Download Updates. I then get the bar scrolling across the screen and it says Downloading Updates but the counts never increase (0 KB total, 0% ...
8
votes
3answers
46k views

What's eating my drive space when normal files + hidden + system doesn't equal total drive space used

This is very strange. All directory sizes are normal, and all other folders are within 20GB of what they should be. The discrepancy is that I can’t locate the files that are consuming 150GB of ...
5
votes
3answers
39k views

Users are getting a temporary profile

A bit about current setup: It is windows 2008 R2 AD servers (all of them are 2008R2) and couple locations which set as Sites. Each location has DFS on AD server. Roaming profiles are not used nor ...
8
votes
4answers
39k views

Hyper-V Time Sync for VM Domain Controller

We have 2 physical hyper-V servers running 8 VMs between them, each physical server has a Domain controller on it running in a VM and all servers are 2008R2 The VM PDC is set to NTP and to sync with ...
4
votes
5answers
46k views

How to verify if Windows Update location is properly configured from WSUS?

I was recently configuring a WSUS server. However I am not sure if I've set up correctly (WSUS isn't an everyday tool at the place where I work). I've been wondering, Is there a command (or a tool) ...
12
votes
2answers
27k views

Using CA certificate for Remote Desktop Connection

I’m connecting over the web to a remote Windows Server 2012 R2 via Remote Desktop Connection for administration needs. It is a single web and database server without an AD etc. I’m not talking ...
2
votes
1answer
21k views

OpenVPN not default gateway for all traffic

I'm trying to make my client forward all traffic through a VPS running OpenVPN. As you can see, it will allow pings to both domains and raw IP addresses, but it will not allow traffic like that made ...
13
20
votes
4answers
45k views

How to connect a cdrom device to a kvm/qemu domain (using command-line tools)?

I have set up a virtual machine running Windows XP on my Ubuntu laptop. Using the virt-manager GUI application, I can insert a CD in my drive and go to Details→IDE CDROM 1 and click on the Connect ...
7
votes
3answers
43k views

How to update/flush dns cache on clients?

When I have made changes on the DNS host. How do I get the clients (servers) to update/flush their DNS cache, so they see the change right away?
7
votes
2answers
19k views

Which is better image format, raw or qcow2, to use as a baseimage for other VMs?

I am using a baseimage and based on that creating many VMs. And now I want to know which is better, qcow2 or raw to use for a baseimage. Moreover, can you please tell me if there is any advantage of ...
14
votes
6answers
24k views

SSH aborts with Too many authentication failures

I'm attempting to run this simple provisioning script but I'm encountering errors when running vagrant up and then vagrant provision commands. I read that I needed to create a /etc/ansible/hosts file ...
10
votes
1answer
34k views

Server 2012: change desktop background color

On a Windows Server 2012 Remote Desktop Session Host with the Desktop Experience feature enabled and the desktop wallpaper disabled, users wish to configure own color schemes and define an own desktop ...
3
votes
1answer
34k views

what is acceptable datastore latency on VMware ESXi host?

Looking at our performance figures on our existing VMware ESXi 4.1 host at the Datastore/Real-time performance data Write Latency Avg 14 ms Max 41 ms Read Latency Avg 4.5 ms Max 12 ms People ...
10
votes
1answer
19k views

Failed to connect to 127.0.0.1 port 80

I have running nginx server (doesn't matter which server): $ sudo netstat -tulpn | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4268/nginx tcp6 0 0 :::80 ...
8
votes
6answers
25k views

CleanMgr can nolonger be installed on server 2012 R2

Just tried to get cleanmgr installed and working on a fresh 2012 R2 install. Copies CleanMgr.exe & CleanMgr.exe.mui across like done before but when it is run get error: The Program or feature \?...
5
votes
7answers
64k views

Sun Solaris - Find out number of processors and cores

Our SPARC server is running Sun Solaris 10; I would like to find out the actual number of processors and the number of cores for each processor. The output of psrinfo and prtdiag is ambiguous: $...
6
votes
6answers
41k views

How to investigate unexpected Linux server shut down?

In a new Xeon 55XX server with 4xSSD at raid 10 with Debian 6, I have experienced 2 random shut downs within two weeks after the server being built. Looking at bandwidth logs before shut down does not ...
10
votes
4answers
24k views

iptables nat does not exist

Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know) All commands are executed as root user. If I run $ iptables -t nat -L I get the ...
4
votes
3answers
17k views

SQL Server Windows Authentication fails after tonight's security updates: The login is from an untrusted domain

We have the following setup: One Domain Controller (DC, Server 2003 R2 Standard x64) One SQL Server (SQL, Server 2008 R2 Standard x64) some clients. All machines are in the same domain. All user ...
17
votes
4answers
24k views

Managing Windows Powershell from Linux terminal

I manage Windows Server 2012 servers. I'm learning PowerShell to manage these servers through command line. My workstation runs Ubuntu and I usually manage Linux servers by connecting via SSH. Is ...
14
votes
5answers
49k views

How can I manually run a nagios check from the command line?

When defining and testing new services in nagios I have been restarting nagios, then clicking the service, and rescheduling a check for as soon as possible, then waiting until the check happens. Is ...
10
votes
5answers
31k views

How can I schedule a server restart from command line on Windows 2012?

I would like to schedule a one-time server restart, e.g. to finish installing updates early in the morning. How can I do this from the command line on Windows 2012? On Windows 2008, I would have used ...
5
votes
2answers
26k views

DNS on Windows Server 2012 R2

I'm new to Servers and am using Windows Server 2012 R2, after trying to create a AD DC and connect a machine to it, I get the following errors when connecting: "An Active Directory Domain ...
7
votes
7answers
11k views

Trying to mitigate Logjam on Apache 2.2.16

I am trying to follow the instructions located here to mitigate for the logjam vulnerability, however I keep getting the following error from appache: Syntax error on line 18 of /etc/apache2/sites-...
8
votes
2answers
35k views

how to uninstall mariadb and re-install mysql ? Mysql install turns into mariadb install

I recently upgraded my centos system via the desktop. mistake! I had mariadb, phpmyadmin working just fine before - but after the upgrade they stopped. I frantically googled and tried to follow some ...
17
votes
2answers
15k views

What's the easiest way to make my old init script work in systemd?

I don't want to do the right thing by creating a new systemd script, I just want my old init script to work again now that I've upgraded my system to an OS that's using systemd. I've briefly ...
15
votes
1answer
28k views

vSphere - Why upgrade VM Hardware Version?

At the beginning of the year we performed an upgrade of our vSphere environment from vSphere 5.0 to vSphere 5.1 U1 Build 1063329 compromised of about a dozen ESXi hosts and a vCenter instance hosted ...
4
votes
3answers
25k views

nagios nrpe unable to read output

I'm trying to use check_nrpe to check on a remote server, but it's not working and I can't figure out what am I missing... # /usr/lib/nagios/plugins/check_nrpe -H XXX -c check_load -a 6,5,4 8,7,6 ...
17
votes
7answers
65k views

How do you re-mount an ext3 fs readwrite after it gets mounted readonly from a disk error?

Its a relatively common problem when something goes wrong in a SAN for ext3 to detect the disk write errors and remount the filesystem read-only. Thats all well and good, only when the SAN is fixed ...
16
votes
7answers
79k views

How do I change the Software Update server address on a client Mac (to use my own server)?

Now that I have started the Software Update service on my Leopard Server, how do I change my client Macs to check for updates on it?
5
votes
2answers
16k views

How to mount an USB drive under VMWare ESXi 5.5?

I want to mount an USB drive to VMWare ESXi 5.5 host. The USB drive is visible with lsusb : Bus 01 Device 03: ID 154b:0095 PNY But not under /vmfs. Under /dev/disks/ I see many entries, but dunno ...
3
votes
4answers
58k views

How to find out more hardware details using only ESXi4.1 and (possibly) shell

Running ESXi4.1 on an HP machine, with only remote access to the host ssh shell and the vmware console (no iLO), is there a way to gather a hardware report from the server? I am specifically ...
0
votes
1answer
14k views

Job for httpd.service failed

after following this tutorial :https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-apache-for-centos-7 I have tried everything I possibly can to fix the error I have ...
5
votes
3answers
51k views

Setting Java Runtime setting for all users on a client PC

We have a problem with a java application running out of memory. Our (Windows XP) client PCs have JRE 1.6 version 18 installed. I want to increase the -Xmx runtime parameter for the JRE to 512M but I ...
12
votes
2answers
22k views

nginx: Log complete request / response with all headers?

We have an application server that sometimes hangs. We suspect it is due to a bad request from a client. Can nginx log the complete request/response (like fiddler captures) to files, so we can see ...
10
20
votes
4answers
55k views

Check OpenSSH version and update instructions on FreeBSD system

On a FreeBSD system (8.1), I am looking for instructions on how to check the running version of OpenSSH and also instructions on the best way to download install an update of OpenSSH
3
votes
3answers
29k views

How To Properly Setup DNS Forwarders On Windows Server

I was wondering how to properly setup DNS forwarders on Windows Server 2008 R2. I have three Domain Controllers. Each of the DC's have have following: AD Role DNS Role DHCP Role Static IP Address ...
8
votes
3answers
42k views

can high load cause server hang and error “blocked for more than 120 seconds”?

Currently running a few VM's and 'baremetal' servers. Java is running on high - over 400%+ at times. Randomly the server hangs with the error in the console "java - blocked for more than 120 seconds" -...
14
votes
7answers
47k views

VPN Connection causes DNS to use wrong DNS server

I have a Windows 7 PC on our company network (which is a member of our Active Directory). Everything works fine until I open a VPN connection to a customer's site. When I do connect, I lose network ...
6
votes
1answer
19k views

Mails sent to mail.protection.outlook.com are not being received

For few days we have been receiving complaints from many of our subscribed clients that they are not getting daily alert mails. We checked in our logs that the mails are accepted by the servers (MX ...
2
votes
4answers
26k views

SCCM - How to make new deployed applications appear in Software Center faster?

I am trying to make the process between SCCM deployments and the Software Center (configmgr) faster, if not seamless. Right now, applications generally take about 1-2 hours to populate properly. ...
6
8
votes
2answers
32k views

nginx / php-fpm error logging

I'm trying to figure out where the PHP errors are going in my setup. I'm running nginx as the reverse proxy to PHP-FPM, but I'm not seeing the various E_NOTICE or E_WARNING messages my app is ...
8
votes
3answers
29k views

Connecting to a remote server through a VPN when the local network subnet address conflicts with a remote network

This is a Canonical Question about solving IPv4 subnet conflicts between a VPN client's local network and one across the VPN link from it. After connecting to a remote location via OpenVPN, clients ...
16
7
votes
5answers
70k views

How to set ulimits in Solaris 10

I normally use pam_limits.so and /etc/security/limits.conf to set ulimits on file size, CPU time, etc. for the regular users logging in to my server running Ubuntu. What is the best way of doing ...