Latest Server related questions

Score: -1
DJ -Proto avatar
HP-Proliant DL380 G6
in flag

Was able to get a Windows 10 based Operating System functioning on the server, sadly the other motherboard broke from other unrelated issues, replaced the motherboard, and cannot remember which setting partitions the drive sections to actually work and allow the Windows 10 based OS to install, it worked fine on the previous motherboard, but there was a setting I adjusted, though I cannot for the life of ...

Score: 0
Limit linux cache memory
ru flag

I know that it is ok to have free memory close to 0 and all memory in cached

But it cause problem with an application

I need the server no to cache so much and release memory back to free

I tried doing it with sudo sysctl -w vm.vfs_cache_pressure=200

But it had no effect

I have centos 7.9 Linux 3.10.0-1160.49.1.el7.x86_64

              total        used        free        shared  buff/cache   availab ...
Score: 1
user2857108 avatar
DNF Enable/Disable in Puppet
zm flag

I'm trying to get PHP 7.4 installed on my RHEL 8 system with Puppet, but can't get the package declaration right to disable php and enable php:7.4 with dnf. The Puppet Package documentation doesn't describe well, and I wasn't able to learn anything from this post: Puppet 5.5.22, dnfmodule reset

Right now, Puppet installs 7.2, and then these commands are run manually to upgrade.

dnf module disable php
d ...
Score: 0
user3681266 avatar
CORS rejection from remote browser access to public web page Ajax call to http://localhost:5000 Nginx reverse proxy, backend server DOTNET 6 KESTREL
np flag

Public Domain SSL Certificate signs site and KESTREL backend server (.PEM, now supported in DOTNET 6). Running on Ubuntu 20.04 (Digital Ocean cloud droplet (VM)). Works from CURL and from Browser same-site. Not from remote browser. Tried all guidance combos.

  • https://somedomain.com. //public site;
  • ** Ajax;
  • *** http://localhost:5000 //headers requested from guidance;
  • **** Nginx Reverse Proxy. //followed ma ...
Score: 0
Daniel Böhmer avatar
Apache can’t connect to Unix domain socket
cn flag

I am trying to install a custom web application with Apache HTTPd as frontend web server. But why does Apache report it couldn't access the Unix socket where the application listens?

The web application is configured to listen here:

# ls -l /run/mt_plackup_master.sock
srwxrwxrwx. 1 apache apache 0 Jan 18 21:16 /run/mt_plackup_master.sock

I manually made chown apache:apache and chmod 777 to grant al ...

Score: 1
bill avatar
How do i get PostgreSQL on Open BSD 7.0 to run
pf flag

Trying to start postgresql on openbsd 7.0 but can't seem to get it to work. so far I tried this tutorial and looking around a bit on google. I'm new to OpenBSD.

# rcctl -df start postgresql 
doing _rc_parse_conf
doing _rc_quirks
postgresql_flags empty, using default >-D /var/postgresql/data -w -l /var/postgresql/logfile<
doing rc_check
pg_ctl: no server running
postgresql
doing rc_start
doing ...
Score: 1
Luiz Silveira avatar
Installing Graylog with Nxlog collector on a Windows DC: no service installed
sd flag

I'm trying to install a NxLog collector on a Graylog client machine. The Graylog and associated infra (elastic and mongodb) is running just fine.

The install client is a Windows Server 2019 DC ("secondary"/"agent"/"respondent"? the not master new terminology). When I install NxLog, all is fine (the folder with files is created, and the service nxlog uninstalled). When I install Graylog, the "gray ...

Score: 0
How to check what triggered high CPU usage on past days, on Digital Ocean?
jp flag

I want to investigate what caused a high cpu usage for several hours on 1/16. Digital Ocean graph shows a prolonged high cpu usage in the course of about 12 hours. Is there a log somewhere that I can tap into that would reveal to me more detail about this issue?

Score: 0
Can I do https on some domains but not all on my site?
br flag

I have two sites (home server and linode VPS) and I have some subdomains of one domain on one site and some on the other. I also have two or three other domains on both servers. I currently use Apache VirtualHost on both sites. None of them are currently using https.

Is it possible to start rolling out https one subdomain at a time, or is it all or nothing? Do I need to use a front end like nginx ...

Score: 0
dev avatar
access mikrotik webfig through the private openvpn address
np flag
dev

I am using Mikrotik (7.1.1) router with an ovpn client interface connected to an openvpn server installed on ubuntu ec2. Everything worked fine:

ip/address print command

I want to use my laptop (connected to the same OpenVPN server) to access remotely to the /WebFig using its private IP (10.8.0.4). I have already added firewall rules to accept incoming TCP requests on port 80 but I don't get any response.

Also from the Mikr ...

Score: 0
Https Load Balancer for backend bucket, but not exposed to internet
ae flag

-Before trying internal https LB, I have already tested External HTTPS LB exposed directly to internet for backend bucket.

In this case, I have created all necessary resources in GCP

(google_compute_global_forwarding_rule, google_compute_target_https_proxy, google_compute_global_address, google_dns_managed_zone, google_dns_record_set, google_compute_ssl_certificate, google_compute_url_map, google_comput ...

Score: 1
Roushan Jha avatar
How to loop an array variable in Ansible
eg flag

I have below task and I am failing to add the loop for the array variable. ShopID is defined as an array inside group_vars. My aim is to call each variable one by one.

- name: Create directories with required permission
  file:
    path: "{{ item.dest }}"
    mode: "{{item.mode}}"
    owner: "{{ item.owner }}"
    group: "{{ item.group }}"
    recurse: yes
    state: directory
  loop:
  - { dest: '/ho ...
Score: 0
display_name avatar
Where is Kubernetes default RuntimeHandler set?
mx flag

I am testing out K8s runtime classes, and have successfully fired up some pods using containerd & gVisor.

To do this, I changed /etc/containerd/config.toml to the below, then restarted the service

disabled_plugins = ["restart"]
[plugins.linux]
  shim_debug = true
[plugins.cri.containerd.runtimes.runsc]
  runtime_type = "io.containerd.runsc.v1"

This removes the default_runtime_name = "runc" conf ...

Score: 0
Mark avatar
With `iptables` does the chains order matter?
mx flag

Does the order matter? for example:

iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A FORWARD -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT

If so would forward be in the correct order to come second in this iptables rule chain if it's read chronologically or is this rather subjective?

Score: 0
Stefan avatar
How to PXE Boot VM on VMware Workstation without using a TFTP server?
pk flag

I'm trying to PXE boot a vm made by VMware Workstation on my local machine. On a separate subnet I have the PXE server and DHCP server. I do not want to use a TFTP server or use IP Helpers.

When I boot the vm it receives an IP address from the DHCP server, but then searches for a TFTP server, which isn't on the network and I don't want to create one.

I want it to go straight from the DCHP server to  ...

Score: 0
How to load new Apache site without effecting existing sites?
in flag

If I add a new Apache site at /etc/apache2/sites-enabled/newsite.conf, how to I load that new configuration without bringing down any other sites currently being hosted by Apache?

As far as I know, sudo apachectl graceful and sudo service apache2 restart and sudo service apache2 reload all cause a brief outage to all sites, with the outage being shorter for reload.

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.