Newest Questions

Q&A for system and network administrators

Change Kerio Control's interface IP via shell

We are using Kerio Control Software Appliance in the datacenter. Recently, the IP that our external interface was bound to became unavailable and datacenter has issued us another IP. Since Kerio ...

How to allow SSH only from local network via iptables [on hold]

I would like to configure iptables to allow SSH on port 22 only from IPs from 192.168.*.* and block from every other IP.

Restore data from lost partition after raid synchronization

I have Centos Linux server hosted online, with 2 hard drives. By mistake I integrated raid array over the hard drive I have data on it, and I stopped synchronize on 20% of synchronization. Is it ...

Debian 8 + Foreman Not Loading

I'm working on giving foreman a try, I installed it on Debian 8 per the tutorial on the site. However, when I try to load foreman I get: Sinatra doesn’t know this ditty. # in usr/share/foreman-...

Just created a simple postgres db using AWS RDS. However, I'm not able to connect to it unless I provide My IP in my security group inbound

I just created a simple postgres database. It gave me a link that I could use to connect to it, so I tried connecting using pgadmin but it gives a timed out error. So, I read the documentation again ...

Mysql/Mariadb backup from non-bootable system

My working server crashed, more precise, my HDD got bad sectors. What is proper method to make a backup from non-working server and restore it later on newly installed server? Any set of files I need ...

Two Routers and One Subnet [on hold]

I have two Routers and would like one subnet instead of 2, I am using services like upnp for video streaming and the second subnet of router 2 fails to discover it on certain devices. The setup is as ...

rsync: rename destination folder after successfull rsync

Is it possible for rsync to rename its destination folder after successful run. So that I can always make sure the proper folder name always has a successful and complete backup? Example: rsync to ...

Need to convert 1000 images in 5 seconds— what are our options? [duplicate]

we're looking for a server architecture that will allow for converting 1000 large images in 5 seconds. As a test, we ran some benchmarks using a 16 core server, using GNU Parallel to run 1,000 image ...

How do I extract potential passwords from an archive of my facebook conversations [on hold]

What is the best way to scan for username/passwords that were exchanged via facebook messenger? I have the file containing chat the entire chat hitory.

What does the Let's Encrypt apache plugin do when proving domain ownership?

I want to run $ letsencrypt --apache certonly to get a new cert, but I can't find anywhere in the documentation that explains what this actually does other than that it uses the "tls-sni-01 ...

email get to spam in gmail,hotmail [duplicate]

my emails seem to reach the spam folder on gmail even though Our main domain name is: doar.systems and as a test we are using root@doar.systems SPF PASS DKIM PASS DMARC PASS did I miss something? ...

Sending mail (via java) is working in eclipse but not in linux server

I am using java code to send a mail using smtp.gmail.com as smtp host. This code was working fine. But after a firewall upgrade in linux, its started to throw this error everytime I try to send mail. ...

Advantage on using dual NICs for streaming [migrated]

I currently have a 20/5 mbps connection. If I use 2 separate NICs 1 dedicated to streaming (OBS allows you to bind to a NIC) and a second one for gaming connected to the same network would I see any ...

VSS writer NTDS State 11 failed and other writers state 5

We use Altaro VMBackup V7.0.20.3 to back up some VMs hosted on a single Hyper-V Host running Windows Server 2012 R2. One of the VMs running Windows Server 2008 gets the following error after the ...

Unable to create iqn at targetcli?

I want to make a san on my virtual machines, I have already configured a server1 as Server target with theses steps: - create lvm on server1 - install targetcli - create blocks - create iqn using: ...

Move my.cnf to Different Mount Point on MySQL Server

I am working on a RHEL 6.6 server which runs MySQL version 5.7.17 which I had installed by the following command: yum install mysql-server My client want me to move the my.cnf from it's default ...

Gap in Waterfall Loadtime test

When I test my wordpress websites with GTmetrix oder other Loadtime Testing tools I notice a gap in the Waterfall graph where no action is taking place. It looks like the time this gap is lost which ...

HP DL580 HDD Fan Issue

I recently obtained an HP ProLiant DL580 G7 without any HDDs so I went ahead and installed an SSD which works great and the other day I ordered a 2.5" SATA 2 TB HDD (ST2000LMB15). After installing ...

Install Microsoft Dynamics CRM 2016 with IFD and ADFS on the same server using port 443

I'm trying to install Microsoft Dynamics CRM 2016 with IFD (Internet-Facing Deployment) and ADFS on the same server (Windows Server 2012 R2) ADFS is running and seems to be working fine. I can fetch ...

How to install PHP 7.* on Debian 8.7?

I am looking to install at least PHP 7.0 on Debian 8.7 but from searching around I am finding it hard to find a reliable source that shows me how to do it. It seems so difficult, I have come across ...

iptables 1-to-1 NAT with virtual interfaces

I have a server with two public IP's on the same subnet, let's say 192.168.2.3 and 192.168.2.10 (I know 192.168 is RFC1918 but this was done as an example, my server has a public IP, is there another ...

Ways to use PHP 5 and 7 parallel on same LAMP Installation [duplicate]

Dear all I am currently having a LAMP installation with PHP v5 on an Ubuntu 16.x machine. I like now to update it with PHP v7 but I like to have both configurations available so I can easily migrate ...

Messed up the .bashrc file [migrated]

So i messed up the .bashrc file and now only the "cd" command works, how can i reset it to default. be advice that "mv", "cp", "vi", etc does not works so i can't use them. I searched for solutions ...

I would like to confirm if the ipv6 subnet is public

I recently created a AWS VPC with IPV6 CIDR block. The CIDR block which is allocated to me is 2600:XXXX:XXXX:9500::/56. I have some basic knowledge about ipv6 subnet range including ipv6 public ...

ZFS on Linux and KVM: NUMA nodes for host

I am interested in using KVM images on zvols under ZFS on Linux, on a multi-socket system. I am wondering how I should pin NUMA nodes so as to maximize the benefits of ZFS ARC cache for all KVM images ...

rsync - only keep 10 backup folders

TL;DR Only keep latest 10 backup folders via rsync I am using rsync to backup my files onto a remote server OR another directory on the same machine as such: SRC="${1}" DEST="${2}" PREFIX="$( date '...

Microsoft IIS6.0 and Windows 2003

I was doing a vulnerability test. I have connected to the IP:Port and Server response banner of IIS/6.0. For IIS/6.0 does it implies that windows server is 2003,this is because 2003 I supposed is end ...

Configuring nginx to serve

I have a rails apps hosted in my aws server and using nginx as a proxy server. In the same instance I am running an api server on port 3004. In nignx conf file I made some change so that the contents ...

Made the mistake of installing W2016 core without gui need help installing gui

We just got our dedicated server from Rackspace. It was loaded with W2008 on it. I decided to put the most recent OS on it so I wouldn't have to upgrade it later. Apparently during the installation, I ...

How can I ensure varnish always has a child process running?

Now and again I encounter a problem on a varnish box which results in varnish's child process dying. It usually looks something along the lines of: Feb 26 17:09:45 webstar varnishd[9775]: Child (...

What embedded linux distro with high customisation(Like boot animation and gui customisation) on raspberry pi [on hold]

I would like to build an room control system with a raspberry pi and Linux. I want to make a GUI where the user only has access to the things I want them to access(example: The user can only see the ...

CISCO DHCP Relay and Server

I want to setup a cisco router to be a DHCP relay but i want to answer dhcp requests locally if the DHCP Relay request won't answer. In the other word, I want to setup a dhcp relay with fail safe(...

Why does iotop not show the same as iostat? Why is there a difference? [migrated]

On my Raspbian 8 (Jessie) system iostat -dzp 5 |grep -v "k0 " shows me : Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk0p2 0.80 0.00 3.20 ...

Ansible not able to provision vagrant box

The vagrantfile in question. # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "ubuntu/trusty64" config.vm.hostname = "kurseve" config.vm.provider "...

Postfix and LDAP error

I've been trying to set up a mail server with Dovecot, Postfix and a LDAP backend. Postfix is using bind to connect with LDAP and Dovecot isn't (at the moment it is using the admin account as the DN). ...

Centos 2 interfaces routing

I have two remote ESXi server in different datacenter. On both I installed 2 VM pfsense with a site2site VPN with OpenVPN to connect the 2 subnet 192.168.1.0/24 and 192.168.2.0/24 over internet. I ...

iozone - looking for random write test

Quick question: I am looking for a random write in iozone. The help states: (0=write/rewrite, 1=read/re-read, 2=random-read/write, 3=Read-backwards, 4=Re-write-record, 5=stride-read, 6=...

My own nameservers don't work without adding glue records, why?

I don't understand this. Everywhere I read that glue records are only required to prevent circular dependencies, for example I want to set ns1.example.com and ns2.example.com nameservers for the ...

Can someone explain why I see different kind of slowness symptoms each time? [on hold]

Whenever I try to connect to office network from office, there is a network slowness due to VPN or my home network. I have seen two kinds of symptoms so far. I want to understand why I see different ...

Nginx (1.11.10 / 1.10.0) ReverseProxy Error: timeout upstream timed out (110: Connection timed out) while connecting to upstream

I'am trying to configure nginx to work as a reverse proxy for my Asp.Net Core and nodejs Projects. I'am new to configurating a webserver, so please be kind :-D I followed the tutorial from Scot ...

MySQL 5.1.60 Freeze (tables lock) [on hold]

I got a problem with MySQL version 5.1.60. The database works fine on high traffic, but sometimes when traffic is not that high it will lock the tables and waiting and I must reboot the database ...

Grails app with tomcat - unable to access given static file

Recently we've noticed some very bizarre things happening with our Grails application. Our web server is running Tomcat 7 on Ubuntu 14.04 LTS. We started noticed that rebooting the instances is ...

Batch renaming folders in a directory [on hold]

I'm writing a script in powershell to organize media files in a directory and wrote this code to rename folders in the main directory "Season #". $i = 1 Get-ChildItem | ?{ $.PSIsContainer } | Rename-...

Configuring Debian for multiple web apps and admins

I became a single admin for a Debian server on VPS with two web apps running. First web app, let's call it "niceone", is in /srv/niceone, and there is user niceone whose home directory /srv/niceone is....

How can I use select() to register a service using zeroconf? [on hold]

I have this sample code with me: void HandleEvents(DNSServiceRef serviceRef) { int dns_sd_fd = DNSServiceRefSockFD(serviceRef); int nfds = dns_sd_fd + 1; fd_set readfds; struct timeval tv; // . . . ...

Doesn't work chroot with ftp from other directory

i have mixture php-fpm7.1 + chroot + nginx. I have an ftp directory alias (like mysite.com/ftp) I need make chroot with php-fpm in "/ftp" "/ftp" it is net2ftp client, that connected to our server The ...

Access to AWS console for third party using cross-account?

There are two companies: Client and Contractor. Both have AWS accounts. I'm looking for simple but secure way to get staff from contractor team access to client's AWS console. Yep, I'm on the ...

Kerberos Failure Audit Event Id 4769 on Domain Controller

I have an average of 17-18 failure audit events per hour recorded in the Security event log of a Windows 2012R2 domain controller, related to attempts of a Windows 2008R2 member server to obtain a ...

Trying to install memcached error [on hold]

Getting following error when trying to install memcached php yum install php-pecl-memcache Loaded plugins: fastestmirror, security, universal-hooks Setting up Install Process Loading mirror speeds ...
15 30 50 per page
Translating... 0%