Latest Server related questions

Score: 0
Stephane avatar
proxypass with SSL kicks back to http ( untill i get to login page ) apache2
bj flag

So here is the virtualhost in apache2

<VirtualHost *:100>

     ServerAdmin admin@example.com
     DocumentRoot /var/www/

    Redirect "/" "https://192.168.31.10:500/"


</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost *:500>



    ServerAdmin administrator@jamescoyle.net
    ProxyRequests off
    DocumentRoot /var/www
    SSLProxyEngine on
    ProxyPreserveHost On

  SSL ...
Score: 0
electron.rotoscope avatar
Why does the order of network connections in my client machine's /etc/network/interfaces matter to my router?
ck flag

I have a virtual machine running Debian 11, and it needs to connect to two VLANs. From within the building on the local network, I can access it fine through both IPs, but when I'm outside the network using either the router's VPN or the 1:1 NAT on the router, I can only connect to the first network listed in /etc/network/interfaces (from the VPN I can't even ping the second one). Not sure if this is ...

Score: 0
Setting up a virtual environment for STP testing
ml flag

I'm looking to create a test environment for STP / RSTP. I eventually came by this post that suggested using namespaces. It seemed like that was exactly what I'd wanted to create the simplest STP environment. I ended up writing a script like this:

#!/bin/bash
 
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
    exit
fi
 
# First case: Try a single veth pair
ip netns add blue
 
ip link add ve ...
Score: 0
403 following Modoboa-apache2.4 setup
za flag

Machine details:

  • Ubuntu 20.04.3 LTS
  • Apache2 2.4.41
  • Mariadb 15.1 (don't think it's pertinent)

I recently followed a guide to install modoboa (mail server) on a fresh server. The default setup install with nginx which at the end did work (at least the page mail.mysite.com loaded).

After disabling nginx and enabling apache2, I created /etc/apache2/sites-enabled/modoboa.conf as

<VirtualHost *:80>
  ...
Score: 1
Mount is unable to allocate memory
ph flag

Invoking the following crashes immediately with mount claiming its unable to allocate memory:

sudo mount -t overlay overlay -o lowerdir=/home/foo,upperdir=/mnt/home /home/foo

For context, /mnt/home is /dev/sda3, the 3rd partition of a flash drive formatted in ext4, /{home} is /dev/sda1, the 1st partition of the same flash drive but mounted in read-only mode because it's a live OS (booting from th ...

Score: -3
Ray Foss avatar
How to install Docker on Debian without adding repositories?
cn flag

As I understand, docker is open source and should be available through the main debian Repositories, but all the guides I have found ask you to install a third party software source, mainly docker.com. What's the process of natively installing docker on debian? docker-compose support would also be nice.

To clarify, I do not want to add a third-party licensing liability to my Apt sources. I am oka ...

Score: 0
PAH avatar
openVPN TLS Error: TLS handshake failed but was previously working
jp flag
PAH

I have an openvpn configured on my raspberrypi, I followed this guide: https://juncotic.com/openvpn-easyrsa-3-montando-la-vpn/ and everything was working fine for weeks. Suddenly a cupple days ago the vpn stopped working and is throwing the TLS error. I checked that the port forwarding was still up, it was, I also checked that everything was up to date on both the server and my machine, everything was ...

Score: 0
klor avatar
Apache reverse proxy - URL without / is refused
us flag

I use reverse proxy to show backend server content for a subdomain. The subdomain.mydomain.com (server A) should display content of server with IP 123.123.123.123 port 1111 (server B).

Virtual host of subdomain.mydomain.com (server A):

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName subdomain.mydomain.com

SSLEngine on
SecAuditEngine On
RewriteEngine On
SSLProxyEngine on
ProxyPreserveH ...
Score: 0
Hoseop Noh avatar
App Engine (Flex) , min_num_instances setting is not working
us flag

I set min_num_instances to 2, but it is 1

my settings:

runtime: java
api_version: '1.0'
env: flexible
threadsafe: true
automatic_scaling:
  cool_down_period: 300s
  min_num_instances: 2
  max_num_instances: 16
  cpu_utilization:
    target_utilization: 0.5
network: {}
resources:
  cpu: 1
  memory_gb: 6
liveness_check:
  initial_delay_sec: 300
  check_interval_sec: 30
  timeout_sec: 4
  failure_thresho ...
Score: 1
Mario avatar
Apache server slow responses on AWS instance (Linux 2)
ca flag

I have deployed a LAMP web app into two separate AWS instances (labeled prod and test). Both are t2.micro, but prod is the older Linux image and test is the new Linux 2 image. Using the chrome browser Dev Tool:

prod - total time: between 500ms and 600 ms test - total time: between 15 seconds and 50 seconds

The TTFB on prod is less than 100 ms on all downloaded files (script, css, js, etc.) The TTFB  ...

Score: 0
quintumnia avatar
Error establishing a database connection on Bitnami Wordpress Site
ng flag

I'm running Wordpress Bitnami website on an ec2 instance. Operating system is Debian Linux

Earlier today, I noticed my site becoming slow whenever I upload products(Content) I have done technical research on increasing the speed,so one of the options was to resize the instance type from t2.micro to t2.xlarge.

Then I restarted the instance, but displayed different IP-address which I pointed to my DNS ...

Score: 1
IIS stop bogus API
in flag

In IIS can it stop bogus API calls? Yesterday I got flooded with something that was trying to see if a page is on the site. They got the 404 but the application still had to check to see if that was a good page in the application. Can IIS stop this or will the web application need to process it and stop it. Is there a section in IIS where I can add the bogus path to to stop this? would this help

Score: 0
Active Directory (DNS) BPA: Interface should register its IP addresses in DNS with Server Core
vn flag

How to solve the following compliance error message when using the Best Practices Analyzer with DNS running on Windows Server Core?

Problem:
The interface Ethernet 2 is not configured to register its addresses in DNS.

Impact:
IP addresses on the interface will not be automatically registered in DNS.

Resolution:
Configure the interface Ethernet 2 to register the connection's addresses in DNS.

Sca ...
Score: 0
Newlinux-men avatar
I am getting anacron error alert "0 processes running with arguments: "/usr/sbin/anacron -s"
lc flag

I am getting an alert from a linux server and alert is "0 processes running with arguments: "/usr/sbin/anacron -s", with command: "anacron", as regex" . What could be the reason of this and what could be the possible diagnose steps and solution

I can see crond is running and anacron is installed .

out put of >> # journalctl | grep anacron

Aug 19 03:51:02 anacron[16012]: Job `cron.daily' terminate ...

Score: 1
Herman Sid avatar
Nginx proxy_redirect with relative paths
gq flag

I am not a big specialist in nginx administration, I am just a developer. I have two backends running in docker. Let me name them

  • backend1:8080
  • backend2:8081

Also I have Nginx exposing 443 port with letsencrypt certificated installed. My configuration of Nginx is (env variable FQDN is something like example.com)

upstream backend1 {
  server backend1:8080;
}

upstream backend2 {
  server backend2:8081;
 ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.