Latest Server related questions

Score: 0
How to assign a static IP with molecule-podman?
br flag

As the generated inventory look like a pair of instance name - ip (see above), I need to test recipe using the variable ansible_host with an IP value and not the instance name.

So the generated inventory look like:

[all]
idm ansible_host=10.0.1.1
client1 ansible_host=10.0.1.2
[client]
client1 ansible_host=10.0.1.2

Thus the molecule.yml contains:

platforms:
  - name: idm
    image: quay.io/freeipa/freei ...
Score: 0
PMTUD/ICMP black hole problems across a VXLAN tunnel
cn flag

I'm running a Proxmox PVE host and am trying to use VXLAN to connect the machines running on it to various networks in our Lab. However, I'm running into weird MTU-related problems that I don't understand.

First my setup. The basic layout is that virtual machines on the PVE host connect via a bridge to a VXLAN tunnel. On the other side of the tunnel I have a physical machine in the lab that acts  ...

Score: 0
Samba server not releasing record locks on network disconnection
jp flag

I was experimenting with a network file sharing scenario over SMB/samba. Record locks taken on a remote file remains valid, even after 1 hour of network disconnection. The following test case describes the set of activities done in chronological order:

->  A process (P1) on a windows client (C1) and another process (P2) on a Linux client (C2) are connected to 
    a common Linux server and acces ...
Score: 0
MarkoGM avatar
Why server shows default Apache page instead of my app?
il flag

I setup Php+Mysql app on my Ec2 instance but when I reach domain,Apache default page is shown. Bookstack is my app. tail log

172.68.50.230 - - [21/Apr/2022:05:26:52 +0000] "GET / HTTP/1.1" 304 2539 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36"

My default.conf output cat 000-default.conf

<VirtualHost *:443>
    ServerAdmin web ...
Score: 1
dan avatar
Issues between docker and firewalld/iptables
co flag
dan

OpenSUSE 15.3 user here. I broke the default rules created by docker on iptables and can't figure out how to repair this. I tried reinstalling docker already. Here is what happens:

vm-dev:~ # systemctl start docker

vm-dev:~ # tail /var/log/messages | grep firewalld
2022-04-21T00:53:25.607359-04:00 vm-dev firewalld[19494]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -D OUTPUT -m addrty ...
Score: 0
jdmayfield avatar
OpenSSH - sshd_config - Allow sftp-chroot AND normal ssh login with same user
cn flag

Hopefully not a dup, but can't find an answer to this one... I found this, which on the surface seems to be the same, but is very old and the only answer in it does not answer the actual question: Set Users as chrooted for sftp, but allow user to login in SSH

I have successfully setup a working ChrootDirectory environment via sftp for users in group 'sftp_users'. It works well, all the proper perms a ...

Score: 0
when I use the LXC IP on the browser it gives "This site can’t be reached"
au flag

Basically I want to establish website with the LXC. so I installed LXD and created LXC called app1, then installed apache2. All are running, but when I use the LXC IP on the browser it gives "This site can’t be reached", I disabled the ufw even though I removed it but nothing happen.

Here are the commands that I did with their results:

$ sudo lxc list
| app1 | RUNNING | 10.221.72.14 (eth0) | fd42:969c: ...
Score: 0
Alex Philip avatar
Error validating install location: Distro 'ubuntu20.04' does not exist in our dictionary
in flag

I am trying to Install Ubuntu20.04 as a Guest on top of KVM (Ubuntu 18.04 LTS ) and see the below error.

:~$ sudo virt-install \

--name=sno-dns --os-variant=ubuntu20.04 --ram=8192 --vcpus=4 --network network=default,model=virtio --network network=host-bridge,model=virtio --network network=sno-bridge-99,model=virtio --disk path=/var/lib/libvirt/images/sno-dns.qcow2,format=qcow2,bus=virtio,size=100 -- ...

Score: 0
Kaemmelot avatar
Mounting a filesystem for all processes from within a service/webserver
it flag

I'm trying to create a local website that allows me to decrypt a file, mount its contained filesystem and start a systemd service without accessing the console. The started service then uses the files within the mounted filesystem. The webserver currently runs my python code via cgi to serve a simple website to decrypt and mount that filesystem. I made exceptions in the sudoers file for the www-data use ...

Score: 0
Search and list AWX-Inventory in a playbook
in flag

I need help with Ansible AWX Inventory. We have many/different inventories on our AWX server which we are importing through different methods.

I have a requirement to search and fetch inventory names in a playbook and put it in a list, which starts from (ABC_DateTime) or (XYZ_DateTime) and create schedule on AWX through playbook. Inventory file is dynamic and changing every time but Prefix is fix ...

Score: 0
Temporarily stop Server 2012 from Sleeping
cv flag

Need to somehow stop a 2012 R2 Server from entering Sleep mode whilst running a batch file. When batch has finished it would be good to restore the server it's previous power settings. Is there perhaps a power Service that I could stop?

Edit: Forgot to say "Enable wake timers" is enabled but doesn't seem to help.

Score: 0
how to change eth0@if to normal eth0?
cn flag

So I bought a VPS from vpsdime and I wanna create a openconnect server on it but I cannot IP masquerading because of "eth0@if" this?

How can I change this to normal eth0?

sorry for my English, hope you guys understand this.

Score: 0
Chris Nelson avatar
What are my options for a distributed, row-oriented database?
cn flag

(Sorry if this isn't the right forum. StackOverflow doesn't seem right, either. I thought there used to be a description on the home page saying what kind of questions were relevant but I can't find it today.)

I have multiple servers that will handle data for a set of clients. I don't know ahead of time which clients will connect to which servers and the clients may move between servers. I ne ...

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.