Greatest Hits

9
votes
4answers
14k views

iptables nat does not exist

Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know) All commands are executed as root user. If I run $ iptables -t nat -L I get the ...
13
votes
2answers
10k 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 ...
5
votes
2answers
15k views

bad ownership or modes for chroot directory component

I created the user MY_USER. Set his home dir to /var/www/RESTRICTED_DIR, which is the path he should be restricted to. Then I edited sshd_config and set: Match user MY_USER ChrootDirectory ...
8
votes
10answers
48k views

Find which machine is using all the bandwidth

I need to know which machine is taking all the network bandwith. It's there a tool I can use to monitor my local network and know which machine is taking all the LAN bandwith? What do you think ...
8
votes
5answers
41k views

How can I verify that an RTMP stream URL is working?

I have been put in charge of setting up a CDN account for streaming video but am not actually running the site that will host the content. How can I test that a published RTMP URL is working? Do I ...
12
votes
3answers
18k views

How to accurately check if package is installed in yum?

I keep getting answers like: yum list installed | grep bind or rpm -qa | grep bind But that is not accurate as I'm getting a list of few other bind packages like these: ...
3
votes
2answers
14k 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 ...
11
votes
8answers
49k views

Windows7 - “The specified network password is not correct.” when the password is in fact correct

I have a samba server setup for some time now. It is a Hardware NAS - which unfortunately does not provide access to the Samba logs. (the exact model of the NAS is called Addonics NAS Adapter ) I ...
17
votes
6answers
36k views

KVM Guest installed from console. But how to get to the guest's console?

I'm trying to install a fully virtualized guest (Fedora 14 x86_64) on KVM (RHEL 6), using command-line only (both hypervisor and guest). It goes without errors, and without a tangible result . I'd ...
16
votes
4answers
33k views

How to connect a cdrom device to a kvm/qemu domain (using command-line tools)?

I have set up a virtual machine running Windows XP on my Ubuntu laptop. Using the virt-manager GUI application, I can insert a CD in my drive and go to Details→IDE CDROM 1 and click on the Connect ...
18
votes
4answers
3k views

Software vs hardware RAID performance and cache usage

I've been reading a lot on RAID controllers/setups and one thing that comes up a lot is how hardware controllers without cache offer the same performance as software RAID. Is this really the case? I ...
8
votes
8answers
25k views

Cannot connect to local network shares when connected to VPN. Error: “the user name could not be found”

I keep finding that on our small company LAN (7 users, 3 servers) that some servers keep becoming "not accessible" for the purposes of file sharing. They display the message "\SERVER is not ...
3
votes
1answer
31k views

can high load cause server hang and error “blocked for more than 120 seconds”?

Currently running a few VM's and 'baremetal' servers. Java is running on high - over 400%+ at times. Randomly the server hangs with the error in the console "java - blocked for more than 120 seconds" ...
5
votes
1answer
35k views

IPsec VPN site-to-site: How should I configure the ipsec.conf files on both sites to get the tunnel up?

What I am trying to do is to create a site-to-site IPsec VPN between my network and my friend's network. We both have a router and two computers on each router, with all computers running Linux. So I ...
8
votes
4answers
27k 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. ...
5
votes
7answers
53k views

Sun Solaris - Find out number of processors and cores

Our SPARC server is running Sun Solaris 10; I would like to find out the actual number of processors and the number of cores for each processor. The output of psrinfo and prtdiag is ambiguous: ...
5
votes
3answers
39k views

Setting Java Runtime setting for all users on a client PC

We have a problem with a java application running out of memory. Our (Windows XP) client PCs have JRE 1.6 version 18 installed. I want to increase the -Xmx runtime parameter for the JRE to 512M but I ...
3
votes
4answers
43k views

How to view the localhost of another computer in the same network?

We have a team, working on a website. And I am planning to keep the files in one computer and let the guys access the files and folders, edit it, test it, view it in browser. I am using WAMP Server. ...
22
1
vote
1answer
17k 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 ...
5
votes
5answers
19k 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 ...
8
votes
3answers
26k views

How to “restart” particular network interface on RHEL?

In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only ...
7
votes
8answers
53k views

How to tell what time a domain user logged in?

In the "Security" event log on a Windows 2003 domain controller, I see several entries of event 540 -- "Successful Network Logon" averaging a few minutes apart throughout the day. Is the first one of ...
9
votes
2answers
23k views

How do I authenticate with LDAP via the command line?

The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues. [root@tst-01 ...
43
votes
5answers
3k views

How do I install the JRE on a Windows server without Oracle adware?

I would like to install Java on one of our servers, but I am reticent due to Oracle's bundling of an Ask.com toolbar and some virus scanner. I've read that the java updater even installs these for ...
5
votes
2answers
57k views

How do you force Outlook 2007 to re-index it's seach on Windows XP SP 3?

So I have a Windows XP SP 3 machine which is running Outlook 2007. When I search in Outlook for an email that exists using a basic keyword, like say "MySQL", I get no results. However, Outlook gives ...
10
votes
3answers
24k 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
4answers
61k views

Replacement for NewSID when working with Windows 7?

Is there a replacement for the old SysInternals NewSID utility that will work for Windows 7? I found out the hard way that NewSID will totally hose a Windows 7 setup (BSOD on reboot). Apparently the ...
0
votes
2answers
12k views

how to get mysql.sock file, mistakenly deleted from “/mysql/tmp/”

I was stuck with a PDO Exception PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in lock_may_be_available() (line 167 of ...
2
votes
2answers
6k views

an active directory domain controller could not be contacted

After creating an active directory domain controller i tried to add client computers to the domain i kept hitting a snag. The following error occurred when DNS was queried for the service location ...
19
votes
8answers
54k views

Should you disable page file with SSD?

I've been reading this question, and it has a lot of great information. But assuming you have more than enough ram, I think page file should be disabled on SSD to extend the life time. I know you ...
5
votes
3answers
20k views

HDD: performance differences between 7.2k SATA and 15k SAS

What is the rule of thumb in performance characteristics and differences between 7200rpm (SATA/SAS) and 15000rpm (SAS) hard disc drives of the same generation?
23
votes
5answers
41k 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?
9
votes
9answers
55k 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 ...
3
votes
4answers
50k 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 ...
4
votes
5answers
35k 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'. ...
3
votes
3answers
21k 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 ...
17
votes
1answer
25k 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'; ...
3
votes
1answer
11k views

unable to write to mount point (nfs-server), getting “Permission denied”

I'm trying to configure NFS between two RHEL7 nodes: first node: [root@ip-10-164-175-246 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-164-175-246 ~]# ...
12
13
votes
2answers
9k views

How can I tell if my website is vulnerable to CVE-2014-3566 (POODLE)?

Google announced a vulnerability in the SSLv3 protocol that ... allows the plaintext of secure connections to be calculated by a network attacker. This vulnerability has been given the ...
9
votes
1answer
21k 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 ...
11
votes
4answers
35k 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 ...
7
votes
3answers
40k views

How to find RAID configuration/level and RPM speed having only remote access to the server?

Having only remote access (no physical access), to a server (that is SSH), how do I (or may be is it possible): find out whether it is RAID configured or not? If it is RAID configured, whether it ...
8
votes
5answers
5k views

How to patch CVE-2015-0235 (GHOST) on debian 7 (wheezy)?

This vulnerability was found in glibc, see this hacker news post for more info. As described in the debian bug tracker, the vulnerability was already patched in testing and unstable. I'd like to ...
4
votes
2answers
15k views

Some systems cannot connect to ldap via ldaps, but others can, is it the wildcard cert?

When trying to make ldaps connections to my Novel eDirectory 8.8 server, sometimes I have to put TLS_REQCERT never in the client servers ldap.conf file. Obviously, this is a bad idea. The command I ...
9
votes
1answer
51k 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 ...
17
7
votes
1answer
11k 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 ...
8
votes
4answers
10k views

Increase PHP-FPM's max upload/post size

I'm running php5-fpm under Nginx on Ubuntu 14.04. I want to increase the max upload size. I have edited my /etc/php5/fpm/php.ini to have the following lines defined as below: upload_max_filesize = ...
4
votes
1answer
18k 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 ...
6
votes
3answers
26k 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..
6
votes
7answers
40k views

What is a good DHCP lease timeout configuration

I have generally seen that DHCP lease times are quite long (a day plus) on most defaults. I have a client that seems to have the following problem. They have a DHCP server in a router that is ...
17