Greatest Hits

6
votes
3answers
30k 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 ...
2
votes
3answers
7k views

Administrator can access all mailboxes - how can I stop it?

At our organisation the DOMAIN\Administrator account can access all mailboxes i.e. log in to Outlook Web Access as DOMAIN\Administrator and then open another mailbox and that users mailbox appears. I ...
1
vote
1answer
5k views

The certificate is not trusted because the issuer certificate is unknown. (Error code: sec_error_unknown_issuer) Firefox

A website wants to switch an SSL certificate from Network Solutions to Gandi. Everything seemed to be installed correctly except that there is an error being thrown in Firefox only. On Chrome and IE, ...
2
votes
4answers
10k views

“sudo service nginx start” fails but “sudo nginx” works - can't figure out why

I have a server that is close to new and having a problem with getting nginx to start as expected. I have configured another server basically the same way and it works there. I figure there must be ...
10
votes
1answer
7k views

SSH key authentication using LDAP

In short: Would like a way to do SSH key authentication via LDAP. Problem: We use LDAP (slapd) for directory services and we've recently moved to using our own AMI for building instances. The ...
4
6
votes
2answers
11k 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 ...
1
vote
1answer
15k views

Unable to add a static route: SIOADDRT: Network is unreachable

I've been bashing my head against a wall for a few days trying to figure this out: My ifconfig is: eth0 Link encap:Ethernet HWaddr 00:50:56:BB:XX:XX inet addr:192.168.36.132 ...
3
votes
2answers
8k views

nginx: Log complete request / response with all headers?

We have an application server that sometimes hangs. We suspect it is due to a bad request from a client. Can nginx log the complete request/response (like fiddler captures) to files, so we can see ...
5
1
vote
1answer
14k 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 ...
1
vote
2answers
15k views

Domain User Account Locks: Correct password used

I have a domain (DC is running Windows Server 2008 R2) and have the Account Lockout Policy enabled. When a user attempts to log into their PC (with the correct password) they receive the following ...
27
votes
1answer
3k views

Is MariaDB a secure replacement for MySQL?

I've been using MariaDB, "an enhanced, drop-in replacement for MySQL" on my Debian stable servers for years, because of its increased performance. However I've noticed that it appears to lag with ...
2
votes
1answer
17k views

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: ...
2
votes
1answer
14k views

Install 32- or 64-bit Crystal Reports runtime on 64-bit server?

To run, our VB.NET application needs the runtime files Crystal Reports, developer version for Microsoft Visual Studio. (Support Pack SP8) We are installing our application on Windows Server 2012 R2 ...
3
votes
1answer
8k 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 ...
0
votes
1answer
12k views

Postfix/smtpd: Client host rejected: cannot find your hostname

I'm trying to set-up a mail server, using postfix and dovecot. Everything works fine, and I can connect in IMAP using Mozilla Thunderbird. But when I'm trying to send emails using the smtp server, I ...
4
votes
1answer
8k views

Elasticsearch is using way too much disk space

I have a CentOS 6.5 server on which I installed Elasticsearch 1.3.2. My elasticsearch.yml configuration file is a minimal modification of the one shipping with elasticsearch as a default. Once ...
3
votes
2answers
10k views

Cause of Current Pending Sector and Offline Uncorrectable increase and then decrease to zero

Over the course of a week, for a 3TB Seagate drive (ST3000DM001-1CH166), smartd reported a slowly increasing number of offline uncorrectable and currently unreadable (pending) sectors, then a ...
16
votes
6answers
4k views

Nginx rewrite rule to replace querystring question mark with underscore

In order to mirror a whole website as static HTML, I would like to convert URLs like http://example.com/script.php?t=12 to http://example.com/script.php_t=12. Notice ? in URL is being is being ...
5
10
votes
1answer
16k views

What is causing Access Denied when using the aws cli to download from Amazon S3?

I'm really flailing around in AWS trying to figure out what I'm missing here. I'd like to make it so that an IAM user can download files from an S3 bucket - without just making the files totally ...
15
votes
1answer
10k views

How does vm.overcommit_memory work?

When I use the default settings: vm.overcommit_memory = 0 vm.overcommit_ratio = 50 I can read these values from /proc/meminfo file: CommitLimit: 2609604 kB Committed_AS: 1579976 kB But ...
8
votes
1answer
17k views

VLAN tags not shown in packet capture (Linux) via tcpdump

I am adding a tagged VLAN onto eth0: #ip link add link eth0 name eth0.20 type vlan id 20 This results in: #ip link 2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc ...
0
votes
1answer
15k views

How to install SSL Certificate on Windows Server 2012 R2 without IIS

I have a Windows Server 2012 R2 server running SQL Server 2012 with Reporting Services. I want to be able to use the Reporting Services Report Manager over HTTPS instead of the default HTTP. How can ...
5
votes
1answer
7k views

nginx set variable in location

I am trying to optimize my nginx configs, so it would be possible to set one variable, and all location paths would update automatically. I have four lines in question: server_name php.domain.com; ...
2
3
votes
2answers
6k 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 ...
0
votes
1answer
22k 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 ...
8
votes
4answers
7k views

Clearing/Deleting Docker Logs

On our docker implementation on GCE, we are running out of space on the root file system. Since images themselves are stored on a separate 1TB volume, the images themselves shouldn't be the problem. ...
0
votes
1answer
6k views

Install RAID driver on HP DL380 G9

I'm trying to install RHEL 6.2 on HP DL380 G9, but the I cannot find the storage during the installation. I thought maybe RHEL 6.2 does not support HP P440AR contoller by default, then I go to HP ...
0
votes
1answer
8k 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 ...
0
votes
1answer
5k views

SFTP Error - Couldn't read packet: Connection reset by peer

I try to configure SFTP on Centos 7, on my first server it works perfectly, but on my second server when I try to connect me with : sftp USERNAME@serveripaddress I have this error : Could not read ...
0
1
vote
1answer
13k 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 ...
1
vote
3answers
13k views

How to connect an ODBC DSN to nondefault SQL Server instance on default port?

We are migrating an SQL Server 2000 database on one server to SQL Server 2008 R2 on another server. The client application use a User DSN to connect directly to the SQL Server on the internet. I have ...
6
votes
1answer
10k views

Windows feature installation fails with “The source files could not be found”

I am trying to install the Media Foundation feature onto a Windows 2012 R2 box in preparation for it to be used as an RDS Session Host. However, all attempts to install fail with: Installation of one ...
3
votes
1answer
5k views

Forbidden You don't have permission to access /cgi-bin/mailman/

I just upgraded from Ubuntu server to 14.0.4 LTS and I can no longer access Mailman via the Web Interface. I get a 403 forbidden error (Forbidden: You don't have permission to access ...
4
votes
5answers
21k views

Find out what high CPU usage apache process is actually doing?

Currently having a few issues with our server where, intermittently, we seem to get apache processes which just run and run, taking up 100% CPU. When running top, we see the following: PID USER ...
4
votes
1answer
7k views

Java 8 Update 25 Install Via GPO Not Working

I am trying to set up our Active Directory DC to automatically install Java 8 Update 25 (jre1.8.0_25.msi) using Group Policy. When attempting to add the jre1.8.0_25.msi package in the GPO at Computer ...
3
votes
3answers
8k views

Increasing ulimit on CentOS

We have a CentOS box that I'm trying to increase the max number of files that a user can have open. Currently when I run ulimit -Sn I get 1024 and ulimit -Hn gives 4096. I need that number up around ...
3
votes
3answers
3k views

What does “localhost | FAILED => Missing become password” mean? How do I get past it?

I have a Ubuntu 14.04 virtual machine set up in virtualbox and I am trying to follow these instructions. https://serversforhackers.com/an-ansible-tutorial When I get to the module section and try to ...
1
vote
3answers
9k views

How to find out the cause of linux server crash after rebooting

Here is the deal, come to work only to find out one server isn't responding at all, the machine is turned on, but the screen doesn't show anything att all, doesn't respond to keyboard inputs (I don't ...
1
vote
2answers
9k 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/> ...
2
votes
3answers
11k views

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run ...
4
votes
1answer
11k views

Installing Oracle 32bit and 64bit client on the same machine

So I need to have both the 32bit and 64bit clients for Oracle 11g coexist on the same machine. I have installed both together before, but there are many issues where applications that need to use the ...
2
votes
1answer
9k views

Unable to mount '/dev/sda'

My server has two 2 TB hard disk drives in soft RAID 1. I can't mount /dev/sda. Output of parted -l root@rescue:~# parted -l Model: ATA HGST HUS724020AL (scsi) Disk /dev/sda: 2000GB Sector size ...
0
votes
1answer
6k views

Why can't diskpart clean my disk?

I have a Hyper-V Core Server 2012 R2 with the following disks: Disk 0: SSD C:\SSD (mount point to Disk 1) Disk 1: HDD C:\ (boot drive) Disk 2: RAID-5 (not mounted) Disk 3: RAID-0 ...
3
votes
2answers
16k views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
6
votes
1answer
13k views

Configure Squid as an HTTPS forward proxy?

Here's some background about my problem: I have a web service running on Heroku, with a dynamic IP address. Static IPs on Heroku are not an option. I need to connect to an external web service which ...
2
votes
2answers
5k views

Failed to connect to the System Event Notification Service

Several end-users try and log into their Windows 7 machine, they get a message, "failed to connect to the windows notification service" and it goes to a black screen and never actually loads their ...
8
votes
1answer
4k views

Failed to connect to 127.0.0.1 port 80

I have running nginx server (doesn't matter which server): $ sudo netstat -tulpn | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4268/nginx tcp6 0 0 :::80 ...
1
vote
2answers
10k views

Need help configuring Sendmail relay/Connection refused errors

I am running Ubuntu 10.04 with Sendmail in a VMWare VM. In my mail.log file I have thousands of Connection Refused errors, and I'd like to get rid of them. There are multiple errors each second and ...
2
votes
1answer
9k views

Windows 8.1 domain computer cannot see it's own domain

Quite a perplexing one. I have a Windows 8.1 machine (completely up to date on patches from Windows update) that I want to join a Windows Server 2008 (R1) domain. When I log into the local ...
4
votes
1answer
5k views

How to switch between TLS 1.0 and SSL 3.0 at Java/JRE level?

I am using java 1.6. I have setup my tomcat as my ssl enabled server. And i have setup a ssl enabled client (java code). When i do a communication from my client to server. In java ssl dump in tomcat ...