Latest Server related questions

Score: 0
santhosh avatar
.p12 certificate not working on mac (Ventura 13.4.1) but works on windows
tl flag

I generated ssl certificates for (Nifi Registry https://nifi.apache.org/registry.html) I installed them in Windows.. it worked and i get a prompt to select certificate when i open the website https://

Now, when i install them in Mac, first it wont work out of box. Mac says unsupported format. After some googling, someone suggested to change the format from p12 to cer. I followed this (https://apple.stacke ...

Score: 0
Understanding EBSByteBalance% in AWS RDS gp3 volumes
br flag

I am troubleshooting an AWS RDS Postgres instance that has been restarted by AWS several times in the last few days, very likely due to resource constraints. It's a testing DB that usually doesn't do much but we recently put some higher load onto it. I found that the DB's EBS volume (200GB gp3) depleted its throughput credits and that the times of the DB restarts coincided pretty well with the EBSByteBa ...

Score: 0
Bitbang3r avatar
Configuration of dummy default vhost and prevent virtual host fallback with https requests to IP-PD host
it flag

Background

Consider 4 hypothetical FQDNs that all resolve to 192.0.2.42:

Now, consider two hypothetical servers bound to 192.0.2.42 (obviously, not at the same time... I'm just illustrating two different scenarios):

  • Server has one "site" that's the default. Any https request directed to port 443 of a FQDN that resolves to the server' ...

Score: 1
Androidquery avatar
How to automatically virtually boot partition windows 11 inside from windows server 2022 through VM or VMware or hyper-V?
US flag

Question : How to automatically virtually boot partition windows 11 inside from windows server 2019 through VM or VMware?

In my small coaching institue computer lab with 25pc. 15 pc are Independet desktops and 10 are thin client ncomputing diskless CPU less.

i had made I7 server machine have installed Multi booting with three windows OS in three different patritions ie. (C drive) windows server 20 ...

Score: 0
John avatar
Replaced certificate and now Apache server will not start up
uy flag

So we are running an apache server on CentOS7 and the certificate for one of our sites expired. We replaced the certificate with the new one we received from DigiCert and went to restart the apache server.

However every time we try we get this error: "Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service and journalctl -xe" for detail ...

Score: 0
TheHidden avatar
Autossh with jump server
in flag

I have 3 hosts:

Local, Jump and Server

I can connect to through jump easily enough using the -J option everything works fine using standard SSH.

However I want to connect using autossh as the Local machine is unmanned and needs to maintain its connection without human interaction.

Originally I was using autossh without a jump but now requirements/networks have changed and a jump is required.

using  ...

Score: 1
Narthring avatar
Emulate local directory as network drive
ru flag

Is there a way to map a local directory in Windows 10 as a network drive? I want to map C:\datastore as if it were \\datastore . Although there is plenty of information on mapping a network drive to a local drive I'm basically wanting it to go in the other direction.

For background I'm testing a piece of compiled software that is currently throwing an exception while trying to read data from a file ...

Score: 0
WoofStar avatar
How to recover original Metamask Wallet after creation of new contract over existing contract?
rs flag

Can view details on Etherscan. Factory reset cellphone and was directed to create new Metamask account, which I did. Now I cannot access my wallet. SECRET Recovery Phrase brings up a different wallet address and this is where I an stuck. Don't know private keys as everything changed and lost them. Help?!

Score: 0
Eric MORAND avatar
Is it possible to preprocess stderr to obfuscate sensitive data
jp flag

Let's consider a server with a lot of applications running and potentially emitting errors to stderr. Those applications being heterogeneous, it is impossible to guarantee that none of them emit sensitive information to the standard streams - it could be possible for self-maintained applications but impossible for third party ones anyway.

I'm wondering if it is possible to have some kind of pre-p ...

Score: 1
fionn avatar
Apache RedirectMatch not matching double slash
it flag

I want to redirect URLs with multiple consecutive slashes (e.g. //) in the path to have only one consecutive slash, e.g. https://example.com/a//b/c/https://example.com/a/b/c/.

My .htaccess file contains the following statement.

RedirectMatch 301 ^(.*)/{2,}(.*)$ $1/$2

This doesn't work. However, the following variants do:

  • just matching a single /,
  • matching some other character, like ^(.*)q{2,}(.*) ...
Score: 0
Jamie McClelland avatar
Why does the `sa` command (from the acct package) always show "0" for avio?
il flag

For example, I get:

0 host:~# sa -m
                                     6908 4946803.89re    1211.65cp         0avio      2558k
clamav                                  2  363298.58re     990.07cp         0avio     71384k
root                                 3856 2974216.18re     161.88cp         0avio      2456k
messagebus                              1  193772.20re      52.31cp         0avio      ...
Score: 0
MohsenP avatar
reverse proxy for subdirectory on another server with wordpress for blog
in flag

I have a website and it's working now as

https://example.com

Now I want to load my blog as a subdirectory but on another server, it should be loaded as

https://example.com/blog

I am using nginx webserver and Cloudflare DNS service, and I know that I should use a reverse proxy for this purpose, but couldn't make it work yet

I need to know, what DNS record I should add and what nginx config I should use

Score: 0
raymater avatar
Docker Debian: ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111)
ss flag

On a Debian 12 container: I have the ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111).

The mariadb service is started but doesn't works.

This is my Dockerfile:

FROM debian:latest
EXPOSE 80/tcp
EXPOSE 3306/tcp
EXPOSE 22/tcp
RUN export LANG=fr_FR.UTF-8
RUN apt clean
RUN apt update
RUN apt install -y curl lsb-release apt-transport-https software-properties-com ...
Score: 0
Matthew Winter avatar
CentOs fstab mounted cifs folder is empty
in flag

I have a folder on my nas mounted in my fstab:

//192.168.1.4/datarr /mnt/datarr cifs username=plex,pass=mypw,uid=1000,gid=999,nobrl 0 0 

This was working fine before. Verified in terminal and also because I run plex on the vm and it was working fine using those folders.

Now when I start the machine the folder appears empty if I

cd /mnt/datarr 

then it's empty. But another VM on the network also has it  ...

Score: 0
Daniel Lin avatar
Ubuntu: Netplan dont remove Nameserver
sr flag

iam running ubuntu 22.04 on hetzner. After changing the nameservers with netplan, the old nameserver still show up resolvectl status and /etc/resolve.conf.

Removing them from resolve.conf does not work, after reboot they are back.

Is there a way to remove them permantly?

resolvectl status:

Global
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: uplink
     DNS Ser ...
Score: 0
R3TURN-0 avatar
SFC Couldn't Perform Requested Operation -- Options?
sm flag

I had a user come to me with her company issued Dell laptop. After the "Dell" splash screen is done, Windows does not boot. It's just a blank, black screen. After rebooting several times via the power button (as usual methods weren't available) I managed to get the Windows recovery screen to come up. I opened a Command Prompt, and ran sfc /scannow, but it came up as not being able to perform the requ ...

Score: 0
Hussain Akbar avatar
Project specific LDAP authorization for SVN
kn flag

I am using Apache 2.4 on Ubuntu 14.04 and SVN 1.8.8.

I have installed SVN server and created a number of repositories (one per client). For each team working for each client, I added configurations files in /etc/apache2/conf-available and use a2enconf. The files are of the format:

<Location /svn/Client1/>
  DAV svn
  SVNPATH /home/svn/Client1
  Options -Indexes
  AuthType Basic
  AuthName "Compa ...
Score: 0
Jananath Banuka avatar
AWS Route53 naked domain doesn't work
cn flag

I bought my domain (banuka.com) from the Namecheap. And created an AWS Route53 public hosted zone.

And also I added the Nameservers copied from that above hosted zone to the Namescheap DNS servers.

And I created a simple nginx server in an EC2 and created 2 records;

banuka.com              A          <IP-OF-EC2>
nginx.banuka.com        A          <IP-OF-EC2>

My problem is, http://nginx.b ...

Score: 0
mojovski avatar
Running Opensearch behind a proxy
uz flag

when I configure nginx to redirect /monitor to opensearch, opensearch receives the requests and redirects the user to /app/something which is not under /monitor and thus fails (error 404).

My nginx config is

upstream opensearch {
    server 172.20.0.3:5601;
}

server {
    listen 443 ssl;
    server_name maindomain;
    server_tokens off;
    #access_log off;
    error_log  /var/log/nginx/cii.error_log ...
Score: 0
Donny avatar
Issue when switching from networkd to NetworkManager
de flag

On an Ubuntu 22.04 instance on Google Cloud, I can switch from networkd to NetworkManager like this:

$ sudo apt install network-manager

$ sudo nano /etc/netplan/50-cloud-init.yaml
# add:
network: 
  renderer: NetworkManager

$ sudo reboot

$ nmcli device
DEVICE  TYPE      STATE                   CONNECTION
ens4    ethernet  connected               netplan-ens4

But identical steps performed on an Orac ...

Score: 0
Neil avatar
SSPI, Treat wrong credentials as anonymous user
kg flag

I'm running apache 2.4 with xampp, and so far my sspi works well with mod_authnz_sspi.

I would like to accept all users, but get their name in $_SERVER['REMOTE_USER'] if they are in my active directory to display some more tabs.


I'm currenlty accepting both users that are in my active directory and anonymous users with Require valid-user, but if a user isn't in my AD, or enters wrong credentials ...

Score: 0
jerseypizza avatar
I am not able to install MySQL on Amazon Linux
gd flag

Step #1: – Remove previous installed packages and clear cache I did Step #1.

Step #2: – Setup Yum Repository I did Step #2.

Step #3: – disable all repositories in mysql repo file. I did Step #3.

Step #4 – Install MySQL Community Server yum --enablerepo=mysql80-community install mysql-community-server

I did not get any errorin Step #4.

Step #5 –import the new GPG key I did not do Step #5.

Score: 0
Postfix - route mail based on Sender/Connecting IP?
pl flag

I would like to configure my Postfix mail relay to route mails received from another server on my network to a specific upstream mail server. There are a wide variety of recipient and reply-to addresses set, so I'm unable to configure a standard transport rule based on domain name. I seem to be finding conflicting information in documentation/alternative sources, but I've not found anything that positiv ...

Score: 0
Bartoszek avatar
High CPU of kworker/3:3+events (due to intel gpu drivers?)
cn flag

I have a fresh install of ubuntu server 23.04 and I can see that CPU usage on idle is quite high (~0.5) after further investigation I saw that kworker proces periodically (something like every ~20sec kicks in and takes 100% of single core. After running sudo perf record -g -a sleep 10 I think I see that see that the issue lies in the intel drivers (intel_hdmi_detect and later), as seen on the screens ...

Score: 0
xtg avatar
UDP Port Forwarding
ao flag
xtg

I got 2 servers Named A and B, both are in different data centers and just have internet access. I need the incoming UDP connections to a particular port on server A to be forwarded to a specific port on server B. ssh tunneling is just for TCP. I could not get udp2raw working. any idea? thanks in advance.

Score: 0
aforbes avatar
Connection error to my server from multiple ISP's - mobile data works fine
mq flag

I have a mailcow server that's been running with no problems for a couple of months (on debian 11 - mailcow.ruonline.com.au), but seemingly out of the blue, lots of my clients have started calling me in the last week or so, complaining that they can't connect to the server when using their wifi networks. The clients use a random array of Australian ISP's.

When I ask the client to switch to a mobi ...

Score: 0
Ben avatar
CDR not working with asterisk & odbc
ru flag
Ben

I had ODBC working with asterisk to write to my CDR then recently needed to check my CDR to realise nothing had been written for about 6 months. I had a look at my config, nothing seamed to have changed. but then tried to re-install everything except FREEPBX trying to get it to work. I have attempted several variations of config, and nothing is working... HOWEVER, I have now managed to avoid all other e ...

Score: 0
RichardLiu avatar
How to manually purge dhcpd.lease?
cn flag

How do I manually purge ALL dhcpd.lease ?

Can I just sudo echo /dev/null > /var/lab/dhcpd/dhcpd.lease ?

It's a special use case of testing ground; we have an isolated LAN for developers to do test run. And after each testing session I'd need to reset everything to initial state, including DHCP lease records. The test session would take few days to just few hours, so I can't rely on dhcpd auto-purge. ...

Score: 0
Noor Muradi avatar
Migrating Snipe-IT asset Management from Docker to K8s
af flag

I have been running Snipe-it app (a Laravel based asset management software) on my Docker environment since a year ago, now I want to migrate it to K8s with its existing data, to move the data of the DB and Snipe app, I have created two persistent volumes in the K8s cluster which is backed by NFS share. I have copied the data from /var/lib/docker/volumes/snipe-vol/_data and /var/lib/docker/volumes/db ...

Score: 0
GlenBit_2291 avatar
OTRS Database server keep increasing it's storage size, not working when deleting tickets with generic agent. how to save storage space w/o add sas?
yt flag

Does anyone know what need to remove to save space in vm level, os level or db level in a safest way without ruining the server itself? I'm having a problem with short storage space now and we still don't have a sas drive to add because of procurement problems in our department, and I still figure out if i should delete the vmdk or vmem in datastore or delete data within os level or db level. Is there 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.