Latest Server related questions

Score: 1
Samveen avatar
Incorrect SELinux labeling of mysql unix socket on Centos7
us flag

OS:

# rpm -q centos-release
centos-release-7-9.2009.1.el7.centos.x86_64

I'm trying to get zabbix-agent to access mysqld (using mysqladmin ping), but the process fails with the following errors(in auditlog):

type=AVC msg=audit(1690802455.685:134747): avc:  denied  { connectto } for  pid=18714 comm="mysqladmin" path="/var/lib/mysql/mysql.sock" scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=s
ystem_ ...
Score: 0
TAPIO avatar
Regular expression does not work in EMEditor
ru flag

I have a simple Regular expression to select all text between X-Mozilla-Status and [Chat Info]. I tried it at https://regexr.com/, and it all works great. However, it can't find anything if I add it to the find area in EMEditor and search my files.

I am using:

X-Mozilla-Status([\s\S]*?)[Chat Info]

the text it suppose to select is as following

X-Mozilla-Status: 0000 X-Mozilla-Status2: 00000000 X-Mozi ...

Score: 0
xis10z avatar
How can I do a difference between values at t0 and t1 in a received data set in Grafana?
aw flag

I am trying capture the interface bandwidth on a firewall using SNMPv3 and show it on Grafana, I want to do a difference in values at t0 and t1 in the table below in Grafana, for eg., for a difference between the first and second value in snmp.distinct (which is the inoctet received via SNMPv3 OID) column or Time-0 column below, enter image description here

Score: 0
user1672382 avatar
How to make rabbitmq management console available for local host (127.0.0.1) and server's external IP address
pk flag

I want my rabbitmq management console configured for both localhost (127.0.0.1) and IP address 10.10.136.19.

I changed the attribute "management.tcp.ip" in rabbitmq.conf, but could not find any of them working. Can some one shed some light here?

Score: 0
clawoo avatar
default_node_config is ignored when new nodes are created
bg flag

I have a fairly standard ejabberd install backed by MySQL and I want to pre-configure the PubSub nodes to set send_last_published_item to never or on_sub. Currently, I have users who can be subscribed to as many as 50 PubSub nodes which flood the client after logging in and I want to dial that down a bit as I am expecting that number to go up significantly in the future.

I updated ejabberd.yml and ...

Score: 0
heeeresjohnny avatar
Where do I edit a MachineAd in HTCondor?
ee flag

I've been researching this question all day and neither the HTCondor docs nor Google could help me:

Where do I edit the MachineAd of a node in a HTCondor cluster? The /etc/condor folder on the node and on the master/schedd server do not contain any files that look remotely like a MachineAd.

I mean there is condor_update_machine_ad (https://htcondor.readthedocs.io/en/latest/man-pages/condor_update_ma ...

Score: 1
legoscia avatar
AWS Application Load Balancer: how many IPv4 vs IPv6 network interfaces?
ru flag

Because AWS has started to charge for public IPv4 addresses, I'm looking into how many public IPv4 addresses my Application Load Balancers are using.

Right now, they are listening on IPv4 only, and it's obvious that the number of network interfaces scales with the amount of traffic going to the load balancer.

If I were to change them to dual-stack, which of the following would happen?

  1. The number of  ...

Score: 1
Senior Systems Engineer avatar
How do I get a complete list of all Windows AD computer accounts that are part of a cluster group in my AD domain?
pk flag

Regardless of whether they are active nodes or passive nodes, how do we get a list of all Windows AD computer accounts in a cluster group?

Using the PowerShell module: https://learn.microsoft.com/en-us/powershell/module/failoverclusters/?view=windowsserver2022-ps this can only show the Active cluster node.

Using the below Command:

Get-ADComputer -Filter { (ServicePrincipalNames -like '*Cluster*') } -Pr ...
Score: 0
user5016380 avatar
Martian packet with ARP broadcast traffic
pw flag

Server nodes keep getting ARP broadcast traffic and becoming martian packets due to assymatric routing. I was known that when strict filtering is enabled with net.ipv4.conf.eth0.rp_filter = 1, the packet gets discarded without any further processing and IPReversePathFilter counter in netstat keeps increased. But, the counter is not increasing even we see lot of martian packets.

Can anone please help ...

Score: 0
Tom Lensburry avatar
Where is the /runner/artifacts directory in awx on kubernetes cluster?
pk flag

I've setup a basic awx instance on kubernetes named awx-demo. All runs smooth so far, I can run templates with projects and inventories sourced from a git repository.

In the successful job log of a playbook run I can see at line 0:

Identity added: /runner/artifacts/74/...

Two simple questions: Where does the playbook run? Where can I find the /runner/artifacts directory?

What I've done so far:

From the J ...

Score: 0
Wholesome PJ avatar
SVN only fails to commit new files that have been svn:copied with RA layer request failed error, changes and additions work fine
iq flag

Whenever I try to commit a new file that has been created using svn:copy I get the following error:

RA layer request failed
Commit failed (details follow):
Unexpected HTTP status 502 'Bad Gateway' on
'/!svn/rvr/521/Project/trunk/image.png'

In the error above I did a svn:copy on image.png with image2.png as the new file. However, the error fails on image.png (it can't find it or something?).

Committing  ...

Score: 0
Vinicius Andrade avatar
PfSense - Ha proxy Wan Ip timeout when outside network requests
gb flag

Currently I'm setting up a home lab and I've the following architecture

Architecture

I've setup my ISP provider to redirect any 80 requests to my pfsense firewall.

Created a rule allowing any requests from external KONG SERVER to port 80 Rules

Created an HAPROXY Front end listening to PFSENSE Wan address Frontend

And use a backend to my internal docker container Backend

If I try to access my public ip ...

Score: 0
Rick avatar
getting error with curl command in Ubuntu
gh flag

Below I am having these issues with all my VMs. I am unable to curl from my VMS and subsequently having issues with another program. host OS is ubuntu 20.04 and the guest is Centos 7

see error message here

Score: 0
Leonard avatar
Suggestions on the best way to migrate to a new server
vn flag

I have an OLD server (Windows server 2012 R2) and a NEW server (Windows server 2022).

Old server is a bare-metal Domain Controller Server and the New server is a VM. I am planning on migrating to the New Sever.

OLD SERVER

Windows Server 2012 R2 Domain functional level: Windows Server 2012 R2 Domain functional level: Windows Server 2012 R2

What is the best way to move forward with regards to the Domain Co ...

Score: 0
how do I get the Debian bookworm mirror at mirrors.kernel.org fixed?
md flag

Given:

martind@stormy:~$ cat /etc/apt/sources.list.d/bookworm.list
deb http://mirrors.edge.kernel.org/debian bookworm contrib
#deb http://ftp.us.debian.org/debian bookworm contrib
martind@stormy:~$ 

... downloading the package indexes fails:

martind@stormy:~$ sudo apt update
...
Reading package lists... Done
E: The repository 'http://mirrors.edge.kernel.org/debian bookworm Release' does not have  ...
Score: -3
Luana avatar
Time not utc linux
mr flag

How can I get my local time by pulling information from the Internet without using utc time?

When I run the command below it will always return the time in utc format...

curl -I ' https://google.com/ ' 2>/dev/null | grep -i '^date:' | sed 's/^[Dd]ate: //g'

I would just like it to show the result in my local time and not with utc.

Score: 0
Russell Fulton avatar
getting weird logs set to syslog after vrealize starts VM
hk flag

I have found some instances of newly spun up VMs spewing a bunch of records out to syslog. The one I came across recently was a RHE machine running rsyslog.

The times in the syslog records are way off the present ( sometimes in the past and sometimes in the future. The logs arrive at the syslog host in a single bunch (all within the same second).

Anyone have any idea what is causing this?

I am guessi ...

Score: 0
Windows ping chooses IPv4 address
cn flag

When I run ping myserver I can see two DNS queries in Wireshark, one for A and one for AAAA. Both get answered with the IPv4 and IPv6 address respectively and ping starts pinging the IPv4 address. If I run ping -6 it uses the IPv6 address.

I thought IPv6 is preferred if both are available, why does it choose IPv4?

I have an IPv6 address and a default IPv6 route with the link-local address of my route ...

Score: 1
mark avatar
runas vs Start-Process - no keyboard (or any at all) input in the console open by Start-Process
br flag

I want to open a console using credentials of someone else. Normally I do it with the runas command:

C:\> runas /user:$(cat ~\.ssh\ek | select -first 1) pwsh
Enter the password for ***:
Attempting to start pwsh as user *** ...
C:\>

Having entered the password, I can see the console opened and it works great.

However, I do not like that I have to type the password every time.

The Powershell's  ...

Score: 0
ArrowInTree avatar
Starting karaf in mvn deployed servicemix 7
fr flag

On Fedora 39 rawhide, I have finally got mvn-3.9.1-3 to complete the "jar:jar install:install" goals. But using find I could not find executable files for karaf or a bin dir. dnf has no installable for servicemix.

The localhost;8181/system/console has 404. How can I read status of sevicemix or start? I downloaded servicemix direct from apache.

Thanks for your support.

Score: 1
How do I restrict some directories to some clients in GlusterFS?
pe flag

GlusterFS makes it possible with auth.ssl-allow option to allow or deny access to given volumes for a given client, identified by its SSL certificate, but the access is global: either the client has access to the entire volume, or not.

It also has support for ACLs for individual directories, but the ACLs rely on user names, and not SSL certificates. In other words, if a given machine is compromised,  ...

Score: 0
Neppomuk avatar
iptables: IP forwarding restricted to pings. Why?
am flag

After reinstalling OpenSuSE Leap 15.5 on a SOHO server, which acts AS a Firewall, the machines on the internal network (169.254.164.0/24) can't reach any hosts on the internet save for pings. But no meaningful Traffic, not even DNS, works.

One of the server's NICs (eth0) hangs on a DSL Router, whereas eth1 is connected to the switch of the internal network. Ipv4 forwarding is switched on: net.ipv4.ip ...

Score: 0
mr.zog avatar
Authoritative config for bind9 on Docker
at flag

https://hub.docker.com/r/internetsystemsconsortium/bind9

When the author of this documentation says,

You need to properly mount the following volumes:
/etc/bind - for configuration, your named.conf lives here
/var/cache/bind - the working directory, e.g. options { directory "/var/cache/bind"; };
/var/lib/bind - this is usually the place where the secondary zones are placed
/var/log - for logfi ...

Score: 1
Jarmo Pertman avatar
OpenSMTPD multiple outgoing server hostnames
kw flag

I'm running OpenSMTPD to receive and send e-mails on FreeBSD. I'm accepting e-mails on a multiple different top-level domains and also send out from multiple different top-level domains (hosting different services on the same server). Now, when my applications send out e-mails then outgoing server hostname will be set correctly since application e-mail library usually sets hostname based on the fr ...

Score: 0
Ed Black avatar
Error running PostgreSQL Deployment in Kubernetes: "No such file or directory" for data directory
mf flag

I am trying to deploy a PostgreSQL database using Kubernetes and encountered an error related to the data directory. Below is my YAML configuration for the Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: db
spec:
  replicas: 1
  selector:
    matchLabels:
      app: db
  template:
    metadata:
      labels:
        type: deployment
        app: db
    spec:
      affinity:
      ...
Score: 0
Elia avatar
Handmade DNS root NS query fails to 1.1.1.1 but succeeds to 8.8.8.8
bm flag

For educational purposes I'm sending handmade packets to query root NS using python. The expectation is to get similar results as dig NS . @1.1.1.1.

The following is relevant only to NS . as any other NS <domain> works as expected.

Given the following packet structure:

(Pdb) req
                     1
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             0x28c2    ...
Score: 0
Nick Hill avatar
Give me updates for other Microsoft products when I update Windows option greyed out in Windows Server 2016
np flag

I need office 2019 which is installed on my windows server 2016 to take updates via Windows Update , I seem to have tried every method under the sun to get it work , Deleting registry keys adding registry keys , Setting local group policy to enabled and checking the other updates option , setting it to not configured and then retrying again

Does anyone have any sort of help on this

Score: 0
Nandhana Pramod avatar
Detect website attack by using azure sentinel serviceazure
km flag

I have a website which builds on AKS. I'm getting DDoS and other kind of attacks in website. In order to take prevention against such attacks, I'm planning to use the tool Azure Sentinel service.

https://learn.microsoft.com/en-us/azure/sentinel/hunting#use-the-hunting-dashboard

How to store streaming website traffic in AZure and integrate with azure + aler when unusual traffic hit occurs.

Thanks in adva ...

Score: 0
TWTom avatar
ssh to a server behind NAT without VPS being the bridge during communication
lb flag

I currently can ssh through my localhost behind NAT using VPS as reverse SSH server.

ssh -f -N -R 1234:localhost:22 user@[vps_ip]

And I can do the following to connect to my localhost SSH server from other place:

ssh my_user@[vps_ip] -p 1234

My problem is that this connection will have high latency because the VPS is in the US (only free in the US) and I'm in East Asia. Is there a possible way that ca ...

Score: 0
Mhd HZ avatar
Http outperformed Http2 ,why, please help me to figure out?
ro flag

I'm currently conducting performance testing on my NGINX web server container and I'm encountering some unexpected results. My tests show that HTTP performance is outperforming HTTP/2, despite SSL and reuseport being enabled.

Here are the configurations for HTTP:

nginx.conf:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
    worker_co ...

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.