Latest Server related questions

Score: 0
Deac Karns avatar
fail2ban block plex failed login attempts
br flag

I want to ban IPs who attempt to authenticate against my public Plex instance.

Im on Ubuntu and the log Im looking at is the following:

/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log

Filter

[Definition]
failregex = .*\[\d*\].*Completed: \[<HOST>\:.*401 GET.*

Sample Log lines

May 19, 2023 10:32:08.127 [140346159979320] DEBUG - Completed: ...
Score: 1
michal roesler avatar
how to delete a xfs file system from logical volume (lvm2), to achieve the goal being this logical volume without any file system?
br flag

I have LVM RedHat 8 intall and there's one Volume Group there.

Fri May 19 [michal@Ora2 ~]$ sudo vgdisplay
  --- Volume group ---
  VG Name               ol
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max ...
Score: 0
PopFR1 avatar
Postfix - Relay - authentificatin in Mysql
se flag

I tryed to manage with a postfix server, my goal is that :

When 1 special user ([email protected]) try to send mail, it will use routing (using a relay server is OK) but I don't understand how to send authentification to the relay server to be authorized to send mail. I do that on my main.cf file :

relay_domains =
$mydestination
proxy:mysql:/etc/postfix/mysql/relay_domains.cf

relay_recipient_maps =
   ...
Score: 0
zip_000 avatar
Dealing with Feed Reader traffic
us flag

The domain that I manage used to have a lot of RSS feeds, almost all of them are gone now, but I still get loads and loads of traffic looking for these feeds. I'm not sure the best way to handle this. Looking at a one day slice of the apache access log, roughly 23% of the hits to the site are from feed readers.

By "hits" here, I mean I looked at every entry in the access log for the day.. that mi ...

Score: 0
kordhaldrum avatar
PROMPT_COMMAND duplicating commands on new sessions
cn flag

Im playing around with PROMPT_COMMAND variable Was testing out some ways to save all commands into a log file and got some ways using PROMPT_COMMAND + logger + rsyslog

Example export im using

export PROMPT_COMMAND='logger -p local6.debug "$(whoami): $(history 1 | sed "s/^[ ][0-9]+[ ]//" ) "'

Its working fine, but I notice that everytime I login in a new session, ssh / sudo / etc... it will log th ...

Score: -1
Acon avatar
Cloudflare DNS keeps redirecting to a wrong site on the same server
dk flag

I have a strange DNS setting glitch here.

We are rebuilding and migrating two old sites to a new VPS server. They coexist now as below. We use Cloudflare DNS (NO reverse proxy).

Site A: aaa.example.com (on an old server)

Site B: bbb.example.com (same as Site A)

New Site A: aaa2.example.com (on the new VPS built by Ubuntu 21.10 + Nginx + WordPress)

New Site B: bbb2.example.com (same as New Site A) ...

Score: 0
quoing avatar
F5 Big-IP client on Linux
vn flag

I'm trying to connect VPN using official F5 client on linux..

But whatever I try I always receive same error:

2023-05-19,13:05:26:755, 412653,412653,, 48, /CustomQApplication.h, 173, 
void f5::qt::CustomQApplication::quitIfNoSession(), 
Qutting application because no valid session exist

Tried multiple debian-based distros.. (latest Ubuntu server, debian from oldstable to sid, ArchLinux with f5vpn AUR pac ...

Score: 0
darkomen avatar
netstat no support on this system
ag flag

in dealing with try to resolve another issue into my Ubuntu 22 OS

I need to check out the ports that tightvnc is listening on for connections.

I use this command : sudo netstat -lvp | grep vnc

BUT this command return me that :

netstat: no support for 'AF INET (sctp)' on this system
netstat: no support for 'AF INET (sctp)' on this system
netstat: no support for 'AF IPX' on this system
netstat: no su ...
Score: 1
Samson avatar
my prometheus dashboard shows 0 on node_export instance
in flag

I have installed prometheus on a server and node_exporter on another server

I configured my prometheus.yml to interact with the node exporter

The connection works fine but the up query shows 0 which means that the instance is not healthy.

The both servers are up and running

Any solutions on this enter image description here

Score: 0
quangkid avatar
Startup.sh file does not exist after installing tomcat9 with YUM
bf flag

I installed tomcat9 with the command below

sudo su
yum install tomcat9

But in the tomcat9 directory at /usr/share/tomcat9/bin, the startup.sh file is not found. There are only 3 files below:

$ls /usr/share/tomcat9/bin/
bootstrap.jar  catalina-tasks.xml  tomcat-juli.jar

I try to run tomcat9 also error:

/usr/sbin/tomcat9 start
Failed to start tomcat.service: Unit tomcat.service not found.

Tomcat version ...

Score: 0
abby murali avatar
ejabberdctl debug console terminating
mn flag

We've four eJabberd nodes in cluster node name xmpp[1-4] Among the four nodes, ejabberdctl debug command is not giving the console in two of the nodes (xmpp1 and xmpp4) instead the process is terminating.

  • ejabberd version:22:05
  • erlang/OTP release: 25
  • Os: Ubuntu 18.04 LTS
  • Installation : from source.
ejabberd@xmpp4:~$ ejabberdctl status 
The node '[email protected]' is started with status: started
ejab ...
Score: 0
Viraj Rajhansa avatar
kubelet service not running on windows worker node
zm flag

I need a k8s cluster consisting of linux master node and windows worker node. Although I'm able to set up the master node just fine with v1.26.1 (OS: CentOS 8.x), when I try to run the kubelet service of same version on the windows node (OS: Windows Server 2019), the service goes into a PAUSE state and is not able to run. Has anyone faced such problem before? I must say I'm very new to k8s. Is there som ...

Score: 0
andmattia avatar
pfsense masquerede connection via OpenVpn
kw flag

I've a remote site that accpet traffic only from my static address. On my pfsense LAN all works fine but if I try from my home, via OpenVpn connection I can't.

In my openVpn config I push a route to a specific ip and on pfsense side I see that traffic flow from my laptop throw pfsense but the ip used to connect on remote side it's the openVpn ip and not External gateway.

I try to reproduce the schem ...

Score: 0
SoonGuy avatar
Ubuntu 22.04 /var/lib/locales/supported.d
hr flag

I am attempting to upgrade an old Ubuntu 14 Docker image to 22.04. One of the commands in the Dockerfile is ln -s /usr/share/i18n/SUPPORTED /var/lib/locales/supported.d/all.

This is failing on Ubuntu 22.04 because the directory /var/lib/locales doesn't exist.

  • I could just create the directory before running the command, but I am not sure this will actually have the desired effect.
  • On Ubuntu 14 the  ...
Score: 0
george nik avatar
Openstack Horizon Customization
sc flag

I have deployed openstack (zed version) using kolla installation as a learning experience in a Centos 9 machine. I am trying to customize horizon dashboard so specific roles wont see certain panels.

For example i want to hide the panel "Routers" inside the "Network" tab for users with the role "student".

I have tried:

1. To create an "overrides.py" and customized "local_settings.py" file to run the code.  ...

Score: 1
supercoco avatar
Installing docker/compose-bin plugin on Google's Container Optimized OS
mx flag

I am trying install the docker/compose-bin plugin on a Google Cloud VM with Container Optimized OS (https://hub.docker.com/r/docker/compose-bin/tags).

Has anybody achieved this?

I understand docker is running as a container and I think I have to install the plugin binary in the respective plugins folder inside the container. Am I in the right direction?

I am able to use the old docker-compose (https: ...

Score: 1
How to configure a podman container to let it communicate with the host as well?
cn flag

Is it possible to...

  • run a container with podman
  • which has an IP on the same subnet that the host is on
  • is accessible from every other host on the subnet
  • including the host itself?

I had partial success using both a macvlan and ipvlan drivers - I am able to run a container, give it an IP address, and this IP is then accessible from every other host on the network.

However, I cannot access to or  ...

Score: 1
Postfix: email forwarding to google, never re-try deliveries
in flag

I've a Postfix server with two virtual domains, users and aliases. Some of my users want their email centralized at Gmail and have aliases in place to redirect incoming e-mail to their Gmail accounts.

Eg. [email protected] is forwarded to [email protected]. The DB looks like this:

  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `domainid` int(10) unsigned NOT NULL,
  `source` varchar(255 ...
Score: 0
amiroof avatar
openvpn TLS Error: TLS handshake failed
ma flag

i installed openvpn on my vps, and the tried to login using my client.

heres my client logs when trying to connect:

2023-05-18 23:01:23 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations. 
2023-05-18 23:01:23 Note: Kernel support for ovpn-dco missing, disabling data channel offload ...
Score: 0
eschga avatar
Enlarging RAID1 virtual drive online on LSI MegaRAID SAS 9240-8i without downtime?
tm flag

I recently went out to a customer location and replaced + rebuilt a RAID1 drive group on their Lenovo TS440 server, going from 2 TB drives to 4 TB drives.

Question is - what's the best way to enlarge the virtual drive group? It's stuck at 2 TB and I can't find an option in LSI Storage Authority to expand it.

We need to minimize downtime as much as possible - we can afford a few reboots but not hours ...

Score: 0
HippoMan avatar
Getting postfix to forward a certain warning to the milter
by flag

I'm running postfix 2.11.3 under Debian.

I have installed a homegrown milter which runs in conjunction with CONNECTION, HELO, MAIL FROM, RCPT TO, HEADERS, and EOM, and it's been working well for years. It uses the standard milter API.

When the sender specifies a syntactically incorrect address, I see errors like the following coming from postfix (where xxx.xxx.xxx.xxx represents the IP address of th ...

Score: 1
MastaP avatar
htaccess - Generate ALLOW rule dynamically from external file
ru flag

Can Htaccess set variables by external files as values?

I would like to ALLOW all IPs that are listed in a txt file located on the server.

This txt file is auto generated via script by our systems that resolve DYNDNS adresses to IPs.

I can format this external file in any way But I would need HTACCESS to INCLUDE it

So that the htaccess fill the allow section dynamically:

# allow IP range by CIDR numb ...
Score: 0
Rodrigo Antunes avatar
Samba Domain with readonly Active Directory and OpenLDAP
lr flag

I have a working Samba Windows Domain getting its users from an OpenLDAP database, but now I need to get these users from an Active Directory database. I have full access to the OpenLDAP database but only read access to the Active Directory database.

How could I achieve that? Thanks.

Edit: All my users are in an openldap database and my samba domain authenticate these users against this database, bu ...

Score: 0
Milkncookiez avatar
Cannot execute nested command on remote host over ssh tunnel
se flag

Im running the following command in my GitLab CI job:

ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')"

The problem is that it returns me the following error:

/usr/bin/bash: line 156: docker: command not found
"docker restart" requires at least 1 argument.

I know that docker does exist and works on the remote host, because I can log in to the host's shell an ...

Score: 0
RobC_CTL avatar
Both LOCAL SERVICE and SYSTEM users are changing server time on DC
cn flag

Odd one for you, our DC's time keeps changing by an hour, but it doesn't just go down by an hour it also go up. I've been monitoring the event logs and I can see that there are usually two entries close to each other than both have changed the time. One of them the user is LOCAL SERVICE and the other is SYSTEM.

The server is a Windows 2012 server running as a DC hosted on a EXSi host, VM time s ...

Score: 0
J Collins avatar
GreenCell PowerProof 600VA UPS not taking mains power
fr flag

I have a UPS that when on and plugged into mains power, continues to indicate no input power and running from battery. Is it a fault or user error?

Score: 0
boog avatar
AWS EC2 - allow traffic to server/site through public IP, SSL certificate issues
kz flag

We have a Wordpress site which serves as the company intranet. We need to allow an external user to access the wp-login page and subsequently the wp-admin dashboard to manage the site. Would like to avoid any VPN's or internal connectivity to accomplish this, as that would require a domain account for RADIUS, and this person isn't on the domain;

In EC2, I added an inbound rule to the security gro ...

Score: 0
serverstackqns avatar
Mixed content error nginx+docker container
cn flag

I have an EC2 with Nginx setup & there are a few containers running inside. There's a Node JS gateway which is serving some of the requests in a webpage hosting in this Nginx server. Nginx is not a container - FYI. While we are able to load the website using https://domainname.com, while doing a refresh, we see some errors in the developer console for some of the elements within the page. The error i ...

Score: 0
jesse avatar
nginx regex location not matching number followed by specific letter
in flag

I tested my regex on a site and it matched, but I can't get it to work in nginx. What am I missing?

I want to find any parameter with string window that has numbers and a d (not h for hour) like:

?window=30d&some-other-arg

and not match:

?window=24h&some-other-arg

pattern that works on https://regex101.com/r/5f6WpI/1

~ window=([^&]*)+d

And nginx location is:

location ~ window=([^&am ...
Score: 0
App Engine > Subdomain > Add A, AAAA and CNAME record
et flag

I'm trying to add a subdomain subdomain.domain.com to App Engine.

It asks to add the following DNS records

enter image description here

But it's impossible to add a A record and a CNAME record with the same name subdomain.domain.com because it causes a conflict.

I saw in this thread that the CNAME name that Google asks to add doesn't seem to make sense Add A, AAAA, and CNAME record for google app engine project in google cloud ...

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.