Latest Server related questions

Score: 0
xXx avatar
Graylog does not receive logs from Docker Swarm Services
ro flag
xXx

I'm new with Graylog and I'm trying to use Graylog on a Docker Container, but the logs from the others containers does not arrive on Graylog and nothing is displayed on the Graylog web interface SEARCH.

What should I do to logs of the containers arrives on the Graylog?

Below, I describe my try:

On a single host, running docker swarm with just one node (itself).

The local IP of this host is: 10.0.0.5

Score: 1
brassgoblin34 avatar
Trying to connect to my ec2 instance with Ansible
cn flag

I'm following the digital ocean guide to Ansible which involves setting up my ssh key on the host I'll use: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04

My Ansible host is my local WSL Ubuntu setup and my client is an AWS server.

I started step 1 and created an rsa key, myfirstkey.pub. Then I ran: sudo ssh-copy-id -i ~/.ssh/myfirstkey.pub ~/.ssh/myhostkeyforaws.p ...

Score: 0
Harmonytalk avatar
How can I extend xfs /boot partition with free disk space (centos 7)
in flag

I have just over 4GB of space free (/dev/loop0) and have added a second disk /dev/sdb how can I use either of these to extend /boot partition using all of it?

df -h

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         24G     0   24G   0% /dev
tmpfs            24G  4.0K   24G   1% /dev/shm
tmpfs            24G   33M   24G   1% /run
tmpfs            24G     0   24G   0% /sys/fs/cgroup
/dev ...
Score: 0
Vowneee avatar
How to perform AKS upgrade for a private cluster from 1.18.14 to 1.19.11 which is having istio as a service mesh
br flag

We are planning to upgrade our Private production cluster to 1.19.11 version and before the upgrade, would like to clarify few items for safer side as this is for producton enviroment

Current Setup Details.

  • Its a private cluster and AZURE CNI enabled
  • We are using Istio 1.7.3 as service mesh

Planned Upgradation process

  • As Istio version 1.7.3 is not supported for AKS 1.19.11, we need to upgrade ...
Score: 1
Nulik avatar
why do I get bad superblock on /dev/sda, missing codepage or helper program?
pl flag

Check this:

root@dev:~# lsblk -f|grep sda 
sda         ext4              1.0        21ca0461-0e80-4468-b942-3735e9fd4945                 
root@dev:~# grep /db /etc/fstab
​UUID=21ca0461-0e80-4468-b942-3735e9fd4945 /db       ext4     errors=remount,ro   0 1
root@dev:~# mount /dev/sda /db 
root@dev:~# ls /db
lost+found  postgres-old  postgresql 
root@dev:~# umount /db 
root@dev:~# mount -a 
mount: / ...
Score: 0
teleman avatar
What is causing error "403 FORBIDDEN (Access not allowed even with authorization)" for new domain on Domino server?
es flag

With Domino 9 server, a new Virtual Hostname doc has been added to the Domino Directory for domain xxxxx.app. It is configured with default values, and there are several other web sites hosted on the server with the same configuration. SSL is running on one of the domains, but all the rest are HTTP.

However, the site is not accessible via the browser giving the error message:

403 FORBIDDEN (Access not ...

Score: 0
loopend avatar
Differentiate and limit nginx bandwith for download connections, website content
br flag

Is it possible (without additional tools or the addition of another distribution system) to limit the bandwith of overall download connections (upload to peers that requested to download a file) so that they do not congest the interface and thus slowing down website responsiveness, e.g. allow a maximum of 800 Mbps for downloads, so that at every time there are left theoretically 200 Mbps for general (we ...

Score: 0
jona avatar
Execute following steps after rsync is finished
id flag

First I thought that rsync isn't syncing everything described here Limitations of rsync? Not syncing everything

Now after a day I found out that it was actually still working/ running and now all the files are there. The problem is: My zip is instead of 1gb only 200mb.

Because the zip was created I thought rsync is "finished" and just doesn't download everything. My logic was: tar only gets executed w ...

Score: 1
How can we modify the heartbeat synchronization time of the etcd cluster on Kubernetes
fr flag

I want to modify heartbeat-interval of embedded etcd cluster running on kubernetes, I know while installation we can do with kubeadm extraargs but how to do in running cluster?

Before modifying I want to know current values too.

EDIT1: To get existing value use following

kubectl -n kube-system  logs  etcd-<NodeHostName> |grep heart
2021-06-25 11:08:31.612468 I | embed: heartbeat = 100ms

I al ...

Score: 0
Eloque avatar
Something keeps deleting /etc/apache2/mods-available/php7.load and restarting Apache2
tr flag

I have an old box co-hosted in a VPS setup that I have no control over. It's an old kernel; 2.6.32-042stab145.3 and an old Xenial, Ubuntu 16.04.7 LTS. These things I can't change. I know it's end of life, but this is the situation I am, for reasons beyond my control, stuck with. This is system is not connected directly to the internet.

This lead to only an old version of PHP being available from  ...

Score: 2
macos /etc/hosts ignored using wildcard subdomain
jp flag

Why is macos ignoring etc/hosts

I have seen this: /etc/hosts file being ignored

And it is not a TAB but a space between ip address and domain.

Is there something special you need to do on MacOS to use etc/hosts.

I have a local sige mydns.com in etc/hosts:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   ...
Score: 0
mocart avatar
nginx location alias to root dir with another index file
it flag

i have 2 index file in root dir (index.php, thanks.php) and want to use thanks.php when user request other location, for ex: when user request example.com nginx show index.php,but when user request example.com/thanks nginx must show thanks.php i tryed this config, but it's not working for me:

server {
root /var/www/example.com;    
    index index.php;
    server_name example.com www.example.com;
    ...
Score: 0
Tail the journalctl log on failure to restart systemd service?
lb flag

I want to know if there is a brief way to check the last 50 lines about a service that threw an error on restart.

$ sudo service nginx restart
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

I use an alias for checking that, tho I forget what the flags do.

alias jrn='sudo journalctl -eu'
$ jrn nginx ...
Score: 0
Manikandan Ram avatar
Jenkins SSH Connection EC2 Instance
sd flag

In CICD Configuration, I'm Using Jenkins as CI Server, Deployment should happen on EC2 Amazon Linux..

I tried adding my SSH configs in Jenkins, I'm getting SSH connection failed..!

The problem here is My EC2 Instance SSH authentication requires PublicKey, Keyboard-interactive..!

I have enabled google authenticator for my EC2 Instance in addition to Key authentication..!

Can someone tell me the way to co ...

Score: 0
eggzaile avatar
Can't get cron to open Jar file
ar flag

I'm running a minecraft server on ubuntu 20.04. I have a script to execute it and works fine. However i can't get it to work @reboot with cron, because it can't find the jar file. From what i researched, it seems cron doesn't run with my user (although i'm not using sudo). What are my options?

This is my crontab -e:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 

00 01 * * * /home/ ...

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.