Latest Server related questions

Score: 1
haher avatar
Failed to restart varnish.service: Unit not found
cn flag
[root@server21 ~]# service varnish restart
Redirecting to /bin/systemctl restart varnish.service
Failed to restart varnish.service: Unit not found.

This worked like 3 days ago, but today it stopped working. It works on other servers, but on this one it doesn't work.

I did df -h and I still have 600 gb left, so I am wondering what might have caused this.

Score: 0
Host key verification failed SSH Github
cn flag

I've taken a relatively simple approach to try and securely clone my GitHub repo but still struggling.

On My Mac I ran specifying name as MyKey and no password

ssh-keygen -t rsa

I uploaded the contents of the public key to GitHub with read and write access. Then I ran the following commands on my server:

cat > /root/.ssh/github.id_rsa << EOF
-----BEGIN OPENSSH PRIVATE KEY-----
The private k ...
Score: 0
uday avatar
Deployment not able to spin the hashicorp vault linked containers, how to fix that?
ke flag

I have followed the steps mentioned in the link

Came till the deployment part, last before step.

After deployment, the pods status is stuck at creation.

kubectl get pods --watch
NAME                                READY   STATUS     RESTARTS   AGE
devwebapp                           0/2     Init:0/1   0          2m11s
nginx-6799fc88d8-9xnqv              1/1     Running    1          98m
vault-0          ...
Score: 1
genderbee avatar
Reverse Proxy to local container
cn flag

I need run Kafka on docker with web UI on some specific domain AND LINK, for example:

http://somesite.com/kafka

I am using this docker-compose.yml.

version: '3.3'
services:
  zookeeper:
    image: 'bitnami/zookeeper:latest'
    ports:
      - '2181:2181'
    environment:
      - ALLOW_ANONYMOUS_LOGIN=yes
  kafka:
    image: 'bitnami/kafka:latest'
    ports:
      - '9092:9092'
    environment:
   ...
Score: 0
uday avatar
How to use acr secret saved in azure vault for image pull?
ke flag

With azure vault and csi driver, able to create secrets and access them as single files in container.

I followed this approach to create basic secrets.

Can accessible the secrets from the container as secret files inside it.

But, when I tried to create a secret from it and use the same for imagePull, it is not working..

apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metada ...
Score: 1
Hamza AZIZ avatar
high CPU usage of MySQL and recommendation from Mysqltunner
sn flag

we have noticed that our database server is getting so high CPU (more than 90 % used by mysqld process), the output of mysqltunner is shown below, can you help me please,

i'm okay about the innodb_buffer_pool_instances(=7), but is there some other suggestions ? enter image description here

enter image description here

enter image description here

Score: 1
StackExchangeGuy avatar
OpenVPN client connection failure (2.5.3)
nz flag

I am running OpenVPN server 2.4.11 and have many clients connecting from all over the place, using client version 2.4.6. Now I am unsuccesfully trying to connect a client, running 2.5.3.

I ran into some cipher issues so I have the server like this:

#;cipher BF-CBC # Blowfish (default)

#cipher AES-256-CBC

#;cipher AES-128-CBC # AES

#;cipher DES-EDE3-CBC # Triple-DES

and the 2.5.3 clien ...

Score: 0
Windows installer package throwing error when I try running it from file server
za flag

Right now I am trying to use PDQ deploy to push out an update (20.2.40) for a software called Bluebeam, if you haven't heard of it, it's essentially a PDF editor.

I have also tried running this MSI installer without PDQ, when I run it on my computer from my C drive it works perfect and opens up a prompt to start the installation but when I run it from our shared server it throws me an error sayin ...

Score: 2
Secondary DNS is not responding to dig
cn flag

We are new to DNS. we are trying to configure a secondary DNS server using Bind & CentOS for an existing primary server (Eg:142.250.192.110).

Our secondary server configuration is as follows:

    listen-on port 53 { 127.0.0.1; any; };
        listen-on-v6 port 53 { ::1; any; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/ ...
Score: 0
Chris C avatar
Where are the configurations for CoreDNS stored in Kubernetes
jp flag

I was digging into CoreDNS recently on a cluster where kubeadm was used to install it. I see that I have a default deployment of 2 replicas, but what if I want more? I know I can scale, but that is an extra step that I'd rather not take. I want it so that all new clusters created have 3 CoreDNS for HA (since I will have 3 Masters). But I cannot find any information on where the manifests are stored whic ...

Score: 0
Mlok avatar
Rails app reload is too slow on production using Puma and Nginx
cn flag

I have a little bit bigger project on Rails (6.0.1), running on latest Puma, using socket with latest Nginx and Debian system.

App works great, but when I perform reload :

rbenv exec bundle exec pumactl -F ... restart

It takes a huuuuge time with loading page for users. It is around 2 minutes. But when I try it on test environment it restarts in 15 seconds.

So I think it should be something with worker ...

Score: 0
Capture filter filter with tcpdump/tshark
sy flag

I'd like to filter ip messages which are constructed as follow (see picture below):

  1. GRE on top of IP
  2. GRE contains IP with UDP on port 1234 (in the picture below port 80).

How can I filter such messages?

enter image description here

PS operating system is windows based

Score: 0
RAGI avatar
Can't get docker image owasp/modsecurity-crs:apache reverse proxy to work
br flag

I have an endpoint https://my-portal.nl and I wan't to place a WAF with the OWASP Core rule set before it. So I found a Docker image(owasp/modsecurity-crs:apache) that can proxy all the requests to my endpoint (https://my-portal.nl). For some reason I can't get it to work. When I browse for https://localhost I'm getting a

"Forbidden You don't have permission to access this resource." response from  ...

Score: 0
Jakub Socała avatar
How to create global company policy that will set user photos from folder in WS AD
cn flag

I want to set user profile pictures on logon screen via policy. How can something like that be made? I have all photos in one folder, for each employee. Is there an easy way to do that? I'm using Windows Server 2008 Active Directory. Thanks in advance.

Score: -1
How can I reset share passwords for WD Sharespace using root in SSH?
us flag

I have a Western Digital ShareSpace Disk Array NAS (Same one in this manual : https://docs.rs-online.com/49a1/0900766b80ce7e97.pdf )

The system has an existing number of shares, with a lot of files and data. Each share was created through the web interface of the NAS and each has its own username and password.

I am able to login to the NAS SSH interface (as root) and when I run the command

less /etc/passw ...

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.