Latest Server related questions

Score: 0
Shouma avatar
Squid doesn't cache with Kerberos auth
jp flag

I am using a squid proxy with kerberos auth. Everything works great for months now, but my only problem is, that squid isn't caching anything! As soon as I switch to NTLM auth, squid is caching, so I don't think, that it's a squid config problem. Is caching with kerberos auth generally not working?

Score: 1
Robert Foxx avatar
Apache Cloudstack XCP-ng 20.04 Volume Snapshot Failed
kr flag

I am using Apache CloudStack v 4.16 with XCP-ing center 20.04.01. While trying to take a snapshot of my volume, the below error is logged in my XCP-in center and the volume snapshot creation is getting failed.

Why do I get this error and how can I prevent it?

[error||10737525 ||backtrace] Async.host.call_plugin R:07603c920ee8 failed with exception Se
rver_error(XENAPI_PLUGIN_FAILURE, [ mountNfsSecond ...
Score: 0
Itsupport ctcs avatar
block list removal request
il flag

I have checked my IP in Spam RATS and the result is the following:

List Status:

RATS-Dyna - Not on the list.

RATS-NoPtr - On the list. Worst Offender Alert.

RATS-Spam - Not on the list.

RATS-Auth - Not on the list.

Score: 1
knowdotnet avatar
Azure VM Managed Disks Drive letters
ne flag

I have a VM which has Windows OS Disk + More Managed Data Disks attached to it. Another azure VM has similar structure. I am trying to Automate Assign Drive Letter in another VM.

I checked Get-Disk, Get-Volume, Get-PSDrive, Get-Partition commands. I do not know how many partitions each source managed disk have, which partition of LUN is D: or E: etc etc. The targeted VM should have same Drive Let ...

Score: 0
Nishit Kumar avatar
Google Cloud SQL failover with unknown error
ro flag

We are using Google cloudsql MySQL 8.0 as our production database , HA is enable in our cloudsql instance and we export backup every 3 hours on cloud storage , I have noticed sometimes while exporting the database we get an error called "An unknown error occurred" and after few minutes FAILOVER takes place , so we checked the error logs and didn't find proper error or cause of the error.

Iam atta ...

Score: 0
heechan Lee avatar
Cisco nexus VM does not booting as i expected
br flag

Host Specfication

Hardware

CPU: AMD Ryzen 7 1700X

Memory: 32GB

Motherboard: ASRock X470 Master SLI/ac

Software

OS: Proxmox VE 7.1 Kernel: Linux 5.13.19-4-pve #1 SMP PVE 5.13.19-9

VM

bios: ovmf
boot: order=sata0;sata1
cores: 4
cpu: host
efidisk0: TeraStore1-4T:vm-205-disk-1,efitype=4m,pre-enrolled-keys=1,size=1M
hotplug: disk,network
memory: 8192
meta: creation-qemu=6.1.1,ctime=1648042765
name: sw1
net ...
Score: 0
Scool avatar
logfile for image hotlinking protection
in flag

In my nginx config

location = "/fake-hotlink-stub" {
internal;
if (!-f "image-physical-path/myimage.jpg") {
return 403;
}
rewrite ^ "/myphoto.jpg" last;

This allows me to serve a specific image to anyone hotlinks any image from my website.

Are you aware if i can log those requests to a file?

Score: 0
Samuel Negrín avatar
Change url for thruk
cn flag

following the official documentation, they report that to modify the thruk url, you have to change the url_prefix, I have added the following information in the path /etc/thruk/thruk_local.conf

configure url_prefix

and I have configured the corresponding aliases

configure alias

however, when I restart the apache it gives me the following error

error

in the thruk and apache logs it does not show any releva ...

Score: 0
How can I resolve "HTTP Error 500.19 error code 0x8007000d - Internal Server Error"?
id flag
Jed

I'm currently trying to redirect errors on my Tomcat project.

Currently I'm using this method of redirecting the errors by using httpsError in the web.config file. Here is the code and error that I got. HTTP Error 500.19, error code 0x8007000d And I have URL Rewrite installed.

Sorry for the horrible images, I wasn't able to take a snippet. I know there are other solutions for Tomcat (for some reason it ...

Score: 0
Nishu Ali avatar
timedatectl: Failed to query server: Connection timed out
ke flag

I have a VPS server (centos 7) with WHM/cPanel as well as root SSH access. Now I want to change the time zone of the server, but when I run the command timedatectl following message shows after some time:

Failed to query server: Connection timed out

Is there any log file or something where the reason can be found?

Score: 0
How to start tmux session with 2 panes and execute in each pane predefined command, only then connect to this tmux session?
ca flag

I want to create development environment in docker and establish there tmux session where I can see 2 watch processes (frontend watch process and backend watch process).\

I can't seem to understand how to write bash script that will create tmux session with 2 panes with predefined commands.

I want to use tmux and not some kind of "virtual split log viewer" so I can restart process in each pane manua ...

Score: 0
Onkar Madli avatar
How do I optimize Kafka Consumer and should I use Apache Spark?
cn flag

I have written a Kafka consumer to consume encrypted data(~1MB) stream and decrypt them before adding them to the S3 bucket. It takes ~20mins to process 1000 records, and if I remove the encryption logic and run the same, it takes less than 3mins to process 1000records.

The following are the configs I am currently using.

    allow.auto.create.topics = true
    auto.commit.interval.ms = 5000
    auto.o ...
Score: 0
Gurpreet Singh avatar
How to setup Ldap user to change password at first login
gb flag

I am using ubuntu 20.4 with LDAP 6.7 on web browser. I am able to add users, groups and even logged in on client machine. but unable to setup Ldap user to change password at first login at the client side.

Please help me if anyone can.

Thanks,

Score: 0
Fox Chasin avatar
I have load balancer configured on Haproxy. Can load balancer redirect traffic from port 1 backend to port 2 backend if port 1 is busy this moment
cw flag

In ha-proxy I separated my traffic to two frontend ports and created two backends. Port-1 traffic is directed both backend and port 2 traffic is directed two backend-2. I want to create a smart load balancer that detects if backend 2 is busy whit port 2 queries it will automatically send the traffic of port 1 to backend 1.

global
       log /dev/log    local0
       log /dev/log    local1 notice
   ...
Score: 0
EisenWang avatar
why the linux sshd refused the connection from putty while dos cmd accepted?
mm flag

I installed a SLES12 VM, usually I used putty to ssh to it to run my test from my windows. This morning, I found putty fail to ssh to this VM with this error --

2022-03-24T09:13:58.888898+08:00 sles12 sshd[2588]: Accepted keyboard-interactive/pam for root from 192.168.160.1 port 60620 ssh2
2022-03-24T09:13:58.889801+08:00 sles12 sshd[2588]: pam_unix(sshd:session): session opened for user root by (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.