Greatest Hits

5
votes
4answers
21k 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 ...
11
votes
5answers
48k views

How to have Windows Server DNS use hosts file to resolve specific host names

[NOTE: The solution of this question is perfect, by something stray away from what the title indicates.] I'm facing a small problem with Windows Server 2003 DNS service. In my corporation, I'm ...
15
votes
5answers
19k views

ARP broadcast flooding network and high cpu usage

Hoping someone here might have some insight to the issue we are facing. Currently we have Cisco TAC looking at the case but they are struggling to find the root cause. Although the title mentions ARP ...
6
votes
3answers
30k views

CentOS 5: How to resolve php53 RPM dependency conflict with php-foo and php-common?

We are running a CentOS 5.6 system, and want to install php53 with php-mcrypt. However, this introduces a dependency conflict between php-common & php53-common. Does anyone have a good workaround ...
3
votes
3answers
10k views

nagios nrpe unable to read output

I'm trying to use check_nrpe to check on a remote server, but it's not working and I can't figure out what am I missing... # /usr/lib/nagios/plugins/check_nrpe -H XXX -c check_load -a 6,5,4 8,7,6 ...
1
vote
1answer
22k 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 ...
3
votes
4answers
49k views

How do I populate a SharePoint list with data from an external SQL database?

This is a tossup between whether it belongs on Stack Overflow or Server Fault (but since I am not a developer, and am looking for a no-code solution, I'm starting with SF). Is there an easy way to ...
9
votes
1answer
18k views

IIS 404 error where file exists

I have a fresh VPS installation from my provider (Windows 2008 R2, IIS 7.5). The default web site works fine: http://5.9.251.167/ I created a new website, and binding for http://new.ianquigley.com ...
13
votes
5answers
35k views

How to enable TLS 1.1 and 1.2 with OpenSSL and Apache

In light of a growing number of security issues, such as the newly announced Browser Exploit Against SSL/TLS (BEAST), I was curious how we could go about enabling TLS 1.1 and 1.2 with OpenSSL and ...
24
votes
9answers
8k views

How to hide a password passed as command line argument?

I'm running a software daemon that requires for certain actions to enter a passphrase to unlock some features which looks for example like that: $ darkcoind masternode start <mypassphrase> ...
1
vote
2answers
16k views

Minimum Number of Port need to Open between Windows Client & Domain Controller Only

I just want to know, which port need to be open if i place firewall between Windows Client ( XP or 7 ) and Domain Controller ( Window Server 2008 R2 ) Please note it is between Client and DC and not ...
12
votes
2answers
22k views

How to enable iptables (instead of firewalld) services on RHEL 7 and Fedora 18?

The newest fedora has firewalld as new firewall aplication. I liked old iptables services. I want them back but have no idea how to do that. I have tried : systemctl disable firewalld.service ...
2
votes
4answers
14k views

Windows Server 2012 R2 prevent automatic logoff due to inactivity

I have a stand alone windows 2012 server R2 that i log on to locally. it is not part of a domain and it is the standard install configuration with no policies enacted. The server logs off the desktop ...
6
votes
1answer
8k views

Postfix: Recipient address rejected: User unknown in local recipient table, even though recipient domain is an external domain

In my company infrastructure, I have an internal mail server with postfix whose name is, say, srv-internal.central.mydomain.tld with internal IP 10.10.128.200. For exchanging mails with the Net, it ...
15
votes
1answer
14k views

vSphere - Why upgrade VM Hardware Version?

At the beginning of the year we performed an upgrade of our vSphere environment from vSphere 5.0 to vSphere 5.1 U1 Build 1063329 compromised of about a dozen ESXi hosts and a vCenter instance hosted ...
8
votes
5answers
32k views

How to resolve FTP Error “Failed to retrieve directory listing” for Administrator account in IIS 7.5

Using my administrator account, I FTP connected to my IIS 7.5 FTP Site with FileZilla. I was able to successfully upload a file, but I keep getting a "Failed to retrieve directory listing" in ...
3
votes
3answers
18k views

Excessive 'TCP Dup ACK' & 'TCP Fast Retransmission' causing issues on network. What's causing this?

I'm getting excessive TCP Dup ACK and TCP Fast Retransmission on our network when I transfer files over the MetroEthernet link. The two sites are connected by one sonicwall router, so the sites are ...
10
votes
6answers
24k views

How to I test if mod_rewrite is enabled?

I'm setting up an environment for wordpress on apache2, on a fresh install of ubuntu 12.04. In order to get friendly URLS working, I'm trying to set up mod_rewrite. I followed some instructions I ...
0
votes
3answers
13k views

The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program"

I have installed JDK 7 and tomcat 7 and set the following environment variables: PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin; CATALINA_HOME: ...
3
votes
1answer
10k views

Enabling SHA2 Certificate Support on Windows Server 2003

A little background information first. I have an SSIS package that runs inside a Windows Server 2003 SP2 32 bit environment. The package recently started failing with the following error during a ...
1
vote
5answers
12k views

Export virtual machine list

I'm doing an inventory of both our physical and virtual machines. I'd like to export a list of virtual machines from vCenter instead of having to type everyone into a spreadsheet. Anybody know of an ...
11
votes
4answers
32k views

With SQL Server (2008), can you grant create table permission within a schema?

Working with security in SQL Server 2008, I'm trying to grant a user CREATE TABLE permissions, but only within a specific schema. Does CREATE TABLE permission only apply at the database level? Can I ...
1
vote
1answer
12k views

Domain Admin cannot make changes to Windows Server 2012

In our windows domain I am the Domain Administrator. I log into my servers with my domain administrator account via Remote Desktop. Now, I just installed Windows Server 2012 and am working in it via ...
6
votes
4answers
25k views

CentOS: eth0 not starting on boot

Whenever I reboot a CentOS Hyper-V VM, eth0 does not start automatically. All I need to do is perform ifup eth0 and all is fixed, but that isn't feasible from ssh! I am starting in runlevel 3. ...
26
votes
5answers
3k views

How can I prevent accidentally jacking with a production database?

Just recently, I had a developer accidentally try to restore a database to production, when he should have been restoring to a staging copy. It's easy to do, given that the db names are similar, i.e., ...
3
votes
2answers
10k views

phpMyAdmin Error - The configuration file now needs a secret passphrase

I keep getting an error "The configuration file now needs a secret passphrase" after installation of phpmyadmin. I have set the passphrase and also followed the instruction presented on phpMyAdmin not ...
21
votes
5answers
36k views

Clear the Recycle Bin For All Users in Windows Server 2008 R2

What is the proper way to clear the recycle bin for all users in Windows Server 2008 R2?
1
vote
1answer
13k views

Telnet Results in “Connection closed by foreign host”

I'm not a networking guy, so I apologize if my question is dumb. I have two Ubuntu machines setup on Amazon EC2. I need to "talk" from one to the other via port 9300. On my receiving machine, I ran ...
7
votes
3answers
26k views

iptables - Target to route packet to specific interface?

My home server has two main interfaces, eth1 (a standard internet connection) and tun0 (an OpenVPN tunnel). I'd like to use iptables to force all packets generated by a local process owned by UID ...
13
votes
2answers
7k views

What are the possible issues in using very short DHCP lease time (< 1min)?

We have a network setup for a demo, which lasts about 15mn. Our DHCP server is configured to assign ~ 100 addresses (max number of simultaneous connections or our AP) ... but since people might come ...
14
votes
1answer
23k views

What value of thread_cache_size should I use?

I'm using Asp.Net together with MySQL. In the .Net connection string, I have set Max Pool Size to 150. If I run the following I get these values: SHOW GLOBAL STATUS LIKE 'max_used_connections'; ...
4
votes
5answers
29k views

Cannot login to SQL Server 2008 R2 with Windows authentication

When i try to connect to SQL Server (2008 R2) using Windows authentication: i cannot: Checking the Windows Application event log, i find the error: Login failed for user 'AVATOPIA\ian'. ...
5
votes
3answers
14k views

How to install Mysql 5.6 on Debian 7 wheezy

I'm trying to install Mysql 5.6 on Debian 7 Wheezy.. After installing the mysql database/folder /var/lib/mysql/mysql is empty # groupadd mysql # useradd -r -g mysql mysql # apt-get install libaio1 # ...
4
votes
1answer
15k views

What exactly does netsh int ip reset reset?

Having got this problem and found this solution I think I should perhaps try netsh int ip reset reset command but I am afraid it can reset some important settings and disable me from reaching the ...
8
votes
1answer
44k views

NMAP: Check if port 80 and 8080 is open

In our company, I want to check if users are running web servers on port 80 and 8080. I downloaded nmap and ran this command: nmap -p 80,8080 192.168.1.0-255 I got a list of IPs and tried to ...
16
3
votes
2answers
12k views

How to do the port forwarding from one ip to another ip in same network?

I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80. How to do this with iptables? Or Any other ways to ...
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 ...
3
votes
3answers
7k views

Windows Update not working on Windows 2012 R2 Standard

I recently inherited the management of a Windows 2012 server at a remote site. I checked Windows Update and it has not been updating since March. When I tell Windows to check for updates, it acts ...
8
votes
9answers
50k views

How can I map a SFTP to a Drive, natively in Windows

Today I saw that Vista and Win7 (which I am using) have the option to map ftp natively, according to this article: http://cybernetnews.com/cybernotes-map-a-ftp-to-a-drive-in-windows/ But I need to ...
8
votes
2answers
5k views

Is IIS SFTP natively supported by Windows Server 2012 R2?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
8
votes
1answer
36k views

What does “net_ratelimit: 44 callbacks suppressed” mean on a linux based router?

I'm trying to tune Snort performance on a Debian based router. I was seeing stuff like: snort packet recv contents failure: No buffer space available So I upped the buffers to 8M and when that ...
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 ...
1
vote
1answer
19k views

What does “- - -” in 'echo “- - -” > /sys/class/scsi_host/host0/scan' mean?

I know the linux command echo "- - -" > /sys/class/scsi_host/host0/scan is used to rescan scsi host. But what does "- - -" mean in the command?
14
6
votes
3answers
27k 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 ...
3
votes
2answers
11k views

Logging in with local admin account after joining domain

I was under the impression that once you joined a domain that the local admin account would be disabled. I did the following in Azure: Created Windows Server 2012 R2 instance and promoted to domain ...
6
votes
3answers
22k views

Where is the sshd log file on Red Hat Linux stored?

Can someone please tell me where to find the SSHD log on RedHat and SELinux.... I would like to view the log to see who is logging into my account..
4
votes
1answer
34k 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. ...
5
votes
1answer
18k 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 ...
8
votes
3answers
20k views

Domain login very slow 10+ minutes

We are racking our brains trying to figure this problem out an are currently stuck! Basically we are having issues with some users taking ages to log in in the mornings, some times up to 20 minutes, ...
3
votes
6answers
16k views

This network location can't be included because it is not indexed

We are in the process of migrating a bunch of users' home directories onto a new server running Windows Storage Server 2008 R2. For most users, this has gone well and our group policy has done its ...