Newest Questions

Q&A for system and network administrators

linux arch: systemd-networkd - interfaces not starting after reboot

I was trying to move to systemd-networkd from netctl without success. When i restart service systemd-networkd i get: systemctl status systemd-networkd ● systemd-networkd.service - Network Service ...

How can I use my website's domain name to access the web server on my home network? [on hold]

I have a web server on my home network hosting my web site. I have configured my domain's nameservers to resolve the domain to the external IP address of my router and have configured port forwarding ...

Block Postgres port 5432 running on Docker container with iptables

I am using Ubuntu 14.04 desktop (Xubuntu to be exact), and trying to block outside access to a locally running Postgres port 5432 with iptables. This is my iptables -S -A INPUT -i lo -p tcp -m tcp --...

How can Run programs after autorisation on anyone PC for AD user?

I have 20 Lenovo Q190, and 2 users in my network (based on Windows Server 2012R2) work with specific software can run only they. After successful authorization, a specialized software for working ...

How To Automate Addition Of Location Blocks Within VirtualHost Blocks? [on hold]

I'm attempting to find a shell script which can be modified to append blocks like: <Location "/$1"> DAV svn AuthzSVNAccessFile /var/local/svn/$1/conf/authz ...

Returning sql results through an api on intermediate box between web server and sql server

I'm still learning server administration so it's hard to understand what I'm looking for while googling. Hoping someone can help. I have box one running iis. It is connected to box two and serve html ...

Is there a unixodbc web frontend? [on hold]

So unixodbc comes with isql: utility to submit SQL queries to a data source which is a console application. unixODBC-Gui is a QT-based GUI for unixodbc. Is there something web-based that can be ...

How to calculate the subnet mask for 310 subnets [duplicate]

So we have one task which is to calculate the subnet mask for 310 subnets. The IP of the company is 102.0.0.0. I think the right approach would be to solve this equation 310 < 2^x which gives me ...

install composer on cent os 6.5

I'm trying to install composer on my server centos 6.5 PHP Version 5.6.30 I tried it with this command curl -sS https://getcomposer.org/installer | php but I get this error PHP Fatal error: ...

Google Compute Engine - redirecting on its own

I have a new instance on Google Compute Engine. It's a standard install using the provided Ubuntu 16.04 image. Nothing fancy, just an nginx + uwsgi install I have used elsewhere. For some reason, the ...

How to get a virtio disk to show up - kernel config

I'm trying to set up a Gentoo guest on a virtio drive. When I boot the VM using an ubuntu livecd, I do have a /dev/vda on which I installed the system using LVM. I compiled a 4.9.16-gentoo kernel ...

Apache default site returning virtual host directory

I am new to the world of server administration and am trying to learn from the ground up. I am running an Apache2 server on Google Compute Engine and am configuring my domain with Google Domains. ...

UPS for a Home Network [on hold]

I am looking to buy a 2 x UPS's to be used in the United Kingdom. I have watched a number of videos on YouTube and Googled a lot on UPS's but I need some advise on which ones to go for a small Home ...

Best practice for connecting multiple servers [on hold]

I have a program that needs to connect to several servers in order to finish a job. I first need to connect to server A and get results A', then send A' to server B and get result B', then send B' to ...

Sage2.0 Ransomware and Tomcat 7

We have a tomcat server running on window 2012 server which seems to be constantly being attached by Sage 2.0 ransomeware. Some details of the sever, 1) Tomcat is running on port 80 and 8080. 2) ...

Routing Not Working on Windows 10 OpenVPN Link To Remote Server

I have my home Windows 10 Enterprise computer and I'm trying to connect to an OpenVPN server that a friend setup. I connect fine but I cannot ping anything once connected and I'm hoping someone could ...

How Network Security Groups affect Azure VM IPs?

I have three classic Azure VMs in a sub-net with Domain Services enabled. Machines are joined to a domain and accessible via RD. In order to apply a common set of inbound rules I created a Network ...

Can HP Proliant G9 server use RAMs of different clock speeds

We got a bunch of HP Proliant 360 G9 servers which needs to be upgraded. Existing RAM modules are dual rank 2133MHz, vendor is suggesting to add on 2400MHz RAMs but rest of specs seems to be same. ...

Make sql querry in a loop in bash [on hold]

I want to search replace some string in bash in a loop from sql table. What i have written: for i in "wwe" "wwf" "wcw" "roh"; do UPDATE wrestling SET value = REPLACE(value, "$i", "wrestlemania"); ...

ASA 5505 Blocking traffic

This 5505 is blocking traffic both in and out. I have asked for help from good IT guys and they say it looks like it is configured correctly. It was working a week ago. I show the config here. If ...

Https on iis not working with domain name of ip address

Using Windows 2012 R2 Standard server with IIS. Windows firewall has preset rules World Wide Web Services (HTTP Traffic-In) and World Wide Web Services (HTTPS Traffic-In) enabled. The server has one ...

Haproxy redirects with port

Apache serve mysite.com on 127.0.0.1:8080. The site is working. I have haproxy in frontend, listening the port 80. When accessing to mysite.com, I'm redirected to mysite.com:8080 and it is not ...

How to route ipv6 to an openvz container?

My hosting provider, OVH, offers me a /64 ipv6 block. I'm pretty new to ipv6 and a bit of a newbie in networking in general. I was able to route an ipv6 on my proxmox server by properly configuring ...

Hyper-V vs Vmware Workstation in term of performance on Windows [on hold]

Is there any performance evaluation available for Hyper-V and Vmware Workstation running on Windows (preferably to be Windows 10)? Thanks

Auto login a user at boot on Windows Server 2016?

I'm testing Windows Server 2016 (instead of 2012) but unchecking the "Users must enter a user name and password to use this computer" box in control userpasswords2 does NOT seem to let the machine ...

Install nginx with http_v2_module flag enabled, via ap-get?

I'm really struggling to get a new Debian 8 server, with nginx and HTTP/2 configured I installed nginx with apt-get: apt-get install nginx That all runs fine, and I get this with nginx -V; ...

How come JavaScript is the most popular language for Sysadmin / DevOps? [on hold]

Just read the StackOverflow Developer Survey 2017 and was surprised that JavaScript is by far the most popular Sysadmin / Devops language. http://stackoverflow.com/insights/survey/2017/#technology-...

Write arbitrary attribute into ENV from LDAP upon successful PAM authentication

Is it possible during the authentication phase of pam-ldap to map an arbitrary ldap attribute of the user's record into the resulting user's environment? The specifics of my situation, in case you ...

Cisco 1811w routing issues

I have a Cisco 1811w and I'm just trying to get a basic configuring for now. I'm using cable internet (TWC) on fa0 (just regular internal dhcp for now, no bridging done yet) and fa1 as the internal 10....

XEN HVM Windows install black screen?

So, I am running Xen.. i have a bunch of debian machines running no problem... release : 4.7.0-0.bpo.1-amd64 version : #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) I just ...

How to set up HTTPS using Lets Encrypt, Node, and Express 4

What I've Done I used certbot to certify that I own my domain, which generated several .pem files. The certificates are listed here: https://certbot.eff.org/docs/using.html#where-are-my-certificates ...

Which IP is sending most traffic to server

I have a centos 7 server which started to get twice the amount of traffic two hours ago. how can I see which IP addresses generate the most traffic to my server? The server is used to host influxDB ...

File System on Linux: Set up for large Elasticsearch

I am setting up a single 750GB elasticsearch node (for logstash) on CentOS 6.8 Should I just set it up as a single large disk (boot and everything in one partition)? Or should I do the : /boot # ...

DirectAdmin- where is the web server settings file of each domain? [on hold]

i created a user and a domain for him in DirectAdmin. now i want to change some of settings of webserver for it's site. where can i find webserver's file?? without DirectAdmin, each site that is on ...

Booting Dell PowerEdge T300 without front panel

There is a front control panel on the board with a header. I do not have this and I want to boot up the server. I need to know where the power switch pins are so I can switch it on.

Windows event logs have null entries

I was looking through Windows event logs and found that there are a large amount of event logs with: [Type]="(null)" [User]="(null)" [Message]="null" in the log. For example, Event type 4740 should ...

Best storage option for large files [duplicate]

I have two sets of data A and B. A is a set of files, each 5GB in size. There is a lot of them, not sure exactly how many, so lets assume a total size of 5TB. B is stored in a SQL database, in ...

Update Debian 6.0.10 to latest or at least patch

I have a old server that I need to patch. The server is running on Debian 6.0.10. However, apt-get update/upgrade does not work. I have a bunch of 404 not found. I suspect the version is too old and I ...

How to change the default Storage Pool from libvirt?

I'm trying to use a different Storage Pool on KVM in order to store the virtual disks of my VMs and also the ISOs from the operating systems which I'm using. For example, I want to use the directory /...

Apache Reverse Proxy doesn't work with some URLs

I'm using apache's mod_proxy (version 2.4.18 under ubuntu) to run a reverse proxy for duplicati, the duplicati server is running on localhost:8200. To get the proxy running I need to add some paths ...

Is there a way to change xen_blkfront.max without reboot?

This AWS video suggests to change xen_blkfront.max for better ec2 performance. Is there any way to change this value, considering the below? instances are in auto-scaling group, so reboot will fail ...

Why use a Docker image repository with Elastic Beanstalk?

I've noticed I can upload a ZIP file with my application's source code and a Dockerfile to Elastic Beanstalk and have it work just fine (AFAICT). However, I've seen some people instead push built ...

How do I completely disable both password and public key authentication on my server? [on hold]

in other words: how do I let anyone ssh into my server? I can't seem to find anyone else that has the same problem, everyone is just trying to disable password authentication. Is there anyway that I ...

Does anycast allow for alternate routes to be attempted?

A bit of a bodged up title but I don't know enough of the subject to come up with a more suitable one. I've read time and time again that anycast is a great solution for load balancing and is the ...

Unable to run cgi script

I've installed backuppc on a fresh Xubuntu. Everything went fine except that when I try to access the web interface, instead of running the CGI script I'm prompted to download a bin file. I'm no ...

Route IPv6 traffic through OpenVPN

I have a Fedora server running OpenVPN. The VPN in tun mode is reachable via IPv4 and IPv6 and successfully routes all IPv4 traffic through the OpenVPN server. But routing IPv6 traffic is not working. ...

Find out which process blocks my server

I have a VPS with some Docker containers running, and something strange happens about once a day: The server stops responding to anything (ping, cloud, ssh, mail, etc.) and when I go to the cloud ...

Postfix - TLS - Port 587 - Connects only from localhost

Why am I unable to connect to Postfix on port 587 on an AMI? This is an AMI, the AMI firewall has 587 open, iptables is empty because I am using the Amazon firewall. From the server itself the ...

MYSQL Spending 90% CPU? 5k users online

My server is at 90% CPU usage all the time, and restarts every minute. MYSQL Is spending all the CPU. (see HTOP below) My question is, what this can be? A week ago everything worked fine... VPS specs:...

strongSwan + xl2tpd VPN server: error “found 1 matching config, but none allows pre-shared key authentication using Main Mode”

I set up my VPN server with strongSwan and xl2tpd on Ubuntu server 16.04. After configuring, I tried to connect from a iPad, but got the errors as follows: Mar 26 02:22:13 myname-ubuntu-server charon:...
15 30 50 per page
Translating... 0%