Latest Server related questions

Score: 0
alexHX12 avatar
Kubernetes multi cluster dashboard
tz flag

I need to manage a federation of clusters (KubeFed), so I was wondering if it's possible to deploy Lens Dashboard within the cluster? Otherwise is there any alternative dashboad with multi cluster support within cluster?

Score: 0
infoman33 avatar
Properly configuring iptables rules behind an openvpn server
cn flag

hi friends hope everyone is doing well.

i got a little misunderstanding of how i should configure iptables v4 rules for an openvpn server.

if some wizard can give me a hint it would be great.

i'm pretty sure this conf is full of mess and i can clean up and get working.

the openvpn is a server behind a pfsense (connected to other pfsense via ipsec)

there are 5 subnet :

10.17.1.0/24
10.17.3.0/24
192.168.0 ...
Score: 0
md1357 avatar
Exposing a LAN through an OpenVPN server running in a virtual machine
hn flag

There's an OpenVPN server running in a VirtualBox virtual machine with NAT networking. The VM is running on a physical host, and that host is attached to a LAN. I would like to make the VM's host's LAN (192.168.0.0/24) available over the VPN. The VPN network is 10.8.0.0/24.

Here's what I've done:

  • I've configured OpenVPN and clients can connect to it without problems;
  • in the VPN server config, I'm p ...
Score: 1
Andy Haer avatar
Need help figure out why I can logon to Windows with a revoked smartcard certificate
kr flag

I am adding smart card login to our domain and have got almost everything working properly except that when I revoke the certificate on our Enterprise CA I can still log into computers. I have checked that I can download the CRL using the link in the certificate and see that the cert SN is in the revocation list. I cleared the local CRL cache (using certutil -urlcache crl delete) on the client machine,  ...

Score: 0
Maciek Semik avatar
Apache Wildcard Directory Use Alias File
vn flag

I am trying to achieve the following:

All searches at https://example.com/a/* will display file article.php.

For example (links to articles):

https://example.com/a/new-robot-eats-banana 
https://example.com/a/best-shoes-for-mud
https://example.com/a/its-about-time-we-move-to-mars

Will use article.php

echo basename($_SERVER['PHP_SELF']);

Example:

https://example.com/a/new-robot-eats-banana

new-robot-ea ...
Score: 0
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)
jp flag

I have exported a WordPress XML file which contain all pages, posts, WooCommerce products, orders etc. File size is 100MB. Now I am trying to import it on another machine but getting error. It even shows that allowed file size is 200MB. This is a 1GB RAM, 1 Core VPS.

enter image description here

But I am getting following error:

[error] 3811#3811: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory s ...

Score: 0
Marek avatar
Can I stop Apache2 server with Caddy in docker container
ng flag

I'm running a container with Caddy. My website is properly working. I can access it.

The problem is that whenever I visit any page on my website - I can see apache2 that takes a lot of CPU (in top). Can I safely stop & delete apache service since I'm already running Caddy in docker?

I was trying to run:

sudo service apache2 stop

But it says that

Failed to stop apache2.service: Unit apache2.se ...
Score: 1
aphid avatar
Does the default zabbix SNMP trueNAS template catch disk failures?
mx flag

I understand this might be a very basic question, but I would like to know the answer to this question before accidentally losing all the data on the NAS due to multiple drive failures with the first going unnoticed because the pool is technically still up albeit degraded.

Does the value of this SNMP OID:

.1.3.6.1.4.1.50536.1.1.1.1.7.2

change whenever a disk fails? Currently the devices I'm using  ...

Score: 0
Rick_Stinson avatar
Galera SQL Cluster - reset & rejoin a node
vc flag

i have a three node galera cluster. one of the nodes (its a passive not active used node) died and mysql is not able to start again on this host:

InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption i ...
Score: 0
fvsadem avatar
Name server propagation for sub sub domain
tt flag

I face a problem for adding a DNS record to a sub sub domain ("x.y.example.com").

To explain the architecture further :

  • "example.com" is my commercial website. NS records are set from my provider
  • "y.example.com" is used by a thrid party emailing to manage my email campaigns. it have a A record to thier server and use custom NS records to thier name server.
  • "x.y.example.com" is used to track link  ...
Score: 2
Ed Greenberg avatar
Ansible-pull does not find vars in group_vars directory
hm flag

I have an ansible structure that contains some roles.

/usr/local/ansible
    playbooks
        roles
            role1
            role2
                tasks
                handlers
                files
                templates
                    my_template.yml
                vars
                    main.yml
    group_vars
        role2.yml

Usually, when running this from the ansible server, t ...

Score: 0
Dan Dela Torre avatar
puppet 5.5 issue after renewed master certificate
mk flag

I currently faced issue after renewing Puppet certificate. I did a clean backup of client SSL folder and did a puppet agent ‑t.

Can anyone help me?

This is the code.

[root@pupcltlp0001 AEST /etc/puppetlabs/puppet]# puppet agent -t
Info: Creating a new SSL key for pupcltlp0001.dt.network
Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml
Info: Creating a new SSL certi ...
Score: 0
Met avatar
BTRFS filled to 100% and does not mount anymore
ng flag
Met

I have a 50 TB BTRFS filesystem on a hardware RAID array in an HPC cluster I manage. Users have filled up this partition to 100% and complained about I/O errors while reading old files. The filesystem went read-only.

I unmounted the partition. It took a while to unmount and it finished with "segmentation fault". Then I tried to mount it back and it is already taking 20h with no sign of progress.

In the ...

Score: 0
Email avatar
Detect Linux/Ubuntu -> Lamp/Apache or Nginx -> PHP - detect outcalls
jp flag

I have a Ubuntu Server setup with LAMP at DO (Digitalocean, VPS - self managed via shell) running mainly Wordpess (php).

Now which ways do you recommend to detect outcalls/outreaches of scripts/plugins to external websites (like auto-update, crons, timed scripts, vulnerabilities reaching out)?

Also is there anything to check equally for outgoing "Php mail" or "smtp reaches"?

Thanks for any hint ...:) ...

Score: 0
mc3mcintyre avatar
Unable to modify Recovery Actions for a service
gp flag

I have a service (NameOfService.exe) that frequently shuts down on its own. I haven't yet figured out why it keeps stopping. I want to trigger an alert for when it does shutdown. I assume that this can be done via the Recovery Options. I also want to use the Recovery Options to attempt and automatic restart of the service. However, these options are grayed out and I am unable to configure them. I am log ...

Score: 0
Arni J avatar
Can I mirror a 2-disk striped zpool to a single large drive?
cl flag

Currently I have a 4TB pool with two striped drives:

# zpool status
  pool: lxd
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See ...
Score: 0
Clodoaldo avatar
Could not bind to address no listening sockets available
in flag

RockyLinux 9. On reboot Apache fails to start with the message

Jul 21 10:53:13 cl httpd[877]: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 1.2.3.4:80
Jul 21 10:53:13 cl httpd[877]: no listening sockets available, shutting down
Jul 21 10:53:13 cl httpd[877]: AH00015: Unable to open logs
Jul 21 10:53:13 cl systemd[1]: httpd.service: Main process exited, code=exit ...
Score: 0
Maxime Rossini avatar
Cannot disable MultiAZ on RDS instance using CloudFormation
bo flag

I have deployed an instance of a RDS PostgreSQL database with MultiAZ enabled, using CloudFormation. When I try to remove MultiAZ I get the following error from CloudFormation:

CloudFormation cannot update a stack when a custom-named resource requires replacing. Rename and update the stack again.

The only parameters I changed in the resource template are MultiAZ (set from true to false) and Avail ...

Score: 0
Vahid Alimohamadi avatar
Isolate traffic between vswitches but allow l2 traffic from external network
kz flag

I've two OVS bridges which they are connected to the 3rd v-switch using patch(es).

    Bridge br1
        Port br1
            Interface br1
                type: internal
        Port br1-ext
            Interface br1-ext
                type: patch
                options: {peer=ext-br1}
        Port veth573b5f8a
            Interface veth573b5f8a
    Bridge br2
        Port br2
            Inter ...
Score: 0
El_Merendero avatar
Error creating Windows virtual machine on Google Cloud: Not included with the free trial
ar flag

I'm trying to create a virtual machine on Google Cloud using the following command:

gcloud compute instances create my-server-1 \
    --zone=europe-west3-b \
    --machine-type=n1-standard-16 \
    --accelerator type=nvidia-tesla-t4-vws,count=1 \
    --maintenance-policy="TERMINATE" \
    --image-project=windows-cloud \
    --image-family=windows-2019 \
    --boot-disk-size=200 \
    --network=defa ...
Score: 0
Aaron Dewes avatar
Assigning a fixed IP to a VM on Alma Linux
fi flag

I have a Alma Linux 9 host with two IP addresses.

I want assign one IP to the host (This is already done) and the second one to a Ubuntu VM.

What's the best way to do this? I've set up the VM through Cockpit, and it got an internal IP address.

I tried this to add Masquerading so the traffic for the ports I need is forwarded:

sudo firewall-cmd --permanent --new-policy VMForwardPolicy
sudo firewall- ...
Score: 0
Szyszka947 avatar
How multiple load balancers work
bh flag

Assume we face x requests per seconds, where x is magic number of requests which single load balancer cannot handle.

So we have to use multiple load balancers to handle all requests, yes? But how? I need to load balance the load balancers farm? Poor idea, at the end it also occurs that single load balancer must handle all requests.

So how to use multiple load balancers to handle enormous number of reque ...

Score: 0
Run avatar
Postfix - can't send emails to gmail addresses via terminal
fo flag
Run

I have the following errors when trying to send emails to gmail addresses via my terminal:

sudo tail /var/log/mail.log
Jul 19 13:19:44 ubuntu-4gb-fsn1-1 postfix/cleanup[5780]: B4B8C5F4A3: message-id=<20230719131944.B4B8C5F4A3@ubuntu-4gb-fsn1-1>
Jul 19 13:19:44 ubuntu-4gb-fsn1-1 postfix/qmgr[4961]: B4B8C5F4A3: from=<[email protected]>, size=269, nrcpt=2 (queue active)
Jul 19 13:19:45 ubuntu- ...
Score: 0
Lacrymae avatar
Remote Group Policy Update failed (Access Denied) for Domain Admin
mk flag

My first question in ServerFault heya :)

In our domain manage all server and client machines with Microsoft Active Directory. We have 13 Vm Server. Domain\administrator user is Domain admin. I use it in domain everywhere (IIS web services, Remote Logins, Task Schedule, Veeam Backups etc.) without any permission issue.

Today i config a policy under DC and assign it to Servers OU which all servers in ...

Score: 1
KT8 avatar
Storing each file on separate physical drives for a single file volume
in flag
KT8

I am working with a bunch of really large files (>100 GB). As we often process multiple large files in parallel (e.g. 10-12), we think that it might be advantageous to have each file be stored on separate physical spinning drives, rather than have the data stripped across multiple physical drives (e.g. with raid) where the software would then be forced to perform a bunch of random seek operations whe ...

Score: 0
Centaro avatar
Why doesn't cron run the commands in another user's crontab?
in flag

Hello everyone and thank you in advance.

I have written a job in the mysql user crontab, but it doesn't run at all. I think my code is correct, because it works properly if I execute it pointing to a script from my user's crontab:

00 12 * * * /usr/bin/mariadb-dump -u root -pMyPassword  --lock-tables -A > /full/path/"`date +"%Y-%m-%d"`".sql && rm /full/path/"`date -d '-2 days' '+%Y-%m-%d'`" ...
Score: 0
freeyssu avatar
stressapptest shows FAIL result but memtest86 can't detect any error
in flag

I have a question about DIMM test (stressapptest and memtest86). I am using AMD Threadripper with 4x16GB Samsung ECC memory.

stressapptest obviously designates there is something problem and this is re-producable every tries.

2023/07/20-20:31:57(PDT) Report Error: miscompare : DIMM Unknown : 1 : 5s
2023/07/20-20:31:57(PDT) Hardware Error: miscompare on CPU 1(<-17) at 0x7f68a6895b00(0x4673aab00:DIMM ...
Score: 0
csx4 avatar
Postfix smtpd_sender_restrictions with logical AND
cn flag

I am using postfix, I need to configure sender based restrictions so nobody that is not authenticated & not part of mynetworks can send mail through this server,

this is my smptd sender restrictions:

smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, reject

I am unable to find this on postfix official documentation

(p ...

Score: 0
DiamondFeather avatar
Getting "has no address records (A or AAAA)" error when running named-checkzone
bv flag

I am currently trying to build my own home lab for the first time, and as a newbie it’s been a bit confusing. For the past few days, I have been working on configuring an internal DNS server, and after setting it up I run the following tests:

First I try to check if my DNS will resolve, and direct me to the IP address of my web server (as root):

nslookup www.wallynet.local

Output:

Server: 192.168. ...
Score: 0
Joy Wibowo avatar
Cannot Access Proxmox GUI After Create Linux Bridge Network
gy flag

Good Morning! I have a baremetal server on equinix with gateway CIDR /31 (default) then I bought a new Gateway with CIDR /28 after that I connected to the server, but after installing proxmox and I created a linux bridge vmbr0 and put all IP Gateway /28 into vmbr0 but after i restarted i can't access server and Web GUI.

IPv4 Base: 86.109.11.235
CIDR: 86.109.11.234/31
Gateway: 86.109.11.234

Attach  ...

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.