Latest Server related questions

Score: 0
Kuezy avatar
DEBIAN 10 apt-get, sudo issues
th flag

I'm currently facing some issues with my dedicated server. I unfortunately removed some packages from my server yesterday. And now the man-db on my server seems not to work properly. This issue maybe occurs because I removed these packages. I tried to install the needed packages, but this does not work.

Whenever I try to install a package with apt-get install [packagename] I get this error message:

Score: 0
Jeff avatar
Is it possible to set the Apache protocols directive conditionally 1-time rather than in all VirtualHost blocks?
dj flag

Rather than adding protocols h2 http/1.1 in all 45 of my VirtualHost *:443 blocks, I was wondering if there is way to check for the appropriate condtion and then set protocols based on that? I think, but not 100% certain, that the appropriate test should be to see if the request was for https. Maybe I should test port instead, though?

This is what I've got so far and it isn't working.

Define PROTOCOLS  ...
Score: 0
T1mK avatar
IBM LSF Suite for Enterprise 10.2.0.12 LIM Segmentation Fault
in flag

I upgraded from IBM LSF Suite for Enterprise 10.2.0.10 to version 10.2.0.12,and now, on only one of our GPU cluster servers (1 out of 8), I can't get the LIM service to stay running. It keeps crashing with a segmentation fault:

lim[42062]: segfault at 0 ip 00007f63476c07f7 sp 00007f6345218958 error 4 in libc-2.27.so[7f6347607000+1e7000]

The process seg faults generally after a job has been submit ...

Score: 0
Dushan avatar
Nginx Server Block Always Prefix URL with String
us flag

In nginx server block I need to prefix url with country code always.

Example if request comes with example.com, I need it to redirect it to example.com/au Then I have a alias to handle /au location. But if it already comes as example.com/au I don't want this redirection to happen. Any help guys?

server {

    server_name  example.com;

    root   /data/www/public;
    index index.php index.html index. ...
Score: 0
flyfish avatar
Client boot default from WDS server not iPXE
jp flag

The background information: iPXE/DHCP Server: 192.168.0.5 Centos 7.9 WDS Server: 192.168.0.2 Windows 10

I instaled iPXE/ISC DHCP server in 192.168.0.5 and it works,also installed WDS Server in Windows 10, the issue is when I tryied install a new client that boot from network, default start WDS installation not iPXE.

I have setup iPXE menu and default from iPXE not WDS, if I stop WDS service and rebo ...

Score: 0
Run commands that run in a shell as a script
in flag

Running the following commands in a shell runs without issues:

ssh user@machine systemctl status my-service.service
ssh user@machine sudo systemctl stop my-service.service
scp -r ./my-service/* user@machine:/home/user/my-service
ssh user@machine chmod +x /home/user/my-service/my-service
ssh user@machine sudo systemctl start my-service.service
ssh user@machine sudo systemctl status my-service.servic ...
Score: 0
How to automatically turn off write cache after the kernel "hard resetting link"
cn flag

I turned off write caching on an SATA drive using hdparm -W0 $DEV

Now, sometimes, the kernel decides, it's a good idea to hard reset an SATA link in order to get communication to a drive back up and running (maybe it is a good idea, won't judge it here).

However, if that happens, the drive's write cache will be re-enabled. Upon plugging in, I can catch an udev event to automatically run hdparm to turn o ...

Score: 0
Generating Message-ID for mails sent by crond
it flag

On my NixOS installation I have Vixie cron installed, that runs regular jobs. The output for the scripts that are run is sent by e-mail using a ssmtp on the same host, that forwards the mails to my standard mail server (Postfix with rspamd).

My problem now is that most of these mails are stored in my Spam folder by the mail server. I checked the classification that is done by the spam filter and saw that ...

Score: 0
Tetrapod avatar
How to give Wireguard client access to Internet only
it flag

I have a couple of WireGuard interfaces set up and can per peer decide to give access to server only or server and LAN/Internet. What I want to do for a specific peer is to give access to the Internet only and not to the server and LAN.

I think that I can't do this on tunnel/interface level but have to do it with iptables in the peer config - right? How would I go about doing this?

I have tried to f ...

Score: 0
Tomcat application (ERDDAP server) behind a proxy redirection issues
nc flag

I have an ERDDAP instance running on a Tomcat server behind a NGINX reverse proxy. The environment is completely on Kubernetes, the RP is an NGINX ingress-controller that forwards the request on port 443 to the service instance on port 8080 associated to the container where Tomcat (and ERDDAP instance) runs.

I found this tutorial (https://www.n0r1sk.com/post/nginx-reverse-proxy-with-ssl-offloading- ...

Score: 1
lena_punkt avatar
DNS problems on pool of preemptible-only nodes on GKE: endpoints of kube-dns service keeps failed pods
br flag

I do have a GKE k8s cluster (k8s 1.22) that consists of preemptible nodes only, which includes critical services like kube-dns. It's a dev machine which can tolerate some broken minutes a day. Every time a node gets shut down which hosts a kube-dns pod, I run into DNS resolution problems that persist until I delete the failed pod (in 1.21, pods stay "Status: Failed" / "Reason: Shutdown" until manually de ...

Score: 0
Bitace Developer avatar
ERROR FirebaseError: Quota exceeded with recaptcha authentication for both developement and production
id flag

We are using recaptcha of firebase for Authentication with ionic4. So after 1 month of firebase's project registration. Firebase showing "You have gone over your daily usage limits" on firebase Database and giving message("ERROR FirebaseError: Quota exceeded") with Authentication.

And for production build firebase not allow more then 4 request for phone-Authentication with recaptcha.

Please help ot  ...

Score: 0
Is possible to change metadata of XFS system to another disk (such SSD)
cn flag

I've a system in VPS with a big XFS.

Now I have the possibility to add an SSD device to that VPS.

Is it possible to change the meta-data destination from partition formatted as SSD to SSD partition to improve logging?

All the information I see is to do it before starting to use it, not when it is in use, and it scares me because it is a storage vps that already has 20TB of data.

Now I've this information

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.