Latest Server related questions

Score: 0
Ress avatar
Redirect to another website but keep the original URL
lc flag

We have an Oracle HTTP Server 12.2.1.2 that is hosting everything under a URL which for this example we'll say it's xyz.com/home/test.
I have been tasked with being able to redirect users from the /test to another external website (let's say abc.com, which is not managed by our OHS), but keep the original URL in place.

So for example, a user accessing xyz.com/home/test/page1 would actually be seeing ab ...

Score: 0
liuyl_it avatar
Some "dispappered" dm-? files under the /dev directory
gb flag

Recently I took over a few RHEL systems running with the native DM-multipath, which had been installed & configured by other persons.
My doubts focus on the following questions:
1). Why there would only a part of dm-? files from dm10~dm19 under the /dev directory
2). Why all the mapper files do not point to their corresponding symbol link dm-? files
Note: but all the complete dm-? in the sy ...

Score: 1
mojo avatar
How can I get the scheduled shutdown time in Windows?
ma flag

Suppose I schedule a shutdown/restart in Windows, e.g.

shutdown /r /f /t 300

Is there a way that I can query how much time is left or at what time the restart will happen?

I can abort the shutdown,

shutdown /a

so, I presume that Windows is keeping track of this independently of the shell I used to schedule the shutdown.

How can I get this information? Basically, I'd like to be able to know how m ...

Score: 0
dave1329 avatar
Openvpn unable to ping on-premises servers (port unrechable)
sv flag

I have configured as an OpenVPN server (Debian) and other servers in Azure network 172.20.0.0/24 which is connected to on-premises network (10.1.0.0/24) via site-to-site VPN IPsec tunnel.

Connection was established between Virtual Network Gateway on Azure and local Paloalto. Network connection from azure to local network works fine:

(172.20.0.0 <------> 10.1.0.0/24).

On the openvpn server's been  ...

Score: 0
Arturbio avatar
OpenVPN and Iptable configuration - Forward Configuration
me flag

I got 2 VPS. The first one got OpenVPN and I need to access from my VPN to the eth1 on the second VPS.

VPS N°1

  • eth0-WAN xxx.xxx.19.106
  • eth1-LAN 10.108.0.2/20
  • tun0 - OpenVPN 10.8.0.1/24

VPS N°2

  • eth1-LAN 10.108.0.3/20

here is de diagram

I need to know the iptables configuration for the VPS N°1, so i can access from the openVPN (tun0-10.8.0.1/24) to the eth1-LAN 10.108.0.3/20 on the 2nd VPS. I'm tryin ...

Score: 0
Abel avatar
PHP NGINX not working on a Subdomain
za flag

I have a Sub Domain"

ad.example.com and I am trying to install a CMS and it get stuck at install.php with a 404 not Found error

server {
    access_log /var/log/nginx/ad.example.com.access.log;

    error_log /var/log/nginx/ad.example.com.error.log;

    listen 8000;
    #listen [::]:80 default_server;
    server_name  ad.example.com;
    root   /usr/local/www/ad.example.com/html;


    location / { ...
Score: 0
goodbyeera avatar
MySQL client 8.0 showing "fwrite: Broken pipe" on large query when using a pager
cn flag

I have always been using a pager (--pager="less -SFX" to be more specific) for MySQL client. Previously I was on version 5.6 of MySQL client/server and it was doing great. Recently I started to use MySQL client/server version 8.0, and the client started showing fwrite: Broken pipe on large query result:

+------+-------------------------------------------+-----------------+-----------+-------+--------+ ...
Score: 0
wiltomap avatar
Unable to connect to server following phpMyAdmin upgrade from 5.1 to 5.2
cn flag

Not sure to post on the right StackExchange forum. If not, let me know!

Working environment:

  • OpenSUSE Leap 15.4
  • MariaDB : mariadb Ver 15.1 Distrib 10.7.7-MariaDB
  • PHP 8.0.25 (cli) (built: Oct 31 2022 12:00:00) ( NTS )

Based on phpinfo(), PHP ini file is: /etc/php8/cli/php.ini.

phpMyAdmin 5.1 is working well. Installation directory is: /usr/share/phpMyAdmin (default directory created when installing

Score: 0
How do I securely connect to MySQL 8 when caching_sha2_password is in use?
cn flag

I am moving from our web sites to a new host. Our database cluster (PCS) now runs MySQL 8. We have two database servers (active and failover) with a floating virtual IP that we connect to MySQL to.

We also have replication running from the cluster to another server (using binary logs). I have setup the replication in the same manner as when we were using MySQL 5.x, including using SSL with self-s ...

Score: 0
john_smith avatar
How do I do multiple nginx reverse proxies?
ca flag

I want to connect example.com/api/buy and example.com/api/sell to a specific site through reverse proxy.

So I am trying to connect through localhost/api/buy and localhost/api/sell with nginx.

I set up the config file as below.

server {
    listen       80;
    server_name  localhost;



    #access_log  logs/host.access.log  main;

    location / {
        root   html;
        index  index.html i ...
Score: 0
Darkdustry Darkness avatar
Blocking VPN connections to my server
kz flag

I have a server in one game (it's called Mindustry). On average, 60 people constantly play on the server, about 10,000 unique users enter per day. Some people (they are using VPNs) bypass all the bans and interfere with regular players. I need an easy and free way to block all VPN connections to my server.

Some info:

  • the server is running on a dedicated host with Ubuntu 20.04
  • i have a root access on the  ...
Score: 0
Hussain Akbar avatar
dnf doesn't show all updates compared to yum
kn flag

I had a CentOS 7 machine which I converted to use OEL 7 some time back using the centos2ol.sh script.

Today, I gave the command: "dnf upgrade" and it showed be that 17 packages were to be upgraded with 220MB to download.

I then selected 'N' to abort and gave the command: "yum update". This shows me that 2 packages will be installed and 46 updated with a 542MB download.

Why this difference?

Score: 0
tomviv avatar
CPU at 100% during the night, spooler service is causing it
ml flag

I have a very strange situation where the CPU on our print server runs at 100% for most of the night. During the day it backs down to normal levels. It started when we installed new printers. It is the spooler service that is causing it, at least according to the logs. I have removed all old drivers and installed the latest ones for the new printers. I have started a scheduled job to kill the process an ...

Score: 0
pat-bung avatar
How to change the owner of a file to that user when a user modifies a file
xk flag

I am using Ubuntu 20.04 version. I want to satisfy two conditions in an environment with multiple users. Users will all upload files via ftp.

Multiple users should be active in one home directory. And in order to know who the last person was, when a user modifies a file, the owner of that file should be changed to the user who modified the file.

The first condition seems to be possible, but I have n ...

Score: 0
Amol avatar
wget cannot find trusted certificate
mp flag

On my RedHat 8 system, wget fails with error below:

wget -v https://10.81.72.97/repo/packages/installer-5.1-1.x86_64.rpm
--2022-12-05 19:40:00--  https://10.81.72.97/repo/packages/installer-5.1-1.x86_64.rpm
Connecting to 10.81.72.97:443... connected.
The certificate's owner does not match hostname ‘10.81.72.97’

However I can see that this certificate exists in ca-bundle. It is a self-sign cert. ...

Score: 0
user995604 avatar
Missing KVM nic model pcnet
mu flag

I'm working on migrating a virtual machine from a centos6 server running qemu-kvm version 0.12.1 (qemu-kvm-0.12.1.2-2.503.el6_9.6) to an AlmaLinux8 server running qemu-kvm version 6.2.0 (qemu-kvm-6.2.0-20.module_el8.7.0+3346+68867adb.2) but I'm running into a problem getting the network interface to work. The VM was using the pcnet nic model, but that model is not available with the newer qemu-kvm versi ...

Score: 0
Shawn avatar
Creating a dynamic SSL cert infrastructure for VMs/containers in sub-domains, some of which are intermittently air gapped
aq flag

I am requesting help to create an infrastructure for dynamic SSL certs for use in containerized environment on multiple sub-domains of myrootdomain.com, some of which may have intermittent internet access. Let me explain.

  1. We registered myrootdomain.com (not the real name, obviously) as a root domain.
  2. We will have multiple sub-domains, e.g., sub1.myrootdomain.com, sub2.myrootdomain.com, etc.
  3. Most of tho ...
Score: 0
Vahid XO avatar
Server traffic analysis
mt flag

Due to internet restrictions in my country I have to use a bridge server for port forwarding to another server located in another country to access free internet, But because of equal upload and download traffic (VPN activity) on my bridge server government terminate the server and I have to start from beginning to run port forwarding and etc. Here I have a question, Is there anyway to make traffic look ...

Score: 0
mickg avatar
sssd password update not working, AD behind firewall
tv flag

I have a centos server in a DMZ joined to my AD with sssd, minimum ports are open in the corporate firewall to allow the authentication but if the password of a user is updated on the AD, the Centos server will no update it's cache and still work with the 1st password.

I tried the cache_credential = False, it did not work, I was not able to authenticate the users anymore.

I have no "deny" in my fire ...

Score: 0
Chris Woelkers avatar
Systemd error: "Failed to get properties: Transport endpoint is not connected"
in flag

Background info first. The server that this occurs on has only been on for less than a year and includes an external SAS JBOD. This server was intended to take on the duty of an old web server, running Debian 8, and its dedicated storage server.

A standard Debian Buster installation was completed and after a basic set-up was done most of a LAMP stack, minus the DB portion due to a dedicated DB se ...

Score: 0
MRTG on Ubuntu 20.04.4 Will Not Start Automatically on Reboot
in flag

I have installed MRTG on Ubuntu 20.04.4 and got it running with:

sudo env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg/mrtg.log

It is working great. The only problem is when I reboot the server, it stops working. If I log in and run the above command again, it works again until the next reboot.

I must have missed something. Any help appreciated.

Score: 0
shorif2000 avatar
openstack pacemaker-schedulerd error
us flag

I have noticed this problem in the syslog and i'm not sure how to resolve this. I have openstack yoga with ubuntu 22.04 selfservice network option.

I have 1 controller node and 1 compute node

Dec  5 22:12:44 controller1 pacemaker-controld[1467]:  notice: State transition S_IDLE -> S_POLICY_ENGINE 
Dec  5 22:12:44 controller1 pacemaker-schedulerd[1462]:  error: Resource start-up disabled since no ...
Score: 0
shorif2000 avatar
canonical openstack horizon dashboard login not working
us flag

I have set up openstack yoga on ubuntu 22.04 using option2 selfservice network

after creating the networks and flavours I install the horizon dashboard. when i go to log in using admin i get the following error in the log

[Mon Dec 05 21:00:31.682242 2022] [wsgi:error] [pid 908283:tid 140658269378112] /usr/lib/python3/dist-packages/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is depr ...
Score: -2
accelarys avatar
Does vSphere ESXI Virtualization needs to be installed on root server or is it an application which can be installed inside an OS?
pn flag

Recently I've bought Dell PowerEdge R620 Server. I am interested in running Windows Server 2022 as well as I am interested in running virtual machines using Virtualization. Now I know that Windows Server 2022 does support Hyper-V using which I can create virtual machine inside Windows Server 2022 (I trust we will need Windows Server 2022 Data Center Edition).

However, I was wondering and little k ...

Score: 2
Allowing inbound IPv6 traffic to a host and port when the IPv6 prefix is dynamic?
cn flag

With IPv4, you used to be able to give a host a static local IP address on the LAN, and use a firewall rule on the firewall/router to forward a port on the (possibly dynamic) Internet-facing IP used by the network to a port on tat particular host, using the host's static LAN IPv4 address as a stable way to identify the host in the firewall rule.

But with IPv6, every host is using real routable In ...

Score: 0
enriquesb avatar
fatal: repository not found (git + http + nginx + fastcgi)
ch flag

I am trying to serve git repositories using Nginx. I have the following configuration for Nginx server:

worker_processes  auto;

error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;

events {

}


http {
    include /etc/nginx/mime.types;


log_format main '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
             ...
Score: 1
Mathew Alden avatar
Windows 11 Home - no option to "join this device to Azure AD"
br flag

I have a work computer currently running Windows 11 Home. (I will update it to Pro/Enterprise, but I need to get this figured out first.) I need to "set up a work or school account" by connecting to my company's Azure Active Directory. All of the tutorials say that I should just click "join this device to Azure Active Directory", but my computer simply doesn't give me this option. I've been googling thi ...

Score: 0
PHP8.1 FPM Crashes everyday after 12AM
cl flag

From the last two to three days I noticed that my PHP8.1-FPM process crashes after around 12:00 AM-12:30 AM at night.

My server has highest traffic in morning and lowest in night. But FPM process runs fine for whole day and crashes on night. This is very strange.

Here is what I found in logs:

DAY 1

[05-Dec-2022 00:19:47] NOTICE: [pool www] child 10868 started
[05-Dec-2022 00:25:02] NOTICE: [pool w ...
Score: 0
Rahul avatar
Enable CORS via Nginx
gu flag

I'm having a website (site A) and as it loads a different site (site B) as a part of it. So I added the necessary configuration found here to the nginx configuration of the Site B.

When I load the Site A, I can see the Site B loads without the proper Fonts and when I looked into the console and I saw the CORS Policy error there. Then I inspect the response headers and I haven't seen the headers whi ...

Score: 0
AminMZ avatar
Prevent VPN client from network scanning on ocserv
us flag

I have a ocserv server for VPN on a debian11 server. One of my clients did a network scanning and service provider blocked my IP for terms of service violation.

This is 2nd time that this happened and I don't know who did this. I want to ban the network scanner by myself but first I need to prevent further violations. Is there anyway I can stop my clients from doing a network scan?

I tried to implem ...

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.