Greatest Hits

5
votes
5answers
26k views

How to extend a Linux PV partition online after virtual disk growth

VMware allows to extend the size of a virtual disk online - when the VM is running. The next expected steps for Linux system are: extend the partition: delete and create a larger one with fdisk ...
6
votes
3answers
14k views

Disk Management in Windows 2012 R2, where is it?

In Windows Server 2012 R2 I am unable to find the option to reassign the drive letter for a CD/DVD drive where the disks are normally managed. So I can reassign for hard drives, but not for optical ...
3
votes
2answers
12k views

Some systems cannot connect to ldap via ldaps, but others can, is it the wildcard cert?

When trying to make ldaps connections to my Novel eDirectory 8.8 server, sometimes I have to put TLS_REQCERT never in the client servers ldap.conf file. Obviously, this is a bad idea. The command I ...
7
votes
4answers
7k views

Failed tls handshake. Does not contain any IP SANs

I'm trying to set up logstash forwarder, but I have issues with making a proper secure channel. Trying to configure this with two ubuntu (server 14.04) machines running in virtualbox. They are 100% ...
2
votes
1answer
5k views

Nginx error: “Primary script unknown” while reading response header from upstream

I have installed Nginx 1.6.2 with PHP-FPM (PHP 5.5.18) under CentOS 6.6 server. I didn't touch nothing else but /etc/nginx/conf.d/default.conf file where I made some changes (see below): server { ...
5
votes
1answer
19k views

Why does WireShark think this frame is a TCP segment of a reassembled PDU

Please find a small pcap file here illustrating my problem. I have a three-way TCP handshake, followed by two FIX logons. (FIX is a protocol used in trading.) The first FIX logon (frame 4) is ...
1
vote
1answer
6k views

Can I Deploy a batch file with Group Policy to run as administrator?

I have created a batch fill which will block Facebook by amending the hosts file in this location: C:\windows\system32\drivers\etc\hosts This is the contents of the file: @echo off echo ...
4
votes
8answers
20k views

ConfigMgr 2012 - How to automatically make updates available to computers without forcing them to be installed?

I'm using System Center Configuration Manager 2012 with the Software Update Point feature; however, in this environment patching has to be strictly manual, because server reboots need to be approved ...
9
votes
2answers
11k views

How can I override CMD when running a docker image?

I want to inspect a docker image created by someone else with both an entrypoint and cmd specified, for example: ENTRYPOINT ["/usr/sbin/apache2ctl"] CMD ["-D", "FOREGROUND"] I currently do: docker ...
8
5
votes
4answers
24k views

How to enable all HTTP methods in an Apache HTTP Server

How can I enable the handling of all HTTP methods as defined in RFC 2616 on Apache web server ? These would be: OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT I am using the Apache HTTP Server, ...
3
votes
3answers
13k 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 ...
4
votes
3answers
25k 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 ...
2
votes
8answers
3k views

No success when trying to upgrade glibc on RHEL4 due to GHOST

Due to the recent GHOST vulnerability I was trying to upgrade the glibc version on our RHEL4. The command I tried using was: rpm -Uvh glibc-2.3.4-2.57.x86_64.rpm Result was: [root@rhel4-test ~]# ...
7
votes
3answers
21k views

How to “restart” particular network interface on RHEL?

In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only ...
3
votes
1answer
13k views

Changing the default gateway, multiple NICs

I have Ubuntu 13.10 (kernel 3.11.0-19-generic). On startup, the network configurations are as follows: dor@ubuntu:~$ sudo ifconfig -a em1 Link encap:Ethernet HWaddr 44:37:e6:4c:ca:0a ...
0
votes
2answers
10k views

kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials

I am installing Kerberos5-1.12.1 on ubuntu machine by following the link: http://techpubs.spinlocksolutions.com/dklar/kerberos.html#krb-install Whenever i am trying to do : kinit user1 I am ...
11
votes
6answers
26k views

Delete a iptables chain with its all rules

I have a chain appended with many rules like: > :i_XXXXX_i - [0:0] > -A INPUT -s 282.202.203.83/32 -j i_XXXXX_i > -A INPUT -s 222.202.62.253/32 -j i_XXXXX_i > -A INPUT -s ...
11
votes
6answers
50k views

How to lock down Windows XP for use as an internet kiosk?

One of our clients, whose website we built, is a manufacturer of ultra-high-end bicycles. They would like to distribute kiosks -- basically, locked-down Windows XP boxes from Dell -- at some of their ...
14
votes
2answers
29k views

Troubleshooting Windows Authentication problems (no challenge) in IIS 7.5?

I know that there are thousands of reports of people having trouble getting Integrated Windows Authentication to work with IIS, but they all seem to lead to web pages that don't apply or solutions ...
0
votes
1answer
14k views

Setting a static route for a specific network adapter with two network adapters

I have a virtual windows server 2008 r2 with 2 virtual network adapters, one is part of a domain and the other isn't. When I ping to a specific PC that is part of the domain it connects to it through ...
1
vote
2answers
6k views

Emails not being delivered to server from certain mail servers: “domain has no valid mail exchangers”

I'm having trouble with a server that I administer. I've been told that a number of emails aren't coming through. These are consistently from certain people. Here's the bounce error that they ...
9
votes
2answers
17k views

How do I authenticate with LDAP via the command line?

The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues. [root@tst-01 ...
8
votes
2answers
19k views

Generate an OpenVPN profile for client user to import

Is there any documentation or resource describing how to generate and host a profile for an OpenVPN client to import? Ideally would like my users to not have to separately fetch a .zip file of the ...
14
6
votes
2answers
16k views

How to troubleshoot connectivity when curl gets an *empty response*

I want to know how to proceed in troubleshooting why a curl request to a webserver doesn't work. I'm not looking for help that would be dependent upon my environment, I just want to know how to ...
9
8
votes
5answers
25k views

How can I clear cached domain credentials?

Related: How can I enable domain authentication over wireless in Windows 7/2k8? To test the domain login over wireless connection feature I'm trying to set up in the above question, I need an ...
15
votes
4answers
30k views

KVM: Which CPU features make VMs run better?

We are using Ubuntu 12.04 with the following parameters: Dell R910 Kernel 3.2.0-25-generic #40-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux kvm 1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu13 qemu-kvm ...
0
votes
1answer
7k views

Configure Nginx, Kibana, Elasticsearch

My setup Nginx + Kibana - same box different domain, sub-domain (nginx - example.com, kibana - kibana.example.com) Elasticsearch - 192.168.100.31 I have used the config defined below. Replaced ...
2
votes
2answers
28k views

Dell PowerEdge - Add new disk to an existing RAID 5 array

I have a Dell PowerEdge with a RAID 5 array of 3 disks, and I want to add a fourth disk to it to expand the capacity of the volume. I don't want to reinitialize the whole RAID 5, because I want to ...
4
votes
2answers
8k views

Increase PHP-FPM's max upload/post size

I'm running php5-fpm under Nginx on Ubuntu 14.04. I want to increase the max upload size. I have edited my /etc/php5/fpm/php.ini to have the following lines defined as below: upload_max_filesize = ...
2
votes
2answers
11k views

What is a minimal useful unattend.xml file for SysPrep on Windows 7

Could you provide a minimal unattend.xml file for use in Windows 7, which will be manually installed, updated and configured on one workstation, then SysPrep will be run like this: ...
1
vote
4answers
16k views

kinit & pam_sss: Cannot find KDC for requested realm while getting initial credentials

I have a very similar problem as described in this thread on CentOS 6.3 authenticating against a 2008R2 AD DC. Here is my krb5.conf, I know for a fact that XXXXXXX.LOCAL is the true domain name: ...
4
votes
3answers
19k views

Activating MS Office 2013 Standard via KMS running on the same server

Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied. KMS service set up and running, all the recommended updates applied (to handle possible activation ...
4
votes
2answers
12k views

bad ownership or modes for chroot directory component

I created the user MY_USER. Set his home dir to /var/www/RESTRICTED_DIR, which is the path he should be restricted to. Then I edited sshd_config and set: Match user MY_USER ChrootDirectory ...
13
votes
2answers
32k views

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
5
votes
3answers
35k views

centos 100% disk full - How to remove log files, history, etc?

mysqld won't start because disk space is full: 101221 14:06:50 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28) 101221 14:06:50 [ERROR] Can't start server: ...
5
votes
2answers
13k views

script not found or unable to stat: /usr/lib/cgi-bin/php-cgi

I have just seen a new series of error in the /var/log/apache2/error.log [Thu Oct 31 06:59:04 2013] [error] [client 203.197.197.18] script not found or unable to stat: /usr/lib/cgi-bin/php ...
2
votes
6answers
48k views

How do i change the max attachment size in exchange 2007?

I'm confused. i've changed the transport limits in organisation configuration>global settings> transport settings. I've also altered it in the send and receive connectors max message size. When i ...
11
votes
4answers
19k views

How to setup Gitlab with post-receive hook?

I am using Gitlab on one server and would like to push my git repository on commit of the master branch to another webserver. So when I push a new version of the website the production server gets ...
6
votes
3answers
30k views

User in domain admin group cannot access directory the group has permission to access

I've run into a rather interesting issue when playing with one of my domain labs. There's a directory on a 2008 R2 fileserver that's being used for folder redirection for all users in the "Staff" OU. ...
1
vote
1answer
10k views

OpenVPN connected but not internet access on the client

I've setup OpenVPN following this tutorial, and everything works fine except that I don't have an internet connection on the client while connected to VPN. ...
4
votes
4answers
18k 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 ...
0
votes
3answers
10k views

Postfix: “Connection timed out” on all outbound email

I've been attempting to setup mailing lists with GNU Mailman but it's been a complete disaster with tons of road blocks. Postfix is able to receive email but not send it back out at all, I've peeked ...
8
votes
1answer
10k views

dhclient: What does “RTNETLINK answers: File exists” Mean?

I wanted to update the DHCP lease of an Amazon EC2 instance, so I executed the following command: user@host:~$ sudo dhclient Following that, the system's DHCP lease is updated successfully updated. ...
1
vote
3answers
40k views

How do you move Exchange 2007 Public Folders to Exchange 2010?

I'm upgrading my organisation's Exchange set-up from 2007 to 2010 (by provisioning a new server with 2010 on, moving the mailboxes across, then decommissioning the 2007 server). The move went by ...
2
votes
3answers
14k views

OpenVPN and Routing and IPtables

GOAL: Access internal network devices and browse web via the tunnel. 192.168.2.x = internal network 192.168.3.x = openvpn server 192.168.2.111 = openvpn server on internal network [root@openvpn ~]# ...
2
votes
1answer
19k views

Word 2013, KMS not activating, looking for clues

I have ONE office 2013 installation among a little more than half a dozen that is not getting activated by our KMS. Funny enough it is on my machine which got reinstalled some time ago - "last" of ...
5
votes
5answers
28k 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 ...
7
votes
4answers
9k views

Inaccessible_boot_device after installing KB2919355 on Server 2012R2

I have a server 2012r2 machine that I just installed KB2919355 (the mega 800+MB patch recently released for Windows 8.1 and Server 2012). Server is a Dell Poweredge R715. Disks are 2x500GB SAS in ...
18
votes
6answers
14k views

2008 R2 Terminal Server: “Insufficient system resources exist to complete the requested service”

I'm working with a Windows 2008 R2 Terminal Server configured in a vSphere environment. It currently has 4 vCPUs and 32GB RAM. No overcommitment. The concurrent user count on this server has risen ...
17
votes
2answers
21k views

Bandwidth limits for Amazon EC2

I have a micro instance on Amazon EC2 cloud. Also the instance is small and it has vary low CPU and EAM usage but it generates a lot of content, so it can be considered like a web server serving ...