Latest Server related questions

Score: 7
dkd6 avatar
SMART shows unreadble sectors, btrfs scrubs are clean - which is correct?
ng flag

I have a pair of disks in RAID1 formatted with btrfs.

The disks go through periodic scrubbing and I get notified with the results. They've been running great for about 2-3 years with no issues.

However, I've recently added smartd to my installation, and it instantly complained about a small number of unreadable sectors in one of the drives:

Device: /dev/sdc [SAT], 4 Currently unreadable (pending) s ...
Score: 0
Niels Hofmans avatar
Unschedulable GKE Pods with gvsior
bt flag

I created a GKE cluster that makes use of gvisor using Terraform:

resource "google_container_node_pool" "main_preemptible_nodes" {
  name    = "gke-${var.cluster_name}-preempt-nodepool"
  cluster = google_container_cluster.main_cluster.id

  node_config {
    preemptible  = true
    machine_type = "n1-standard-1"
    image_type   = "cos_containerd"

    sandbox_config {
      sandbox_type = "gvisor ...
Score: -1
Reza Azimi avatar
Using Apache proxy pass not forwards with port
br flag

I have some websites on my server and few of them have proxy pass and they are passing some port to some subdomain. But now I'm trying to add another subdomain for Webmin, but it doesn't forward to the port.

This is site.conf:

    <VirtualHost *:80>
    ServerAdmin webmaster@site.tld
    ServerName webmin.site.tld
    ProxyPreserveHost On

    <Proxy *>
        Order allow,deny
        All ...
Score: 0
Forward broadcast packets to dynamic / wildcard
cn flag

I have set up a dynamic ppp service on a linux machine where clients will connect and get a private IP.

The rules I have set up in iptables are currently:


sysctl -w net.ipv4.ip_forward=1

sysctl -w net.ipv4.ip_dynaddr=1

iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE

iptables -A INPUT -i ppp+ -j ACCEPT

iptables -A FORWARD -i ppp+ -j ACCEPT

iptables -I PREROUTING -t nat -i ppp+ -p udp -s 10.0.10.3  ...

Score: -1
horv77 avatar
Enable PAE for Windows 10 pro to use more than 4 GB RAM
cn flag

I'm having a relatively new hardware (i5 CPU x64) with a legacy 32 bit Windows 10 install. It is running older company software so the upgrade to 64 bit is not practical for several reasons.

I know that for longer time the 32 bit Windows had the option in some cases to enable PAE (Physical Address Extension) to increase the 32 bit address limit to 36 bits. This was available since Windows XP SP2. ...

Score: 0
Wisam Ahmed avatar
DigitalOcean: Custom network ports not opening on Debian droplets
ie flag

I have hosted multiple web servers on port tcp/80, tcp/443, tcp/3333, tcp/8443, tcp/8080, tcp/8081.

The VM is a DigitalOcean droplet with Debian 10 OS.

I able to access web servers at port 80 and 443 but not the other ports.

I have done the following:

  1. Attached Digital ocean firewall to the droplet and allowed all tcp and udp ports.
  2. Configured iptables to send a receive packets on all the above men ...
Score: 0
Multiple Minio instances on same drive
jp flag

I've got a following setup:

  • GlusterFS share mounted to three VMs,
  • Minio server over it on one of the VMs,
  • Minio is started in server mode, not gateway nas.

Is it safe to run MinIO Server simultaneously on all of the VMs, allowing concurrent access? Or can this lead to race conditions/etc?

Score: 0
Memory limit of LaserJet Printers: stick to the spec or okay to surpass memory size when choosing Memory Expansion modules?
us flag

This is a technical question about what would happen if one adds a 512MB memory expansion module to the HP Color LaserJet CP5225, or any other recent current modern Laserjet, while the manual states that the maximum supported memory module size is 256mb.

The manual states that the maximum supported memory is 256mb DDR2 SO-DIMM. What does supported mean in here? Does it mean that the printer can o ...

Score: 0
UDP servers High Availability allow random source IP response
jp flag

My system is composed by a NGINX configured as load balancer waiting for UDP datagrams.

The client open an UDP socket, assigning a random source port, and sends a request, waiting for a response.

Say request datagram source/destination is configured as SOURCE_IP,RANDOM_SOURCE_PORT -> NGINX_IP, NGINX_PORT.

NGINX routes the datagram to one of the node but, by design, in order to implement HA, the other s ...

Score: 3
MechMK1 avatar
Does it make sense to create a zpool with lots of mirror vdevs?
in flag

To prefix, I am rather new to ZFS. My goal is to create an internal NAS system, with minimal chance of losing all my data.

I've currently acquired four 4TB disks, and I plan to run them in a single zpool with two mirrored vdevs, like so:

  pool: data
 state: ONLINE
  scan: none requested
config:

    NAME                STATE     READ WRITE CKSUM
    data                ONLINE       0     0     0
     ...
Score: 0
badbishop avatar
Prometheus alert rule test fails with long intervals
mg flag

I've got an alert rule:

groups:
  - name: somename                                                                    
    rules:
      - alert: CertificateExpiry
        expr: certificate_expires_in_days < 20
        for: 1h
        labels:
          severity: critical
        annotations:
          summary: Certificate for {{ $labels.instance }} will expire in {{ $value }} days.   

and a test:

Score: 0
MariaDB do not store select all view
ug flag

im using views in mariadb. at the moment i'm on a windows server. if i save in windows an select *(all) view for a table. next time if i open the view it stays as an select *(all).

in linux(i tested ubuntu and centos) after saving the view it writes out an select for each table not for an an select * (all).

Example Image: linux

linux:

select `abo_duration`.`dur_id` AS `dur_id`,`abo_duration`.`dur_name` AS ...
Score: 0
Della avatar
Cannot Open Azure VM (Ubuntu 18.04) Port
ke flag

Running the jupyter notebook server on port 8888 on the virtual machine. Trying to use port forward to my desktop (running Linux Mint). The server is running on the VM alright, but the port is closed to my desktop. A network sweep gives the following results.

della@clevo-workstation:~$ sudo nmap -sT -O 20.184.1.17
[sudo] password for della:                
Starting Nmap 7.80 ( https://nmap.org ) at ...
Score: 1
miguelmorin avatar
User agents not trusting web server due to Let's Encrypt DST Root CA X3 root certificate expiration
jp flag

I handle a NodeJS server with an SSL certificate issued by Let's Encrypt. It works on some clients (Safari and Firefox on my macOS) and not others (curl on my macOS, Safari on iOS). The notice on iOS is:

Not trusted

Expired 30/09/21 07:01:15

The notice on curl is:

curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL ...
Score: 0
pc.axis avatar
How to use Google Tag Manager for iOS with GCP Recommendations AI?
cn flag

We are planning to make a recommendations engine for the features in the app and we were thinking about using GCP Recommendations AI. Then, we ran into some unclear areas due to lack of examples.

  1. GCP Recommendations AI is not only for shopping sites, right? I saw a movie rating example by Google. (https://cloud.google.com/retail/recommendations-ai/docs/movie-rec-tutorial#objectives)

  2. Can we use Goog ...

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.