Latest Server related questions

Score: 0
Maestro223 avatar
Logrotate Fails Without Error
cn flag

Ok, I made a boo-boo. I think

Problem: Logrotate fails (or I incorrectly think its dead) and does not provide any error message to explain why:

● logrotate.service - Rotate log files
   Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled)
   Active: inactive (dead) since Fri 2021-12-31 13:05:25 CST; 42min ago
     Docs: man:logrotate(8)
           man:logrotate.conf(5)
 ...
Score: 1
How to delete Bugzilla saved-searches as administrator?
gf flag

Users can create and save searches in Preferences // Bugzilla – Saved Searches

Here they can publish them to a group Share With a Group and they will be listed for all users. Over the years the list is filled with useless Saved Searches by inactive users.

How can I delete Bugzilla saved-searches as administrator?Screenshot of obsolete entry in Preferences // Bugzilla – Saved Searches

Score: -1
How can I solve the error to open google chrome on the server?
hk flag

I have run the command google-chrome on the server and I have got this error. https://i.imgur.com/BmxPj2b.png

When I tried this solution. https://i.imgur.com/4G8O6nN.png and I have got this error https://i.imgur.com/cl4tJHj.png

Score: 0
How to configure different relay, masquerade and/or smarthost settings, based on recipient and/or sender address
in flag

My Google-fu is letting me down with this one.

Is it possible to EITHER/preferably configure sendmail to...

  • masquerade the From address of any mail intended for recipient@aaaa.com to appear as service@aaaa.com and use smtp.aaaa.com to send it (with authentication)
  • AND masquerade any mail intended for recipient@bbbb.com (including those that share To, CC or BCC with above) to appear as service@bbbb. ...
Score: 0
cu 29p avatar
Login to SSL VPN via SSO and then use SSO inside VPN for other Service Providers possible?
us flag

I have a setup where you authorize via SAML SSO (keycloak as idp) to access a SSL VPN (fortigate as sp). Now inside the VPN there are authorization reverse proxy servers.

Is it possible to have the same SSO automatically authorize users to the proxy servers?

Since the session of a user is saved with the IP before accessing the VPN I would think the session isn't valid after connecting to it because  ...

Score: 0
Cold Assassin avatar
Exchange '16 Network Adaptor Guid Issue after Reinstall
in flag

I am having issues with Receiving Emails on my Exchange 2016 Cu 22 Update 2 on Server 2012R2 On-site server. When I run a microsoft inbound SMTP Connectivity Test, I get the error of "Cannot Connect to Server, Connection Timeout"

With logs I narrowed it down to DNS issue. In the logs I get:

Event ID 205 & 16025 
No DNS servers could be retrieved from network adapter d9b621ec-077a-40e5-997a-752e73b ...
Score: 0
Windows CLI way to copy to the same directory and only change the case of the filename?
in flag

I have Windows 10 pro, with NTFS. I think the filesystem is fully case-sensitive. I can have the file Bill_and_Ted.txt in a directory, and write scripts that won't mistake it for bill_and_ted.txt. Linux WSL apps accessing NTFS directories are fully case-sensitive. But it seems that Windows utilities get confused.

So NTFS is probably case sensitive, but perhaps Windows is not. Is it possible in Wi ...

Score: 1
Load Balancing HTTP/2 GRPC persistent connections
in flag
Sam

Let's take a look at this scenario.

In a traditional LB model, we would have the LB (wether a reverse proxy or not) farm out req/rep to application level servers. This model is fine for the generic req/rep style of communication, but what happens when we have persistent connections.

Let's look at a HTTP/2 example.

Here we don't have a simple Req/Rep paradigm where i can simply send the request and load ...

Score: 0
qxg avatar
Can't ssh to AAD joined Windows 11
vg flag
qxg

Optional feature -> OpenSSH server was installed. Service OpenSSH SSH Server is in 'Running' status.

In the same machine, I tried ssh localhost, it gives me

Connection reset by ::1 port 22

Event viewer -> OpenSSH -> Admin:

sshd: error: lookup_principal_name: User principal name lookup failed for user 'domain\username' (explicit: 1355, implicit: 1355)
sshd: error: lookup_principal_name: Use ...

Score: 1
Implement fail2ban to prevent brute force attack on a web site (using standard user authentication); work when the number of tries = maxretry+1
cn flag

I am working on an course assignment to implement fail2ban to prevent brute force attack on a web site (using standard user authentication). I have set up my apache web server as well as fail2ban setting in my jail.local as follow:

[apache-auth] enabled = true port = http,https logpath = /var/log/httpd/demo-error_log maxretry = 3 bantime = 300

The sequence only works on the 4th failed attempt to blo ...

Score: 0
Centos server can ping IPs - but cannot ping domains
ru flag

I have 3 servers with DigitalOcean (AMS3). Suddenly, three servers at the same time faced the same issue. It seems the servers cannot connect to the outside world. I tried to ping different IP addresses and domains. Here are the results:

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmpseq=1 ttl=60 time=2.11 ms
64 bytes from 8.8.8.8: icmpseq=2 ttl=60 time=0.946 m ...
Score: 1
Apache .htaccess causing images to load extremely slowly
de flag

I am running a single page application that requires the following lines on my .htaccess . However, images on its /images/ folder are now loading extremely slowly.

Is there anything wrong with the following lines?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html [QSA,L]
Score: 0
Oz_ avatar
ssh key pairs: user (public+private) AND host (public+private) OR NOT?
rs flag
Oz_

How many types of keys do there exist and where is the private key stored? First of all, keys can be private(=closed=decripting) and public(=open=encrypting). That's ok. That's a key pair.

But further, as I can see (I am trying to study linux, and I refer to ssh.com explanations as the best that I could find, but yet not very well structured), there may be two situations:

  1. "host keys": these are gener ...

Score: 0
How to find admin which logged off my RDP session
ae flag

I recently discovered that since some days, someone often logs off my RDP session to our jump admin server when I have disconnected my session (which then terminates any long-running task I may have running on that machine).

Now I want to know who it is without asking every possible person. Is there any relevant log information somewhere which may reveal who has logged off my RDP session?

Score: 0
nforced avatar
How to reload firewalld without loosing Libvirt iptables forwarding rules
cn flag

It's been well know that firewalld will flush Libvirt rules upon reload and thus making port forwarding to VMs broken until you restart libvirtd. Here is what I did:

  1. Create /etc/systemd/system/firewalld-reload-hook.service
[Unit]
Description=firewalld reload hook - run a hook script on firewalld reload
Wants=dbus-broker.service
After=dbus-broker.service

[Service]
Type=simple
ExecStart=/bin/bash ...
Score: 0
icanc avatar
Bridge wifi to vmbr
cn flag

Here is my networking setup:

The system is running Proxmox (Debian-based) so it has a bunch of VMs.

The default bridge of the system is vmbr0, connected via ethernet to a network with the 192.168.86.0/24 IP range

I wanted to create a new bridge (vmbr1) that bridges the current VM to another network with the 192.168.1.0/24 IP range, via wifi

below is my /etc/network/interfaces

auto lo
iface lo inet lo ...

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.