Latest Server related questions

Score: 0
Almog-at-Nailo avatar
'pip3 freeze' and 'sudo pip3 freeze' are different
vn flag

On my system (Raspbian Buster, raspberry pi CM4), packages installed with 'pip3 install ' are not available when I run 'sudo python3':

$ pip3 freeze |grep numpy
numpy==1.21.5
$ sudo python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "< ...
Score: -1
Dita Aji Pratama avatar
How to configure SSL on SearX with step by step installation from SearX documentation?
cn flag

I install searx on my server with this instruction: https://searx.github.io/searx/admin/installation-searx.html#installation-basic

I use default setting and change bind_address into my domain name. It works.

Now I have no hint how to configure SSL on my SearX installation.

Score: 0
tux avatar
Apache2 LDAP Authentication - invalid Username leads to Error 500
in flag
tux

I have a directory on my apache2 that only a certain group of my active directory should be able to access. This is in my apache2.conf:

<Directory /var/www/html/mydirectory/>
        AllowOverride All
        AuthType Basic
        AuthName "Apache LDAP authentication"
        AuthBasicAuthoritative Off
        AuthBasicProvider ldap
        AuthLDAPURL "ldap://192.168.0.5:389/CN=Users,DC=my-domain, ...
Score: 0
Robert Grubba avatar
Debian: how to put two versions of libcurl on one system?
jp flag

I'm trying to migrate two web apps on single server(debian10), both require different versions of php, and both require cURL extensions to work properly.

php5.6-curl uses libcurl v3

php8.1-curl uses libcurl v4

Firstly I've installed php5.6-curl, and when I tried to install php8.1-curl - apt throws notification that The following packages have unmet dependencies: php8.1-curl : Depends: libcurl4 (& ...

Score: 0
K1ll3rM avatar
Nginx chrome ERR_SSL_PROTOCOL_ERROR when not trying to use ssl
th flag

I've set-up Nginx both default and a config in sites-enabled and yet I get ERR_SSL_PROTOCOL_ERROR when trying to connect. I never configured anything to use ssl and trying to connect with http results in a redirect to https. Firefox shows a SSL_ERROR_RX_RECORD_TOO_LONG error.

Maybe related is that I'm trying to set up a Strapi (NodeJS) server which gives me the same error when launched on the ser ...

Score: 0
Geoffrey Gardella avatar
Generating plain-text report in OpenSCAP
um flag

I have set up OpenSCAP for compliance testing. Right now I am generating xml and html reports.

oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_custom --results-arf results.xml --report report.html ssg-centos7-custom.xml

I really need to generate text reports. The documentation says:

3.3. Generating Reports and Guides Another useful features of oscap is the ability to generate SCAP co ...

Score: 0
Pablo Morales Belmonte avatar
Trying to deploy an electron app with Amazon ElasticBeanstalk
cn flag

I'm deploying an electron app whose core is a dll so I'm using windows server as platform but I got a red enviroment and this error.

[Instance: i-0586c920d7538ec6b ConfigSet: Infra-EmbeddedPreBuild, Hook-PostInit, Hook-PreAppDeploy, Infra-EmbeddedPostBuild, Hook-EnactAppDeploy, Hook-PostAppDeploy, Infra-WriteVersionOnStartup] Command failed on instance. Return code: 1 Output: null.

I don't know wher ...

Score: 0
HAProxy Timeouts and Streaming Backend - Hangs Forever
ru flag
Sam

I have a backend behind haproxy that streams a file to the client using a CGI script. I'm trying to set a timeout for my backend servers. All works fine, except for this timeout.

When I set the "timeout server" option in the haproxy config to 1 second (just to test - the backend takes 2-3 seconds at a minimum), and make a request, after 1 second it puts an entry into the log file for the backend  ...

Score: 0
Why is a windows domain user required and is there an alternative?
mk flag

I have a script that executes JAVA program. The script runs fine under my own user.

However, the script fails to run when using a scheduler service, which runs on the same (EC2) machine, under a system account with administrator privileges (SchedulerUser).

My supplier tells me I need to run the scheduler service using a domain user.

This would require me to set up an Active Directory, which I like t ...

Score: 0
Can Volume Shadow Copy Service (VSS) expose a volume to a Failover Cluster disk?
kn flag

I am running a Windows Server 2012 R2 failover cluster environment for development, to mirror our production cluster, and I have VSS able to expose to a drive, mount point or share local to the Cluster Node, but I cannot seem to be able to expose to a Cluster Role drive or mount point.

The error tends to be:

Attempting to expose the shadow copy as local mount point S:\Test. Could not expose the s ...

Score: 0
Jigar avatar
CIS compliant auditd configuration on Red Hat 7/8
cn flag

We have a large fleet of Red Hat 7/8 systems. We have a requirement to make sure that all systems are CIS compliant.

One of the requirement is to not automatically rotate the audit logs. That is, configure the following:

max_log_file_action = keep_logs

However, this setting will fill up the partition where the logs are stored. We want to configure the above setting to rotate but that will make the sys ...

Score: 0
8a9 avatar
Increase Concurrent Remote Desktop users on a standard Azure VM
br flag
8a9

I have a client who has been using the default 2 allowed concurrent Remote desktop connections with a standard windows server 2022 VM in Azure. They use a VPN to keep thing secure.

Is it possible for them to fulfil their new requirement of 5 concurrent users by applying Client Access Licences or equivalent to their existing server?

Is there any way of getting round starting again from scratch with a ...

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.