Latest Server related questions

Score: 0
Hamed Zargar avatar
Ocserv static tun device name for each user
mw flag

Ocserv assigns dynamic interface names based on TUN device name. For example if tun device name is vpns, users connect via vpns0, vpns1 , vpns2 and ... Everytime a user opens a new session, a new interface name is assigned and because most tracking systems use interface names, I cannot figure out how much traffic a user has used for example in the past week. Is it possible to configure ocserv to assign  ...

Score: 0
elsni avatar
OpenSSH client on Windows 10 connection error
ve flag

On Windows 10 Enterprise, I can't connect via ssh to a linux machine. 192.168.0.3 is a valid local IP, i can connect to it with putty.

PS C:\Users\elsneste> ssh 192.168.0.3
CreateProcessW failed error:193
ssh_askpass: posix_spawnp: Unknown error
Host key verification failed.

PS C:\Users\elsneste> ssh -V
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

This is a quite fresh Windows 10 installatio ...

Score: 0
William avatar
Can't install update KB5025229 on Windows Server 2019 - Error 0x8007371b
ms flag

Windows Server 2019 (OS Build 17763.4131).

Following a search for updates, I was offered the cumulative update KB5025229 which according to Microsoft contains fixes for security issues and some other bug-fixes.

Due to some other, now fixed issues, I have recently restored the Windows image using the following command:

DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources

The D:\ drive is an 8GB ...

Score: 0
Khorem avatar
Oracle Enterprise Linux: Growpart 'cannot grow partition'
mm flag

I've read a few blogs here on this but haven't come across similar situation as mine.

  1. i have expanded the drive by 5GiB on /dev/sda
  2. i have without rebooting made it visible by running the following command: echo 1 > /sys/class/block/sda/device/rescan

Please see the remaining rundown below:

[root@proddboem01 ~]# fdisk -l |grep ^Disk\ /dev/sd*
Disk /dev/sda: 205 GiB, 220117073920 bytes, 429916160 sect ...
Score: 0
nginx ipv6 SSL server block responding to basic http port 80 connections
in flag

Running into an issue that I haven't seen before.

In my nginx config, I have a server block setup for a single subdomain that is only listening on port 443 (ssl).

However, when I test the connection out using port 80, its still responding. Very head scratching at the moment.

For example, curl http://blog.omgtrolls.com should not be able to connect, yet it does and spits out the site html etc. Runnin ...

Score: 0
emp0001 avatar
why ansible_facts['distribution']=="Suse" skipping apache install on Suse
vc flag

I created the simple ansible playbook to install apache on CentOS and Suse. It works on CentOS but skipping on Suse without any errors, I do not understand why.

This is the playbook:

  • name: To install Apache on CentOS and Suse hosts: all gather_facts: True become: yes become_user: root

tasks:
  - name: Installing Apache on CentOS or RedHat
    yum:
      name: httpd
      state: latest
    when: ansi ...
Score: 1
Fred Polli avatar
Multiple MySQL instances one server through systemd - cannot connect client
lr flag

I am using MySQL 8.0.33

Following the official documentation, I set up multiple instances of mysql using systemd. My cnf file is below. I am able to get all the instances up and running at the same time, systemctl status shows each of them with its correct sock file per my configuration, but I am unable to connect a client to any but the initial, default instance.

When I first install mysql per the instru ...

Score: 0
Bryan Dellinger avatar
azure app registration redirect uri not working for a spa application but only for one server
gb flag

m a little stumped on this and just wondering if anyone had any ideas.

I have registered in azure an application with 3 spa redirects It is a .net core react application

http://localhost:3000/eem/ (local dev) https://xxxxxx:4388/eem/ (development) and https://apps.axxxxxxxxxege.edu/eem/ (prod)

the dev and development work perfectly the user is redirected to office 365 login and then after they authen ...

Score: 1
Bobby Impollonia avatar
Applying initcwn/ initrwnd to routes from DHCP
cw flag

I am using Amazon Linux 2023 (which is based on Fedora and uses systemd-networkd for DHCP).

ip route show shows routes like default via 10.0.0.1 dev enX0 proto dhcp src 10.0.0.211 metric 1024

I would like to have "initcwnd 50 initrwnd 50" applied to that route. I can do this via ip route change. This works until my lease expires. When DHCP renews it, I end up with a second (duplicate) default route.

Score: 6
Iván Jf avatar
DRBD Cluster nodes not configured (StandAlone)
US flag

I have a HA cluster with two nodes, node one is the primary and node 2 is its mirror. I have a problem in the mysql resource since my nodes are not synchronized

drbd-overview

Node Principal:
0:home Connected Primary/Secondary UpToDate/UpToDate C r-----
1:storage Connected Secondary/Primary UpToDate/UpToDate C r-----
2:mysql StandAlone Secondary/Unknown UpToDate/Outdated r-----

Node Secundary ...

Score: 0
Sandra avatar
NGINX: configure multiple locations to different directories
us flag

I want to define a separate directory for each part of my website on my NGINX server.

domain.com/                     -->     /var/www/html/domain.com/website
domain.com/blog/                -->     /var/www/html/domain.com/blog
domain.com/checkout/            -->     /var/www/html/domain.com/checkout
domain.com/download/            -->     /var/www/html/domain.com/download
domain.com/f ...
Score: 0
Fix Zabbix Java Gateway with a custom Java version (error "compiled by a more recent version of the Java Runtime")
eg flag

In a production environment we have a simple Zabbix monitoring system that works very well to collect metrics from various Tomcat instances and other Java applications.

In short, this is our current configuration (that is somehow classic):

[ Zabbix Server ] → [ Zabbix Agent (passive) ] → [ Zabbix Java Gateway ] → [ Tomcat ]

It works also in this way:

[ Zabbix Server ] ← [ Zabbix Proxy ] →  ...
Score: 1
Greyula Reyula avatar
Deploy Printers GPO not working after PrintNightmare restrictions
ro flag

I am trying to use a GPO to deploy printers to Windows 10 workstaions in our domain. On a Windows Server 2016 DC, the policy that I am using is under Computer Configuration->Policies->Windows Settings->Printer Connections. I added the path \\PrintServer\SharedPrinterName.

I installed the relevant printer drivers on the workstation via pnputil.exe and Add-PrinterDriver in PowerShell, because af ...

Score: 0
Vivek Dhiman avatar
Apache Server Config Set Headers Conditionally
in flag

I am trying to set cache age for 200 responses and no cache for rest of the calls. I tried below config, which works fine when 200 OK response comes up and I can see max-age=800 in headers

But for other responses like 400 etc. I am not able to see cache-control header itself in developer console. Any clue to fix this issue. below is what i tried so far

   <If "%{REQUEST_STATUS} == '200'">
       ...
Score: 0
plehal avatar
HP dl360 gen7 connected to internet but can't see the lan
mg flag

My HP 360 gen7 computer had been running Fedora for years but yesterday after(during dnf update) a kernel update, it has started acting weird. It is the same kind of behavior that started during that update. It lost access to the lan. After the reboot, it sometimes connects to the lan for a few seconds and then something happens. it does get ip addresses on it NICs. While it can't see the lan (ping, mo ...

Score: 0
tcwlm avatar
Why are cloud platforms like Azure or AWS more expensive than dedicated server providers like Hetzner, OVH or Strato?
vg flag

I'm wondering why cloud platforms like Azure or AWS tend to be more expensive than dedicated server providers like Hetzner, OVH or Strato. What factors contribute to this pricing discrepancy, and are there any advantages to using a cloud platform that justify the higher cost?

Score: 1
user5525652 avatar
Ansible : Loop inside loop
ga flag

On ansible [core 2.13.3] my var.yml file is like this :

vlans:
  Servers:
    vlan_id: 10
    ip: 192.168.22.20
    mask: 255.255.255.0
    mode:
      tagged: 1/1,1/2
      untagged: 1/3
  Clients:
    vlan_id: 20
    mode:
      tagged: 1/1,1/3
  Printers:
    vlan_id: 30

The objective is to launch one task for each elements in vlans (Servers, Clients, Printers...) and for each mode (tagged, untagge ...

Score: 0
Prabhat Saxena avatar
nslookup output shows result and error within a container
cu flag
/ $ nslookup aplha-sidecar.pa-beta.beta.cloud 
Server:         172.20.0.10
Address:        172.20.0.10:53

Name:   aplha-sidecar.pa-beta.beta.cloud 
Address: 10.151.62.118
Name:   aplha-sidecar.pa-beta.beta.cloud 
Address: 10.151.62.231

*** Can't find aplha-sidecar.pa-beta.beta.cloud : No answer

why nslook is showing both result(Address) and error "Can't find aplha-sidecar.pa-beta.beta.cloud "

 ...
Score: 0
d12 avatar
How are files routed through the network when using a copy command with UNC paths as the source and destination?
us flag
d12

Given a command like robocopy "\\UNC1" "\\UNC2" /E /MT:128 /R:0 /W:0 executed from a workstation.

Do files move like this

enter image description here

or more like

enter image description here

Score: 0
C Rich avatar
failed to bind to LDAP server ldap:///: Can't contact LDAP server: Transport endpoint is not connected
sh flag

Users are unable to login to network cluster.

var/log/messages =

failed to bind to LDAP server ldap://<ldap server hostname>: Can't contact LDAP server: Transport endpoint is not connected no available LDAP server found: Can't contact LDAP server: Transport endpoint is not connected no available LDAP server found: Server is unavailable: Transport endpoint is not connected

Can ping ldap server from ...

Score: 0
EAK TEAM avatar
VPS - Sending mails fails on ubuntu via postfix
cn flag

i have a VPS on Hetzner and struggling with sending mails. They says that block outgoing port 25, 465.

I have tried to change postfix configurations to change the port for smtp to 587 but still unable to send mails to others.

Anyone have any idea how i can run successfully a mail server?

Score: 0
php composer in Virtualmin (jailkit)?
in flag

Is it possible in any way to get composer to work for a jailkit chrooted user in Virtualmin?

I don't got it to work, and wonder if there are any how-to solve this

Score: 0
Chenger avatar
Audit who calls binary
cn flag

Need to get parent process and/or user of curl that, I know, starts from time to time on some server.

Audit is used by others, so I can not trivialy configure it. Is there any other tools?

Score: 0
Mehrdad Dadvand avatar
how to get ssh user traffic usage after session closed
bz flag

I have openssh service on server side for tunneling and everything is OK. but i need to know how much a user downloaded from the server after every ssh session is closed. some guys suggested NetHogs to log the network usage of all processes periodically, some suggested iptables owner module. I don't know if any better ways exist or not or any alternative server side server to used instead of opens ...

Score: -1
ShmilS avatar
Keeping a vmdk's path on vmotion
nc flag

Situation's a bit complicated so I hope I can make sense here.

I have an OpenShift cluster installed on vSphere (managers and workers). It has Elastic configured to gather logs. Elastic has a Persistent Volume attached, and OpenShift is configured to use vSphere and create a vmdk for this PV and connect it to the worker VM.

Storage-wise, everything is in the same Datastore. Each worker and manager h ...

Score: 1
guesty avatar
systemd timer job not working
dz flag

I want the job to run every day at 2am and 2pm I have this in the .timer file

OnCalendar=*-*-* 02:00:00,14:00:00

But when I systemctl start myjob.timer I get this error:

Failed to start myjob.timer: Unit myjob.timer has a bad unit file setting.

I've googled, but not sure exactly where wrong.

Score: 0
chetan mundhe avatar
Unable to install ingress controller on k8s ver1.24.13
ck flag

I have upgraded the k8s from 1.23.4 to 1.24.13 and also migrated the CRI from docker to crio. I am deploying the ingress controller ver1.7 , pods are not coming up with error permission denied. Any suggestions how to fix this issue.


NGINX Ingress controller
  Release:       v1.7.0
  Build:         72ff21ed9e26cb969052c753633049ba8a87ecf9
  Repository:    https://github.com/kubernetes/ingress-nginx
  ngi ...
Score: 0
cz.steve avatar
Postfix Accept only pop3s and imaps accounts
in flag

Today i found out accidentally that somehow i can send emails from my postfix mailserver on plain old smtp pot 25. I m scratching my head why is that, even tho i configured postfix to accept only encrypted TLS connection on the outbound. What am i missing?

Heres the config part from my main.cf:

### Outbound SMTP connections (Postfix as sender)###
smtp_use_tls = yes
smtp_tls_session_cache_database = bt ...
Score: 0
Dillip avatar
Unable to connect Jenkins master VM (Linux) from a windows slave VM through agent.jar
zw flag

Command ran to connect :

java -jar agent.jar -jnlpUrl http://vmnx-testvm01.eur.ad.sag:8080/computer/vmdkp01%2Eeur%2Ead%2Esag/jenkins-agent.jnlp -secret 34c82af1e3a3d611fbdf56caassa5c511a97d696b1c134de91f1afassaasd4421b1e0dd4ca -workDir "C:\jenkins_slave"

Getting this error.

Apr 27, 2023 3:42:59 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://vmnx-testvm01.eur.ad.sag:8080/ provided p ...

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.