Latest Server related questions

Score: 1
How to delete an inactive RAID array - Centos 6
cn flag

I have recently resized a logical volume group and a logical volume to fit into a RAID-0 configuration on Centos 6.10 system. Everything seems to be working fine.

However, the disk utility shows two Raid arrays, one with a status of "clean" and "running", the other with a status of "inactive" and "not running, partially assembled".

The clean one is named on /dev/md125 and has all the good stuff, e.g ...

Score: 0
kellyredbook avatar
Windows GPO printer deployment not appearing for new profiles
in flag

Old printers that have always deployed via Print Management > Deploy via GPO are now not deploying for new profiles.

the only Changes have been to my Settings GPO with regard to PrintNightmare and disallowing point and print... Under Computer>Policies>AdminTemps>Printers>Point and Print Restrictions>

Users can only point and print to these servers> disabled Users can only point  ...

Score: 0
Praveen avatar
Moodle Migration to new server
kz flag

I have been running a moodle server in aws. Recently the server became not accessible through ssh or http protocols. On trying several things I had to start anew server. The storage of old server is accessible through aws.

  • Old Server configurations:

OS = Ubuntu 18.04

Moodle version = 3.9

  • New Server configurations:

OS = Ubuntu 20.04

Moodle version = 3.10

Is there any method to migrate the da ...

Score: 0
Hassan Yousefzadeh avatar
route two interfaces that has ip of two different subnet
us flag

Yes I know it's a duplicate of many questions but I can't find my solution to them. I have a host virtual machine (ubuntu 16.04) that has two network adapters. one of them is connected to the gateway(so it has internet). but another one is just connected to the same port group as the first one. so diagram is something like that:

ubuntu ---
         |
         | ens160(136._.222) ---gateway(136._.20 ...
Score: 3
Mount filesystem with "structure needs cleaning" on ext4
in flag

There is a created years ago(and many time resized from that times) filesystem with ext4. After power failure it stop to mount. When i try to mount it manually i receive an error:

# mount /dev/space/vservershosting-vs /mnt/
mount: /mnt: mount(2) system call failed: Structure needs cleaning.

In dmesg there is more information:

[32618.800854] EXT4-fs error (device dm-44): __ext4_iget:5080: inode #2 ...
Score: 0
SaiKumar Immadi avatar
Oracle Cloud - Graceful termination of compute instances in an instance pool
my flag

We have an application that we want to run in OCI instance pool and preferably also connect to OCI auto scaling configuration. Whenever a scale-in event occurs, our application is sticky and might continue to handle the current ongoing sessions for the next 4-5 hours before finally draining out the users and triggering termination. The current approach we are thinking of is listening to the "Terminate ...

Score: 0
sebastien dontneedtoknowthat avatar
why port redirection and DNAT does not work with vxlan
jp flag

I need to create VXLAN connections between two computers A (on Debian with IP 192.168.30.1) and B (on archlinux with IP 192.168.30.3) For that, I did:

  • On A:
  sudo ip link add vxlan1 type vxlan id 1 nolearning remote 192.168.30.3 dstport 33333 dev ens4
  sudo ip link set vxlan1 up
  sudo ip addr add 10.0.0.106/24 dev vxlan1
  • On B:
  sudo ip link add vxlan2 type vxlan id 1 nolearning remote 111. ...
Score: 0
aamd avatar
pam_cracklib minlen not working as expected
uz flag

im trying to enforce a password policy using pam_cracklib on Debian with this configuration

minlen=10 lcredit=-1 ucredit=-1 ocredit=-1

but i still can create passwords with less than 10 length.

Edit

this is the content of my /etc/pam.d/common-password

password requisite    pam_cracklib.so   retry=3 minlen=10 ucredit=-1 dcredit=-1 maxrepeat=3 difork=7 reject_username enforce_for_root

password [su ...
Score: -2
Does connecting to a work VPN via Cisco AnyConnect give the domain administrator access to your computer?
br flag

I've been connecting to my work computer via Cisco AnyConnect for the duration of the pandemic and I'm now concerned about privacy. Can a domain admin on the company network access my files or my PC remotely while I'm connected to the network? Can he/she install software without my knowledge on my personal PC? I'm on Windows Home and have file sharing turned off. Thanks.

Score: 0
Adam avatar
Replace VPS rDNS FQDN with a mail subdomain
ar flag

I have a VPS with a single IP address and multiple domain names.

I used mail-tester.com to check the spam rate of my email. And my results are:

    Your IP address 93.123.12.43 is associated with the domain 2132217.myisp.net.
    Nevertheless your message appears to be sent from mail.example.com.
    You may want to change your pointer (PTR type) DNS record and the host name of your server to the same ...
Score: 1
james avatar
NFS not allowing hosts specified in config to mount share
cn flag

I am having an issue where NFS is refusing to allow hosts that are specified in the config file to mount the share.

I am running an NFS server on Debian 10, BTRFS filesystem.

my /etc/exports reads:

/share  192.220.189.0/24(rw,sync,no_subtree_check) *.domain.lan(rw,sync,no_subtree_check)

I am trying to mount from host.domain.lan, but when I try to mount the share I get the following:

mount.nfs: ac ...
Score: 0
Automate ssh port forwarding using DNS
cn flag

I have a number of ssh hosts (a dozen), for simplicity host1, host2, etc.

I frequently need to forward port, e.g.

ssh -L 8888:localhost:8888 host1
ssh -L 8889:localhost:8888 host2
ssh -L 8890:localhost:80   host2

This is annoying since 1) I need to remember mapping from local ports to hosts and 2) I need to do that manually

I'd like to implement some kind of system that listened to specific hosts (loc ...

Score: 0
ehsan_kabiri_33 avatar
HSTS max-age not effective/no update in Nginx
de flag

Using Debian10 and a fresh/new Nginx1.20.1, when I check: curl -I https://example.com I get Strict-Transport-Security: max-age=2592000 and when I check my website in https://www.ssllabs.com/ssltest/analyze.html, I see the result as

Strict Transport Security (HSTS) Yes TOO SHORT (less than 180 days) max-age=2592000

I searched all my nginx.conf and all included files, but I can't find the directive

Score: 0
Peter Manh avatar
CTparental installation giving errors on Ubuntu 20.04
in flag

I am trying to install CTparental on Ubuntu 20.04 by following the guide below and I got the error "Connection refused" at the last step of the guide when I try to go to http://my-server-ip

I would love to know how to fix this or what should I do to be able to access after I am done with the setup.

Thank you.

Here is the guide I mentioned above:

https://www.atlantic.net/vps-hosting/how-to-install-ctparen ...

Score: 0
user212942 avatar
Can force authentication to ldapi?
in flag

OpenLDAP has an ldapi socket by default.

ldapi can authenticate with gid and uid through SASL's EXTERNAL mechanism.

But I would like to force Simple Login in addition here.

It seems that olcAccess basically only performs an "OR" operation. But I want to can it make be accessed only when both the EXTERNAL mechanism and the Simple mechanism are satisfied by the "AND" operation.

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.