Greatest Hits

5
votes
7answers
27k views

Can I run SQL Server Management Studio in Windows 7?

I've recently upgraded my OS to Windows 7, but this new OS wouldn't let me install SQL Server Management Studio. Is there a way to get around it?
2
votes
2answers
3k views

Set gitlab external web port number

How do I change gitlab's default port 80 to a custom port number? There are two approaches I've tried: Set the port in /etc/gitlab/gitlab.rb external_port "8888" Then run reconfigure: ...
3
0
votes
1answer
9k views

Postfix Temporary lookup failure

I am trying to set up postfix, but I get a "Temporary lookup failure" error main.cf: inet_protocols = ipv4 inet_interfaces = all queue_directory = /var/spool/postfix command_directory = /usr/sbin ...
5
votes
4answers
19k 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 ...
19
votes
2answers
20k views

How bad is setting MySQL's bind-address to 0.0.0.0?

I'm trying to allow a remote server to access a MySQL instance that currently shares a Linux server with a web app. According to the documentation the only way this would be possible (unless I'm not ...
11
votes
3answers
34k views

How do I enable apache modules from the command line in RedHat?

How do I enable apache modules from the command line in RedHat? On Debian/Ubuntu systems I use a2enmod to enable modules from the command line. Is there an equivalent for RedHat/CentOS type systems? ...
17
votes
6answers
30k views

Google Chrome: passthrough Windows authentication

The I.T. dept is considering allowing installation and automated deployment of Google Chrome browser to 100+ desktops. One of the requirements is for domain credentials to be passed through. The ...
3
votes
2answers
7k views

/etc/security/limits.conf soft nproc limit appears to be ignored

My MongoDB database was running into problems under load, with the following errors spamming the logs: [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] ...
1
vote
5answers
6k views

How do I install the main repositories for RHEL6

We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is ...
15
votes
4answers
19k views

Is there a way to run virt-manager on Windows?

We've been using KVM for almost a year strictly on CentOS 5.x as the KVM host, with Fedora and Ubuntu workstations accessing the KVM host and its guests using virt-manager, virt-viewer, and ssh. Is ...
5
votes
6answers
32k views

How do you detect a spambot on your network?

I help manage a small network of about 40 computers. We are running an Exchange 2003 mail server. What is the best way to find which machine is infected by a spambot? I've tried installing anti-virus ...
6
votes
3answers
15k 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 ...
7
votes
3answers
24k views

What is wrong in my php-fpm configuration?

I have a 64-bit server but only 256MB of RAM. So, I moved to nginx server with fast-cgi to connect to PHP. I have PHP 5.3.6 running. The issue is that after every two or three days when I try to ...
5
votes
3answers
19k views

How to set shmall, shmmax, shmni, etc … in general and for postgresql

I've used the documentation from PostgreSQL to set it for example this config: >>> cat /proc/meminfo MemTotal: 16345480 kB MemFree: 1770128 kB Buffers: 382184 kB ...
3
votes
5answers
10k views

how to auto start openvpn (client) on ubuntu 12.04 cli?

I have an *.ovpn file that works if I type in sudo openvpn client.ovpn Now I would like to start up openvpn when I boot the computer. It's a headless version of ubuntu if that matters. 12.04 64bit. ...
3
votes
2answers
28k views

How to join a domain over VPN?

I connect to company VPN and I can join the default domain without problems. In office infrastructure we have a seperate domain which is setup as a test environment. I can RDC into servers on this ...
6
votes
2answers
14k views

How to change default application in a website in IIS 7.5 on Windows 7

When I pull up http://localhost in a web browser on my computer (Windows 7, IIS 7.5) I get the IIS 7 welcome image. I have a different website that is set up in IIS that I'd prefer to be the default ...
1
vote
3answers
26k views

How do I change Internet Explorer security settings for all users using Active Directory?

I recently created an Intranet application for my company, but to work properly it must execute an ActiveX control to locally run a program. However, the only way I found for this to work was using ...
10
votes
1answer
11k views

Can someone please explain easyrsa vars options for PKI generation

I am using OpenVPN and whilst I can generate certificates using easyrsa just fine I don't really understand the settings in the easyrsa vars file: export KEY_COUNTRY="" export KEY_PROVINCE="" export ...
6
votes
4answers
30k views

SQL Server Installation: Is it 32 or 64 bit?

Recently I was performing an OS upgrade on one of our DB servers, moving from Server 2003 to Server 2008. The DBMS is SQL Server 2005. While reinstalling SQL on the new Windows installation, I went to ...
6
votes
5answers
46k views

Is there a Windows 7 compatible IPSec VPN client that allows protocol and port specific rules?

I'm looking for a Windows 7 compatible IPSec VPN client that allows protocol and port specific rules as well as an aggressive mode. On Windows XP and Vista we've used SafeNet SoftRemote in which you ...
6
votes
3answers
19k views

How can I install mysql PDO driver in Ubuntu 10.04 and PHP 5.3.2

I tried to install mysql PDO driver with this command: $ sudo pecl install pdo_mysql but I got the following error: WARNING: "pecl/PDO_MYSQL" is deprecated in favor of ...
10
1
vote
3answers
29k views

Script to list current user's mapped network drives

I have a Windows XP/ Server 2003 environment here users have mapped different network drives themselves using arbitrary drive letters. Some of these users do not know how to tell the true UNC path of ...
14
votes
5answers
14k views

How do I PXE boot multiple Windows 7 desktops off the same image?

Some years ago in my uni days I recall that the uni labs booted windows nt over the network. There was a shared drive for your own stuff, and other than that any changes you did to the running OS were ...
13
votes
6answers
32k views

How do I change the collation of a SQL Server Database?

I'm trying to standardise all databases on a single collation - Latin1_General_CI_AS (the standard collation). I have some databases that are in SQL_Latin1_General_CP1_CI_AS. I know I can use ALTER ...
4
votes
2answers
6k views

svn: E170000: Unrecognized URL scheme for httpxxxx

Looks like the custom built svn doesn't work for http URLs. After searching online, I understood that I need to install neon libraries which I did. After installing neon when i am building the ...
11
9
votes
3answers
14k 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 ...
3
votes
3answers
14k views

How do you apply proxy settings per computer instead of per user?

So far, I've used a user group policy object utilizing Internet Explorer maintenance to set a proxy for the user in IE. We have now deployed the Enterprise Client (EC) starter group policy to our ...
0
votes
3answers
3k views

Windows 8.1 clients showing printer offline after reconnecting to the network

We have recently rolled out 100 laptops running Windows 8.1, some of our users are having a problem with printers being offline. It appears to happen when they take the laptop home to no WiFi and then ...
1
vote
4answers
21k views

Oracle database is very slow - Where to start and how to find the cause?

Our Oracle database(11g) is very slow all of a sudden. I donno where to start the debugging process to find what actually is the problem? I tried generating table stats and looked for locks..but i ...
1
vote
3answers
11k views

Is there a built-in command-line tool under Windows like wget/curl?

I come from a Linux/Unix background and I have been wondering if Windows has a binary that can download files from the console. I would like to automate a certain process and one of my requirements ...
27
votes
16answers
26k views

Is Round-Robin DNS “good enough” for load balancing static content?

We have a set of shared, static content that we serve up between our websites at http://sstatic.net. Unfortunately, this content is not currently load balanced at all -- it's served from a single ...
0
votes
5answers
15k views

Ubuntu Server 12.04 can access LAN but not internet

Using Ubuntu Server (12.04) via command line, I can access the LAN (e.g. ping local machines) but not the internet (e.g. "ping google.com" or "sudo apt-get update"). How should I troubleshoot this? ...
0
votes
2answers
17k views

could not start the service MySQL. Error:0 how to get mysql 5.5 server running?

I tried to upgrade to MySQL 5.5 from 5.1. When I try to run Instance Configuration Wizard I get this error: Could not start the service MySQL. Error:0 I am to the point now that I would be happy ...
3
votes
4answers
16k views

How can I remotely list installed programs on a Windows XP system, while it is in use?

The title pretty much covers it all. There is a Windows XP system on the network which is currently in use by another user. Since XP only allows one active user session at a time, I cannot use RDP ...
1
vote
3answers
5k views

Guest OS install from Physical CD/DVD Hyper-v 2012 R2

I have been looking around if it's possible to install a Guest OS on Hyper-V 2012. The only ways i see to install guest OS is by mounting an ISO. Is hyper-v able to access the Host physical CD/DVD at ...
3
votes
5answers
22k views

Find (or enable?!) php.ini on Ubuntu 10.10

Hiho! Today I leave my comfort zone and want to edit my php.ini file and... guest what? It doesn't exist! $ php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: ...
5
votes
4answers
15k views

w3wp.exe hogs memory

On a Small Business Server 2011 installation a whole number of w3wp.exe processes appear to be using a disproportional lot of memory. The SBS out-of-the-box installations comes with a total of 7 sites ...
20
votes
1answer
27k views

How to reduce number of sockets in TIME_WAIT?

Ubuntu Server 10.04.1 x86 I've got a machine with a FCGI HTTP service behind nginx, that serves a lot of small HTTP requests to a lot of different clients. (About 230 requests per second in the peak ...
9
votes
1answer
27k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
5
votes
3answers
19k views

how to disable remote wipe for Exchange 2010 ActiveSync?

When connecting android mobile devices to Exchange ActiveSync some require granting device administrator privileges which permit an exchange administrator to remotely wipe the phone. The warning ...
6
votes
4answers
14k views

How to perform a P2V conversion of a Windows Server 2008 R2 EFI system?

As discussed elsewhere, Windows Server 2008/R2 will automatically use the EFI boot loader when installed on EFI systems, and will also automatically use the GPT partitioning scheme on such systems. ...
6
votes
1answer
8k views

What does this nginx error “rewrite or internal redirection cycle” mean?

tail -f /var/log/nginx/error.log 2013/05/04 23:43:35 [error] 733#0: *3662 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 127.0.0.1, server: _, request: ...
10
11
votes
3answers
19k views

How can I filter https when monitoring traffic with Wireshark?

I want to observe the HTTPs protocol. How can I use a Wireshark filter to do that?
4
votes
3answers
15k 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
2answers
25k views

How can I rename and change the IP address of a Netapp Filer?

I have an old Netapp filer that I'm migrating all of the NTFS files off of to a new NAS. I'm going to be setting the new NAS up with the same IP and CIFS server name as the old netapp filer. This ...
6
2
votes
1answer
20k views

Two network interfaces and two IP addresses on the same subnet in Linux

I recently ran into a situation where I needed two IP addresses on the same subnet assigned to one Linux host so that we could run two SSL/TLS sites. My first approach was to use IP aliasing, e.g. ...
6
votes
3answers
18k views

HP ACU CLI Examples

Has anyone used the HP Array Configuration Utility Command Line Interface (hpacucli.exe) to get physical disk information into a file? I'm not at the machine right now, but basically I want to find ...
1
vote
2answers
13k views

Where is the php extension directory in Linux?

I installed kloxo hosting panel on my vps. Now I want to know what where is the php extension directory? Thanks in advance...
1
vote
4answers
16k views

Windows 2008 Server R2 turns itself off

I have a Windows 2008 R2 Server that switchs off on his own. and it does not look like a hardware problem since I can see in the log how all services are stopped and after: Log Name: System ...