Latest Server related questions

Score: 0
ardabro avatar
how to umount or remount /var/log on running system?
cn flag

I experience filesystem problems on the filesystem where my /var/log is bound. I wanted to umount it or remount to another location in order to check and repair it. Unfortunately, there are many open files here, opened by system processes: systemd-j, rsyslogd, openvpn, etc. Is there any way to deal with this situation without stopping the system? Is it possible to transparently pause or switch logging t ...

Score: 0
AaplMike avatar
Debian 10: user cron does not runl; cron[xxx]: Permission denied
ke flag

all.

Weird errors when trying to run cron on a Deb10 instance. Root is the only user that succeeds in cron. I've tested a simple called to logger and a script that sends an email. No errors running any of the scripts by hand, but just see 2 errors in syslog:

Oct 15 13:38:01 reports cron[8897]: Permission denied
Oct 15 13:38:01 reports CRON[9103]: Permission denied
Oct 15 13:38:01 reports cron[8897]: P ...
Score: 0
Joppe avatar
Bridging firewall between two sites with same network
mw flag

We have been assigned an IP-network for a test lab we can use for our equipment. To make sure our mistakes wont leave us nor anything from the outside will disturb us we want to setup a firewall without without NAT. We simply want a firewall so we can stop some errors from reaching in or out to the rest of the group.

Network 192.168.100.128/26 GW 192.168.100.129

I've set up a Linksys WRT1900 with Op ...

Score: 0
Ansibe to install/update Zabbix agents on hosts listed in Zabbix server
us flag

I have a lot of VMs set up by hands during years, so each VM is a bit unique (so to say, you know). Zabbix agents on these VMs are of different versions and maybe differently configured.

The idea is to use Ansible to install commonly configured Zabbix agents on all of these VMs. Now I'd like to fill Ansible inventory with hosts from Zabbix server host list - and it would be pretty good idea to use t ...

Score: -1
Gary Truesdale avatar
Add a petabyte of storage to your GCP Virtual Machine
se flag

How do you add a petabyte of storage to your GCP Virtual Machine

Video Storage

Seems the optimal solution to do enterprise video storage would be in a google cloud bucket. I want to access this information from my GCP VM. How do I connect the two? Seems like it should be easy. Where is the box I check?

Score: -3
MajdAlo avatar
How to build OpenLDAP in windows and get binaries?
dj flag

How can i get binaries for these tools: [ldapadd ldapcompare ldapdelete ldapexop ldapmodify ldapmodrdn ldappasswd ldapsearch ldapurl ldapvc ldapwhoami]

I tried to build openLDAP version 2.6.3 from here: https://www.openldap.org/software/download/ in windows but i couldn't manage it then i get build it in Kali Linux and using these commands from this webpage https://www.openldap.org/software/release/ ...

Score: -2
Nimball Dimpall avatar
Allow specific multiple phones on differing LTE networks
sm flag

I'd like for me and a few others to access my server just from a web browser without the use of a vpn. But the ip addresses of the devices always change because of LTE networks

What kind of firewall or whitelisting would I need to research in order to accomplish this.

Score: 0
SKidd avatar
In Server 2019 control panel, the server shows with an asterisk - unknown device
in flag

Single server small network and in the Control Panel, the server icon shows unknown:

enter image description here

Why would this happen - and what's the implication? Clients connect OK, all seems OK, but it's nevertheless unnerving.

Only things attached is a monitor, bog standard keyboard,and two USB drives for backups.

Nothing in the error logs other than expected annoyance stuff Alerts that are safe to ignore - e.g. took 'x'  ...

Score: 0
Dominik Maier avatar
Ubuntu 22.04.1 autoinstall cloud-config fails
bh flag

I'm currently having an issue installing Ubuntu 22.04 via cloud-init. The server has two hard drives. There should be a /data partition on the second hard disk, but currently, the installation doesn't work. Error message Does anyone have an idea what is wrong with the storage configuration?

#cloud-config
autoinstall:
  version: 1
  apt:
    geoip: true
    preserve_sources_list: false
    primary ...
Score: 0
Aaron Williams avatar
How to get ldap working on OpenSUSE 15.4
py flag

I am at my wits end in trying to get openldap working on OpenSUSE 15.4. I don't need directory services or user management, but it would be helpful for configuration for my DHCP and DNS servers.

I upgraded the system from 15.1 to 15.4 and everything related to ldap just seems broken. In an attempt to restore some sanity, I blew away all of the LDAP configuration, i.e. /etc/openldap/* /etc/dirsrv/ ...

Score: 0
Emad Helmi avatar
OpenVPN server starts but not listen on the port and cannot connect to
cn flag

Today using this blog post, I set up an openvpn server. When I check the service status using

systemctl status [email protected] 

everything's seemed to be fine. This is the log of the systemctl command:

[email protected] - OpenVPN service for server
     Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: active (running) ...
Score: 0
Bogdan Kuštan avatar
Oracle cloud Load Balancer to VM Security
mu flag

I have strange issue allowing Load Balancer to access virtual machine on private network in Oracle Cloud. If I allow 0.0.0.0/0 to access my virtual machine on port 80, load balancer (and machines public ip) works fine. If I set rule to 10.0.0.0/16 I can't access vm through load balancer (and machines public IP of course). LB and VM are on same VCN (10.0.0.0/16). Nginx in access logs shows 10.0.0.214 ip  ...

Score: 0
GitCrush avatar
How to enumerate privileges of a given AD Domain user?
hu flag

I am currently working on a non-privileged Powershell of a domain joined host, trying to enumerate all privileges of one AD user.

After doing some research, I understood there is no straight-forward way to view the privileges assigned to a user account via direct / indirect membership in groups and organisational units.

whoami / priv for the logged on user also gives no exhaustive list of all as ...

Score: 3
fstrim is very slow on xfs and always return same value unlike ext4
de flag

I just noticed if I do time fstrim /<some ext4>; time fstrim /<some ext4> the 2nd call usually print 0 bytes trimmed and finished immediately. However if I do same thing on XFS, 2 of the calls are taking exactly same time and print exactly same amount of trimmed bytes. This makes me wonder does the trim really worked? If yes, is there any flag I can turn on to make the XFS not re-trim  ...

Score: 0
lukascobbler avatar
Issues with starting a virtual machine using virsh without intializing virt manager
eg flag

I am having problems with starting a virtual machine using virsh.

When I do virsh list --all, I see the VM named "ubuntu20.04" and it's state if shut off. Then I do virsh start ubuntu20.04 and get this error:

error: Failed to start domain 'ubuntu20.04'
error: internal error: /run/wrappers/bin/qemu-bridge-helper --use-vnet --br=virbr0 --fd=27: failed to communicate with bridge helper: Transport endpoint ...
Score: 1
Wanexa avatar
Ansible & Jenkins
ss flag

here is my problem

I run a playbook on jenkins with extra variables, I want to test in my playbook is variables are defined

ansible [core 2.12.1] , jenkins plugin 1.1

here is the command from jenkins :

ansible-playbook create_user.yml -i hosts -e Site=UK -e BU=Test -e date_exp=

my code for testing is below

- name: Set expiration date 
  when : not date_exp
  set_fact:
   date_exp: "01/01/2024"

- name:  ...
Score: 0
Alex Orbit avatar
Sorry i'm stuck with freeradius to LDAP
ck flag

Ok Im a little stuck with FreeRadus.

I think I have found the problem, I just don't understand why so If I try to auth over the wifi it looks like its not getting the password below is the debug of that

Ready to process requests
(0) Received Access-Request Id 149 from 192.168.200.238:49881 to 192.168.20.2:1812 length 227
(0)   User-Name = "testing"
(0)   NAS-IP-Address = 192.168.200.238
(0)   NAS-Iden ...
Score: 0
Serguei avatar
timestamp of the last hit of an iptables rule
ng flag

I am looking for a way to get timestamps of iptables rules' last hits for a long-running instance. (I know of the recent module and iptables -vL etc., but they serve a different purpose.) I have spent some time searching now, including here, and most answers and man pages talk about packet/byte counts for each rule, or how to dynamically control IP sets and update the rules based on the count and recency ...

Score: 1
mshta avatar
"portal" and "fuse.portal" meaning in mount system command's output in Linux
au flag

In mount system command's output in Debian Linux 10-like OS I have following string:

portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

What means this string?

Score: 0
peppy avatar
rsync error: /etc/ssh/ssh_config: Bad configuration option: clientaliveinterval / clientalivecountmax
gb flag

I am trying to copy directories from one server to another using rsync using:

rsync -avr /home/<username> <username>@111.111.111.11:/home/<username>/

I get this error (on the sending server):

/etc/ssh/ssh_config: line 54: Bad configuration option: clientaliveinterval
/etc/ssh/ssh_config: line 55: Bad configuration option: clientalivecountmax
/etc/ssh/ssh_config: terminating, 2 b ...
Score: 0
mauricev avatar
ZFS on Linux: what do when the spares fail?
cl flag

I have a Gentoo-based server with a ZFS pool. Two drives in the same vdev failed. The two spares kicked in automatically to replace them. During this time, the two spares themselves failed.

I detached both spares and that did not detach them. I had to zfs remove them. I added a new spare. ZFS accepted it, but took no action to replace either failed disk. When I tried to manually replace one of th ...

Score: 0
Does ecryptfs support AES-256? How can I check?
me flag

I have been asked if our workstations are encrypted with AES-256. I have not been able to find this information at ecryptfs.org. Various web searches report conflicting information.

  1. Is there a way to check what encryption is used on a workstation?
  2. Can an existing workstation be upgraded, if needed, to AES-256 with low effort?
Score: 0
Leo avatar
ERR_CONNECTION_REFUSED, None of your local nameservers can be authoritatively resolved
ae flag
Leo

I have server on ubuntu which contains PHP,MYSQL, laravel. I have laravel pr oject and everything is working well when i went to server ip. but also i have domain. I want to use domain. Actually i install bind. In /etc/bind/named.conf.options i add my server ip. Then restarted with this sudo systemctl restart bind9.service. In /etc/bind/named.conf.local i add my domain for example:

zone "example.co ...
Score: 0
rmacian avatar
Nginx give ssl_client_verify ok with expired client certificate
mx flag

I am testing mTLS with nginx ingress and I have a working scenario. Now I'm trying to see what happens with an expired client certificate:

Validity
  Not Before: Oct 13 20:05:00 2022 GMT
  Not After : Oct 13 21:05:00 2022 GMT

Curl's output is:

* Server certificate:
*  subject: C=ES; ST=Madrid; L=Madrid; O=My company; OU=My OU
*  start date: Oct 12 09:31:00 2022 GMT
*  expire date: Oct 10 09:31:00 ...
Score: 0
kube-vip on k3s responds to ping but to api requests
fr flag

I have setup my cluster with tls-san configured with my kube-vip IP (..*.59) and have deployed the daemon set. The daemon set has no errors and the kube-vip pod is running.

If I ping my VIP IP, I get a response but if I try to access the cluster using the kube-vip IP, I don't get a response and the connection just times out. Also curl -k https://*.*.*.59:6443 also times out.

If I change the IP add ...

Score: 1
Howard Ching Chung avatar
Is Linux or something else eating my RAM? Memory usage doesnt add up
py flag

I've read quiet a few topics on RAM usage here on serverfault and linuxatemyram.com, but none seem to provide insight into what's happening on my machine

    top - 17:42:31 up 8 days, 10:23,  3 users,  load average: 1.16, 1.14, 1.19
Tasks: 344 total,   1 running, 343 sleeping,   0 stopped,   0 zombie
%Cpu(s): 13.3 us,  2.4 sy,  0.0 ni, 83.4 id,  0.0 wa,  0.0 hi,  0.8 si,  0.0 st
MiB Mem :  15888.2 ...
Score: 0
BadProgrammer avatar
How to mount on /mnt/ as non-root with gcsfuse
sl flag

Introduction

I am using gcsfuse to mount my Cloud Storage bucket as a filesystem in my Linux instance hosted on GCE.

Following the documentation from gcsfuse, it recommends to not use "root" to mount it, as the user who mounts the filesystem will be the owner. Hence, you won't be able to write or read objects as a normal user.

The mounting point that I intend to use is /mnt/, but it requires system admin ...

Score: 0
Nathan avatar
GITLab with Multiple Servers
cn flag

I have gitlab setup and deployed: We are pushing to 3 different Development Servers, 3 different Test Servers, and ultimately 9 different production servers.

Each server has separate configurations, i.e. Dev Server 1 reads from Database x, while Dev Server 2 reads from Database Y so on and so forth.

Example: On Dev Server 1 our configuration file has a line for DB=X

I don't logistically see a way to se ...

Score: 0
Marc-Antoine Echallier avatar
Debian with sssd to connect AD user doesn't restrict login against GPO
td flag

I'm stuck since 3 days, I try to integrate AD users from my Windows server to Debian Server.

For this purpose I installed on my debian server these package :

realmd libnss-sss libpam-sss sssd sssd-tools adcli samba-common-bin oddjob oddjob-mkhomedir packagekit

I successfully integrated my Debian to AD server, and my users can now login to the Debian but restrictions set with GPO on AD doesn't apply so ev ...

Score: 0
Marcello Pato avatar
XDebug and macOS High Sierra
cu flag

I think I have done all the configurations people give on the internet about it, but still can't install and make run properly xdebug.so on macOS High Sierra.

The best help so far is found here

But still receiving this error:

MacBook-Pro-de-Marcello:compliancy.com marcellopato$ valet php --ini
Failed loading /usr/local/Cellar/[email protected]/7.2.34_5/extentions/xdebug.so:  dlopen(/usr/local/Cellar/[email protected]/ ...

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.