Latest Server related questions

Score: 1
Julien Ripet avatar
A process just won't die
jp flag

For context: I have been playing with stable diffusion on my home server lately, but because my GPU is pretty old, the process often crashes and hangs when I try to go too far. Usually, I'd just kill it with ctrl+C and restart the process. But today,no matter what I do, it seems like the process refuses to die.

I've looked it up a bit, it is not a "zombie" process, both sudo top and ps ux | awk '{if($8== ...

Score: 0
MC-AEG avatar
Custom VHD with Azure Marketplace Baseline Will Not Join Azure AD Domain
gy flag

My goal is to upload a customized VHD into our cloud-only USGov environment and turn it into an Azure AD-joined template. My challenge is the option Login with Azure AD is disabled.

The image is a Windows 10 Pro x64 21H2 OS originally obtained via Azure Marketplace. It has since been hardened to comply with US government regulations. After hardening the VHD, I followed all the guidelines found in ...

Score: 0
rmp avatar
communication failure between availability zones in one region in AWS
kr flag
rmp

Is there a possibility for communication failure between availability zones in one region in AWS(assuming both AZs are up but only network communication failure)? If there is communication failure, is it considered as AWS region failure?

Score: 0
Oleg Sabetskyy avatar
How to proceed with the verification of my application in the Oauth of Google Cloud
sv flag

I have a webapp that is uploaded on multiple domains, and on each domain the webapp is a bit different. It is a webapp that is personalized by domain, so the brand name can change depending on the domain. Even though they can change, all of them are just a theming for the same webapp with a different name. I would like to add a Google Drive functionality to all of them, and for that to be feasible to pu ...

Score: 0
tlholoheloh101 avatar
Issue adding space from /home to /var with ext4 fs debian 11
sl flag

My /var is full on 9.1GB and I need to increase space to 100GB from /home that has 1.4TB. When I run fdisk it keeps giving me the same default amount of space (9.1GB). Is the another way of adding more space from /home to /var that I can use to resolve this issue. These are physical partitions (take space from /dev/sda1 add to /dev/sda3) Any advice or suggestions are welcome.

Score: 0
Hamid Rana avatar
Allowing and restricting access to specific URL in Apache 2.4
ml flag

I am new to apache. And I want to restrict access to this URL(https://testserver.com/admin.php) for public IP addresses. And I want to allow access to the same URL for specific IP addresses. I am using debian 11 and apache version is 2.4

How can I do that? Thanks.

Score: 0
Billy K avatar
Ansible Findall capture groups and list
br flag

I think I'm confused with Python and Ansible findall. Can I use capture groups in Ansible? For example, How can I capture group 1 and group 2 then reverse the position in the resulting list?

For example, I'm pulling some block devices info of a VM from a KVM host. The part in the XML looks like this. I'm trying to get the device name vda and the underlying file win01.qcow2

<disk type='file' device='d ...
Score: 2
mhn2 avatar
How to limit the number of port forwarding connections - ssh
af flag

I have a user on my linux server which is used for proxy. Currently the shell access and a lot of other features are disabled and the following command will be used on it:

ssh proxy-user@server -D 1080 -N

However recently I decided to put a limit on the number of simultaneous connections.

I've tried limits.conf and MaxSessions, but none of them can deal with the ssh -N argument. They won't count ...

Score: 0
Mnemosyne avatar
Apache2 how to generate random string for subdomain
fr flag

I want to issue a redirect to a new randomly generated subdomain name for every request I get. Below you can find my vhost configuration. I want to do a redirect towards a subdomain containing some random alphanumeric string in . It's ok if it is something as basic as the datetime+ip of a client or something like that, I just need to do some fingerprinting, it doesn't have to be more complex. Is there a ...

Score: 0
Mourndark avatar
How can I sync two S3-compliant buckets which have different credentials?
br flag

I've got a MinIO bucket (which uses the S3 API for access) and I want to copy all its data into an AWS S3 bucket. They both use the same API, but the I can't find a tool that lets me copy directly from one bucket to another using two sets of credentials.

The only way I can think of is to use s3cmd to download the files one at a time using the MinIO credentials, then use the AWD CLI to upload them to S3. ...

Score: 1
TragicLife avatar
What did Oracle Cloud do, so I could sudo without password on SSH session?
mn flag

I noticed that Oracle Cloud's pre-generated key pair could login into Linux server without password, and sudo without password, too. I can't reproduce this situation anywhere else I known.

The difference between Oracle Cloud and others is that it also generated a user ubuntu (For Ubuntu. And for Oracle Linux, the default user is opc. Whether the distro I use, An opc user is always generated) at OO ...

Score: 0
sam23 avatar
How To install ChromeOS Flex on AWS
cn flag

How To install ChromeOS Flex Install AWS ec2, I go through this link but did not get so much help related to AWS Using CloudReady-Home-v83-x64.ova in my VMware Workstation Player, it works fine, but I want to deploy the new OS in my AWS EC2 instance, how can it be done?

Any kind of help would be greatly appreciated.

Score: 1
Dennis2022 avatar
ESXi command to check power supply status?
io flag

I need to check the power suppliers status of an HP ProLiant DL380 by ESXi to create/get a note that informs me if one dies.

By using the command esxcli hardware ipmi sdr list i'm getting pretty close to what I want:

Node-Sensor Description Entity-Instance Computed Reading Base Unit Raw Reading

0.3 Power Supply 1 Power Supply 1 10.1  ...

Score: 1
shelbypereira avatar
windows PC configuration: force logout/ kill existing sessions on restart
th flag

As part of our PC Build ,configuration and deployment process, we use Window Deployment toolkit and WCD (windows configuration designer) to setup 4 users with different access. Some users are in kiosk mode.

We see that when a user is logged in and we perform a hard shutdown (pull power cable), then when we start the computer again, the user session is still active, and we are unable to logout the ...

Score: 0
DaniKR avatar
Mount CIFS is seeing directory on network share only if extra directory is created
it flag

On my CentOS ver 7, I have mounted drive from Windows Server 2019 (with shared name "Backup-disk"), and on this drive I have two directories ("A" and "B").

Now I have mounted drive with this command:

sudo mount -t cifs -o vers=2.0,username=...,password=...,domain=.. //X.X.X.X/Backup-disk /mnt_backup/

Code above works, but, when I go to the directory /mnt_backup/ I see two directories:

  1. A
  2. System Volume I ...
Score: 0
Sarev avatar
IAM Dialogflow API Client role
ng flag

I received the following message:

In Dialogflow, the IAM Viewer role currently allows users of the console simulator to test agent conversations and to call the API's detectIntent/streamingDetectIntent methods. Starting January 31, 2023, Google will remove this permission from this role. Therefore these actions will require the ‘dialogflow.sessions.detectIntent' or ‘dialogflow.sessions.stream ...

Score: 0
Can't browse to local IIS site with local user
vn flag

I'm trying to setup a very basic FTP site on my local machine using IIS and then to browse to it. And although it seems simple, I just can't get it to work with basic authentication.

The risk posting it here is that the answer seems simple as the error I'm getting is

Response:   530-User cannot log in.
Response:    Win32 error:   The user name or password is incorrect. 
Response:    Error details: Ano ...
Score: -1
Ellisein avatar
Debug ASP.NET k8s services on GKE
ws flag

Is there any way to remote debug ASP.NET kubernetes services on GKE?

I tried to search related articles but I only found debugging local kubernetes services or them on AKS (with Visual Studio or VSCode).

My Environment:

OS(local PC): Windows 10

IDE: JetBrains Rider / Visual Studio 2022 / VSCode (no matters)

Language: .NET 6 (C#)

Kubernetes: GKE (Google Cloud)

Score: 0
Taha Moeini avatar
One domain with several mx records, allowing some users to use Google Workspace and others to use roundcube from the server
pl flag

All setup and MX records have been configured for the domain example.com, which I added to my Google Workspace account. I also own the website example2.com. These two domains belong to two separate businesses with various users. In the case of example.com, all users are required to have a Google Workspace account and a Gmail address, such as [email protected], whereas, in the case of example2.com ...

Score: 1
Ethan_m avatar
why iptables won't deactivate on centos7
nc flag

I have a directadmin server running on centos 7 machine. it's running for years. We have our own firewall on the network so we don't need linux firewall anymore but I faced to some problems during deactivating the iptables.

I deactivated iptables using "service iptables stop" or "systemctl stop iptables " and "systemctl disable iptables", nothing happened an I still wasn't able to ping the server ...

Score: 1
Omid.akz avatar
v2ray and connect to a proxy server
cx flag

i want to use a squid proxy to make a http proxy between 2 servers. one of my vps(num 1) is in iran (centos 7) and another one(num 2) is other country. i was installed squid proxy on vps 2 and v2ray on vps 1. i configure v2ray outbound like this :

{
  "log": {
    "loglevel": "warning", 
    "access": "./access.log"
  },
 
  "api": {
    "services": [
      "HandlerService",
      "LoggerService",
 ...
Score: 0
AKd avatar
What is the difference between -i and -u options in gsutil rsync command?
mq flag
AKd

The gsutil rsync documentation describes two options which sound identical:

Option Description
-i This forces rsync to skip any files which exist on the destination and have a modified time that is newer than the source file. (If an existing destination file has a modification time equal to the source file's, it will be updated if the sizes are different.)
-u When a file/object is prese ...
Score: 0
Qian Chen avatar
How to reject spam emails with from field as my own email address?
in flag

I run my own postfix/dovecot email servers. Recently a lot of spam emails with identical from and to fields, which is my email address, flooded into my inbox. I added check_policy_service unix:private/policy to smtpd_recipient_restrictions, but it didn't stop the spam with my own email address as sender from flooding in. I checked other similar questions, but none of them helped. I wonder if there ...

Score: 0
N8DW avatar
Is it possible to determine individual data centers that store my data?
va flag

I'm using Google Cloud Platform Multi-Region storage to store data for a hobby project. I wanted to have it easily backed up without much fuss, so I selected this. My data is stored in the United States and it's storage tier is managed by Autoclass.

Largely for curiosity's sake, I'm wondering if anyone knows how one can determine which data centers in Google's network are storing my data.

I'm famili ...

Score: 0
MrVerde avatar
Setup new router with SQM - Buffer Bloating solution
tn flag

Scenario. I'm in Tbilisi, Georgia. I have very high ping to EU servers(100ms+) plus a huge buffer bloating problem, this test gave me the F rank: https://www.waveform.com/tools/bufferbloat I use an optical Fiber connection, 100 Mbps connection from Magti ISP and fiber connection PC <-> Router.

I can't solve the high ping issue, but I can solve the Buffer Bloating.

I have a router or modem f ...

Score: 0
best_of_man avatar
How to add "Kind" settings to "/.kube/config" file?
pl flag

I have installed kubeadm previously and configured it using kubeadm --init and the configs are inside /.kube/config file by now. I recently installed kind and want to know how should I configure it?

My goal is to using kind to work with kubernetes locally alongside skaffold. It seems images can't be pulled directly from a local storage to kubeadm using skaffold and we need something like kind in  ...

Score: 0
Budianto IP avatar
Move emails to another folder
cn flag

I have a mail relay server. Customers are using our server to send emails.

The server stores all outgoing and incoming emails in a mailbox folder "/usr/local/atmail/users", the folder structure will be like this:

One day, bob configured an incorrect filter in which the emails were sent to the wro ...

Score: 0
Jose Alvarez avatar
Why rabbitmq is waiting for start?
ug flag

I´m doing a multinode OpenStack deployment with Kolla-Ansible. Currently, I have three nodes; a deployer node that provides the other two with all dependencies and Kolla-Ansible runs here to the other two. A Controller node with keystone, glance and neutron, and finally a compute node with nova.

All machines are connected throught azure VPNs. Here is a brief diagram of the network topology

All th ...

Score: 1
Billy K avatar
Create parameters from a list of lists
br flag

I have a fact, which is a list of lists, e.g. [ [disk1, filename1], [disk2, filename2], ... [diskN,filenameN] ]

I need to run a command in the format like command -x disk1,file=filename1 -x disk2,file=filename2 ... -x diskN,file=filenameN

I can't figure out how I can flatten the list and insert the option -x and file to create the string.

Any suggestion is appreciated. Thanks Billy

Score: 0
Sergei avatar
EC2 instance connect - impersonating anyone on the server by default
in flag

I am looking at ec2 instance connect and it seems it just allows you to impersonate any user that exists on host.

How is that useful or secure? In what scenario would I want to allow this functionality?

i am testing it with IAM role that has all privileges

mssh [email protected] eu-west-2 --profile myprofile -t $INSTANCE_ID 

logs me on as myself, fine ( my user exists on host).

mssh some_other_us ...

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.