Latest Server related questions

Score: 1
Changing KVM VM listening on 5901 to some other port
bd flag

OK this is rather silly, but real problem.

vncserver keeps binding on 5902 port. That is because qemu is listening on 5900 and 5901:

% netstat -lntup 
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:5900          0.0.0.0:*               LISTEN      1090/qemu-system-x8 
tcp        0 ...
Score: 0
Martijn de Munnik avatar
Can't see udp packets with nc command, works with tcpdump
my flag

I'm trying to capture UDP data using the nc (netcat) command but it doesn't output anything. What options/parameters do I need to pass to the nc command to get the output?

tcpdump does show the UDP data. The reason I'm trying nc is that when I know how to capture I can use these settings in another program that eventualy needs to listen for the incomming data.

Things I've tried with nc are:

$ nc  ...
Score: 1
Use relative parent directory links in Apache httpd mod_autoindex
in flag

With Apache httpd mod_autoindex, the generated index pages use relative (without the leading slash) links for individual entries, for example:

    <a href="failure/">failure/</a>

The "parent directory" link is absolute (includes the leading slash), though:

    <a href="/project/2023-08-23/">Parent Directory</a>

Such behaviour breaks parent directory links in a reverse proxy set ...

Score: 1
snehasish nandy avatar
ISO not booting using powwercli
rs flag

Using below codes I am able to mount ISO to the CD drive of a VM and change the BootOrder of the VM


$CloneVM = Get-VM -Name "999_SW999OSTest_Clone"
$IsoPath = "[NPROD_LUN-01_DEV_3333] Patches/SW_DVD9_Win_Server_STD_CORE_2019_1809.2_64Bit_English_DC_STD_MLF_X22-18452.ISO"

        $CDDrive = Get-CDDrive -VM $CloneVM
        $CDDrive | Set-CDDrive -ISOPath $IsoPath -Confirm:$false -StartConnected:$t ...
Score: 0
Christopher avatar
Aide Does not Write aide.db After Successful Scan
ph flag

I have installed aide on Ubuntu 22.04 and left the default configuration. After it ran, I got an email report that indicates that everything went smooth. See the report below.
The /var/lib/aide/aide.db.new and /var/lib/aide/aide.db are zero bytes. There's plenty free space on the device and I can't find anything unusual in the log files.

Any ideas how to search for the cause of that issue?

AIDE return ...
Score: 0
Ilya Shmadchenko avatar
BIND9: Host xxxxx not found: 2(SERVFAIL)
lu flag

I've installed and set up the bind9 DNS server on UbuntuServer 22.04.3.

Then I've checked my hosts. And I have got an error:

host host1
Host host1 not found: 2(SERVFAIL)

But the reverse operation works without any problem.

host 192.168.0.16
16.0.168.192.in-addr.arpa domain name pointer host1.

My forward zone is:

;
$TTL    604800
@       IN      SOA     ns.obfuscated.com. root.ns.obfuscated.com. (
    ...
Score: 0
user3755790 avatar
Since private MS store no longer working, what is the best practice to set policy on MS store?
tr flag

Since private MS Store no longer work in the policy

What is the best practice to set policy on MS Store.

Atm, our company is blocking access to MS store, however this cause a lot of issue with autopilot and not getting Company Portal. I know we can put Company Portal in Intune which we already did, but even so Company Portal is installed in the laptop, however we can't open it. Also all those common ...

Score: 0
dr.ipkins avatar
linux mint immediately wakes up after going into standby mode
gb flag

Windows sleep mode work fine. linux mint not work. wakes up after going into standby mode immediately. 1 sec max

[ 4152.930790] ACPI: PM: Preparing to enter system sleep state S3
[ 4153.271045] ACPI: PM: Saving platform NVS memory
[ 4153.271097] Disabling non-boot CPUs ...
[ 4153.272696] smpboot: CPU 1 is now offline

[ 4153.289514] smpboot: CPU 11 is now offline
[ 4153.290053] ACPI: PM: Low-level  ...
Score: 0
SACHIN HD avatar
Apache 320 redirect loop with correct htaccess and virtualhost conf
me flag

I am web designer and I manage a VPS Server.

Server is LAMP Ubuntu 18 apache2 PHP 7.4 root index.html

This page isn’t working test.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS

Have checked the .htaccess and vhost conf could not find anything wrong

   Status:  302 Found
   Code:    302
   Date:    Mon, 21 Aug 2023 06:07:02 GMT
   Server:  Apache/2.4.29 (Ubunt ...
Score: 0
TGates avatar
Postfix : Only receive emails from specific tlds?
tr flag

I've been searching everywhere and can only find how to block specific tlds.

I've set up a rejected_domains file that blocks tlds which I have to manually add as they appear in my inbox.

Basically, allow only .com, .net, .org, .gov, .edu... type domains.

With so many tlds out there now throwing spam, I'd prefer to have a whitelist of accepted tlds.

I do have checks in place like spamhuas and the like, als ...

Score: 0
peppy avatar
Dropzone: How to upload video to S3 using presigned URL and play it in browser? Doesn't quite work
gb flag

I have Dropzone set up to allow users to upload videos directly to an S3 presigned URL using the PUT method. Here is my Dropzone script:

var presign = "#";
Dropzone.autoDiscover = false;
var myDropzone = new Dropzone("#dropzone", {
  url: presign,
  method: "PUT",
  dictDefaultMessage: "Click Here upload video.",
  maxFilesize: 10000, // MB
  maxFiles: 100,
  addRemoveLinks: true,
  headers: {
     ...
Score: 0
adding a static route with nmcli to virtual bridge breaks kvm networking but
cn flag

I have a virtual bridge br0 created with nmcli, with a physical ethernet interface attached to it

the bridge device is the used with kvn virt-manager virtual machines. They get a static IP address. For instance, one VM gets the IP address 192.168.39.11 The host is 192.168.39.10

:

root@black:/etc/NetworkManager/system-connections# nmcli con show
NAME               UUID                                  TYP ...
Score: 0
FlyingPenguin avatar
Is it necessary to recreate a Google-managed SSL certificate when switching the SSL resolution to a different provider?
mx flag

I attempted to migrate a website from GCP to AWS Lightsail and then back again in order to gain a better understanding of the process. However, I discovered that the process was not as straightforward than I initially thought.

Steps I followed for migrating to AWS:

  1. I set up an AWS Lightsail instance.
  2. I directed the A record to point to the AWS Lightsail instance.
  3. I installed a Letsencrypt SSL certi ...
Score: -1
acordero avatar
Upgrade Windows Server non-english in Azure
vg flag

I am migrating a VM with WS 2016 Standard to Azure, and in the test migration I selected the upgrade to WS 2022, and it has given this error "compatscan failed with the error code -1047526908" about which I cannot find more information...

I am also trying to perform the manual update, but the image that is downloaded is the English version and the migrated version is in Spanish. This is the offic ...

Score: -2
Matt Morrow avatar
Mainframe and frontend access
tt flag

So I understand mainframes process data in batches. With millions of transactions per second, how is the frontend getting the most up to date data if the next batch hasn't run?

Score: 0
Small read size by Windows SMB client
fr flag

I am setting up a Linux server for high resolution online video editing. When I access the SMB share from a Windows 11 client, Wireshark analysis shows that the SMB Read requests are always a maximum of 256K in size. For efficiency I would like the disk accesses on the server to be larger.

In Linux when we mount a SMB share we can specify options like rsize. Are there similar options we can set i ...

Score: -1
Andy5 avatar
Outlook cannot be configured to receive emails from an SMTP Server
tc flag

I have installed an SMTP Server on Windows 2022 to on an internal network. So, outside emails. The server runs, and from another server using both telnet and Powershell I can mimic an email being sent.

The problem I am having issue with is setting up Outlook. I have tried both POP and IMAP and I have entered in the FQDN of the SMTP Server and Port 25. All get back is a message saying it cannot co ...

Score: 0
pacemaker issues -- stonith
nl flag

TL;DR: I need help setting up fencing on my pacemaker cluster.

I have a cluster of three machines running pacemaker. This is in my homelab, it's not a work setup.

Two are physical Dell servers. An R720xd and an R710. The third is a VM running on a beige box under libvirtd/qemu. The physical servers and the VM are Ubuntu Server 22.04.

These three machines also serve as members of an innodb cluster.  ...

Score: 0
0xPwn avatar
Why is there a large deviation in wait time for nginx server
pn flag

I have an Nginx server that acts as a reverse proxy and a static file server.

My users complain that sometimes the response is slow.

I tried examining the .her file to understand the issue better and found something unusual.

time wait on https://cdnjs.cloudflare.com****
[10.00600000781566, 10.09000002155453, 12.657999974526462, 30.81500001040101, 50.140000049091874]

time wait on  https://fonts.gstatic.c ...
Score: -3
user61104 avatar
changing the sshd port to 2222 still accept only port 22 ubuntu 23.04
mc flag

i change the port in /etc/ssh/sshd_config to Port 2222 enter image description here but when i try to login ssh -p 2222 myuser@hostname_ip it gives me : enter image description here

but when i try with port 22 all working i did restart the vm after change . what im missing here ?

Score: 0
ricardo3889 avatar
Mdadm Raid5 kicking non-fresh drive from array
cn flag

I set up a mdadm raid5 with 3 drives initially: sdc1, sdd1, sde1. They array creation was successful without issues. Later I decided to extend the array using one more drive. After proper partitioning, I added the device sdf1 to the array and expanded the partition all without issues. I had the drives in an jbod, but I needed to update to a newer jbod to have more available bays. Before I moved the phys ...

Score: 4
What is the difference BM and KMP algorithms in iptables string search?
in flag

Iptables has a string module for searching packet contents. But it forces you to choose between one these algorithms: Boyer-Moore (bm) and Knuth-Pratt-Morris (kmp). I couldn't find any good documentation on which cases should I use one algorithm over the other.

Which one is better?

The other issue I found is that BM sometimes misses packets. I've found reports of people having the same issue.

# iptables  ...
Score: 0
nightWolf avatar
can not sudo to root in Ubuntu instance
nr flag

I have an error when i want to become root

╭─saviam@server ~ 
╰─$ sudo -i                                                                                                                                                                                           
   sudo: myPassword*: command not found
╭─saviam@server ~ 
╰─$                                                               ...
Score: 1
Sirwan Mohammed avatar
HP DL380 "no bootable device"
dz flag

We have HP DL380 Server running Windows Server 2012 R2. Now we have a problem with its startup. The error message is: "No bootable device. Please attach a legacy BIOS bootable device."

Score: 0
Oren avatar
Ethernet connection is dropped when restarting openibd ( Infiniband ) service
in flag

I have a multiple servers with Ethernet controller on board and InfiniBand controller installed in a PCI slot.

The problem is when im restarting openibd.service which should control only the infiniband adapter, for some reason, my ethernet network is restarting as well.

If im stopping openibd, my ethernet stops as well.

Ethernet and InfiniBand should be separate and independent from each other.

I need to  ...

Score: 1
c240amg avatar
Internet failover on Cisco ASA 5500 series Primary ISP is on DHCP address and so is backup. Always defaults to backup
de flag

I had SLA MONITOR setup on my ASA and working fine for months. All traffic was routing through my primary connection. I rebooted my ASA after a firmware upgrade.

When it came back, it would always default to the backup line. I disconnected the backup line and then all traffic would use the primary line after about 5 seconds.

The moment I connect the backup line, within 5 seconds, all traffic would b ...

Score: -1
RedOne avatar
Log of import pst file in exchange server
im flag

i have exchange server 2019 i imported the PST file and export pst file in web panel both is queued and never start or do anything how i can stop the import pst or export pst file and saw the log of import and export

i try use this command

Remove-MailboxExportRequest -Identity "it"

but i got error

Remove-MailboxExportRequest : The term 'Remove-MailboxExportRequest' is not recognized as the name of a ...
Score: 0
Martin rudez avatar
Getting error while secrets for gke ingress
mm flag

Using gke cluster but ingress is not loading a load Balancer

error:error syncing to gcp: error running load balancer syncing routine secret does not exist

I want to know the reason why iam getting error

I want to fix this issue

Score: 0
try it avatar
Can't run a blockchain application based on Node.js and Hyperledger Fabric 2.1
pn flag

What I want to do (the short part of the post)

I want run a project below successfuly

The problem

I installed a blockchain project from GitHub,which is built with Node.js and HyperlederFabric V2.1.This is its link:https://github.com/TasinIshmam/blockchain-academic-certificates. After completely installing according to its instructions, I ran the web-frontend and found no errors in "register" or "lo ...

Score: 0
Al Grant avatar
Service to monitor Service not triggering
ng flag

On Ubuntu 18 I have a service :

[Unit]
Description=Gets CSV
OnFailure=pushovercsv.service

[Service]
ExecStart=/usr/bin/vehicles.sh

[Install]
WantedBy=multi-user.target

This works. I am trying unsuccessfully to setup another service which alerts me if the first service is stopped or in failed sate:

pushovercsv.service

[Unit]
Description=PushOver Notifaction for vehicles CSV Service

[Service]
Type=sim ...

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.