Latest Server related questions

Score: 2
docBrian avatar
Does the ZFS scrub support parallelization for increased performance, e.g., with a 64-core AMD Threadripper Pro?
km flag

I have a 24 drive zpool comprised of 3 RAIDZ1 vdevs running 8 Seagate Exos X18 16TB drives per vdev. This is on a Supermicro MB with a 64-Core (128 thread) AMD Threadripper Pro and 256GB ECC RAM.

System utilization during scrubs shows at most 2 CPUs utilized at a time, and total scrub time looks like it could take five to seven days.

Is there a way to have all CPU cores working in parallel on the sc ...

Score: 0
jojojo1102 avatar
Cron Job Shell Backup file: Permission Failed
af flag

Ive been trying to create a Cron Job to Ultimatly back up the Data within my Public Html File

backup-JMORetail.sh Code

#!/bin/sh
NOW=$(date +'%Y.%m.%d')

tar cfz /home/jmoretai/Back-Ups_Local/TempLocalBack-UpDir/back-up_JMORetail.Com_$NOW.tar.gz /home/jmoretai/public_html

Errors

/usr/local/cpanel/bin/jailshell: /home/jmoretai/Back-Ups_Local/backup-JMORetail.sh: Permission denied

Score: 0
Rabah DevOps avatar
metallb and Helm traefik install dashbord 404 not found
us flag

I installted traefik using helm

but when I try to navigate trough web ui I have error 404 not found with http and https:

    helm install traefik traefik/traefik 

    kubectl get svc -l app.kubernetes.io/name=traefik
    NAME      TYPE           CLUSTER-IP    EXTERNAL-IP   PORT(S)                      AGE
    traefik   LoadBalancer   10.99.97.18   10.0.2.13     80:32644/TCP,443:32704/TCP   17m

curl  ...
Score: 1
best_of_man avatar
Error in configuration: context was not found for specified context: kind-kind
pl flag

This is my skaffold.yaml file:

apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  kubeContext: kind-kind
  kubectl: 
    manifests:
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: learnertester/auth
      context: auth
      docker:`
        dockerfile: Dockerfile
      sync:
        manual:
          - src: 'src/**/*.ts'
            dest: .
    - image: learnertester/tic ...
Score: 0
edis1409 avatar
nginx proxy redirect to login changes hostname to IP
ss flag

I have dockerized .net core 3.1 app and ngxin running on linode server.

App uses jwt tokens and redirects user (302) to controller Auth/Login, when i access my subdomain app.e-this.net nginx detects hostname and serves correct container but then app redirects to login (when i logout or delete cookies) and it changes host to my linode IP address, here is a log snippet:

nginx_logs

nginx patial conf loo ...

Score: 0
Tim avatar
AWS Instance Scheduler - turning instances off during holidays - is there a simple method?
gp flag
Tim

With the end of year holidays coming up I'd like to schedule EC2 instances in a development environment to be turned off from say 20th December 8am to 5th Jan 5am. I'd also like to turn them off for other holidays, such as public holidays, of which we have about ten or so per year.

We're already using AWS Instance Scheduler to turn instances off evenings / weekends and on in the mornings. I have  ...

Score: 0
user3522374 avatar
raid10 bad superblock after EXT4-fs error IO failure
nl flag

I have a RAID10, which recently caused the following related errors. First thing I realised was that mount points of the raid were 100% full or not accessible. After doing a reboot, the machine didn't get on again.

Dec 14 08:27:10 kernel: [98392532.799306] EXT4-fs error (device dm-1): __ext4_get_inode_loc:4363: inode #83627037: block 334495969: comm python3: unable to read itable block
Dec 14 09:1 ...
Score: 1
tjgrillz avatar
md Raid6 array disapeered on reboot
aq flag

my raid6 array disappeared on reboot after I grew it. I believe the issue was growing 2x with the full disk not partition. It has been suggested a possible other reason the drives were not correctly recognized is I didn't zero the superblocks before readding to a new array. It could be a combination of both? Here are the commands issued (pulled from history, formatted to have consistent drive letters):

Score: 1
Life after Guest avatar
How do I add the __Secure prefix in this .htaccess line?
cz flag

Sorry, I'm not an Apache expert.

I need to add the __Secure prefix to this htaccess line:

Header onsuccess edit Set-Cookie (.*) "$1; SameSite=Strict; Secure"

is this possible? How?

Score: 0
How to track down IPv6 DNS server configuration with Wireshark?
ru flag

What Wireshark filter should I use to track down IPv6 DNS server advertisements on the network? I don't see any DHCPv6 traffic on my network, so I assume that the config of clients is happening through Router Advertisements.

However, when I use the following filter ((icmpv6.type == 134 ) || dhcpv6)to look at all Router Advertisements and DHCPv6 messages in Wireshark, I can see my preferred DNS server ad ...

Score: -1
Amit Barua avatar
Specific exchange user under one database not able to login to the OWA
rs flag

Specific exchange users under one database are not able to login to the OWA. But when a user moves to another database its working. Please help to solve this issue.

Score: 0
Mustafa avatar
Apache ReverseProxy keeps redirecting to another virtual hosts
lu flag

I have apache as a reverse proxy for Webmin (port 10000) backend. Both are on the same server. Here's my config file:

<VirtualHost *:*>
    ProxyPreserveHost On
    ServerName srvadm.****.com
    ErrorLog /var/log/virtualmin/srvadm.****.com_error_log
    CustomLog /var/log/virtualmin/srvadm.****.com_access_log combined
    SSLEngine on
    SSLCertificateKeyFile /etc/ssl/virtualmin/16713580104 ...
Score: 1
SHERIF OMRAN avatar
how to allow sip traffic, from field's IP is modified by routers ip
rw flag

I have the following problem:

PC1    - eth0: 192.168.188.55
         eth1: part of br0: 10.147.20.69
         tap1: part of b0: 10.147.20.2 -> connected to PC2
on eth1: i have a trunc sip device GOIP and some times PC3.

The server is Centos7 installed based on Freepbx

from PC2 ping pc1: ok ping eth1: ok from PC3 ping pc1: ok register a sip client: ok

When I use the GOIP instead of PC3, registra ...

Score: 0
justadev avatar
Apache rotatelogs.exe fails with "Couldn't start ErrorLog process"
cn flag

I am trying to make apache rotatelogs.exe work (Apache 2.4, windows 10 pro)

This is the configuration:

ErrorLog "C:/Temp/logs/error.log"
ErrorLog "|C:/Temp/rotatelogs C:/Temp/logs/error.log 10"  #option 1

<VirtualHost ...>
    ErrorLog "|C:/Temp/rotatelogs C:/Temp/logs/error.log 10"  #option 2
</VirtualHost>

The folder where apache is located is inside "C:/Program files (x86)/apache/...",  ...

Score: 1
nils-79 avatar
nginx reverse proxy: hide client identity and IP address for wix
cd flag

This is my first post in this community.

I am hosting a website in Wix and want to restrict access to a certain number of individuals. In addition, I want everyone to pass my nginx-reverse proxy before the traffic hits Wix. I configured DNS Domains, Nginx and some IP Blocking modules in Wix.

So far so good - my client access works:

/// Client (IP 1.1.1.1) -> Nginx Rev. Proxy (2.2.2.2) -> Wix /// ...

Score: 1
Henrique Hefler avatar
NGINX Hosting multiple servers in same domain
ni flag

I have a website being served by Nginx and I'm trying to do something that I don't know if it's possible the way I'm trying to do but the case is:

I have Application A and B made with React / Node.

  • The application A is the main, it has the frontend and backend on Dockerized.
  • The application B is the Admin Panel, that has a separate frontend, backend and is also dockerized.
  • I am currently serving ...
Score: 0
Abe avatar
Modsecurity Blocks the site on load because cdn-loop: cloudflare
de flag
Abe

A fresh install of Ubuntu 20.04, nginx version 1.23.2 and Modsecurity 3.3.4. When I visit www.example.com I get 403 Forbidden. When I change:

http {
    modsecurity on;

to

http {
    modsecurity off;

the site loads normally. The reason is CDN-Loop by Cloudflare. CDN-Loop is a typical Cloudflare header but Modsecurity closes the connection. The error log shows the following:

Logs and dumps


---LxD3aa9l ...
Score: 0
b0d avatar
Apache VirtualHost - per user ProxyPass
sz flag
b0d

I'm trying to configure Apache to redirect users to different paths based on their authentication credentials (using htpasswd). I've managed to set up ProxyPass, which enables the redirection of the request to a custom path, however all of the users now get redirected to the same path. This happens because of using the same <Location /> directive for all of the users. When I try with <Lo ...

Score: 4
Why does ZFS RAIDZ2 only use 2GB of data when I create a 1GB File
fr flag

I have created a ZFS RAIDZ2 / Raid 6 file system, which from what I believe will store parity on 2 disks.

root@zfs-demo:/data# zpool status
  pool: data
 state: ONLINE
config:

        NAME        STATE     READ WRITE CKSUM
        data        ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            sdb     ONLINE       0     0     0
            sdc     ONLINE       0   ...
Score: 0
Mike384 avatar
Windows Server 2019 - create rdp-listener on second NIC
tm flag

Windows Server 2019 in workgroup mode.

Unable to create rdp-listener on second NIC.

Tried creating a new connection via tsconfig.msc from Windows Server 2012/2008R2. I also tried creating a new connection through the registry by creating a new key similar to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"

Further, through tsconfig.msc, as well as through PowerSh ...

Score: 1
Vaibhav Vishwakarma avatar
Unable to access port 8000 on my Debian server
jm flag

I have a Debian server running fusionPBX, I installed it using this official script. It uses nginx to host the application, I tried adding another server (Django) in the config file of nginx to support another server that's running on the same machine. Still, I can't access the Django server.

nmap on this machine from another machine says

$ nmap host_name
Host is up (0.00044s latency).
Not shown: 991 fil ...
Score: 0
Felix Batista avatar
Built header value not working
tl flag

I am building an Authorization header before forwarding the request to the proper service. The token is being passed to Nginx as a query string parameter named custom.

Here is the thing:

set $auth_header 'Bearer $arg_custom';
proxy_set_header Authorization $auth_header;
proxy_pass http://grafana;

When doing so, Grafana returns Invalid Basic Auth Header. But it works fine if I hard-code the header v ...

Score: 0
Nginx - transparently redirect traffic into another server block
cn flag

I have a NGINX configuration with two virtual hosts (server {} blocks): one serving a human-readable site on the primary domain, and the other acting as a reverse-proxy for a specialized service on a subdomain.

http {
    <...>

    server {
        listen 443 ssl http2;
        server my.tld;
        <...>

        location / {
            root /srv/http;
            <...>
        }
    ...
Score: 0
Yarden avatar
Routing only tcp outgoing traffic through a tun0 interface
ls flag

I have an ubuntu 20 system, and I'm trying to create a tunnel between my system and a remote server since my client system can't have any incoming/outgoing TCP traffic.

I created a tun0 virtual interafce and I only want TCP packets to be routed to that interface, so my program could read them, wrap the packet in a different protocol (i.e DNS) and send it to my tunnel endpoint.

I already acheived rou ...

Score: 0
user3715053 avatar
FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream
cn flag

Need help with fnd the issue on new server. Im running magento site with nginx php-fpm with varnish. The site get blank with only that text File not found.

And im getting error in nginx log

2022/12/17 12:06:25 [error] 166796#166796: *4 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: sample.com, request: "GET / HTTP/1.1", upstream ...
Score: 0
Ubuntu 18.04 E: Package 'ttf-mscorefonts-installer' has no installation candidate
pk flag
eos

Im trying to install webpagetest agent using the ubuntu installer script here https://github.com/WPO-Foundation/wptagent-install

On a fresh Azure Ubuntu 18.04 LTS image, it works no problem.

However, I need to install it on a fresh VPSCity Ubuntu 18.04 LTS image (which is located in NZ). When Run the installer on this it fails with:

$ sudo apt-get install ttf-mscorefonts-installer
Reading package ...
Score: 0
Mohammad Mahdi avatar
How can I configure iptables for shadowsocks server (ss-server)?
in flag

I have a shadowsocks server. I want to configure iptables to reject packets on all other ports, but I want the shadowsocks port to be open. I tried including the ACCEPT shadowsocks port in the INPUT and OUTPUT chain in the filter table and REJECT all other packets, but then I can't connect to the server with shadowsocks client. (443 is my shadowsocks port)

Chain INPUT (policy ACCEPT)
target     pro ...
Score: 0
Fernando Prospero avatar
How to add a computer to a Domain of windows server 2022 runing on AWS EC2
sg flag

I have Windows server 2022 running in AWS EC2 with the address that the same instance in EC2 generated, this server can be opened perfectly from any location using "Remote Desk controller" but if I ping the public address of the EC2 instance it doesn't reach it, I am trying to establish a connection to add a PC to the domain using the option of change from wokrstation to Domain, my domain service on Act ...

Score: -1
Fab1n avatar
Domains not being resolved using public DNS servers after usage of pihole/adguard
km flag

I am having issues on a client machine (Mac) accessing different sites, for instance reddit.com, after having used adguard/pihole in my local network on a raspberry pi.

To resolve the issue I thought it would be enough to set the DNS Server to something like 8.8.8.8 (google) on the wifi interface.

But when doing an nslookup -debug reddit.com I still get the following answer:

Server:     8.8.8.8
Add ...
Score: 1
cegfault avatar
Why is mirroring debian-security a bad idea?
ch flag

I'm setting up a debian (apt) mirror for internal networking (approximately 250 devices, including containers and vms). I'm using debmirror with rsync to mirror relevant packages. This drastically reduces network load and shortens installation time.

I would like to also mirror debian-security. However, in November 2019 security.debian.org discontinued rsync on security.debian.org, although it is stil ...

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.