Greatest Hits

5
votes
3answers
11k views

Nginx fails to stop and nginx.pid is missing

I want to stop Nginx but it fails like this. $ sudo service nginx stop Stopping nginx: [FAILED] And nginx.conf that defines place of nginx.pid have a ...
1
vote
2answers
8k views

Buffer I/O error on device (sata drive)

I keep getting these messages in one of my servers kernel logs (which is responsible for file operations). I wonder if anybody knows how serious are these issues. I cannot use smartmontools because ...
9
votes
4answers
12k views

Can you change the virtual NIC type after building a VM?

When building a VM, you can select which virtual device type you would like a vNIC to be (E1000, VMXNET3, etc). After the VM is created, can you change the type of vNIC in use on a given connection ...
6
votes
1answer
9k views

How to install GD library in php?

when I tried to use imagefromjpeg() function in PHP,it throwed error.So, I tried to install GD library using the following command: sudo apt-get install php5-gd But I got the following error. ...
4
votes
1answer
27k views

How do I get robocopy to use a log file which includes spaces?

I'm trying the following command: robocopy "x:\dir" "y:\dir" /mir /z /tee /fft /nfl /ndl /eta /log:"x:\path to logs\12-15-11 01 file with spaces.txt" I'm getting this error: ERROR : Invalid ...
19
votes
2answers
5k views

DNS just started resolving my server.prod addresses to 127.0.53.53

I have servers named like server.prod.example.com, and I regularly log into them as server.prod. Recently, these hostnames started resolving to 127.0.53.53. It turns out that ICANN recently enabled ...
9
votes
2answers
3k views

Strange Bittorrent Log On My Server

I don't know if the following log has something to do with my site being down sometime. I have lot of websites on my server and they don't have any logs like the following: 117.169.1.85 - - ...
0
votes
2answers
5k views

OpenVPN Route Client Traffic Through VPN Server Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
2answers
21k views

How to export a VMWare ESXi 5 VM into a file to restore it later?

As I've bought a server it had a RAID controlleer which was not supported by VMWare ESXi 5, so I had to install it in a bare non-RAID configuration. Now as I've bought a supported RAID controller I am ...
3
votes
1answer
6k views

KVM/libvirt: How to configure static guest IP addresses on the virtualisation host

What I'd like to do is to set the guests' network configuration (IP address, subnet, gateway, broadcast address) from the host system. The used network setup is in bridge mode. How can I configure the ...
1
vote
1answer
19k views

nginx server directive is not allowed here

I know there are dupes of this out there, but I can't seem to solve this in my situation. I'm following this article on setting up nginx as reverse proxy with apache. And I get this error: nginx: ...
0
votes
1answer
17k views

MySQL server PID file could not be found

I can start mysql fine, /usr/local/mysql/support-files/mysql.server start Starting MySQL SUCCESS! But any mysql action after that I get the error: MySQL server PID file could not be found ...
8
votes
1answer
25k views

How to kill a hung service on Windows 2008R2

I have a Windows 2008R2 server running NSClient++. For some reason the service has got its knickers in a twist and stopped responding to Nagios polling. When I tried to restart the service the ...
-2
votes
1answer
7k views

Ports needed for the vSphere 5.5 client to connect to the vCenter

We are currently setting up a new vmware environement based on ESXi 5.5, with the virtual appliance and vSphere client. After a lot of research (maybe I didn't searched well), I couldn't manage to ...
17
votes
4answers
28k views

Is there a way to run virt-manager on Windows?

We've been using KVM for almost a year strictly on CentOS 5.x as the KVM host, with Fedora and Ubuntu workstations accessing the KVM host and its guests using virt-manager, virt-viewer, and ssh. Is ...
5
votes
1answer
20k views

Import of PEM certificate chain and key to Java Keystore

There are plenty of resources out there about this topic, but none I found which covers this slightly special case. I have 4 files; privatekey.pem certificate.pem intermediate_rapidssl.pem ...
6
votes
3answers
34k views

Write access to EVERYONE works, IUSR, IIS_IUSRS, DefaultAppPool does not work. why?

Ok. Here we are trying to set up a Classic ASP website at IIS 7.5 in Windows Server 2008 R2. There is a folder named dbc under the website's root and it has a file which is used to read and write ...
5
votes
4answers
23k views

Force the DHCP server to renew the IP address of a client machine, without doing anything in client machine

I would like to know, if there is a way I could force the DHCP server to renew the IP address of a client machine instantly, without me going to the client machine? In fact, imagine, I don't have ...
6
votes
3answers
11k views

POSTFIX fatal: no SASL authentication mechanisms

I am struggling with the error above for more than 5 hours. I had tried to remove Postfix completely and I had followed the instructions of the next manual and the SASL manual in order to reinstall ...
1
vote
2answers
19k views

Unable to ping computers via DNS domain name

I have two desktop computers and recently set up a third computer, a Windows Server 2012 box, for which I installed DNS on it and set it up as a domain controller. I was able to successfully set up ...
16
votes
2answers
3k views

Where did my RAM go?

Note: before you jump in too fast, yes I read linuxatemyram.com! I have a server with 64GB RAM. free -m says that my RAM is full, and it's not because of disk caching: total used ...
2
votes
1answer
5k views

LDAP authentication on CentOS 7

After upgrading to CentOS 7 it's no longer possible to login via LDAP. With CentOS 6 I used the package pam_ldap which worked fine, but now pam_ldap is no longer available for the new version of ...
6
votes
2answers
8k views

nginx url rewriting. i just don't get it

Ok, an example url is http://www.mysite.com/?p=account&view=settings the p uri is a constant. all urls have it. the view is one of many optional uri. i've tried to understand url rewriting ...
4
votes
3answers
16k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
35
votes
6answers
8k views

Windows TCP Window Scaling Hitting plateau too early

Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and ...
0
votes
2answers
7k views

ownCloud WebDAV interface seems to be broken

I've been trying to host ownCloud on my server but everytime I try to it tells me this : Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to ...
4
votes
2answers
12k views

nginx / php-fpm error logging

I'm trying to figure out where the PHP errors are going in my setup. I'm running nginx as the reverse proxy to PHP-FPM, but I'm not seeing the various E_NOTICE or E_WARNING messages my app is ...
0
votes
1answer
5k views

“SSL input filter read failed” Apache and 443

I have a little problem with my apache conf. When I read the error log, here is what I can see: [client xxx.xxx.xx.xx] AH01964: Connection to child 1 established (server www.mywebsite.com:443) ...
1
vote
1answer
11k views

Routing from mikrotik two IP addresses to same gateway

I have 2 static addreses (a.b.c.72/24 and a.b.c.128/24) on gateway1 and gateway2 interfaces. ISP have one gateway a.b.c.1 . I can use a.b.c.72 only on gateway1, a.b.c.128 only on gateway2. How to ...
8
votes
1answer
50k views

How do you mount an NFS Share in Windows 7?

I have FreeNAS exposing an NFS. How do I access this from Windows 7? I have enabled the "Services for NFS" within Windows Features.
8
votes
3answers
8k views

Make nginx to pass hostname of the upstream when reverseproxying

I run several docker containers with hostnames: web1.local web2.local web3.local Routing to these done based on hostname by nginx. I have a proxy in front of this setup (on different machine ...
4
votes
2answers
14k views

Apache URL rewriting in reverse proxy

I'm deploying Apache in front of a Karaf-hosted application (Apache and Karaf are on separate servers). I want Apache to operate as a reverse proxy and also to hide part of the URL. The URL to get ...
7
votes
3answers
32k views

Why ip route add doesn't work, but ip route add with less details and then change works?

I have a problem with ip route add. Surprisingly, I can add the route then change it, but I cannot directly add it: # ip route add 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 RTNETLINK ...
1
vote
3answers
12k views

Gitlab not working with SSH Keys

I am having issues with Gitlab. I used the following guide to install and configure Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md. The installation seemed to ...
4
votes
5answers
23k views

Disk IO slow on ESXi, even slower on a VM (freeNAS + iSCSI)

I have a server with ESXi 5 and iSCSI attached network storage. The storage server has 4x1Tb SATA II disks in Raid-Z on freenas 8.0.4. Those two machines are connected to each other with Gigabit ...
1
vote
2answers
7k views

You don't have permission to access /cacti/index.php on this server

in cacti.conf I tried to edit the default context from localhost to 0.0.0.0 (and everything in between). Now I only have Alias /cacti /usr/share/cacti <Directory /usr/share/cacti/> ...
1
vote
1answer
5k views

504 Gateway timeout / 502 Bad gateway after installing php curl - server nginx

I have (well had) a working server with nginx on board. A server (dedicated) was only used to host a drupal site. Recently we decided to host also a magento store on it and started preparation. Since ...
24
votes
3answers
3k views

How do servers with redundant power supplies balance consumption?

I have several servers from the HP DL360 line (generations 5-8). Each of these servers has two power supplies installed. The 2 power supplies in each server are fed from different circuits. My ...
5
votes
2answers
15k views

nginx errors “recv() failed (104: Connection reset by peer) while reading response header from upstream”

I have a server which was working ok until 3rd Oct 2013 at 10:50am when it began to intermittently return "502 Bad Gateway" errors to the client. Approximately 4 out of 5 browser requests succeed but ...
6
votes
3answers
27k views

How to set shmall, shmmax, shmni, etc … in general and for postgresql

I've used the documentation from PostgreSQL to set it for example this config: >>> cat /proc/meminfo MemTotal: 16345480 kB MemFree: 1770128 kB Buffers: 382184 kB ...
7
votes
5answers
23k views

Testing UDP port connectivity

I am trying to test whether I can get to a particular port on a remote server (both of which I have access to) through UDP. Both servers are internet facing. I am using netcat to have a certain port ...
0
votes
5answers
17k views

Outlook 2010 fails to connect to Exchange 2013

I have an Exchange Server 2013 and I am trying to connect using Outlook 2010. Both are running on the same server. The Outlook installation is just for testing mailboxes. Outlook first refused to ...
1
vote
1answer
11k views

pfSense routing between subnets behind OPT1 and LAN

pfSense short config summary: WAN interface is on a registered Internet block of addresses connected to ISP via fibre LAN interface has IP address 10.200.1.3/24 OPT1 interface has IP address ...
9
votes
2answers
26k views

Run nginx as a non-root user

I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid I got lost after the point of creating an init ...
0
votes
3answers
15k views

How do I configure IE10 Group Policy Settings on Server 2008 R2?

Where do I find the proxy server setting while creating a group policy? I know that IE 10 removed the IE Maintenance Policy. I read that you need to go through the Preference route. However, even ...
0
votes
1answer
19k views

How to force all traffic through VPN?

I have a openVPN set up on the server and I am using openVPN connect for my client. I have some internal websites that I need to access and some of them don't work. I want to make sure that when the ...
2
votes
2answers
8k views

PowerShell - Limit the search to only one OU

Ive got this cmdlet and I'd like to limit the results to only one OU: Get-ADUser -Filter {(Enabled -eq $false)} | ? { ($_.distinguishedname -notlike '*Disabled Users*') } Now Ive tried to use ...
2
votes
2answers
13k views

Nginx: location regex for multiple paths with backend

I have two locations in nginx config that work: location ^~ /media/ { proxy_pass http://backend.example.com; } location ^~ /static/ { proxy_pass http://backend.example.com; } How can I combine ...
3
votes
2answers
3k views

HP ProLiant MicroServer Gen 8 - Hard Drive Configuration?

I have a HP ProLiant MicroServer Gen 8 box. I installed a 4tb drive and created a simple array. The raid controller saw the entire drive. I then used IP 6.1 to install Windows Server 2012 Standard. IP ...
12
votes
2answers
4k views

Disabling SSLv3 but still supporting SSLv2Hello in Apache

Many SSL clients, notably JDK 6, use the SSLv2Hello protocol to handshake with the server. Using this protocol does not mean you are using SSL 2.0 or 3.0 for that matter; it is merely a handshake to ...