Latest Server related questions

Score: 2
MegaBrutal avatar
How to get Linux kernel to rescan virtio disks?
id flag

I have a virtio disk mounted to a KVM guest, backed by an LVM logical volume. I increased the size of the logical volume with lvresize on the KVM host machine.

Then I had to issue virsh pool-refresh to make the KVM host aware of the volume size change. Now if I check the volume in virt-manager, I see the correct disk size. But the guest OS still sees the disk by its old size no matter what.

How can I ...

Score: 0
realnsleo avatar
Accept network traffic in one Instance from other Instances in a managed instance group in Google Cloud
uz flag

I am stuck with this. I have a Managed Instance Group (MIG) hosting a single application (autoscaled) and I have another single instance which hosts the Database. I am trying to set a firewall rule that allows Database connections only from the MIG.

First, I created an ingress Firewall Rule that allows Database Traffic to the Database Instance on port 5432 with a specified Target Tag of allow-db-c ...

Score: 0
Toodarday avatar
Proxmox ARP cache causing virtual machines MAC to change?
pk flag

I am having an issue with Proxmox and ARP changing the MAC address of virtual machines.

arp -a returns:

ipxxx.ip-51-89-201.eu (51.89.201.xxx) at fe:ed:de:ad:be:ef [ether] on vmbr0

This virtual machines MAC should not be that. Rebooting (the virtual machine) or flushing ARP cache fixes it temporarily.

The MAC fe:ed:de:ad:be:ef (feed dead beef) is a sign of someone flooding the network with a gratuitous ...

Score: 0
Benyamin Limanto avatar
SELINUX : How to make child folder rule precedence higher than parent rule
th flag

SELINUX : How to make child folder rule precedence higher than parent rule eg :

/home/kevinw/www/kp/storage(/.*)? all files system_u:object_r:httpd_sys_rw_content_t:s0

lost to /home/kevinw/www(/.*)? all files system_u:object_r:httpd_user_content_t:s0

Or my concept are wrong as it already set on the parent?

Any help is appreciated

Score: 0
TCooper avatar
Redirect or duplicate all stdout and stderr to a file permanently
es flag

I'm familiar with appending "&>> log_file.txt" to a command to redirect that output. But what if I want to log all CMD output in a file, always. Is there a config file change to redirect stdout/stderr's default location?

Closest I've found is this but it's script specific. I'm looking for a server-wide solution.

I'd prefer to have CL output still, with a file copy being made/appended to cons ...

Score: 1
Sebastian avatar
Permission denied (publickey) - in setting up Kubernetes cluster with Kubespray
ru flag

This issue is from the following documentation How to deploy Kubernetes using Kubespray. I followed their documentation word by word and reached at this point:

ansible -i inventory.ini -m ping all

Here is the above command in the documentation

The documentation outlines all the necessary steps on deploying Kubernetes to UpCloud using Kubespray and Terraform. As mentioned earlier, I could execute  ...

Score: 0
Configuring VirtualHost in Spring Boot application embedded Tomcat server in Windows
de flag

I have a private Windows server running a Spring Boot jar file and I can access it via the IP address. I have a few websites available which I am able to access via the IP address and filters. (Note that this is running on port 54654 as I have other WEB APIs as well). I have a new domain registered online and I would like to access the server by the domain name which would redirect to my server address. ...

Score: 0
Newlinux-men avatar
$ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0
lc flag

I getting below error when running xclock command to one RHEL 7 server

$ xclock 
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0

I did set below setting in /etc/ssh/sshd_config

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no

I have tried with X11UseLocalhost Yes or even with commented it out but no luck

 ...
Score: 0
kindleuptake avatar
how to programatically set nginx configuration directives to nginx.conf?
jp flag

I am trying to make a shell script to auto install a web app and the script needs to set client_max_body_size to a bigger size, at some point.

Of course, it's possible to set this directive using nano but this is not what I am looking for. The script should be able to se the value for this directive in http section by itself.


The script needs to set mentioned directive in /etc/nginx/nginx.conf.

I have ...

Score: 0
Dmitrii Mikhailov avatar
A record in Route 53 doesn't resolve
ro flag

I added an A record in my Route 53 hosted zone pointing to the CloudFront. But for some reason, it doesn't work.

route 53 hosted zone screenshot

route 53 A record edit popup

When I do dig mywebsite.com

I get

; <<>> DiG 9.16.1-Ubuntu <<>> mywebsite.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42985
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;;  ...
Score: 0
"subscriber -54320 create failed" message when connecting to Oracle DB via cx_Oracle
au flag

I have some code that is connecting to an Oracle DB via the cx_Oracle python module. When I run the query it finishes successfully, however I see the message "subsciber -54320 create failed" written to the screen when the interpreter shuts down. The specific number that is shown is not always the same, but is often consistent between consecutive runs of the code. When this occurs, I observe that it take ...

Score: 0
TL_Arwen avatar
Ubuntu 18.04 multi-AD-User mount share in /home
cn flag

I have an Ubuntu 18.04 server which is joined to our windows domain. I have set up so users can log in to the server using their AD creds which is working great. I also set up script that mounts a windows share automatically at login.

sudo mount -t cifs //tiberius/$1 /home/$1@molienergy.com/D -o user=$1,cruid=$1,sec=krb5,uid=$1,gid=domain\ users

This is a script that runs at login. In my /etc/ba ...

Score: 0
Jean-philippe Ulpiano avatar
Create a secondary organisation with the same billing account in GCP in Cloudidentity only
cn flag

I have a GCP account with one organisation and a billing account. In my case only cloud identity can be used (no Google Workspace).

Now I need to create a second organisation (in the same account or different account all ways are fine) but the billing account must remain the same.

Any idea how to achieve this ? I found only this but this seems to refer to Google Workspace only: https://cloud.goo ...

Score: 0
How to remove expired Let's Encrypt cert (Debian)
us flag

I am trying to remove the expired DST Root CA X3 Let's Encrypt SSL cert (expired yesterday) from a Debian server which is still appearing when I check in SSL Labs:

RSA 2048 bits (e 65537) / SHA1withRSA
Valid until: Thu, 30 Sep 2021 14:01:15 UTC
EXPIRED
Weak or insecure signature, but no impact on root certificate

I am still getting 'untrusted' message when some calls are made to the server and I believe  ...

Score: 0
Microsoft Active Directory and DNS on Multiple Sites
in flag

I have a 3 different site location of my company, and i have a domain controller on each site,, and I have issue with domain DNS resolving , example ::

Domain Name = ABC.Local

Site1 : DC GC+DNS IP = 10.100.101.10 Site2 : DC GC+DNS IP = 10.100.102.10 Site3 : DC GC+DNS IP = 10.100.103.10

when some client pc from example site1 try to reach the domain controller the DNS resolve it to DC on different site e ...

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.