Latest Server related questions

Score: 1
PHP upgrade 7.2 to 8 is not recognized by Wordpress
cn flag

I have a VPS with LAMP stack and I tried to upgrade to PHP 8. When I run php -v the version is 8.1, but WordPress tells me it is 7.2.

So I created a php file

<?php phpinfo(); ?>

which tells me the following:

PHP Version 7.2.34-28+ubuntu18.04.1+deb.sury.org+1
  • I have disabled 7.2
    • a2dismod php7.2
  • enabled 8.1
    • a2enmod php8.1
  • restarted apache
  • sudo service apache2 restart

In the folder /etc/apach ...

Score: 0
Costales avatar
CUPS: How to set staples for a printer?
eg flag

I don't find the option into the CUPS web for the options of the printer. Is it possible from the command line?

Thanks in advance!!

Score: 0
Abhishek Rai avatar
Blocking Application Installation via Intune or custom OMA-URI for Admin Users
ae flag

I have 10 systems where only 1 account exists on the Windows machines which is the microsoft work account. There are no local Admin accounts on these systems. I am able to block CMD, RegEdit, Powershell even access to Settings for the user even though he is an Adminstrator(given that this is the only account on windows). Only thing I am not able to find out it is how to block the user from Installing an ...

Score: 0
emollusion avatar
Using ssh with sssd for password or publickey and extending with MFA support through PAM
si flag

So after some extensive testing and discussing I can no longer wrap my head around this problem on my own.

Goal: Authenticating over ssh with either publickey or password, and use PAM for MFA.

System used is Ubuntu Server 20.04

Splitting this into managable parts has also shown some difficulties combining different parts.

Authenticating with publickey and using PAM for MFA is not a problem. Authenticating ...

Score: 3
Johannes B. Latzel avatar
Interpreting LastLogon vs. LastLogonTimestamp
cf flag

To get the time of last logon of an account in an Active Directory of a Windows domain im querying the LastLogon attribute on every Domain Controller and the LastLogonTimestamp on one domain controller. For the specific user account that im currently looking into there are LastLogon attributes with values >= 180d which makes sense since the user account should not have been used recently. But the Las ...

Score: 0
Fatinatul Fatihah avatar
Instances in openstack status error and it says no valid host was found
mx flag

I have tried many times to launch instances, but it keeps failing due to the fault error, saying no valid host was found. Keep following the tutorial on youtube, but it didn't work.

Message No valid host was found. Code 500 Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 1512, in schedule_and_build_instances instance_uuids, return_alternat ...

Score: 0
sei ou avatar
How do I extend the space of /dev/sda3 on Oracle Linux Server 7.9
cn flag

Disk capacity is at 105GB, but the root directory (/dev/sda3) capacity is only 39GB, I want to increase the capacity. How can we do this? By the way, the OS is Oracle Linux Server 7.9.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         11G     0   11G   0% /dev
tmpfs            11G     0   11G   0% /dev/shm
tmpfs            11G  115M   11G   2% /run
tmpfs            11G     0 ...
Score: 0
Mohammad Saad avatar
socket connection error while building mysql on ubuntu 20.04 docker image
in flag

I am trying to build mysql on ubuntu 20.04 docker image, using dockerfile and configuration bash script to install and configure mysql.

Dockerfile:

FROM ubuntu:20.04

RUN apt-get update -qq && apt-get upgrade -y 

ENV MYSQL_DATABASE: 'test'
ENV MYSQL_USER: 'user1'
ENV MYSQL_PASSWORD: 'xxxxx'
ENV MYSQL_ROOT_PASSWORD: 'root'

COPY . .

RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install ...
Score: 0
Jason O avatar
Communicate between Windows and Linux subsystem using Virtual COM Port
in flag

I have a Windows program that connects to a COM port to send and receive data. The the other end is another program that is running on a remote Linux machine that also uses the COM port to communicate. I am trying to come up with the simplest way to bridge the connection between these two programs.

So far, I want to use the tty_bus utilities to create the COM port bridge over SSH. The problem I'm ...

Score: -1
jes516 avatar
Why is exchange custom retention policy changing back to previous policy
nr flag

I setup a custom retention policy, however after an hour or so, the retention policy is changing back to the previous policy. Any idea why this could happen? I have set the retention policy a few times via Powershell and it keeps reverting back.

  • I should add that the mailbox is currently full which is why I am applying a new policy to make space. Mailbox is currently unusable.

Custom:

Name             ...
Score: 0
Nftables logging with ulogd
us flag

Recently I started looking into nftables since it's going to be iptables successor. While doing so I came across some logging difficulties as maintaing separate log files for different services, and while syslog isn't really up for the task(unless I missed something) and nftables wiki suggested ulogd, so I decided to give it a try, but maybe there are better solutions like rsyslog or syslog-ng, what wou ...

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.