Latest Server related questions

Score: 0
Thomas Brown avatar
Samba server - single user connection limit
pl flag

Is there a limitation for samba server to allow multiple connection's from single user? (Multiple PC's connecting to same samba server with same account) User was created through smbpasswd -a [username]

Server: AlmaLinux 9 Samba version: 4.16.4

Thank for any response

Score: 0
J'e avatar
Cannot upload to catalog in VCloud Director
eg flag
J'e

I just started seeing an error when trying to upload files through vmware vcloud director. What could be causing this? How do I view/modify storage policies?

Cannot upload to catalog "MY_CATALOG" because the storage policies or organization VDCs associated with it are not enabled.

Score: 3
Bee_Riii avatar
Azure datacenter 2019 failover cluster unresponsive after reboot only when shared disk is assigned CSV
co flag

We're seeing some really strange behaviour with a 2 node cluster on azure 2019 datacenter. We didn't see the issue right away but at some point it started happening and now we can repeat it.

We have an azure shared disk that we assign as a cluster shared volume in failover cluster manager. If we reboot one of the nodes upon starting up again windows explorer becomes unresponsive for quite some  ...

Score: 0
Domain workstations randomly get "desktop is not accessible. you might not have permission to use this network resource"
ph flag

In our local network, based on a Microsoft Active Directory Domain, running two servers and multiple Windows 10 clients(from a broad range of of producers/models), users are noticing an increase of error messages as soon as they wake up the computer from sleep or hibernation, and they sign in successfully.

The redirected Desktop folder is not accessible and an error is shown:

"\\servername\share\ ...

Score: 0
leventecsoba avatar
Localhost NGINX server returns 403 Forbidden, but works on host machine
um flag

I have a NGINX setup serving a React app and an API on my local network, with a valid SSL certificate generated by letsencrypt.

My domain is provided by domain.com, I'm going to refer to it as mydomain.com

My App works perfectly on the host machine (my laptop at the moment), but when I try to open it on mobile (which is connected to the same network), it returns a 403 Forbidden error.

Is there a mistak ...

Score: 0
noobie avatar
How to run PowerShell scripts remotely on old servers (2012 and 2012 R2)?
ir flag

I've been running remote scripts on newer VMs (2019 and 2022) but now I have to run my scripts remotely on older VMs as well. It looks like PowerShell Direct is not available on older Windows Server like 2012 and 2012 R2.

Is there a equally simple way to run remote scripts on these old servers?

Score: -1
armin avatar
How to get password without changing it in linux server
fi flag

I have linux server ubuntu 20.04 Any command to show you password belong to user ? or a file in server which can show passwords?

Score: 0
XenAinars avatar
Consolidate Azure vnet subnet to use a single outgoing private IP
in flag

I am not very strong with networking but I will try to explain. I have a vnet in Azure and inside it a subnet 10.1.0.0/24.

Is it possible to setup routing so that every IP from 10.1.0.0/24 would originate using a single private IP for example 10.2.0.1 without using a VM in Azure? (10.2.0.1 is inside the same vnet)

Thanks!

Score: 0
Radu M. avatar
Run sh script as root on Ubuntu every time a user logs-in
sh flag

I want to run a sh script as root on Ubuntu automatically, every time a user logs in. I tried to place the script in /etc/profile.d The script is being run but is run using the account of the user not as root. Is there any method to achieve this?

Score: 3
Kamal avatar
How to debug Ansible dict for failed ports with wait_for module?
mk flag

I have written the below playbook to fetch the failed port status.

  - name: Check  port status
    wait_for:
     host: 127.0.0.1
     port: "{{ item }}"
     timeout: 2
     state: started
    ignore_errors: yes
    with_items:
     - 80
     - 22
     - 8080
    register: wait_result

  - debug:
     msg: "{{ 'Failed with message: ' ~ wait_result.msg  if wait_result.failed else 'Success' }}"
 ...
Score: 0
ssb avatar
Debugging Jenkins pipelines and shared library
ag flag
ssb

We are using both scripted and declarative pipelines. In CI flow we are using Jenkinsfile and in some other flows we are using Jenkins GUI pipelines which triggers different functionality from shared library. Our shared library is divided to vars and Src where all our classed are located and vars where we have common pipelines steps we use.

We are interested in finding a way that will allow us to ...

Score: 0
Mehdi Javan avatar
How to reroute from one subdomain to another in AWS Route53?
cn flag

I have two hosted zones (main.mydomain.com and backup.mydomain.com). They include similar records (more than 100 records). Their records only differ in value/route traffic to. The main subdomain records route to my resources in my main AWS region and the backup subdomain records route to my resources in another AWS region that I use as backup. In case of disaster recovery, I'd like to disable or delete t ...

Score: 0
Feedos avatar
SCVMM 2022 Windows Server 2022 Bare Metal Provisioning Error
sz flag

We recently updated our SCVMM manager from 2016 to 2022. Now we want to add new hypervisors by using the physical host provisioning option from the SCVMM.

We have a physical hardware profile with a windows server 2022 vhd which was installed from a 2022 ISO and then syspreped (OOBE + generalized). However the setup of the hypervisor always fails at step 1.2.8 in the SCVMM (Retrieve information ab ...

Score: 0
Rage avatar
Map OpenShift 4 OnPrem interfaces to IP ranges to projects
ca flag

I have an OCP 4.11 On Premise (IPI) cluster, consisting of three nodes, each one being a worker and a master. There are multiple projects, 4 shown as an example in the drawing below.

Infrastructure Overview

On the client side (not shown), there are multiple client groups, separated via subnets (172.16.x.0/24). For each group, there are services in a corresponding project.

The goal is to establish a g ...

Score: 0
Pratyush avatar
Reading openssl s_client output
pl flag

I am trying to read the openssl s_client command output, specifically the topmost section about depth and verify information. Need some help understanding how to read the output and verify information.

Tried the below command with google.com.

openssl.exe s_client -connect google.com:443

The above command gives the output below. Just pasting the topmost section.

CONNECTED(000001D8)
depth=2 C = US, O  ...
Score: 0
How to enable disk performance display in Windows 2019 task manager?
us flag

On Windows server the disk performance is not displayed by default in Task Manager.

For Windows 2012R2 (and some other versions) it can be enabled by the command diskperf -y (and restarting Task Manager).

This does not work on Windows 2019. Is there another solution?

(all solutions on internet that I found are for older Windows server versions)

Score: 0
FIFO avatar
map nginx $request_uri to port
om flag

I want to create a map between nginx $request_uri and $port I have many location and each location works with its own port. for example I have:

location /path1 {
    proxy_pass 127.0.0.1:10000
}

location /path2 {
    proxy_pass 127.0.0.1:10001
}

I want this:

map $request_uri $port {
  /path1 10000;
  /path2 10001;
}

location $request_uri {
    proxy_pass 127.0.0.1:$port
}

How can I config like thi ...

Score: 0
Johan VC avatar
Ubuntu 22.04 error in virtual machine : net ads join -U gives error 'illegal instruction (core dumped)'
fo flag

I am trying to join a Ubuntu Desktop 22.04 (running on VMware ESXi 7 hypervisor) to my domain. All goes well untill the command 'net ads join -U admin-user'. Then I get 'Illegal Instruction (core dumped)'.

I have the same problem on three of these virtual machines. Before I joined the same Ubuntu (which was installed on a physical pc) without any problem.

I must also note that I could only get it in ...

Score: 0
greez' avatar
Updating the `/etc.ufw/before.rules` file to allow `ufw` firewall redirection
je flag

I need to Configure My Server so that the ufw firewall running on it can redirect port 8080/TCP to port 80/TCP. From quick research, I know I can do it in Two ways; one is to run a command similar to;

sudo ufw allow 8080/tcp to port 80/tcp

On my Terminal. The other is to modify the /etc/ufw/before.rules file which is a file containing the iptables rules - underlying rules that ufw firewall is built on ...

Score: 0
Музаффар Файзуллин avatar
How to track file lifetime using lsof?

I have read article https://tailscale.com/blog/case-of-spiky-file-descriptors/ where author investigates anomalies with the amount of open file descriptors. He said that made snapshot of open files using lsof which allowed him to track lifetime of file:

01:12:17.24    tailcontr 142810 ubuntu  273u     IPv6   5725049    0t0     TCP 172.31.10.244:https->1.2.3.4:57666 (ESTABLISHED)
01:13:32.17    tai ...
Score: 0
Rajsekar Reddy avatar
Is there anyway i can build iOS app using Jenkins without using MAC machine (even without using slave MAC mechine)
dm flag

In our organisation, we have Jenkins master server running on Linux, and able to build the Android apps and deploy it to app store.

But how to use the same Jenkins server to build the pipeline for the ios app without using any MAC mechine.

What i tried: I found few 3rd party/unofficial MACOS docker images to run on containers and 3rd party macos ISO images to run on virtualbox on linux mechine, but as  ...

Score: 0
stackprotector avatar
NetApp ONTAP certificate expiry_time format
th flag

I want to configure an expiration period of 5 years for a root CA certificate on NetApp ONTAP via its API.

The expiry_time is documented like this:

expiry_time

Certificate expiration time. Can be provided on POST if creating self-signed certificate. The expiration time range is between 1 day to 10 years.

An example for 365 days is P365DT. I am not aware of a format to specify time periods like this. Ca ...

Score: 0
Wannes ICTHarbor avatar
UID of windows Active Directory user seems to have been overwritten on storage host passwd
mh flag

I have an issue which has me scratching my head, and I dont know where I need to enable deeper logging to find the source of the issue.

We have a third party appliance, where we do have root ssh access to for management.

We have been running on a backup server for a while but now we have switched back to this storage server to start setting up good storage practice with a clean slate.

AD: Windows Serve ...

Score: 0
5KO avatar
Extend RAID volume size with storcli
ve flag
5KO

I have RAID1 on 2*240GB HDD , witch i changed with 480GB SSD's. I changed disk 1 , wait for RAID to rebuild, and then change the other. Now I have 240GB RAID over 480GB disks, and cant find a way to extend the volume , so I can use all the space.

 .\storcli64.exe /c0/d0 show
CLI Version = 007.1704.0000.0000 Jan 16, 2021
Operating system = Windows Server 2008 R2
Controller = 0
Status = Success
Desc ...
Score: -1
Vlad avatar
Solutions to relay (not redirect) incoming HTTP requests to existing HTTPS server?
eg flag

Looking for a Linux HTTP-listening-app which would relay incoming requests as-is to a remote HTTPS server and relay the (decrypred) responses back.

Basically we have a blackbox https VM for which the access is lost and its certs have expired. While devs are working on implementing a replacement (by end-of-year) we need our numerous other apps to keep talking to it. It would take significant time  ...

Score: 0
John Moore avatar
DNS issue with previously working site - ping shows "Name or service not known"
ph flag

A website I am responsible for, running in the cloud (at Hetzner), suddenly became unavailable yesterday because of a DNS issue. The server itself is up and running fine and can be accessed by IP address. Yesterday a ping resulted in "Ping request could not find host [xxx]. Please check the name and try again." Today it has moved on to "ping: [xxx]: Name or service not known". It's not a local issue wit ...

Score: 0
cozby avatar
Dovecot + imap_sieve learning spam
es flag

Have dovecot+sieve. It's most often recommended that users train spamassassin/rspamd in the following way: A Spam folder is created in each mailbox (Junk type) Further, through the imap_sieve plugin, we look, if the letters are moved to this folder, then we consider them spam and call the script (in this case, spam.sh)

require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];

 ...
Score: 0
user1560141 avatar
access web server on private network
kg flag

I would like to access a web server(10.0.0.3) on private network via other machine, that has connection to the private network(10.0.0.2) and has a public ip too(23.88.XXX.XXX). I am trying with this, but it is not working yet:

iptables -t nat -A PREROUTING -i eth0 -p tcp -d 23.88.XXX.XXX --dport 80 -j DNAT --to 10.0.0.3:80
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Can anybody help me, what  ...

Score: 0
Can I expose a public endpoint from an Azure Static Web App API?
gh flag

I am building a static web application (using Blazor) which includes a Azure Function (C#) API. This is specified when creating the the static app on the portal and is built with GitHub Actions.

In the client code I access the api with HttpClient.GetAsync($"api/{route}") where route is the function Route parameter. This all works fine!

But can I expose a public endpoint to some of the API functions ...

Score: 0
itsavvy2015 avatar
Updating Windows Server Fail Over cluster
de flag

I would like to know what is the best practice to perform windows update on Windows Server Fail Over Cluster via WSUS on a scenario below where two servers named WSFC01 & WSFC02 are in the same OU:

Organization Unit 1 (with GPO)

WSFC01

WSFC02

Is it ok to have one of the two servers in the OU to be moved out temporarily into another temporary OU when pushing the update on the server in Organizational U ...

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.