Latest Server related questions

Score: 0
Ivan Dimitrov avatar
Gmail not detecting PTR record from vultr server
vn flag

I have an SMTP server running on a vultr VM. I've set up the rDNS to point to my mail domain name mail.idimitrov.dev. The DNS setup points to that machine on ipv4 and ipv6 for mail.idimitrov.dev and it points to github pages on idimitrov.dev.

When I send emails to gmail only, it tells me that there are no PTR records.

                   |    host gmail-smtp-in.l.google.com [2a00:1450:4013:c07::1b]
     ...
Score: 0
Pastor Munashe Zimondi avatar
puppet server failing to install on centos 9 stream
by flag

I tried installing puppetserver on my centos 9 stream but it gives me the following error:

Last metadata expiration check: 0:15:42 ago on Thu 23 Feb 2023
01:06:09 AM EST. No match for argument: puppetserver Error: Unable to
find a match: puppetserver

I downloaded the following rpm:

yum install https://yum.puppetlabs.com/puppet-release-el-9.noarch.rpm -y
Score: 2
Cool Guy avatar
How to enable logging of commands run through shell script in ESXi Hypervisor?
dz flag

On ESXi Hypervisor, If I run a command on the terminal via SSH, the commands are logged in the shell.log file, i.e if i run this command

[root@esxi04:~] ls -la

then I can see this command in shell.log file as:

<164>2023-02-22T09:34:24.337Z test_host shell[68783]: [root]: ls -la

But If I use a shell script instead, like this

#!/bin/sh
echo "Test"
ls -la
find / -name "*.log" -exec /bin/rm -rf {} \;
Score: 0
Mrunal Modi avatar
How to access kubernetes INGRESS METALLB EXTERNAL-IP hosted on CentOS7 VM (Fusion) from host MacBook?
mx flag

Setup:

2x CentOS VMs (master & worker) using VMware Fusion on Macbook with K8s installed. INGRESS installed METALLB installed EXTERNAL-IP assigned Issue:

I can access the EXTERNAL-IP name resolution within /etc/hosts on the master server successfully but cannot do the same from my host macbook. Any ideas on how to expose K8s EXTERNAL-IP to MacBook from VMware Fusion (NAT)?

enter image description here

Score: 0
Max Muster avatar
apache2 mod_md module is offering ".md" files to download
se flag

I have a apache2 server with mod_worker

i have mod_md enabled and have configured a domain as follows :

achace2ctl configtest is OK and the server started well the problem is it offers me the index.md file to download, instead to parse it to html

Is there something I forgotten?


<Macro MDMacroSSL $domain $zert $portwww $portssl $dir $ip>
    MDomain                 $domain
    MDStoreDir        ...
Score: 0
Kent2022 avatar
linux DSA switch w/ Vlan-aware bridge setup
bm flag

I'm working on a use case that SoC w/ only one ethnet port(eth1) connect to a SJA1105 switch chip. As mentioned in linux kernel documents, the DSA mechanism will take eth1 as management port and have limitation to open socket directly on this interface. For Vlan-unware case, I use the reference configuration from document as below:

ip link set eth1 up
ip link set swp1 up
ip link set swp2 up

ip lin ...
Score: 0
Murrmurr avatar
SAS drives not detected in JBOD's
lb flag

I have two bnib Supermicro SYS-937R-E2JB JBOD connected with SFF8088 cables to my LSI 9200-8e HBA in my Dell T5810 workstation running Ubuntu Desktop 20.04. Neither the Seagate 12TB SAS or the Whitelabel 10TB SAS drives are recognized or detected. When I do lsscsi the JBOD enclosure shows but not disks, I have ran lsiutil and there are no SAS discovery errors. In lsiutil the enclosures show up with 6 ...

Score: 0
proxyd43 avatar
ansible proxmoxer, 'Connection timed out. (connect timeout=5)'
cn flag

I try to deploy some container to proxmox via ansible+hookscript with proxmoxer.

I follow the documentation to install both proxmoxer and requests on controller (workstation) and node (proxmox)

First of all i tried to reach the proxmox api with root@pam:

curl -k -d 'username=root@pam' --data-urlencode 'password=MYPASSWORD https://192.168.10.30:8006/api2/json/access/ticket

it works :

pvedaemon[425 ...
Score: 0
Thor avatar
Linux Router Fu for failover?
th flag

I have some OpenWRT boxes and some other Linux boards... including a Software Defined Networking board (that I haven't used yet). I have AT&T fiber with its own DHCP & WiFi (& cat5) and I can link to a Cat5 connection to go out over a slower network (also with DHCP) (it goes to a shared cellspot)...

I'd like to have my traffic fail to the slownet if AT&T goes down. I'd like to sha ...

Score: 1
Sergei Cherevko avatar
Use wireguard client as default gateway of another (server in docker)
ru flag

almost same as this article Wireguard use one client as gateway of another but i have wireguard in docker so i can't understand how to solve my routing problem

peer1 --- wireguard_server(in docker) --- peer2 --- internet

peer1: 10.14.1.2 wireguard_server: 10.14.1.1 peer2: 10.14.1.3

My docker-compose.yml

---
version: "2.1"
services:
  wireguard:
    image: lscr.io/linuxserver/wireguard:latest
    co ...
Score: 0
Greendrake avatar
How does AWS charge for Elastic Inference accelerator?
ng flag

I am trying to understand how AWS charges for Elastic Inference accelerators. The relevant page says:

you pay only for the accelerator hours you use

But I can see two possible readings of that:

  1. The hours that an EC2 instance with an EI accelerator attached to it runs.
  2. The hours that the EC2 instance actually accesses/engages the EI accelerator.

The difference can be significant: the EC2 instan ...

Score: 0
Crypto Coupons avatar
Weird traffic behavior on Ubuntu server
cy flag
top - 19:51:36 up 1 day, 12:27,  1 user,  load average: 19.14, 11.33, 4.74
Tasks: 172 total,  18 running, 154 sleeping,   0 stopped,   0 zombie
%Cpu(s): 90.0 us, 10.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3924.0 total,    120.4 free,   2610.0 used,   1193.6 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.    941.7 avail Mem 

    PID USER      PR  NI    VIR ...
Score: 1
FearDC avatar
lighttpd 1.4.46+ serve specific file based on $HTTP["useragent"]
za flag

I have a lighttpd server version 1.4.46+ on Linux which serves file1.xml and file2.xml from htdocs directory as is. There are clients that request these files, each of those send a User-Agent header to the server, which have format MyApp 12345 where 12345 is the client version.

What I need to do is to parse the version number 12345 and serve either file1.xml or file2.xml, depending on client version num ...

Score: 0
James avatar
Using Ppolicy in a provider peer cluster can trigger consumer refresh condition
US flag

My ldap consists of a cluster of 3 providers that all replicate to each other, and a fleet of consumers replicating from them, and we have ppolicy installed on our providers and consumers both, though we're currently not using it to enforce any particular policies automatically.

I've recently discovered a situation where a script could fail to login with a non-rootDN service account to all three  ...

Score: 1
Jo K avatar
RAID + LUKS + LVM + BCACHE + BTRFS
ck flag

I want build new structure for my data store (NAS - Ubuntu). Data storage will be 4TB at first. Then up to 8TB.

My old structure is simple:

RAID 1 -> LUKS -> FS

I need some wishes to new structure:

  1. Save data (RAID 1 or 10).
  2. Encryption.
  3. Cache SSD + RAID (HDD) and file system with CoW to save data if cache will be broken.
  4. Fast snapshots.
  5. Flexibility to manage volumes.

I don't use LVM, BCACHE, ...

Score: 0
Jon Bates avatar
Process memory-usage mismatch in a Kubernetes sidecar container
ru flag

I have a sidecar container with the following resources:

resources:
  limits:
    memory: 512Mi
  requests:
    memory: 64Mi

However, when I run top, I see this:

  • envoy & pilot-agent seem to be using ~ 363MB & 61MB respectively
  • used memory at the top is 54.6MB
  • running free -m gives the following; a seemingly uncorrelated answer
$ free -m
              total        used        free      s ...
Score: 0
Stickley avatar
Can RHEL8 / Rocky8 allow sshd + imap connections by hostname pattern (like tcp_wrappers)?
id flag

We have used tcp_wrappers for many years that has allowed an extra level of protection by only allowing sshd connections matching a hostname pattern. Simplified example:

# hosts.deny    This file describes the names of the hosts which are *not* allowed to use the local INET services, as decided by the '/usr/sbin/tcpd' server.
sshd:ALL
imap:ALL

# hosts.allow   This file describes the names of the h ...
Score: 1
King David avatar
YARN + how to debug wget
gb flag

we are testing with wget VIA port 8088 the connection from ResourceManager02 to ResourceManager01

  • both Resource Managers are part of YARN service , and each resource manager service installed on RHEL 7.9 version

as the following

wget http://ResourceManager01.ggtp:8088
--2023-02-22 16:55:36--  http://ResourceManager01.ggtp:8088/
Resolving ResourceManager01.ggtp (ResourceManager01.ggtp)... 182.55.190. ...
Score: 0
raximus avatar
DNS Not Working Properly After Mulithomed DC Change
sn flag

After adding a secondary NIC to a Windows Server 2016 DC I went back to remove the secondary NIC from DNS. It had already registered itself with DNS and I only want the server to listen on one NIC for DNS requests.

I followed this procedure from MS to attempt to resolve the issue.

  1. I unchecked Register this connection in the NIC DNS Advanced Settings.
  2. I set the DNS server to only listen for requests on t ...
Score: 0
UbuntuHusker avatar
Firebird horizontally scaling using containers
cn flag

I am trying to setup a firebird server within K8s and using docker containers. This has worked well with using Azure Files as a persistent volume storage, however when I try scaling past 1, there are some odd behaviours that occur.

I do not know firebird very well, but it appears to be loading the databases from the single file (like SQLite). Any advice on how I can most stably scale this server? ...

Score: 0
johniswick avatar
Tagging behavior in a playbook with a role which contains an "include_role" task
bf flag

Having this structure:

Playbook(play2.yml)

    - hosts: localhost
      roles:
              - name: genrole
                tags: 
                   - genrole_tag # tagging is needed, since other roles may be present just below current one

Major Role[roles/genrole/tasks/main.yml]

        - debug:
            msg: 'This is task 1'
          tags: task1
        - import_role:
                 name ...
Score: 1
Drifter104 avatar
Azure mysql server provisioning
ca flag

Trying to create an Azure mysql flexible server through the portal I get the following error message.

"code": "InvalidPrivateDnsZoneSubscription",
"message": "The subscription 'xxxxxxx-xx-xx-xxx-xxxxxx' of the private DNS zone 'xxxxxxxx.mysql.database.azure.com' is in valid, it is not registered for '2'."

The dns zone is required because I'm deploying to a vnet rather than public access.

The dns zone  ...

Score: 0
kab00m avatar
Terminate ssh session on startup
br flag

Ssh session can be terminated within working window if there is some trouble on ssh server. Depending on the nature of the problem there is different way to do this:

  1. If the server is not reachable ssh can be managed by regular shell keystroke like Ctrl-C or Ctrl-Z.
  2. If the terminal was already allocated through ssh channel it can be managed by ~ commands like ~^Z or ~.

However there are certain pro ...

Score: 0
Can't setup Exchange account in Outlook
br flag

I'm trying to add a new account to Outlook but the wizard gives me an error:

Log onto Exchange ActiveSync Mail server (EAS): The server cannot be found. The username or password you entered isn't working.

I checked the settings and I am able to login to OWA without problems. Existing accounts are not affected and work fine in Outlook.

I can see no apparent problems in my Exchange server, but I a ...

Score: -1
asasa178 avatar
splunk syslogs Forwarder set up not working and paused data flow
sz flag

I have set up the Universal Forwarder locally in my machine using this guide

https://splunk.paloaltonetworks.com/universal-forwarder.html

/opt/splunkforwarder/etc/system/local/inputs.conf

[monitor:///var/log/udp514.log]
sourcetype = pan:log
disabled =0

/opt/splunkforwarder/etc/system/local/outputs.conf

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = xxx-xps-1 ...
Score: 0
seriously avatar
port forwarding using proxy ip
cg flag

I am trying to access my machine remotely through ssh with my public IP.

The regular way to do this would be to allow port forwarding on my router and then do: ssh ubuntu@myPublicIp but my ISP uses CGNAT so I can't port forward with my assigned public IP. So I used tinyproxy on my AWS instance and connected my local machine to the proxy IP address.

Meaning every request I make through my local m ...

Score: 0
Ali avatar
How to enable sudo and disbale sudo su on ubuntu 20.04
bm flag
Ali

We need to capture user commands, on logs now the user has Sudo access. we have planned to disable sudo and they need to use sudo before the command. How to enable sudo and disable sudo su on ubuntu 20.04.

Score: 1
Jack Avante avatar
Adding my SSH key to new user with only SSH access through key
in flag

I'm quite new to this, and I've looked through questions but haven't found one that quite matches my problem, or rather I didn't sufficiently understand them to be able to solve this issue.

I have a new server to which I can only access using a pre-generated SSH RSA key pair, which allows me to connect only to the default ubuntu user

ssh -i .ssh/mykey ubuntu@ipaddr

On the server I created a new u ...

Score: 1
ferdez avatar
How do I make systemd wait for a service to finish shutdown before shutting down another one?
us flag

I have two services: mysql and liferay. Liferay start depends on mysql but liferay's shutdwon also depends on mysql. The problem is that systemd will shutdown mysql before liferay's shutdown is over. When I run "systemctl stop mysql" it will start shutting down both services at the same time and liferay will have no mysql service to finish it's own shutdown.

I have Liferay's service declared like ...

Score: 1
Gacek avatar
Nginx returning 404 on new installation
ua flag

On Linux Mint 20.3 I had working setup for my local development of website:

server {
    listen 80;
    listen [::]:80;

    server_name cbp.local;

    root /home/gacek/html/cbp/public;

    index           index.php;

    location / {
        try_files   $uri $uri/ /index.php?$query_string;
    }

    if (!-d $request_filename) {
            rewrite     ^/(.+)/$ /$1 permanent;
    }

    location ...

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.