Latest Server related questions

Score: 0
Tihami QA avatar
Unable to configure LDAP in jenkins and gettig Authentication error
eg flag

After giving the valid LDAP details in Jenkins, getting the error message as shown below:

Login Authentication: failed for user "twice" Lookup User lookup: user "twice" does not exist. Does the Manager DN have permission to perform user lookup? Are the user search base and user search filter settings correct? LDAP Group lookup: could not verify. Please try with a user that is a member of at least one LDAP ...

Score: 1
How to bind an external IP address to a new NetNat network?
jo flag

On my Hyper-V 2019 server, which is joined to the domain that's hosted on one of its VMs, I'm running on the 192.168.0.0/24 subnet. I'm setting up a demo of a new DC for a customer, so I need it to run on a different subnet, 192.168.4.0/24.

To accommodate this, I've created a NAT network following this guidance. It works. However, I'd like to go a step further than what the guidance provides for. I ...

Score: 2
sherpaurgen avatar
Frozen boot due to slow disk/controller
cn flag

Im running ubuntu 20.04 on dell r740xd, One of the disk controller seem to present the disk(multipath disks used for openzfs pool) slow while the server is booting. If the server is boot from 'recovery mode'->'resume normal boot' the slow controller disk are detected and imported normally. until now i have tried to add rootdelay=300 option in grub cmdline options by editing file /etc/default/grub

 ...
Score: 0
ITnewbie avatar
Can Linux do conditional judgment to insert the content at a certain line in Linux
cn flag

Can Linux do conditional judgment to insert the content at a certain line in Linux?

For example, I would like to add user "test" to /etc/sudoers to let it can switch to root:

  1 #
  2 # This file MUST be edited with the 'visudo' command as root.
  3 #
  4 # Please consider adding local content in /etc/sudoers.d/ instead of
  5 # directly modifying this file.
  6 #
  7 # See the man page for details o ...
Score: 0
LosmiNCL avatar
Apache Server is very slow on Sunday morning, CentOS, Tomcat
in flag

I've created the Java Spring Boot app and deployed it on the Tomcat, in the Apache VPS server. The operating system is Linux CentOS 7. My app is working great, but only on Sunday, around 02:00 am UTC + 1 until 12:00 am UTC + 1 pages are loaded extremely slow. Not only pages of my app, but also PHPMyAdmin, and Linux terminal. And only at that time. Last night, slowing started on Sunday at 07:00 am. I don ...

Score: 0
panicking_kernel avatar
No IPV6 internet connectivity on client side of OpenVPN AWS EC2 server?
cn flag

I have an OpenVPN server I've set up on an AWS EC2 instance that is pulling an IPV6 address, and can traceroute6 and ping6 ipv6.google.com. The client can do neither and does not return an address when using online tests like ipleak, or testipv6. The server and client can ping6 and traceroute6 each other.

The client appears to pull the correct address locally, and via ip -6 route. IPV4 has always wor ...

Score: 1
TCP handshake not completing intermittently to specific Cloudflare node
cn flag

I have setup a webpage with Cloudflare that works nearly all of the time, except occasionally the TCP handshake fails with the SYN+ACK not making it to Cloudflare. On a packet capture from another machine on the network with the server, I can see the SYN arrive, the SYN+ACK is sent, but no ACK arrives, instead retried SYN packets come in and are replied to (see Wireshark log below). Users eventuall ...

Score: 0
f.khantsis avatar
amazon-cloudwatch-agent shuts down on every application reload
cn flag

I have a Tomcat app on Elastic Beanstalk, and I want to send logs to Cloudwatch Logs. To that end, I set up log4j to write to file, and in .ebextension, amazon-cloudwatch-agent is installed and run.

commands:
#  00_download_and_install:
#    command: rpm --upgrade --force https://s3.amazonaws.com/amazoncloudwatch-agent/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm
  01_start:
    command: /opt/a ...
Score: 0
Virtual_Lotos avatar
Connection "not secure" in browser address bar
mx flag

There is a website https://ccie.pl. It prompts "not secure" connection while using site IP address but everything works correctly for domain name. What is the most likely reason for this behavior ? Is it related to NGINX/Apache WebServer configuration or is it problem in configuration of DNS records or perhaps the cause should be looked for somewhere else ?

How could it be fixed from a site administrator ...

Score: 0
Vincenzo Iorio avatar
R/W Permission Kubernetes over NFS
cn flag

I have kubernetes pod with a PHP & Nginx containers , mounting an NFS share v4.1, as /var/www/html/"webcontent" When I access the application from browser throws the error "You need to grant write permissions for PHP on the following directory: /var/www/html" The NFS server is a Sinology NAS, no mapping enabled, so it should default to use UID=33 GID=33 . Both are synced in the NFS server and every ...

Score: 0
Increased TTFB in HTTP load balance
pe flag

We have our own rack in Amsterdam, Leaseweb.

We do HTTP load balance (via Cloudflare) with 3 Windows 2019 IIS servers:

  • Server 1: Bare-metal supermicro server. Runs IIS, MySQL8, and Redis.
  • Server 2: VM on Dell server. Runs IIS.
  • Server 3: VM on Dell server (exact copy of server2). Runs IIS.

The files are locally served in all causes (via replication)

Now the problem is that the TTFB, as measured lo ...

Score: 1
Matthew Skillman avatar
Brute Force AWS IAM MFA
ci flag

Question: Given that a bad actor gains access to a user's aws_access_key_id as well as the aws_secret_access_key stored within ~/.aws/credentials file, will the actor be able to quickly gain access to that user provided that MFA is required? (i.e. does AWS implement some sort of backoff related to failed MFA attempts?)

Assumptions: the actor does not have access to the MFA device but is able to p ...

Score: 0
Prevent user from seeing list of other user's home dir
bm flag

I want to prevent a user from seeing a list of home directory(of other users). By default, a user can not access other user's home dir but can find another user's home dir like below:

[opc@instance-20210712-0826 home]$ cd /home
[opc@instance-20210712-0826 home]$ ls -lh
total 8.0K
drwx------. 10 opc       opc       4.0K Nov 14 22:52 opc
drwx------.  2 otheruser otheruser   62 Nov 28 18:19 otheruser
 ...
Score: 0
Jorge Palacios Zaratiegui avatar
How to set pdo driver in apache?
bd flag

I have a Debian 11 server

On my website I have the following error:

Caused by: PDOException
could not find driver

According to what the phpinfo() function returns, my php.ini file is in:

/etc/php/7.4/apache2/php.ini

I have the following modules:

root@xxx:/var/www/html/xxx # php -m
[PHP Modules]
...
PDO
pdo_mysql
...

I have tried to uncomment the lines in the /etc/php/7.4/apache2/php.ini file: ext ...

Score: 4
Which ICMP types (v4/v6) should not be blocked?
in flag

I have made a lot of research into this and have found that some references contradict each other.

IPV6 For example RFC4890 says the following types should be allowed for optimal functionality:

Type 1, 2, 3, 4, 128, 129 and for mobility assistance also 144, 145, 146 and 147.

However this source doesn't mention mobility assistance was required: (also type 1 and 4 are omitted)

Type 128, 129, 2, 3 and ...

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.