Latest Server related questions

Score: 1
Daniel Fauber avatar
Set Independent Default Print Settings for Different Users
nz flag

Problem: Our network deployed printers are set to default to print in black & white for cost savings. A few users want to print in color all the time, and are very annoyed at having to manually override the printer defaults every time.

Question: Is there a way to configure certain users with different default printing preferences (for color), while still forcing everyone else to use the print ...

Score: 0
sam avatar
IPv6 - Are the last 16 bits of the network ID always reserved for subnetting?
st flag
sam

I was reading about IPv6 address structure and it has two portions one for the network (Network portion/Network ID) and another for host (Interface ID/Node Part) something like IPv4 has regardless of the size difference.

Most of the references stated that the address is divided into 64 bits for the network (/64 prefix) and 64 bits for the Host , and we can use the last 16 bits of the network part ...

Score: 0
YaKs avatar
How to detect Basic authentication as fall back auth method - Exchange 2016 on prem + Azure MFA
cn flag

we have configured Azure MFA in our Exchange on-prem 2016. Unfortunately, the MFA control can easily bypass by using an old email client (Outlook 2010 for example). This is a known issue and the upgrade is the natural path. until we walk that path, I wondered if it would be a way to detect those basic authentication attempts.

many thanks

Score: 0
erwann le guevedec avatar
How to add a new database on replication?
as flag

I have a mysql replication with two servers. There are actually 3 databases on it.

On master :

server-id               = 1
log_bin                 = /var/log/mysql/mysql-bin.log
expire_logs_days        = 4
max_binlog_size         = 1G
bind-address            = 0.0.0.0
port                    = 3306

binlog_do_db            = database1
binlog_do_db            = database2
binlog_do_db            = datab ...
Score: 0
T0b1a5 avatar
Reverse Proxy on different Server
np flag

Hi i’m searching for a way to reverse proxy a Website with Websocket with apache2 but the Website and the Reverse Proxy are running on different Isolated servers.

I’ve tried the normal way to configure it but my setup is not working.

<VirtualHost *:443>

    ServerName domain
 
    ProxyPreserveHost On
    ProxyRequests off

    <Location />
    ProxyPass  http://ip:80/
    ProxyPassRe ...
Score: 0
Some web pages cannot be opened due to timeout on MS Windows
si flag

This is a very strange issue related to one (and only) particular PC in our network running Windows 10.

These two web pages cannot be opened on this PC: https://www.chces-soutezit.cz and https://toulcuvdvur.cz (timeout)

Why is it strange?

  1. Both URLs work just fine everywhere else.
  2. They do work on the very same UTP cable when connected to other PC.
  3. The problem is independent on logged-in user (same  ...
Score: 1
Charles Yiu avatar
NS not propagating after about 9 days
sl flag

About 9 days ago I migrated my Cloudflare hosted site to StablePoint's cPanel cloud hosting. The last step I took was removing my CloudFlare's NS records and adding StablePoint's in GoDaddy's dashboard. Also srv.yiu.ch is still resolvable; I don't know what it may the reason why this is happening.

What I did:

before:

yiu.ch with cloudflare NS

  • NS srv [stablepoint nameservers]
  • CNAME www yiu.ch
  • etc.. ...
Score: 0
King David avatar
kernel messages are complained about memory.inspite all DIMM cards was replaced
gb flag

we have few DELL machines ( with RHEL 7.6) , and as we replaced the DIMM cards on machines because the Erros that we seen from kernel messages

after some time we checked again the kernel messages and we found the following and we can see the errors about the RAM memory ( also related to RHEL case - https://access.redhat.com/solutions/6961932 )

[Mon May  8 21:08:01 2023] EDAC sbridge MC0: PROCES ...
Score: 0
Wapax avatar
Why HAProxy session cookie is changing?
ca flag

I run two containers of an app behind an Haproxy and use sticky sessions. I configured it with a cookie as follow :

cookie SERVER insert indirect nocache
server app1 app-1:443 check ssl verify none cookie srv1
server app2 app-2:443 check ssl verify none cookie srv2

The cookie is attached to the requests of the frontend but when I check in the browser console in the network panel, most of the time, the ...

Score: 0
Alex_P avatar
Why does my monitoring metrics of the Log Analytics workspace not display the server information?
tc flag

I installed recently a Log Analytics agent on one of my Windows on-premise servers. The agent has a healthy heartbeat and I am able to query logs.

I would like to visualize certain properties of the server, i.e. the available disk space, the memory, etc. To do this I thought of using "Monitoring" - "Metrics". When I select 'Heartbeat' I get a time chart. enter image description here

When I however select free space, memory consumpti ...

Score: 0
QF0 avatar
Postfix virtual_alias_maps and virtual_mailbox_maps delivery to Dovecot
gu flag
QF0

I have a working Postfix setup where I can deliver incoming mails to both a Dovecot mailbox, and forward on those mails to an external address. However, this doesn't feel right, and I'd appreciate a sanity check.

The Postfix main.cf includes both virtual_alias_maps and virtual_mailbox_maps. Assume that I'm handling mails for [email protected], and that

  1. These emails have to be delivered to Dovecot mailbox  ...
Score: 0
HelpOverFlow avatar
Ubuntu Server Configure Bind9 DNS Server for HTTP request
at flag

I have configured a Bind9 DNS Server Forward Zone according to the code below. The way is configured, I only can do SSH using the server name <geoportal.geoint.lan>. I tried adding to the code the line <www IN A 192.168.2.210> in order to have the HTTP request working, but it did not work and I would like to know how to amend the code to have the DNS or request geoportal.geoint.lan or

Score: 0
Mquinteiro avatar
Sendmail SPF Check Fails When Receiving Emails from Our Domain in Gmail Client
br flag

I am using Sendmail to handle emails for my domain, which has properly configured SPF records. When I send emails to external addresses, everything works correctly and the SPF check passes without any issues. However, when I receive emails in the Gmail client, fetched via POP3, Gmail marks the email from our domain as SPAM because failed SPF check.

The sender connects to our Sendmail server from an  ...

Score: 1
frumious avatar
What determines the name of Apache PHP Handlers?
de flag

When configuring an Apache server to use a Handler to run PHP code, I'm familiar with adding a line similar to below in httpd.conf or .htaccess:

AddHandler application/x-httpd-php81 .php

This tells Apache to use the named handler to interpret .php files. It's straightforward enough, but on different hosting services, and locally, I'm seeing differences in the specific name used for the handler,  ...

Score: 0
Grant Curell avatar
What are the DNS names and IP addresses used for a reverse proxy?
mx flag

I have the same scenario described in this question. I have a client connecting to an nginx reverse proxy with multiple backend services and need to set up certificates.

                             client
                               |
                             nginx
                       https://example1.com
                       https://example2.com 
                       https://example3 ...
Score: 1
Pol Senserrich avatar
How to redirect all pages that contain an specific word using the .htaccess file
aw flag

I have a bunch of indexed pages that start with the same word and they are all 404 so I want to redirect them all to the homepage of the site. The server is Apache, so I would like to use the .htaccess file. But the problem is that "the word" is not always just after de main domain. This was a hacked prestashop with injection of pages, already cleaned, and I'm trying to clean up google's index.

A ...

Score: 1
Tauras avatar
After upgrade Ubuntu 18.04 to 20.04, MySQL server is not starting
eh flag

I upgraded Ubuntu 18.04 to 20.04

The process upgraded MySQL 5.7 to 8.0

It instantly started to throw errors in error logs

[ERROR] [MY-013379] [Server] Server upgrade started with version 80033, but server upgrade of version 50700 is still pending.
[ERROR] [MY-010020] [Server] Data Dictionary initialization failed.

Then I removed MySQL 8.0 and installed 5.7. It started to throw:

2023-05-10T09:39:18.5733 ...
Score: 0
Ror avatar
Filebeat docker multiline
om flag
Ror

I'm using filebeat to retrieve log files to Elastic cloud. I'd like to put errors and java exception in one document instead of multiple for each line. I managed to make it work on text log files but it does not seem to work on containers logs.

Here's the configuration for docker on my filebeat.yml :

...
filebeat.inputs:
- type: container
  enabled: true
  paths:
    - '/var/lib/docker/containers/*/*. ...
Score: 2
Sergey Guzenkov avatar
is there a shortcut for /dev/stdout like "-" is for /dev/stdin?
co flag

is there a bash shorcut for /dev/stdout like there is "-" for /dev/stdin ?

One of the use cases is to get bash history without line numbers. There is simply no option for that in the history builtin. We can do 'history -w /dev/stdout'. But that's typing 11 characters (/dev/stdout) and I am looking to shorten it to 1 if possible.

Score: 0
Ahmad Ahmadi avatar
OSD stuck in booting with messenger component log: Operation not permitted error
ca flag

After rebooting k8s nodes, OSD didn't join the cluster with errors related to authentication. I have added them to auth list and that error disappears. Now OSD nodes join the cluster but they don't show as up and pgs don't show up in ceph -s.

I spent 2 weeks on this issue, but I don't understand why OSD don't show as up. When setting ms subsystem logging to 20, there is an error showing OSD >> M ...

Score: 0
Circle Hsiao avatar
WCF web service response blank on window server 2019 but the same release works normally on server 2016
pk flag

We have a website that migrated from windows server 2016 to 2019 recently. After the migration, infra crew found all the aspx pages shows blank and after digging into it, we found it's since the web service it is calling response blank.

If I link to RestServiceImpl.svc of a server 2016 with the same version of web service. correct greeting/guiding page

I will see the greeting/guiding page as expected.
However, if I link to the s ...

Score: 0
sctx avatar
RKE OpenStack cloud provider without scheduled pods
fi flag

I'm trying to use openstack-cloud-controller-manager with Rancher RKE. I'm using application credentials to access openstack and for this reason it appears to me that I cannot use the openstack-provider that RKE has by default because there are no parameters on that. However, I noticed that these parameters are available with the official openstack-cloud-controller-manager install under the global

Score: 0
Russell Fulton avatar
using docker on linux with squid proxy. -- ubuntu 20.04
hk flag

I have docker 20.10.21 installed from apt. The machine is not directly connected to the internet so we rely on our squid proxy.

I have set up a daemon.json file:

rful011@secphires01:~$ cat /etc/docker/daemon.json
{
     "http-proxy": "http://squid.auckland.ac.nz:3128",
     "https-proxy": "http://squid.auckland.ac.nz:3128",
     "no-proxy": "*.auckland.ac.nz"
}

as described here.

starting dockerd give ...

Score: 1
Steve K avatar
Mysql stopped working on Ubuntu 22.04. Failed to upgrade server. Error
jm flag

I have a basic DigitalOcean droplet (1gb ram and 1 cpu) that has a few websites on it. There are a couple nodejs sites and a couple of Wordpress sites. All are pretty low traffic. It normally works just fine but today none of the wordpress sites were working. So I logged in and noticed that the cpu usage was pegged at 100% and it normally is at like 2-3%. I restarted the server and the cpu usage went do ...

Score: 1
halfer avatar
How to debug why a Ingress Controller in MicroK8S is pointing to the wrong service?
cn flag

I have built a little three-node Kubernetes cluster at home, for learning purposes. Each 16GB node runs Ubuntu Server and MicroK8S. I have set up a leader (arran) and two followers (nikka and yamazaki).

root@arran:/home/me# microk8s kubectl get nodes -o wide
NAME       STATUS   ROLES    AGE     VERSION   INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
arran ...
Score: 0
Is it possible to configure mailman such that it doesn't communicate with the MTA using files?
in flag

I am experimenting with containerizing Mailman 3. Currently, it seems like it's supposed to write to a directory which the MTA can read. Essentially the directory /var/lists/ is used such that a subdirectory in the form of <list>.<domain> tells the MTA to receive list mail. You can see this here in the exim conf they use an example,

MM3_LMTP_PORT=8024

# MM3_HOME must be set to mailman's va ...
Score: 0
zbro avatar
netplan mac address matching doesn't seem to work
us flag

I have a small pc box that only have one network interface, and since I needed 2 more interfaces, I've bought two usb network cards. Both same manufacturer. I wanted to rename interfaces (since they originally have pretty complex names) to: eth1 and eth2. The box is running ubuntu 22. In theory this is pretty simple, and it should be something along these lines:

  network:
  version: 2
  renderer:  ...
Score: 0
Adnane Rbt avatar
VS Code Remote Development giving back error
sr flag

I'm trying to connect my Vs code using SSH extension to my Debian VM on azure. I tried running the SSH connection on terminal and it's working fine ssh -i Desktop/Emdad/testing/magento-testing-key.pem [email protected]

But when I tried doing it on VS code, I get this error: `

C:\Users\Dell PC\Desktop\testing\magento-testing-key.pem: terminating, 39 bad configuration options  ...

Score: 3
Iván Jf avatar
There is no replication in a HA Cluster
US flag

I had the problem of unrelated data aborting in a HA cluster and my Mysql resource was in standalone on both nodes, I managed to solve the problem and both nodes are synchronized, the problem now is that when checking the var/lib/mysql directory

On the main node I have the following files:

-database
-innodbdata
-innodblog
-lost+found
-mysql.sock
-replicationlog
-tmp
-trace

but the mirror node I only ...

Score: 0
chargingBrontosaurus avatar
How can I compress files while uploading them to GCP?
ch flag

I am trying to automate backups to a remote GCP bucket. I am using the gsutil CLI and Crontab to schedule transfers of all files in a given directory. I would like to compress the files as they are being transferred, and was led to believe that the following command would work:

gsutil -m cp -r -z * [local_path] gs://[GCP Path]

This however is not looking to be the case and it seems that individual fil ...

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.