Greatest Hits

21
votes
3answers
61k views

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18

Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request ...
36
votes
6answers
112k views

How can I tell what version of IIS is installed?

I've got a box running Win2k3 and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?
20
votes
3answers
35k views

apt-get update getting 404 on debian lenny

Here is my /etc/apt/sources.list ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ lenny main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ lenny/updates ...
57
votes
7answers
96k views

Apache 2 startup warning: NameVirtualHost *:80 has no VirtualHosts

When my Ubuntu Apache server (Apache 2) starts up I get a warning message that reads: [warn] NameVirtualHost *:80 has no VirtualHosts However, the web server is working fine. What might I have ...
46
votes
8answers
54k views

Linux: How to tell if system is big endian or little endian?

I know that certain processors are Big Endian and others are Little Endian. But is there a command, bash script, python script or series of commands that can be used at the command line to determine ...
77
27
votes
2answers
65k views

What are windows 7 N/KN/VL editions?

We're subscribed to MSDN at work and I've noticed that among the various windows "editions" there are downloads such as "Windows 7 Ultimate N" and "Windows 7 Ultimate N and KN". What are these ...
4
votes
3answers
68k views

Windows Security (In windows 7) keeps asking for my credentials, and won't “Remember my credentials”

I'm not the network admin, but my network admin is having trouble solving this as well. My issue is exactly as the title says... Windows Security (In windows 7) keeps asking for my credentials, and ...
25
votes
3answers
114k views

How to enable MySQL logging?

I am running MySQL 5.0.45 on OS X 10.6.1 and I cannot get MySQL to log anything. I am debugging an application and need to see all queries and errors. I added to the etc/my.cnf: [mysqld] ...
29
votes
14answers
64k views

Why does “Loading your personal settings” take forever?

I have come across dozens of user installations of Windows (XP) where, after logging in, the system stays stuck on this screen for a very long time. What are the possible causes? How can I diagnose ...
79
15
votes
3answers
58k views

How to stream live video from a linux server?

Here is what I want to do. Looked around but didnt find any straight answer. I have a Linux box running websites using Ubuntu/MySQL/Apache. I have my own static IP as well, i.e. not using web hosting. ...
28
votes
2answers
64k views

How do I configure LDAP on Centos 6 for user authentication in the most secure and correct way?

During the last couple of days I have been using a lot of F-words, while browsing Internet for good documentation about how to setup an LDAP-server. So far I have found none, but plenty that are less ...
7
votes
6answers
42k views

How to view status of software RAID 1 resynching?

I have two 500 GB disks and yesterday I mirrored first drive to the second one using software RAID 1. PC has now been on for 30 hours. Both disks say "Resynching", but there is no progress indicator. ...
20
votes
7answers
62k views

What is the recommended size for a Linux /boot partition?

What is the recommended size for a Linux /boot partition? And is it safe to not have a /boot partition? I see some servers don't have a /boot partition while some servers have a 128 MB /boot ...
16
votes
5answers
74k views

How to install Active Directory Users and Computers for Windows 2008

I want to install the administration tools on a Windows Server 2008 (R1) machine. On Windows 2003 you installed adminpak.msi, but I can't find such a file for 2008. Is this a "feature" in Server ...
25
votes
5answers
62k views

Top - what does Virtual memory size mean? …linux/ubuntu

I am running top to monitor my server performance and 2 of my java processes show virtual memory of up to 800MB-1GB. Is that a bad thing? What does virtual memory mean? And oh btw, I have swap of ...
27
votes
3answers
82k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
4
votes
5answers
57k views

How to work out how many IP's you've got available on a /29 network mask

This might sound like a stupid question but I would really like to know how I would work out how many IP's I've got available on this network range: 196.44.198.32/29 Can someone explain it to me, ...
6
votes
4answers
82k views

How to restore/import an Oracle database from dmp file?

I've recently recieved the dump file of the soon to be migrated Oracle Database. I've installed Oracle 10g and now i need to restore the original database. Can anyone give me a step to step ...
3
votes
7answers
48k views

How to fix Windows 2008 R2 BOOTMGR is missing

BOOTMGR IS MISSING PRESS CTRL+ALT+DEL TO RESTART Note: This is a VM on VMWare ESX server, but that should not matter I put in the 2008 R2 x64 install dvd and can get to recovery, but it lists no ...
49
votes
3answers
39k views

Why is my crontab not working, and how can I troubleshoot it?

This is a Canonical Question about using cron & crontab. The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below. This addresses the cron system with ...
51
20
votes
8answers
73k views

How do I determine the size of my SQL Server database?

Basic: what's the size on disk of my MS SQL Server DB? More: can I quickly see where the data is? i.e. which tables, logs, etc
56
votes
11answers
84k views

Subversion error: (405 Method Not Allowed) in response to MKCOL

I am getting the following error while trying to commit a new directory addition. svn: Commit failed (details follow): svn: Server sent unexpected return value (405 Method Not Allowed) in response to ...
61
6
votes
6answers
41k views

How do I restart SharePoint Timer Service from command line?

How do I restart SharePoint Timer Service from command line?
25
votes
8answers
18k views

My server is still vulnerable to heartbleed even after I update OpenSSL

I have an Ubuntu 12.04 server. I have updated the OpenSSL package in order to fix the heartbleed vulnerability. But I am still vulnerable even, even though I have restarted the web server, and even ...
44
votes
23answers
68k views

How to copy a large number of files quickly between two servers

I need to transfer a huge amount of mp3s between two serves (Ubuntu). By huge I mean about a million files which are on average 300K. I tried with scp but it would have taken about a week. (about 500 ...
29
votes
3answers
35k views

What is the difference between unicast, anycast, broadcast and multicast traffic?

I have never had the privilege of working in an environment that required complicated routing or if it did require it, it was handled upstream of me. I've always used very simple static routing ...
7
votes
5answers
96k views

How do I increase the maximum number of concurrent remote connections in Windows Server 2003?

I am trying to allow more than the default of 2 concurrent remote connections to a server running Windows Server 2003. Background: I went to "Start" => "Administration Tools" => "Terminal Services ...
30
votes
2answers
60k views

robocopy transfer file and not folder

I'm trying to use robocopy to tranfer a single file from one location to another but robocopy seems to think I'm always specifying a folder. Here is an example: robocopy "c:\transfer_this.txt" ...
20
votes
7answers
65k views

How do I restart a Windows service from a script?

I have a batch script that looks like: sc stop myservice sc start myservice it errors out because sc doesn't wait till the service is stopped. How do I restart a service with a script?
16
votes
12answers
39k views

How do I know if I'm working on a Virtual Machine or not?

Is there a way to know if the Windows machine I'm working on is virtual or physical? (I'm connecting with RDP to the machine. If it's a virtual machine it is working and handled by VMWare).
13
votes
4answers
22k views

Connecting to MySQL from PHP is extremely slow

I just did a fresh install of XAMPP. When first opening PHPMyAdmin I noticed it was extremely slow. It didn't make sense that on localhost it should take almost 5 seconds for every page to open. I ...
21
votes
9answers
106k views

Is there a way to clone an existing VM on an ESXi server without having to re-import it?

I have imported a VM into an ESXi server using the VMware "Converter stand alone utility". However, this process is a little tedious. Since I eventually want several copies of this VM (or, to be ...
30
votes
4answers
81k views

Redirect URL within Apache VirtualHost?

I have a dedicated server with Apache, on which I've set up some VirtualHosts. I've set up one to handle the www domain as well as the non-www domain. My VH .conf file for the www: <VirtualHost ...
17
votes
13answers
49k views

How to get a list of drive letters on a system through a windows shell (bat, cmd)?

How do I get a list of drive letters and their associated labels on a windows system through a bat file?
27
votes
6answers
77k views

How to configure basic authentication in Apache httpd virtual hosts?

I'm trying to configure mercurial access using Apache http. It requires authentication. My /etc/apache2/sites-enabled/mercurial looks like this: NameVirtualHost *:8080 <VirtualHost *:8080> ...
4
votes
5answers
30k views

What is the difference between BGP and OSPF?

I want to setup a dynamic routing network, I want to know, What is the difference between BGP and OSPF ? Does both two need to be used together commonly ?
61
votes
7answers
78k views

How to forcibly close a socket in TIME_WAIT?

I run a particular program on linux which sometimes crashes. If you open it quickly after that, it listens on socket 49201 instead of 49200 as it did the first time. netstat reveals that 49200 is in ...
5
votes
8answers
92k views

How do I remove a driver completely on a Windows XP client machine?

I have a client (XP SP3) machine where newer drivers have been installed. Unfortunately while these (audio) drivers fixed mic boost, they have introduced problems such as no input working and ...
93
votes
4answers
126k views

FreeBSD performance tuning. Sysctls, loader.conf, kernel

I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf / KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to ...
0
votes
3answers
30k views

.Net Framework 4 installation did not succeed: HRESULT 0xC80003F3

I just tried to install the .Net Framework 4 on my Windows 7 64 bit system. The installation did not succeed - HRESULT 0xC80003F3 From the log file: OS Version = 6.1.7600, Platform 2 OS Description ...
47
votes
9answers
96k views

Creating a virtual machine in VirtualBox from a physical one

Is there any way to create a virtual machine that you can use in VirtualBox from a physical installation that you have? For instance, if I have Windows XP installed on a physical computer and want to ...
168
votes
11answers
53k views

Can I nohup/screen an already-started process?

I'm doing some test-runs of long-running data migration scripts, over SSH. Let's say I start running a script around 4 PM; now, 6 PM rolls around, and I'm cursing myself for not doing this all in ...
11
votes
4answers
62k views

Which ports do I need to open in the firewall to use NFS?

I'm running Ubuntu 11.10 - setting up NFS to share a directory among many other servers. Which ports are required to be opened on the firewall?
28
votes
9answers
60k views

nmap find all alive hostnames and IPs in LAN

How can I issue a nmap command that shows me all the alive machines' IP addresses and corresponding hostname s in the LAN that I am connected? (if this can be done in another way/tool you surely are ...
63
29
votes
6answers
47k views

Filename length limits on linux?

Are there any filename or path length limits on Linux?
68
votes
9answers
64k views

Dump Microsoft SQL Server database to an SQL script

Is there any way to export a Microsoft SQL Server database to an sql script? I'm looking for something which behaves similarly to mysqldump, taking a database name, and producing a single script ...
2
votes
3answers
34k views

How do I get SonicWALL Global VPN to work with Windows 8.1?

I have been running SonicWALL Global VPN v4.7.3.0403 on Windows 8 without trouble for more than a year. Today I upgraded to Windows 8.1 RTM and noticed that it disabled my Global VPN connection. I ...
17
votes
6answers
89k views

What firewall ports do I need to open when using FTPS?

I need to access an ftps server (vsftpd) on a vendor's site. The vendor has a firewall in front of the ftps server and I have a firewall in front of my ftps client. I understand that ports 990, 991 ...
5
votes
3answers
75k views

How to completely remove MS SQL Server 2008 R2 x64 which was uninstalled incorrectly?

On my Windows 7 Ultimate x64 I can't do anything with the existing instance of MS SQL Server 2008 R2. It was my mistake to uninstall some components related to SQL Server before running the main ...
15
votes
8answers
57k views

What printer driver should I use?

I am nstalling drivers for a printer, and I have a choice of either PCL (5 or 6), or PostScript drivers? Which one would you recommend and why? The printer is HP LaserJet 2605dn, the OS is Windows 7 ...