Latest Server related questions

Score: 1
archygriswald avatar
How can linux system boot/reboot without bootloader installed?
cn flag

Today I saw that grub is missing on my system (how that happened is another question). Checked with apt/dpkg: no grub* package installed, also no lilo or systemd-boot package installed.
Also was looking for grub or the like in bootsector: dd if=/dev/xvda1 bs=512 count=1 | strings, no result...
I have snapshot that I can return to in case of system failure, so I did sudo shutdown -r now, and the syst ...

Score: 0
mazieres avatar
Can't disable Privacy Extensions for IPv6
kr flag

On a fresh Debian 12 install, I wish to disable Privacy Extention for IPv6, but the config get rewritten every time I reboot.

After doing the proper modification to /etc/sysctl.conf I'm getting the desired config:

# /sbin/sysctl -a | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.enp5s0.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1
ne ...
Score: 0
AlexD avatar
iptables PREROUTING DNAT
bj flag
  • Server 1: 192.168.0.1
  • Server 2: 192.168.0.2
  • Server 3: 192.168.0.3

Server 2 has access to server 3 on port 1521 The task is to make port forwarding from Server1 -> Server2:5501 -> Server3:1521

On Server2 I perform the settings:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp --dport 5501 \
         -j DNAT --to-destination 192.168.0.3:1521

or this option:

iptables - ...
Score: 0
Arvind Saxena avatar
Removing CIS Level 2 RH profile from Rocky Linux 9
cn flag

I have selected the Redhat CIS server level security profile while installation and now I am seeing lot of restriction. I like to remove this security profile from my Rocky Linux 9.

I have tested the Openscap scan and its onlt 62% pass while having Above security profile.

please let me know how to remove or add security profile after instalation.

Regards Arvind

Score: 0
Benjamin Buch avatar
Do Windows containers share resources like Linux containers?
in flag

Containers on Linux share the OS kernel and thus processor cores, memory, disk space, etc.

On Windows, as far as I know, there are two types of containers: Linux containers via WSL2 and Windows containers. WSL2 runs in a VM, so probably does not share with the rest of the Windows world, but within the other Linux containers.

With Windows Container, I have no idea at all how this technique works. Is  ...

Score: 3
philshem avatar
Test network transfer speeds with rsync from a server with limited storage
dj flag

I want to test transfer speeds from server A to server B, but server A has limited disk space (<50GB) and because the network speeds are fast within the same data center, transferring 50 GB may be too quick to use as a benchmark. Server B has basically unlimited disk space.

Is there a way to transfer a "file" from server A (e.g. as a stream of data that is too large to fit on server A, somethi ...

Score: 0
Anisha Shaikh avatar
File System Private download method not Writeable -Drupal
pr flag

Giving File System error that it is not writeable or folder does not exist on Production Env

  1. Drupal version - 9.5.9

  2. Server we are using Amazon Linux2

    I have added line in setting.php $settings['file_private_path'] = $app_root . '/' . $site_path .'/files/private';

    Can somebody help me what exactly will be the permission and path to be set

Score: 0
Match traffic based on port with Cloudflare Tunnel
br flag

I am currently setting up Cloudflare tunnels for testing. I have a working tunnel setup on my origin server that is running nginx as a reverse proxy with a number of hostnames each having 2 distinct services running on ports 443 and 2096 respectively. I.e:

a.example.com:443
a.example.com:2096
b.example.com:443
b.example.com:2096 
…

Matching traffic based on hostnames works fine but I am now having t ...

Score: 0
nginx how to handle POST requests in 404 handler?
in flag

in my /etc/nginx/sites-enabled/devdb.easy-ads.com I have:

server {
        root /srv/http/devdb.easy-ads.com/www;
        index index.html index.htm index.nginx-debian.html index.php;
        server_name devdb.easy-ads.com;
        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $ ...
Score: 0
user6354238 avatar
Sendmail unable to find recipient to send email
US flag

I am trying to set up sendmail for my server to send alert notification status. After searching for guides on the internet, I am still unable to send outgoing emails to my work email. from what I've read, sendmail doesn't need any configuration to send out emails. I've checked the outgoing port 25, configured the DNS, and edited the hostname but have not succeeded. This is the failed email response I go ...

Score: 0
9ieR avatar
Strongswan ike phase 1 failed: "IKE_SA being deleted"
sm flag

I'm trying to build IPsec tunnel between my Strongswan cloud instance to the Cisco CSR 1000V which is from ISP.

According to the form given to me, I have to configure with the following factors in mind Phase 1 Authentication Method: PSK Encryption Scheme: IKEv1 DH Group: Group 2 Encryption Algorithm: AES-256 Hashing Algorithm: SHA1 Main or Aggressive: Main Lifetime for renegotiation: 28800

Phase 2 E ...

Score: 0
Az Ilari avatar
Ubuntu 22.04 Jammy - cron seems to be ignoring timezone
nc flag

I have a server configured to use the Pacific/Auckland timezone, however cron is running in UTC.

In the previous OS version this was sufficient to get everything to operate using a specified timezone (including cron):

sudo ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime
echo "$TIMEZONE" | sudo tee /etc/timezone
sudo dpkg-reconfigure --frontend noninteractive tzdata
sudo timedatectl set-timezone $TIMEZ ...
Score: 1
Mhd Ridho Swasta avatar
How to pass Variable from previous host to next target host play in ansible playbook
cr flag

I want to pass variable called ssh_user from the first play on ansible playbook to next different host play. I have tried to use "set_fact" but seems like it's still can't retrieve variable from the previous play.

Below is my ansible playbook code:

- hosts: localhost

  vars_prompt:

    - name: target_host
      prompt: Target Host IP
      private: false
    - name: auth_method
      prompt: Authent ...
Score: 1
mirabilos avatar
Postfix: deliver mail in order
cn flag

I’ve got a setup where ordering of eMails matters (passing commit messages to a Fediverse client which converts them to Markdown and posts them).

On the sending side, I have my sendmail set up to retain the order:

define(`confQUEUE_SORT_ORDER', `time')dnl

This results in…

O QueueSortOrder=time

… in the resulting sendmail.cf file.

Now the recipient side is Postfix on Debian, which then uses a s ...

Score: 0
NSV avatar
DHCP response not getting to VM when using a VLAN on Proxmox
er flag
NSV

I recently installed proxmox on my server, and now I'm trying to get networking in order.

The problem that I have, is that for a certain VLAN, the DHCP response from my DHCP server doesn't seem to end up in my VM. It does seem to reach proxmox, but there's nothing arriving in the VM.

What I'm trying to achieve, is the following:

From my ISP, I've got a /29 subnet. I have a Mikrotik router running Route ...

Score: 0
Adam avatar
Unable to Automate Mail/Server Sync Using doveadm
nf flag

I'm trying to migrate emails using dovecot's: doveadm sync -1 command.

I have created a file of email addresses (usernames) that I'd like to iterate through and I can do this; however, each time I need to enter the root password for the receiving server. I've gone through documentation for a few days now, but can't find anything to set this up without using IMAP syncing. I'm just trying to auto ...

Score: -1
an cro avatar
Built-in Windows VPN PPTP not working for user
tf flag

I am trying to setup a built in Windows VPN PPTP for a client on their laptop, and when it tries to connect to their VPN server it fails with VPN error 806.

I've enabled GRE protocol and opened TCP port 1723 but the error still persists.

Is there a small detail that I could be missing? I've copied the exact same setup from another user who has it working.

Score: 0
Cholho Lee avatar
In a Linux environment, does the order of commands "ip Route" affect routing?
us flag

I attached multiple ethernets to the server, one for LAN and the rest for PPPOE. Each packet connected to each PPPOE was sent by itself. It works fine on CentOS 6.10.

In the 8 series, packets are routed through the default LAN. MIRACLE LINUX is a RHEL compatible distribution.

I'm curious about the order of the results of "ip route". How about that.

# cat /etc/redhat-release
CentOS release 6.10 (Final)

# ...
Score: 1
PowerEdge430 - BIOS can detect SSD, but OS installer cannot
tr flag

I have a Samsung SSD 860 EVO 2.5" SATA III 500GB which I'm trying to use as the OS installation drive for a newly-acquired PowerEdge R430 with 8 2.5" drive bays. I've installed the drive in a drive caddy and installed it into the front panel. I am confident that the disk is connected in such a way that the machine can interact with it:

  • The light on the drive caddy illuminates when the machine is turn ...
Score: 0
Geoffrey Lee Shaw-Cullen avatar
Adding multiple tenants with Microsoft Partner Center
sj flag

I am working to get two Azure tenants associated through the partner center. The two global admin accounts being used by the administrator do not have the same email address, but are both set to global admin permissions.

When the client signs into their Microsoft Partner Center, and goes into the Organization Info area in the Account Settings of the Microsoft Partner Center, they are not able to  ...

Score: 1
Dan Forbes avatar
No Write Access to WD My Cloud NAS on Ubuntu Linux
za flag

I recently purchased a new WD My Cloud and was able to use the FTP app to transfer files from an old machine that was running OMV to the new NAS. I cannot seem to mount the NAS to my Ubuntu laptop properly to enable write access, however. I've included the output of my /etc/fstab file (I have also mounted the NAS with the username and password of the admin user as opposed to guest), as well as var ...

Score: -2
alvaroc avatar
Schedule task in Windows 2012 R2 after all services are up
hu flag

We have a Windows 2012 R2 with some services configured as delayed start due to having dependencies on other services, but not being shown in the corresponding tab. If such services are not configured that way, they fail to start.

Since the server is powered up only during business hours we want to send a mail when all services are up and running but no such trigger exists in task scheduler.

A tasks ...

Score: 0
d_inevitable avatar
Create Rancher API Key with kubectl
ru flag

Given access to the kubernetes cluster, but no API key, how can I programatically create a API key for rancher server?

The method described in documentation here requires a password login an a web browser. I would like to get the same outcome programatically. Given that all the state should be on etcd, it should, in theory, be possible through kubectl.

Score: 0
King David avatar
what is the preffered configuration of NIC for Kafka - team or bond configuration?
gb flag

We have 22 Kafka brokers physical machines (DELL HW) that should be finally installed as production Kafka cluster. when OS should be RHEL 7.9 version

we are not sure about - TEAM vs BOND for Kafka cluster.

from my understanding team network configuration is maybe the preferred configuration?

but I am not sure about this.

Bonding:- Bonding refers to create a bond or aggregation of two or more links into on ...

Score: 0
Androidquery avatar
why cant Login to AD OU user with GPO to the local server machine itself?
US flag

I had installed windows 2022 server eval version and windows 11 evalution version in clients. I had configured active directory . I hade created Organisational unit. Then applied Group policy in organisation units.

all users and the GP policy restrictions are working fine on clients.

But i want to lock the server machine itself with it . I had login with the administrator account on server machine. ...

Score: 0
nginx how to execute php scripts on "internal" uris?
in flag

I have a problem getting php scripts to execute in internal sites loaded via X-accl-Redirect.. My /etc/nginx/sites-enabled/devdb.easy-ads.com file contains:

server {
        root /srv/http/devdb.easy-ads.com/www;
        index index.html index.htm index.nginx-debian.html index.php;
        server_name devdb.easy-ads.com;
        location / {
                # First attempt to serve request as file, the ...
Score: 0
user20893268 avatar
Fastcgi script "file not found" / Primary script unknown
gh flag

ACTUAL SITUATION

I am in the process of transferring a static web server to a container.

ISSUE ENCOUNTERED

When i'm trying to reach my server, i received "File not found" with :

  • curl command : curl --insecure -v -H "Host: <site_name>" https://127.0.0.1:443
  • Browser : https://<site_name>

Here is the error message on NGINX container log for the site :

2023/07/04 13:25:38 [error] 8#8: * ...

Score: 0
Patrick avatar
Multiple NextCloud instances behind NGINX Reverse Proxy
in flag

Currently I have a NGINX proxy running that manages all domains and SSL certificates.

Now I want to access two NextCloud instances on one server (Apache, different paths) via different subdomains.

Eg.

app1.domain.com => http://ip-adress/nextcloud/instance1

app2.domain.com => http://ip-adress/nextcloud/instance2

On the Apache web server, I can access the applications directly via the path. ...

Score: 0
Md. Ashiqul Islam avatar
Can't connect to internet from DevStack instance
hu flag

I have installed OpenStack using DevStack on my local machine using VM. Then I have created an instance which can be connected from my VM using SSH. But when I try to update the system by using sudo apt update command, the instance cannot connect to internet and shows the following error.

Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
E ...
Score: 0
RangeyRover avatar
pfsense firewall/NAT rules for 2 different LAN where LAN2 has public facing server
lu flag

I'm looking for a pfsense ruleset that allows a client on LAN1 192.168.3.10 to access a public server on LAN2 10.0.0.2. ports 60000 -60015 TCP/UDP. I otherwise wish to keep these LAN's isolated from each other. Current WAN ruleset, working well from external WAN. I have tried NAT reflection, I think it does not work as they are on separate LAN. Any ideas how I can accomplish this? It's weird as other se ...

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.