Latest Server related questions

Score: 0
account404 avatar
Can you use virsh to reset vm id sequence?
um flag

Question in regards to "Id" for running VMs, using virsh running local Qemu VMs.
command virsh list will bring up a list of the current running VMs defined, eg,
Id Name State
 -------------------
1 ubuntu running
upon stopping and undefining the current VM (ubuntu)
the next newly defined VM (domain) will have the "Id" of 2 instead given the "Id" of 1

Is there a way to reset this Id? ...

Score: 0
Jonathan avatar
SSH configuration with two interfaces (different users) works only on one interface
ve flag

I have created a sshd_config for my server. The SSH service should listen on the public and a WireGuard interface (on different ports). My problem now is that on the first public interface everything works, but on the second one somehow the rules of the first one were taken over. So I can login with jona, but not with root ... the solution will probably be simple, but I've been trying to get it to work  ...

Score: 0
pentiumcu avatar
how to filter bridge interface packets with single iptables rule?
af flag

I want to filter br1 interface in/out packets that have a specific tcp port number.

Given a setup with eth0 and eth1 in a bridge br1:

    |          |        
   eth0       eth1      
    | == br1== |   

In this scenario, I want TCP port 80 traffic to be filtered and routing to nfqueue-num-0 if it is going to network attached from eth0 to eth1 or from eth1 to eth0. I want to do this with a single line ip ...

Score: 0
Raul Cejas avatar
multipass no running after restart service
mu flag

multipass is not running:

abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: failed to create listening socket for 10.209.23.1: Address already in use
abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: FAILED to start up
abr 02 21:44:21 raul-MAX-L5 multipassd[7163]: 
                                              dnsmasq: failed to create listening socket for 10.209.23.1: Address already in use
abr 02 21:44:21 raul ...
Score: 0
Russell Fulton avatar
Dell R620 - problems with boot order
hk flag

I have an "old" Dell R620 that in a previous life was used as a EXI host. The machine has a 1G SD card with which had the VMware software on it. I have now installed linux on the HD.

The problem is that The boot order just has HD C: for disks i.e. no separate entries for the SD card and HD. It always tries to boot from the SD, even when there is nothing there to boot from. Deleting partitions ...

Score: 0
PawelZ avatar
linux tc + vlan interface
za flag

This is my tc simple script. It limit bandwidth based on source ip address and use hashing filter based on /24 subnet. This example filter works but only when this example subnet 10.118.0.0/24 is add to physical interface eth1. When I switch this subnet to vlan interface for example eth1.100 traffic limiting stops working properly.

So this scenario work :

(PC 10.118.0.35 eth0) --- (SW) --- (eth1 ip ...

Score: 0
Sabatica avatar
How do I enable WideLinks on samba's recent release?
va flag

Note: I am aware of the security issues and reasons why it's been changed. I still require the use of wide links.

Samba's recent versions have made it where WideLinks are now supposed to be loaded as a per-share vfs module, but I can't figure out how to install the vfs module in order to use it. I have it set in the vfs modules, but the vfs module doesn't actually exist. I am using mx linux (the  ...

Score: -1
Peter Jennings avatar
Can a subdomain point to a different hosting service?
gy flag

We own a domain, mydomain.com, which is registered at Ionos and which has a lot of, as yet, unused storage available to it. Our main website URL has been hosted on SquareSpace since 2015, we are out of room there, our template is obsolete and the whole site is in need of a face lift.
Back on Ionos we can create a subdomain, say new.mydomain.com, but I can't quite work out if we can keep the main URL ...

Score: 0
ekafe avatar
Network Skip Pinging Every 3 minutes periodically for 2 sec
vn flag

I have an application runs in UP Board | UP-CHT01, which will do an operation and send the data to NATS Messaging Server. ( Which is running on another PC i.e, not in the same board)

While testing the application we found, its failing to send message for 2-3 second every 3 minute periodically.

After some debugging I figured, may be its a network problem instead of application.

So I stopped the applicat ...

Score: 2
Ben Turner avatar
ZFS Pool of USB Drives causes zsf-import-cache.service to fail on boot
br flag

I setup a ZFS pool on my "home server" (Raspberry Pi 4b) that consists of various HDD and SSD drives connected over USB to the Pi. I have noticed that whenever a reboot occurs, the ZFS pool fails to be imported by the zfs-import-cache.service.

Score: 0
Adrian-Bielefeldt avatar
How to investigate apache server becoming unresponsive
cn flag

I'm running a Debian 11 Server with an Apache 2.4.56 server that only serves to redirect URLs to a memos docker container and the element frontend of my matrix instancee.

Unfortunately, the server becomes unresponsive for 20-30 minutes several times per day. This is not load-related, both CPU and RAM never exceeded 25% usage. (It also serves less than a dozen users, and they do not use it frequen ...

Score: 0
graydon avatar
Control sudoers using oidc user data
cu flag

I am implementing a Linux host login using the OpenID Connect PAM module. I use Keycloak as OIDC Identity Provider. Googling, I didn't find a solution to control the sudoers file using OIDC data (like sudoers.ldap does, for example). Are there ready-made solutions that can help me solve this problem?

Score: 1
Mj Ebrahimzadeh avatar
sshuttle automate service runs with error
br flag

I have written a service as it was given in this question but when I run the service I get only error in status.

service:

GNU nano 6.2 /etc/systemd/system/sshuttle.service
[Unit] Description=sshuttle tunnel

[Service]
Restart=always
User=user
Group=user
ExecStart=/usr/bin/sshuttle -vr my-ip 0/0 -x my-ip/32 --ssh-cmd 'ssh -i ~/server.pem'

[Install]
W ...
Score: 0
wineT avatar
qemu set different dynamic ip address for each machine
bh flag

I need to run about 7 virtual machines via qemu at the same time. The problem is that they all have the same public IP address as the host. Is there any way to give them different ip addresses? host and guest system is debian.

I searched the Internet for solutions to this problem, but none came up

Score: 1
BaconDuctTape avatar
Extend primary linux partition to use all available space
ne flag

I am trying to resize my primary/boot partition to use the added 30GB (virtual machine on Proxmox). As you can see my boot partition is full. I am fairly new to all this so, I'm following the answer from here: Ubuntu - unable to extend partition with growpart - partition 1 could only be grown by 2046

As I understand it, I have two partitions "in the way" of my free space, so I can't simply growpart

Score: 0
How can I disable subdomain connecting in my nginx proxy server port?
mx flag

I have a cloud server that will have several applications running on it. I have a domain already pointed to this server. Now I want to achieve the following:

  1. Have some ports that will be accessed only via IP address

  2. Have some ports that will be accessed only via a sub-domain

  3. Have a port that will be accessed only by the domain

    server{
    listen 3000 ssl http2;
    ssl_certificate certs/certificate.crt; ...

Score: 0
SMich avatar
Apache/httpd not loading php-zts.so after PHP upgrade to 8
gb flag

After an upgrade to PHP 8, I can only use non-threaded PHP instead of threaded (ZTS) PHP.

The server is CentOS 7, running Apache. The Server API is Apache 2.0 Handler. I used Remi's RMP Repository Configuration Wizard to upgrade PHP from 7.4 to 8.2.4. After the upgrade to PHP 8, Apache was running with threading enabled, but would only load the non-threaded PHP module and failed.

I see both two PHP  ...

Score: 0
Eric avatar
Route all incoming internet traffic from wg0 through wg1 in Wireguard
sn flag

I have a Debian VPS which is running two different WireGuard interfaces. The first one, wg0.conf, is being used by myself to connect to the VPS. Next, I would like to route all my internet traffic from wg0 through wg1 which uses my desired endpoint.

In other words, I am trying to set a double-chain system.

I have spent quite a few hours trying to fix this issue but, whenever I enable both interfaces, ...

Score: 0
Sapu avatar
How to setup nginx as a direct proxy by getting destination infos from the url
pg flag

I'm trying to learn if it's possible to use Nginx to proxy my connection to a url so when I browse for "<anyUrl>.myDomain.com", nginx takes the <anyUrl> part and proxies my connection to it.

Do you know how can I achieve this?

I've tried using this without success since I can't even contact the example "google.com.myDomain.com":

server {
    listen 80;
    server_name *.myDomain.com;

    loc ...
Score: 0
Aleksandar Pesic avatar
Failed to join a computer to samba domain (Zentyal) - Couldn't join realm: Insufficient permissions to join the domain
in flag

I'm relatively new Zentyal user (few months), and I love it! But I've ran into a problem I hope someone can help me with.

In my deployment I have two Zentyal servers (zentyal-1.mydomain.com and zentyal-2.mydomain.com), both running "Domain Controller and File Sharing" service. The idea is to have primary and secondary DC controller. I was using this setup successfully for a few months, meaning that  ...

Score: 0
user89978 avatar
Serve file using nginx web server
cw flag

Hi I have static file (song.mp3 under /song directory in the VM) that I would like to serve under path /song using nginx web server. If anybody visits the path in browser, the file should start downloading.

I added the following info in the config file

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

    location / {
        root   /usr/share/nginx/html;
        index ...
Score: 0
Richard Rosner avatar
migrate learned ham/spam from rspamd to SpamAssassin
cn flag

As whitelisting by sender domain is very unreliable in rspamd and the developer on GitHub doesn't give a damn (the post in discussion is only being ignored, opening an issue for it since it clearly only works like 10 % of the time only results in a rude answer and the issue being closed), I decided to move to SpamAssassin. It's already set up, now the question is if there's a way to migrate the learned  ...

Score: 0
tman98 avatar
Using PostFix address rewriting to entirely remove a recipient from an outgoing email in a relay
pn flag

I am trying to use postfix to entirely remove a particular recipient entirely from the "to" or "cc" fields of an email, but have not figure out how to do so yet.

I have postfix configured as a relay host. I am using it to relay from Exchange on Office 365 to smtp.gmail.com. This is to allow a specific user to send from their Office 365 account out of their old gmail.com email address. We have an outb ...

Score: -1
Dell R720 Memory Configuration
US flag

I have an R720 with 2x E5-2650 v2, 8x8Gb Single Rank RDIMMs and 8x8Gb Dual Rank RDIMMs. I´m not sure how to install the DIMMs I´ve read that single ranks are faster than dual ranks so should I dedicate the 8 single rank dimms to CPU 1 and the other 8 dual rank to CPU 2? Or should I populate CPU 1 with 4 single rank and 4 dual rank?

Score: 0
Flavian Rotaru avatar
oracle19c - Port 1521 open on remote VM and visible in netstat, but cannot ping with telnet
fj flag

I am running into some issues while trying to access a remove oracle db 19.3. The VM (CentOS 7) is located inside GCP Cloud and I can ping it on other ports (22), but i cannot connect to the database using sqldeveloper or even ping port 1521 with telnet.

The firewall is disabled and the lsnrctl status is up, but i'm a bit worried about the output:

LSNRCTL for Linux: Version 19.0.0.0.0 - Production on  ...
Score: 0
rethon012 avatar
Internet-facing port 443 in Azure - security concerns
ky flag

I want to deploy a microservice on Azure Ubuntu VM using one of following stacks: docker-compose/AKS using Traeffic as reverse proxy.

I'm looking for cheapest but reasonable in terms of security solution.

Will opening port 443 in my VM firewall (rest will be closed) and forwarding it to public IP in Azure create a major risk or break security rules (it will be test environment so things like DDOS do ...

Score: 0
Ian Twy avatar
Strongswan VPN with Checkpoint stuck on connecting
kw flag

I am new to strongswan and linux so i'm trying to setup a vpn connection between a linux firewall cluster and a checkpoint gateway.

So this is my node list and resources:

root@Deb-FW-C1:/etc# crm status Cluster Summary:

  • Stack: corosync
  • Current DC: fw-c2 (version 2.0.5-ba59be7122) - partition with quorum
  • Last updated: Sat Apr 1 12:04:28 2023
  • Last change: Sat Apr 1 12:04:25 2023 by root via ciba ...
Score: 0
jng77 avatar
LocalHost Host and Port Unable to Connect
se flag

I received feedback from one of the community members who showed me that my disk is full.

This is why, I would like to try to use the "Deploy and Access the Kubernetes Dashboard" using my Mac Terminal by this command - kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml

The error stated - "The connection to the server localhost:8080 was refused - di ...

Score: 2
How to load modules on Synology NAS on boot?
de flag

I have a Synology NAS (DSM 6.2.4) and I would like to load usbserial.ko and cp210x.ko on boot.

When I run:

sudo insmod /lib/modules/usbserial.ko
sudo insmod /lib/modules/cp210x.ko

The drivers work correctly, but when I reboot they are no longer loaded. Is there a way to get these to load on boot?

Score: 0
George Cardoso avatar
in Cuckoo sandbox how to setup simple gloabal routing using KVM as my guest machine?
ke flag

im using kvm because the malware im analyzing has virtualbox detection. ive gotten cuckoo working with virtualbox im having trouble with the kvm one.
I'm using ubuntu 18.04 as the main host. ive tried to make vboxnet0 host only like adapter by setting up a network interface bridge with no other networks connected. ive tried making an internal network and connecting a network interface to it. ive al ...

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.