Newest Questions

Q&A for system and network administrators

Is section logging in krb5.conf works on the kerberos client?

Client /etc/krb5.conf: ... [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log ... Kerberos client worked, but log files are ...

OpenVPN - no access to LAN devices without backroute on EACH client

my problem is the following: When I connect from the internet to my LAN via OpenVPN, all that I can reach is the OpenVPN Server (by it's LAN IP and it's IP inside the VPN). When I add backward routes ...

change docker swarm manager address [on hold]

Does anyone know how to change the docker-engine swarm manager IP address, it is currently on a public IP, but i would prefer it on a local IP, so im not advertising to the world what services are ...

What is a lightweight way to monitor temperatures and load of servers in a rack [on hold]

I am aware of Nagios and Sensu however I am looking for a simple, lightweight solution to monitor and record load and temperature data. The metrics which are of interest (in order of importance): ...

Can a switch that doesnt know anything about 802.1ae macsec route macsec frames?

This may seem a bit of a stupid question, but I'll ask anyway. If one device (e.g. A wireless router) is attempting to communicate with another device (e.g. some gateway to another network) through a ...

Firewall makes WAMP server unaccessible [on hold]

This might sound awkward, but this problem does exist in my network, I've added an exception for Apache in my Windows Firewall settings, but the only way to allow a PC on the same LAN with the server ...

CNAME not resolving but website loads

So this is probably a stupid question, but I just set up my first website and the site loads without issue. https://www.whatsmydns.net confirms that the A record and Nameservers have propagated ...

How to allow to change php version via .htaccess in Apache?

I've a Centos 7 with Apache, I want to compile php 7.0 and 5.6 and configure that as PHP-FPM. How can I configure Apache to allow users to change php version using .htaccess? Example .htaccess entry: ...

Local Administrators group in AD

I have a bunch of PCs in my company AD and I want to give the person who most uses one given PC access to local Administrators group. I know, not the best idea but still I sometimes need my employees ...

Ubuntu 16.04 server is listening but not accepting incoming requests

I recently upgraded my server from Ubuntu 14.04 to 16.04. The upgrade seemed successful (so I'm not sure if it's related) but about a week in I restarted the host and it now will not accept remote ...

What is the simplest way to setup cron to send emails in ubuntu 16.04? Current approach (detailed in post) is not working

My understanding is that: sSMTP has to be installed and configured MAILTO= has to be added on top of crontab I have setup also installed the following instructions: https://wiki.archlinux.org/index....

Bind server unresponsive on Ubuntu [on hold]

I have installed ispconfig 3.1 and it is up and running , I made a tiny mistake in making a dns server and instead of " F " I typed " T " in my domain name , and realized that , once I deleted the dns ...

What's the best way to speed-up data retrieving from a remote MySQL database server?

Scenario Two servers: ApplicationServer1 and MySQLServer1 MySQL remote database server is connected to ApplicationServer1 through an SSH tunnel (kept alive using autossh) The problem Since I ...

Why is KVM more preferred in general nowadays over xen? [on hold]

Back to a few years ago, it's seldom to have people use KVM. But, today, things are different. While Xen with paravirtualization should give us a better performance, I see KVM is more preferrable in ...

IBM Domino 9.0.1 FP7 x64 periodically reboots on AWS EC2 [on hold]

can not find similar issue in the Internet, decided to post a question and ask community about the following issue: IBM Domino Server x64 (v9.0.1 - any FixPacks, including latest FP7 as of today) - ...

NGINX redirect all domains in to one

I want only www.mydomain.com, 121.121.121, anything else should redirect to www.mydomain.com. Why: I need to send everything to www.mydomain.com because we have had people setting up other domains (...

How to create a rsync site bundle per each site hosted on my remote vps

Hopefully title does not create confusions to the reader, but yes I have to admit that I had difficulties in understanding how to setup the rsync. In a nutshell, I'm after a similar configuration to ...

Cannot downgrade Mono from 4.X to 3.12

I need to downgrade in order to test an app, I have tried the following: Remove and clean mono 4.2: sudo apt-get remove mono-complete sudo apt-get remove mono-runtime sudo apt-get purge ...

Connect to Hyper-V VMS from an another computer using RDP [on hold]

If I run Hyper-V on a local machine I am able to connect to to my VMS using RDP(the vm have been set up on the internal network). But if you are running Hyper-V Server is it possible then to ...

How can encrypting the key increase security level in MariaDB data at rest encryption?

I am following the instructions here to encrypt a database in MariaDB: https://mariadb.com/kb/en/mariadb/data-at-rest-encryption/ Obviously, it requires us to generate a key which will be used to ...

Is it safe to install httpd-devel on CentOS7? [on hold]

I tried to install mod_GeoIP using the method on this website: http://www.pcrepairmansblog.com/install-mod_geoip2-on-apache2-in-centos-7/ but at the point where I need to install httpd-devel it ...

Different ip's for different locations with one domain

I saw many big websites have different servers in different countries. But how can they set different servers for different locations? I know there is dns load balancing, but as far as I know it only ...

Puppet best practice for storing scripts for custom modules

I have Windows agent nodes. I am creating my own module which has some custom powershell scripts. I am wondering where should i be keeping these powershell scripts. Within my module itself in some ...

How do I configure Dynamic Host Configuration Protocol to return a FTP server's IP address along with the interface IP address?

Given that there is a dhcp client, a relay agent and dhcp server. There is also another ftp server. Requirement is that the client starts the DORA process and the server responds with IP address and ...

Accidentally created git repo in home directory

Somehow I made my home directory (~) a git repository. git status returns all of the files in my directory, which I do not want to commit. git rm --cached -r * is not what I want either. How can I ...

Using mozjpeg in place of jpeg-turbo including satisfying dependencies

I'm trying to use mozjpeg as a drop-in replacement library for jpeg-turbo. I'm perfectly able to fetch the sources and compile them as needed and even create a deb-file from it which I can use to ...

connect to vps through vpn ip and real/public ip [on hold]

Hello all, i ask if it possible to connect to my vps by using vpn ip and using public vps ip (real ip) for example my vps ip is 111.111.111.111 and when my vps connect vpn (using openvpn ) the vip ...

How to use Cloudflare CNAME to have a unified DMARC policy?

According to DMARC FAQ it's possible to have a single policy for multiple domains, and that all tools refer to this main policy: How can I put DMARC records on many domains at once? Some ...

NGINX failing once a week, responds with 499 until NIGNX reload

I have an NGINX instance set up acting as a reverse proxy for several applications, each setup as there own server within the NGINX config. The config is currently very minimal: listen ...

postfix mail bounces back with 5.0.0

im trying to setup posfix so i can send emails with a "free" domain name from http://freedns.afraid.org/. i can receive mails alright, but sending is a different story...the mail bounces back with ...

Ansible for deploying similar code to multiple servers [on hold]

Suppose I have a mostly reusable web application (written with Django or Flask) that I wish to deploy. Suppose I wish to deploy multiple similar instances of this app, with each on its own server. The ...

Multiple IPMI message bridging interpretations

Let's say I would like to send Get Device Id command from LAN channel to IPMB channel via BMC with message tracking, I need to go through those steps: Encapsulate Get Device Id command in Send ...

Modify ip addresses in a socks capture pcap

I have a pcap capture of socks traffic. The traffic goes like - client_ip <-> 127.0.0.1:9050 <-> destination_ip Looking at pcap in wireshark, thus, shows: src_ip = 127.0.0.1 dst_ip = ...

Permissions on chrooted user not working after update on Amazon Linux

I setup chrooted users on an Amazon Linux development instance to grant them access to the /var/www folder. It was working fine, but after a yum update (November I think), the users can no longer ...

Regular expression for capturing the specific fields from log entry

I have a mod_security logs where I need to apply regex expression to capture only certain fields like Timestamp, ip Info, message and tag. Log entry is given below: [Sat Feb 11 03:26:54 2013] [error]...

Prolonging battery life in APC PRO-1300 [on hold]

The batteries in my APC Pro-1300 died after 4 years of continuous use, and I've ordered replacements. Will it prolong the life of the new batteries if I turn the unit off at night?

Configure: error: Curl library not found on centos 7

I want to install zabbix 2.4.5, but when I type: ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 I get some problem: Configure: ...

SQL Server 2016 - Mirroring Errors - Non Domain Servers

I've been looking at lots of posts and videos about how 'easy' it is to get SQl Mirroring Setup.. However what most posts and videos fail to inform its readers is that all your sql servers have to be ...

why Microsoft doesn't use SSH? [on hold]

I'm newbie to Microsoft server world , as Linux admin ssh is great way to control server . Why Microsoft doesn't use SSH to control server via power shell ? ps: i know it possible via hack like use ...

Unable to access vm guest running apache using macvtap behind router

Setup Host OS is Centos7 running libvirt. I have multiple guests running using macvtap as an interface to a bridged bonded interface (br0). br0 is a bridge of bond0, which includes two ethernet ...

How to connect networks from different projects, VPC peering analogue

Google recommend to use different projects to control access to resources - ok, it seems reasonable I plan to create one "shared" project with some infrastructure services and then several projects ...

iptables dnat not working for https

I have an http server listening on ports 8080 (http) and 8081 (https) on 127.0.0.1 I have these iptables rules to redirect from/to $external_ip: iptables -t nat -A PREROUTING -i eno1 -p tcp -d $...

memory Stuck in Solaris can't free memory

I am Working On Solaris 11, Now facing problem related to memory As my root is reached to 90%, I have deleted the audit file from /var/share/audit which is of 8 GB after deleting the file,server ...

Nginx - using a PHP file for errors 404, 403, 500, etc

I would like to have the same error pages set up in the various sites hosted on my server. In other words, every server block should have the same error settings: error_page 404 403 /404.php; ...

Commenting out or removing an @include from /etc/pam.d/sshd with augtool [on hold]

How can I either comment out or remove the "@include common-auth" line in /etc/pam.d/sshd? The default content is: ... # Standard Un*x authentication. @include common-auth ... The lens ...

Understanding IIS 8.0 Rewrite inbound rule for https to http redirect using regular expression

I have managed to configure a rewrite rule for my web site using this answer: <rule name="Redirect from non www" stopProcessing="true"> <match url=".*" /> <conditions> <...

How to configure nginx for serving subfolder?

I've one folder index.html file and inside that folder, I have another one with own index.html I am using this config events { worker_connections 2048; } http { server { listen ...

cant get Azure Domain Service to work, it is stuck at pending

I am testing Azure AD Domain service. I tried to turn on the AD Domain Service but after turning it on, it seems that it is stuck at "Pending". It has done that for 12 hour now....anyone got any ...

Cannot work with mysql Ver 11.18 Distrib 3.23.55, for suse-linux [migrated]

An older TYPO3 (v4.4.15) database appears to corrupt a local sandbox MySQL 5.7 schema. The server hosting the CMS says $ mysql -V mysql Ver 11.18 Distrib 3.23.55, for suse-linux Details: ...

Configuring VirtualBox Ports on Mac OS 10.12 to work with Window 7 Virtual Machine [migrated]

I am trying to use realterm version 2.0.0.70 within a virtual machine I have on my Mac. I am trying to configure both USB ports that I have as serial ports so that my device can be registered by the ...
15 30 50 per page
Translating... 0%