Latest Server related questions

Score: 2
my bridging configuration on freebsd 13 ins't properly configured because any bhyve VM based on Ubuntu 21.04 and Windows 10 can't connect to internet
it flag

I've configured the bridging and the tap interface on freebsd 13 because I want to boot and use a bhyve VM based on Ubuntu 21.04 and Windows 10,but unfortunately,after several readings and help requests on :

reddit : https://www.reddit.com/r/Ubuntu/comments/p38ru1/ubuntu_2104_cant_connect_to_internet_when_it_is/

the freebsd forums :

  1. https://forums.freebsd.org/threads/how-to-duplicate-the-tap0-interfa ...

Score: 0
Emma avatar
Allow restricted user to change their own password
jp flag

Recently I have followed the articles below, however, the passwd file that I copied to a dir in the users `‘home`` dir.

However, when the new credentials are parsed into passwd, it ends up with the error of:

Authentication token manipulation error".

I have googled alot, however none of the solutions has worked.

https://access.redhat.com/solutions/65822

https://stackoverflow.com/questions/21498667 ...

Score: 0
How to reduce Modsecurity disk IO
cn flag

Modsecurity generates a lot of disk io operations, and the file www-data-ip.pag is read and written continuously. Is there any solution that can effectively reduce this? Could it be moved to RAM in some way?

Score: 0
Overwriting existing users in MS 365
in flag

I inherited the management of a MS365 (former Office 365) and local Active Directory system. The old server was toast and I created a whole new Active Directory domain on new hardware.

On the new AD domain many users have the same email adresses as on the old domain and it seems that this causes problems.

My goal

Is to overwrite all users on MS 365 with my new users on my AD.

The Problem

When I installed ...

Score: 0
Ansible WinRM Error when collecting winrm facts: You cannot call a method on a null-valued expression message
uz flag

I have a lab resident in a vCenter server, the lab includes 5 windows servers and 3 windows 10 Each time I running a playbook (any playbook) against this lab, 2 errors are appeared in TASK [Gathering Facts]:

[WARNING]: Error when collecting winrm facts: You cannot call a method on a null-valued expression.  At line:15 char:17  + ...
$ansibleFacts.ansible_win_rm_certificate_expires = $_.Not ...  +   ...
Score: 0
AWS EC2 unable to expand C Drive even disk managment recgonized the space
pk flag

I have allocated more space to our EC2 server for both C/D drives. everything works as planned by selecting EXPAND DRIVE for D: on the other hand, C: does not provide that option for expansion. wondering if I have missed any steps. Disk management screen shot

Score: 1
Philipp avatar
Docker PostgreSQL change database encoding to UTF-8
in flag

I want to run via docker-compose a postgres container which has COLLATE and CTYPE 'C' and database encoding 'UTF-8'. But this looks to be impossible.

This is the part on the docker-compose.yml:

database:
    image: postgres:latest
    volumes:
        - db:/var/lib/postgresql/data
    environment:
        POSTGRES_PASSWORD: test
        LC_COLLATE: C
        LC_CTYPE: C
        LANG: C.UTF-8

And this is  ...

Score: 0
Rafael Arcanjo avatar
GlusterFS breaking frequently
cn flag

I would like to ask for guidance on what I might be wrong.

I have a Swarm cluster with three nodes, and a GlusterFS server (no bricks or replication). All nodes have volume mounted by glusterfs client.

Several times the clientes break, showing error of the no such file or state handle.

If often happens when working with multiple files and other times random.

When the issue occurs if I umount and mount the ...

Score: 0
onev avatar
Forward local ssh key to remote host
jp flag

I'm using ansible and i'm wondering. Is it possible to rewrite a local ssh key to a remote machine? I need to clone a repository using my private key on a remote machine. I cannot add the key from the machine in this case )this key will vary depending on who is starting the playbook)

I try:

~/.ssh/config
Host app01.dev.d
  User root
  ForwardAgent yes
  IdentityFile ~/.ssh/id_rsa.dev
  ProxyComma ...
Score: 0
Artur Müller Romanov avatar
PhpStorm Laravel trying to connect to MySQL database throws java.net.ConnectException: Connection refused: connect
co flag

I am trying to set up a laravel project in phpstorm but fail at connecting to a mysql database. These are the steps I've taken so far:

  1. download and install composer, vagrant and virtualbox
  2. create laravel/laravel project with composer (create composer project in phpstorm)
  3. integrate laravel/homestead with composer: composer require laravel/homestead --dev
  4. build homestead in root dir: vendor\\bin\\ ...
Score: 0
community.windows.win_unzip shows Filename contains relative paths which would extract outside the destination error message
uz flag

I'm trying to unzip a zip file in a remote server
This file was download first from jFrog repository
The following task should handle the unzip:

- name: Unzip Config.zip file
  community.windows.win_unzip:
    src: C:\files\config.zip
    dest: C:\files\
    recurse: no
    delete_archive: yes
  when: "'center_primary_appservers' in group_names"

But produced the following error

TASK [jfrog : Unzip ...
Score: 1
Andrija Kovačević avatar
Route all traffic through Wireguard peer
gh flag

I have a Wireguard VPN setup that basically looks like this:

P1 ---- S ---- P ---- LAN
Px -----|
  • S (ip 192.168.60.1) is a WG server running on Ubuntu 20.04 with ufw enabled, with a public IP (using wg0 interface).
  • P (ip 192.168.60.2) is a WG peer running behind CGNAT, without a public IP, connected to its own LAN.
  • P1..Px are other WG peers (ip 192.168.60.1x).

Ufw has the following configuratio ...

Score: 0
Owner vs Organization Adminstrator vs Billing Account Adminstrator
de flag

I am lost in GCP role-land. I see two very similar looking roles:

Owner - Full access to all resources

Organization Administrator - Access to administer all resources belonging to an organization

Even with both roles, I still couldn't access the billing accounts I hadn't personally created. So then I discovered a third permission that let me see those:

Billing Account Administrator - Authorized to see an ...

Score: 0
Sudo Error When Resizing Azure VS Disk
gb flag

I upgraded my disk size from 30G to 2048G. Now I need to resize it from OS and am following this article. https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks

The problem is when I try to unmount the partition I get error

umount: /: target is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))

If I try to unmount using umount -l, ...

Score: 0
python gspread not working on GAE
in flag

I had a program that ran for years on Google App Engine. It was written in python and uses gspread. It suddenly stopped working on GAE and returns a 404. I tested it locally and it works fine.

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.