Greatest Hits

17
votes
6answers
39k views

what are named and default instance?

what are named and default instance? what is the difference between them? why they are used?
8
votes
5answers
22k views

CentOS 6 + LDAP + NFS. File ownership is stuck on “nobody”

I've been trying to get LDAP authentication and NFS exported home directories on CentOS 6 working for a few days now. I've gotten to the point that I can now login to the client machine using the ...
25
votes
5answers
60k 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?
2
votes
6answers
70k views

Outlook + Exchange : Sync Issues Folder - How to manage it?

When using Microsoft Outlook with Exchange (not the online only mode) a Sync Issues folder that appears in the local PST folder. From the link above I know why it exists - but often that information ...
7
votes
5answers
50k views

How can I start Oracle Enterprise manager after restarting the Red Hat Server?

I installed Oracle 11g on Red Hat Enterprise server 5.0. First time everything worked well. After creating dbora script file in /etc/init.d/ and setting all the oracle environmental variables I just ...
23
votes
9answers
36k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
5
votes
6answers
62k views

An Active Directory domain controller for this domain could not be contacted

I get the following error. An Active Directory Domain Controller for This Domain Could Not be Contacted and... I have working Internet. I have an Active Directory domain controller set up on ...
12
votes
11answers
29k 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).
26
votes
7answers
56k views

Why do I get sqlite error, “unable to open database file”?

Using my Django app, I'm able to read from the database just fine. When the application didn't have permission to access the file, it gave me this error: attempt to write a readonly database ...
2
votes
7answers
67k 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, ...
22
votes
5answers
62k 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?
12
votes
5answers
31k 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, 77824 When I run a cron like * * * * * ulimit ...
37
votes
9answers
5k views

People think a “hidden” save file dialog box means the computer is frozen

I have had reports of my remote workstation freezing for several months, and it turns out that this is happening: User goes to print something to PDF (or save it). The file dialog box comes up ...
25
votes
7answers
40k views

How do I check the postfix queue size?

What's the postfix equivalent to sendmail -bp?
50
10
votes
12answers
33k views

Is it better to use the 192.168.x.x or 10.x.x.x address range for a small business network?

For best performance and ease of management, is it better to use 192.168.x.x or 10.x.x.x range of addresses for a small (<50 PCs) business network? This would correspond to a subnet of 255.255.0.0 ...
52
votes
13answers
73k views

Windows 2008: WinSXS directory growing uncontrollably, blocking server

I run a (remotely hosted) virtual Server with Windows 2008 Server for a client. Initially, it had 10 GB of space. During the course of a few weeks - during which nothing was done on the machine ...
21
votes
9answers
50k views

Are there any free NFS clients for Windows 7?

I have Windows 7 Professional, but the NFS Client for Windows is only included in the Enterprise and Ultimate editions. I would like to connect some Windows machines to our NFS server so I can drop ...
48
votes
8answers
27k views

Environment variables of a running process on Unix?

This is to troubleshoot some problems related to environment variables .. On Windows, I could do this by using tool such as ProcessExplorer to select particular process and view values of each ...
18
votes
1answer
33k views

How do I change the privileges for MySQL user that is already created?

I understand how to create a new user with privileges, but what is the correct way to change privileges for users that are already created? We are running a DB audit and some of the users have way ...
51
33
votes
4answers
44k 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 Leopard), which gives me an answer like this: % dig host.example.gov <*SNIP*> ;; ANSWER ...
37
12
votes
7answers
49k views

Nginx + php-fpm “504 Gateway Time-out” error with almost zero load (on a test-server)

After debugging for 6-hours - I am giving this up :| We have a nginx+php-fpm+mysql in LAN with almost 100 wordpress (created and used by different designers/developers all working on test wordpres ...
14
votes
8answers
51k views

How do I make Linux recognize a new SATA /dev/sda drive I hot swapped in without rebooting?

Hot swapping out a failed SATA /dev/sda drive worked fine, but when I went to swap in a new drive, it wasn't recognized: [root@fs-2 ~]# tail -18 /var/log/messages May 5 16:54:35 fs-2 kernel: ata1: ...
11
votes
5answers
21k views

Unknown/unsupported storage engine: InnoDB | MySQL Ubuntu

I recently upgraded from the previous LTS Ubuntu to Precise and now mysql refuses to start. It complains of the following when I attempt to start it: ╰$ sudo service mysql restart stop: Unknown ...
12
votes
2answers
21k views

How to make wireshark filter POST-requests only?

How to make wireshark filter POST-requests only?
50
12
votes
3answers
52k views

For Loop counting from 1 to n in a windows bat script

I need to run a windows command n times within a bat script file. I know how to do this in various programming languages but cannot manage to get it right on the windows command line :-( I would ...
9
votes
3answers
44k views

How do I know if IP Multicasting is enabled on my network?

Is there a way to know if the Red Hat Linux Servers on my network have IP Multicasting enabled? The output that I get by running the cat /proc/net/igmp command is the following Idx Device : Count ...
22
votes
9answers
48k views

How do I find out whether a port is available on Ubuntu 8.04?

Is there any command I can run from bash that will tell me whether a port is already open?
15
votes
5answers
21k views

How can I tell what version of SharePoint a site is using, from the outside?

how can I tell what version of SharePoint a site is using, without being able to see the admin panel? Is there anything, perhaps in the source of the pages, that would give me a clue?
16
votes
2answers
21k views

How to get the url of the current svn repo?

I have 2 svn checkouts that someone setup for me. Now I need to check these same files on another computer, but since I didn't check them out initially I don't know the urls to use when running the ...
23
votes
8answers
42k views

OpenVPN vs. IPSec - Pros and Cons, what to use?

interestingly I have not found any good searchresults when searching for "OpenVPN vs IPSec": I need to setup a private LAN over an untrusted network. And as far as I know, both approaces seem to be ...
15
votes
8answers
89k views

Hyper-V on Windows 7?

I'm running the new Windows 7 RC x64. I would like to set up a couple of virtual servers running on the same box as my desktop OS. I know that I can do this with some of the other virtualization ...
11
votes
3answers
34k views

How to fix “BUG: soft lockup - CPU#0 stuck for 17163091968s”?

UPDATE: I updated the title of the message, because I've recently seen more of these problems with this exact time amount of 17163091968s. This should help people investigating the symptoms to find ...
25
votes
8answers
5k views

Block employee access to public cloud

First of all, let me state that this is not my idea and I don't want to discuss whether such an action is reasonable. However, for a company, is there a way to prevent employees to access public ...
68
votes
2answers
22k views

How can I see which flags Nginx was compiled with?

How can I check what modules have been added to an nginx installation?
9
votes
3answers
13k views

How to Restart explorer.exe Remotely?

I'm having big troubles with a remote server that for some reason explorer.exe crashed and, although I didn't lose remote desktop connectivity, I can't do anything. Is there a way of restarting ...
4
votes
2answers
30k 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?
9
votes
10answers
44k 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 ...
22
votes
5answers
35k views

How to install git to red hat enterprise linux 5.3 x64?

How can I configure yum to use some repository which has git rpms?
36
votes
1answer
42k views

sudoers: how to disable requiretty per user

I don't want to uncomment the line in /etc/sudoers: Defaults requiretty Instead, I only want a certain user not to require a tty. How can this be done?
41
19
votes
4answers
40k views

Postfix - how to retry delivery of mail in queue?

I have a backup mail server in case of a failure on the main one. In that case of failure, mails come on the backup server and stay there until the main one is back. If I wait some times, the ...
64
votes
5answers
38k views

Multiple SSL domains on the same IP address and same port?

This is a Canonical Question about Hosting multiple SSL websites on the same IP. I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the ...
21
votes
8answers
39k views

how to find out mac addresses of all machines on network

Is there some easy way to find out mac address of all machines on my network rather than doing an SSH into each and ifconfig | grep HWaddr if there are 300 machines on network I really need some easy ...
32
votes
5answers
46k 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. ...
6
votes
2answers
18k views

apache2ctl: 87: ulimit: error setting limit (Operation not permitted)

The server is running fine -- or at least it seems to -- but there's always the following error: apache2/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) It happens ...
10
votes
4answers
25k views

How to configure vsftpd to work with passive mode

Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client but I could ...
13
votes
5answers
45k views

Need to add a “Wait” command to a Powershell script

Here is my current code: Write-output “ENTER THE FOLLOWING DETAILS - When Creating Multiple New Accounts Go to EMC hit F5(refresh) and make sure previous new account is listed before ...
33
votes
8answers
27k views

Making `wget` not save the page

I'm using the wget program, but I want it not to save the html file I'm downloading. I want it to be discarded after it is received. How do I do that?
53
2
votes
4answers
16k views

Centos 6.3 Bind hangs on “Generating /etc/rndc.key”

I'm installing bind on a clean Centos 6.3 system. In previous versions that would work like a charm, but now I get Generating /etc/rndc.key when trying to start bind after the installation. ...
16
votes
6answers
33k views

How do you increase a KVM guest's disk space?

I setup an Ubuntu guest on a CentOS KVM host with initially 6GB of disk space. How do I go about increasing the Ubuntu guest's disk space from the command line? EDIT #1: I'm using a disk image file ...
0
votes
13answers
28k views

Finding day of week in batch file? (Windows Server 2008)

I have a process I run from a batch file, and i only want to run it on a certain day of the week. Is it possible to get the day of week? All the example I found, somehow rely on "date /t" to return ...