Greatest Hits

7
votes
2answers
29k views

What's the best way to see logged in users on Windows Server 2012?

Right now I use a powershell script to see the currently logged in users. But I don't see if there session is idle, active or inactive. I can see when the session was started but that's it. Is there a ...
4
votes
2answers
26k views

RSA certificate configured for SERVER does NOT include an ID which matches the server name

I recently started a LAMP server (all the latest versions) w/ WordPress on it, and I'm trying to install a SSL certificate that I recently purchased. When I restart apachectl, error_log gives me this: ...
23
votes
6answers
62k views

what are named and default instance?

what are named and default instance? what is the difference between them? why they are used?
7
votes
2answers
55k views

What is the difference between RDIMM vs UDIMM

I don't quite understand the differences between the two besides the obvious price differences. What does each offer over the other?
41
votes
10answers
16k views

How can I run arbitrarily complex command using sudo over ssh?

I have a system that I can only log in to under my username (myuser), but I need to run commands as other user (scriptuser). So far, I have come up with the following to run the commands I need: ssh ...
47
votes
7answers
69k views

Should I use tap or tun for openvpn?

What are the differences between using dev tap and dev tun for openvpn? I know the different modes cannot inter-operate. What is the technical differences, other then just layer 2 vs 3 operation. ...
15
votes
2answers
32k views

Nginx Redirect via Proxy, Rewrite and Preserve URL

In Nginx we have been trying to redirect a URL as follows: http://example.com/some/path -> http://192.168.1.24 where the user still sees the original URL in their browser. Once the user is ...
26
votes
5answers
86k views

What is a system state backup for?

The windows backup utility comes with an option to backup the system-state. What is this for? Has it a real utility? Can I recover that windows on another machine?
134
votes
4answers
41k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
10
votes
5answers
113k views

Reverse DNS - how to correctly configure for SMTP delivery

I started a new service and we need to send emails to our customers (new account confirms, etc). My server is known as prod01.bidrodeo.com and resolves to 97.107.134.38 . For reverse DNS, ...
12
votes
5answers
24k 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: ...
41
6
votes
7answers
66k views

How do I permanently change the hostname on Solaris 10?

I want to permanently change the hostname on a Solaris box. How do I do that?
66
26
votes
4answers
98k views

How to filter http traffic in Wireshark?

I suspect my server has a huge load of http requests from its clients. I want to measure the volume of http traffic. How can I do it with Wireshark? Or probably there is an alternative solution using ...
49
votes
4answers
69k views

How can I see Time-To-Live (TTL) for a DNS record?

I would like to see the Time-To-Live (TTL) value for a CNAME record. I have access to dig (on Apple Mac OS X), which gives me an answer like this: % dig host.example.gov <*SNIP*> ;; ANSWER ...
17
votes
5answers
54k views

where are the default ulimit values set? (linux, centos)

I have two CentOS 5 servers with nearly identical specs. When I login and do ulimit -u, on one machine I get unlimited, and on the other I get 77824. When I run a cron like: * * * * * ulimit -u ...
28
votes
5answers
69k views

How to install/change locale on Debian?

I've written a web application for which the user interface is in Dutch. I use the system's date and time routines to format date strings in the application. However, the date strings that the system ...
10
votes
4answers
38k views

MySQL keeps crashing: InnoDB: Unable to lock ./ibdata1, error: 11

I have a simple webserver (Debian 6.0 x86, DirectAdmin with 1 GB of memory and still 10 GB free space, mySQl version 5.5.9), however the mySQL server keeps crashing and I need to kill all mySQL ...
5
votes
2answers
74k views

Where can I download the latest 64-bit edition of Sonicwall SSL-VPN NetExtender for Windows 7?

Does anyone know where to download the latest edition of the 64-bit version of SonicWall SSL-VPN NetExtender for Windows 7?
16
votes
4answers
70k views

Is it possible to mount/unmount a physical hard drive in Windows XP?

Is it possible to mount/unmount a physical hard drive in Windows XP? Ideally, I'd like to be able to do this from the command line so that I could have batch files to do it, ie: mount.cmd unmount.cmd ...
9
votes
2answers
35k views

When an Excel file is locked on a network share, how does it know who locked the file?

We are using Excel 2010 and sometimes users are working from a network share. When a user on the network opens the file in Excel, the file is locked for editing - this is the expected behavior. When ...
7
votes
2answers
41k views

Install SQL CLR types & Report Viewer 2012 on Sql 2008 server

I'm in the process of installing a client's ASP.net site on a Windows Server 2003 box running Sql 2008. The site uses Report Viewer 2012, but when I attempted to install it on the server, I got the ...
18
votes
5answers
56k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...
5
votes
6answers
41k views

SQL - an error occurred during the pre-login handshake

Until yesterday evening, I was able to connect to my server from my local machine. Now, I get the following error: A connection was successfully established with the server, but then an error ...
13
votes
7answers
56k views

Powershell: How do I query pwdLastSet and have it make sense?

I need to get the last password change for a group of account in an Active Directory security group, and I feel like this is something PowerShell should be good at. Right now, I'm already stuck at ...
25
votes
6answers
90k views

add new user with root access in Linux

I want to add new user and have/grant that new user to have all the root access, how can I do that ? I did sudo adduser --system testuser but this is not working as I expected. Thanks for help.
10
votes
11answers
64k views

Network Printers Offline (but not really)

I have two Ricoh printers/copiers setup for IP printing in the office. Before this week there were no problems printing to them. Now a handful of them (All running Vista, not sure if it is every Vista ...
55
votes
1answer
63k views

InnoDB: Error: log file ./ib_logfile0 is of different size

I just added the following lines in /etc/mysql/my.cnf after I converted one database to use InnoDB engine. innodb_buffer_pool_size = 2560M innodb_log_file_size = 256M innodb_log_buffer_size = 8M ...
7
votes
4answers
26k views

SSH issues: Read from socket failed: Connection reset by peer

I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While ...
11
votes
4answers
48k views

How to save and exit crontab -e?

How to save and exit crontab -e? i tried every method listed here and none works, i have a centos 5, vi comes by default with yum and i installed nano Solved just changed the default editor export ...
187
votes
13answers
69k views

Any benefit or detriment from removing a pagefile on an 8GB RAM machine?

I'm running Windows 7 on a dual core, x64 AMD with 8GB RAM. Do I even need a pagefile? Will removing it help or hurt performance? Would it make a difference if this is a server or a desktop? Does ...
30
votes
5answers
81k views

Why do we ping the IP 4.2.2.2 to test connectivity?

For as long as I can remember, I've always used the IP 4.2.2.2 when testing network connectivity using ping. What is significant about this IP, and when did this practice start?
51
votes
10answers
14k views

How to [politely?] tell software vendor they don't know what they're talking about

Not a technical question, but a valid one nonetheless. Scenario: HP ProLiant DL380 Gen 8 with 2 x 8-core Xeon E5-2667 CPUs and 256GB RAM running ESXi 5.5. Eight VMs for a given vendor's system. ...
10
votes
5answers
53k views

How to install mcrypt for PHP 5.3.3 on CentOS 5.7 64 bit?

I installed php 5.3 and some modules using yum install php53-{module-name} But mcrypt did not work. I searched like this: yum list php* | grep mcry The only package that came up was ...
9
votes
5answers
84k views

Can you use a USB hard drive in ESXI?

I know that you can install ESXi 4.0 on a thumbdrive, but I was wondering if you could plug in an external harddrive to give extra storage to one of your VMs? We run a fileserver inside of ESXi that ...
34
votes
2answers
36k views

_default_ VirtualHost overlap on port 443, the first has precedence

I have two ruby on rails 3 applications running on same server, (ubuntu 10.04), both with SSL. Here is my apache config file: <VirtualHost *:80> ServerName example1.com DocumentRoot ...
29
votes
2answers
75k views

How to grant network access to LocalSystem account?

How do you grant access to network resources to the LocalSystem (NT AUTHORITY\SYSTEM) account? Background When accessing the network, the LocalSystem account acts as the computer on the network: ...
4
votes
3answers
35k views

Difference between 2Rx4 vs 2Rx8 RAM

My IT provider is convincing me there is no difference between a 2Rx4 and a 2Rx8 RAM. A little digging around informed me that x4 means 4 bits on a chip vs x8 means 8 bits. Which is good, but what ...
69
4
votes
7answers
47k views

RDP exits immediately after connecting to Windows Server 2008 R2

Background: I recently got a Windows cloud VPS server. I don't have much experience with server admin (I'm a programmer), and what little I do have is with linux servers. Ever since getting the ...
13
votes
5answers
85k views

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web ...
4
votes
1answer
31k views

Deploying VM from vmdk / vmx file

I have a vmdk file and vmx file (and all the other files from someone elses datastore) copied onto my own data store. If I try to deploy from the vmx file, I get a vm with the name "unknown # ...
56
votes
5answers
67k views

Clean way to write complex multi-line string to a variable

I need to write some complex xml to a variable inside a bash script. The xml needs to be readable inside the bash script as this is where the xml fragment will live, it's not being read from another ...
57
2
votes
7answers
85k views

Why am I getting 'File in use by Another User' and 'Application Sharing Violation' errors when trying to open & and save files?

We're getting this a lot lately. Windows 2008 Server Windows 7 & Vista Client PC's Microsoft Office 2007 When a user tries opening a file on our network drive (word doc, excel spreadsheet, ...
12
votes
4answers
55k views

How do I determine what my DHCP server is?

I have a sad network left behind by some careless admins - I am in process of figuring out exactly what services are running where, not excluding the possibility that some services are running from ...
16
votes
5answers
42k views

Dump a linux process's memory to file

Is it possible to dump the current memory allocated for a process (by PID) to a file? Or read it somehow?
8
votes
9answers
59k views

psexec: “Access is Denied”?

Inspired by my previous question here, I've been experimenting with PSExec. The goal is to trip off some fairly simple scripts / programs on one WindowsXP machine from another, and as PowerShell 2 ...
3
votes
3answers
17k views

How to export a detailed list of Active Directory users' “Member of” tab?

I am currently in the process of restructuring the Active Directory user list of the company I'm working for, and the person who did it did an awful job, and is of course, not working here anymore. ...
13
votes
4answers
41k views

Best Practice: vCPUs per physical core

I am trying to find some documentation or best practice guides for virtualization with respect to provisioning vCPUs per physical core (of a CPU). If it matters, I am looking at vmWare for the ...
12
votes
4answers
65k views

How do I force sync the time on Windows Server 2008 R2 Domain Controller?

What is the command to sync a Windows server domain controller to its configured time source?
13
votes
3answers
52k views

How do I clear Chrome's SSL cache?

I have a HAProxy / stunnel server that handles SSL for our sites on AWS. During testing, I created a self-signed cert on this server and hit it from my desktop using Chrome to test that stunnel was ...
77
votes
7answers
61k views

Can anyone explain precisely what IOWait is?

As much as I have read about iowait, it is still mystery to me. I know it's the time spent by the CPU waiting for a IO operations to complete, but what kind of IO operations precisely? What I am also ...
61