Latest Server related questions

Score: 4
SlyOne avatar
Influxdb is restarting constantly since my last reboot
kz flag

Since my last reboot, I am seeing the following every 1-2 minutes:

Aug 02 13:53:00 monitor systemd[1]: influxdb.service: start operation timed out. Terminating.
Aug 02 13:53:00 monitor systemd[1]: influxdb.service: Failed with result 'timeout'.
Aug 02 13:53:00 monitor systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
Aug 02 13:53:00 monitor systemd[1]: influ ...
Score: 1
Log execve's, along with parent process argv?
us flag

I'm trying to figure out if I can decomission an old server. I need the information about automated processes running there. So far I tried the following:

auditctl -a exit,always -F arch=b64  -S execve -k any-commands

At log analysis stage, I discovered two pieces of context missing:

  1. How did those programs get executed? What process was their parent and what was its argv?
  2. Where did the stdin/stdout  ...
Score: 0
genderbee avatar
socat, request with specific domain
cn flag

I am using socat for redirecting from localhost:6666 to SERVER_DOMAIN:443 because app is not possible make request via SSL.

socat TCP-LISTEN:6666,reuseaddr,fork SSL:SERVER_DOMAIN:443,verify=0

But request is not accepted by receiving server because wrong host DOMAIN in header of request - localhost:6666, I need for example my.domain.com.

2021/08/02 13:47:22 [error] 99#99: *20351099 open() "/etc/ngi ...
Score: 0
JBOD hard drives report incorrect size
gg flag

I am trying to setup a netapp ds14 to use with 6 and 8tb SATA drives I got FC to SATA interposer boards and now all the drives are correctly identified and visible, however the capacity that I see is only 1.5tb for all of the drives

What am I missing?

here are some logs

sg_scan -i
/dev/sg0: scsi6 channel=0 id=0 lun=0
    XYRATEX   RS-1402-SA-XNS1   3034 [rmb=0 cmdq=1 pqual=0 pdev=0xd] 
/dev/sg1: scsi6 ch ...
Score: 0
Ananth avatar
Will dropbear-initramfs work along with a keyfile in crypttab in Ubuntu (21.04)?
cn flag

/etc/crypttab

# <target name> <source device>         <key file>      <options>
crypt_root UUID=12989868-19fe-4834-90a8-f1bf13977745    /dev/disk/by-label/wopr_keys:/crypt_root_key  luks,discard,keyscript=/lib/cryptsetup/scripts/passdev,initramfs,x-initrd.attach                                                        
crypt_swap /dev/disk/by-id/scsi-SSamsung_Portable_SSD_T5_4B1C ...
Score: 0
Route Nat Network Internal Ip out through a Single External Ip
us flag

I have setup a Nat Network on my Hyper-V host as described by Microsoft here: Setup a Nat Network

It works great, other than, my host has 5 external Ip Addresses. Therefore, when it routes outbound through the internal gateway (192.168.0.1) out an external address, it seemingly picks any external address randomly as we can see here:

enter image description here

Certain services require the dns to resolve to the outbound ip  ...

Score: 0
John Dalsgaard avatar
NTP/Chrony not keeping time synchronized on CentOS 7.9 (VM running on VMware ESXi)
cn flag

I have 3 servers running CentOS 7.9.2009 in a data center (VMware ESXi). These servers report that the time is not synchronized. I have a similar test environment running on an inhouse VMware ESXi server where the servers sync. the time Ok. The production environment was originally set up in exactly the same way - but obviously updated with package updates over time. So they "should" be identical - but  ...

Score: 0
heydar dasoomi avatar
Access container's port from on eIP
ru flag

I have three servers that are in same network via WireGuard. Their IPs are:

  • 10.10.10.1
  • 10.10.10.2
  • 10.10.10.3

I have a docker container on 10.10.10.1 that give me service on port 8080/tcp. I want 10.10.10.2 to be allowed connect to it but not 10.10.10.3.

I exposed my container port with -e 10.10.10.1:8080:8080 then add below ufw role:

ufw allow from 10.10.10.2 to 10.10.10.1 port 8080 proto tcp

But ...

Score: 0
Error: Operation type [setMachineType] failed with message "e2 instances do not support onHostMaintenance=TERMINATE unless they are preemptible."
cn flag

I received an email from Google on 20 Jul 2021 entitled:

[Action Required] To continue receiving your Free Tier discount, upgrade your F1-Micro VM to an E2-Micro VM by September 1, 2021

"The Free Tier F1-micro VM is changing to the E2-micro VM as the VM to use for free. On August 1, 2021, E2-micro Free Tier will be introduced. Follow these steps to change your machine type to E2-micro to avoid incu ...

Score: 1
zkvvoob avatar
Ubuntu 20.04 + Docker: correct folder permissions
kp flag

When I was setting up Ubuntu 20.04, I opted for Docker to be installed as well. I haven't made any changes to its settings (i.e. I believe Docker runs as root), apart from creating a docker group and adding my user to it.

My containers store their data in /home/docker. In order for me to be able to FTP into the folder and add/edit some files, I changed the ownership of all subfolders to myuser:myuser

Score: 0
Norman Pellet avatar
netplan + libvirt - Should I set up virbr0 virtual bridge?
us flag

As far as I understand, the interfaces virbr0 and virbr0-nic are created and managed by libvirt.


● 4: virbr0
       Link File: /lib/systemd/network/99-default.link
    Network File: n/a
            Type: ether
           State: no-carrier (unmanaged)
          Driver: bridge
      HW Address: 52:54:00:0f:26:e6
         Address: 192.168.122.1

● 5: virbr0-nic
       Link File: /lib/systemd/netw ...
Score: 0
Suketu Shah avatar
HA Proxy TCP Content Rejection
pk flag

I am looking for an option or a work around where I can accept or reject the TCP Content based on the the size of a file which is getting uploaded This settings is required on TCP IP layer only also we have tried options like req_len(not working), as well as src_kbytes_in(works fine only after first request is shared) if any one can help me on this I will be of greatful .

Score: 0
Awaish Kumar avatar
Server goes down after every few hours - No route to host
in flag

I have a Ubuntu machine, it keep going down after some(10-15) hours. It returns the error as no route to host when I try to SSH. But it works when I restart from hetzner console and again after few hours it goes down.

I checked:

  1. syslogs: there are lots of IPs trying to connect to machine but are being blocked by firewall (UFW).
  2. I checked auth.log but I could not find any suspicious login.
  3. I chec ...
Score: -1
cannot install both kubelet-1.18.4-0.x86_64 and kubelet-1.21.3-0.x86_64
cn flag
[root@centos1 ~]# yum -y update
Ultima verifica della scadenza dei metadati: 8:14:04 fa il dom 01 ago 2021 19:20:32 EDT.
Errore:
 Problema: cannot install both kubelet-1.18.4-0.x86_64 and kubelet-1.21.3-0.x86_64
  - cannot install the best update candidate for package kubernetes-cni-0.8.7-0.x86_64
  - cannot install the best update candidate for package kubelet-1.21.3-0.x86_64
(try to add '--allowerasing' ...
Score: 0
how to allow proxy pass with same location, with multiple context path
cn flag
server {
    listen 80;
    server_name example.com www.example.com; 
    

location /consol {

    if ($request_method !~ ^(GET|POST)$) {
        return 405 "Not allowed";
    }
     
    set $consolalb alb.backend;
    proxy_pass http://$consolalb/workspace/;
    
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host  ...

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.