Latest Server related questions

Score: 0
Payomeke avatar
Removing plain passwords from auth.log
lb flag

I'm using some docker images to deploy a mail server (https://github.com/docker-mailserver/docker-mailserver). The MTA is postfix, with TLS configuration and using LDAP for login. I can login to the SMTP server and send emails but is showing the login password in plain text in auth.log

Jul 26 10:57:01 mail saslauthd[979]:                 : num_procs  : 5
Jul 26 10:57:01 mail saslauthd[979]:        ...
Score: 0
Suddenly start getting err_connection_reset
tj flag

Suddenly I started to get the net::err_connection_reset 200. It only happens in one page of my site, all the other pages load fine. I removed everything from the controller and model and only left the essential functions to the page load. After that I removed all the content from the page and still get the same error. All the scripts loads, but the page fails to load. fail

enter image description here these are the logs from the a ...

Score: 0
Christian avatar
Tomcat 9: HTTPS doesn't work with Java 11
cn flag

We run an internal Java web application with Tomcat 9 (Windows Server 2019). We have encrypted the connection with a certificate. As long as we use Java 8 for the Tomcat, everything is fine. If, on the other hand, we use Java 11, then the encrypted connection happens not to work for Chrome or Edge (current versions). Error: ERR_SSL_PROTOCOL_ERROR. It works on a browser and it works with Java 8. I can't  ...

Score: 1
mrapi avatar
Windows Server 2016 schedule automatic updates not working as set in Group Policy
in flag

I have a Windows Server 2016 VPS where a web app is hosted.it works fine but when windows install updates,nothing works because,in this case CPU usage is 99% and no user can access the app

I've setup automatic updates in Group Policy this way:

  • in Computer Configuration/Administrative Templates/Windows Components/Windows Update I put Enable for “Configure Automatic Updates”
  • then value 4 for auto down ...
Score: 0
Nasir Aminu Lawal avatar
Couldn't download my project source code from google cloud console
jp flag

When i issued this command (appcfg.py -A rrrrr -V 1 download_app /C) to download source code from the Google Cloud Shell, I get this error message:

Python 2 is deprecated. Upgrade to Python 3 as soon as possible.
See https://cloud.google.com/python/docs/python2-sunset

To suppress this warning, create an empty ~/.cloudshell/no-python-warning file.
The command will automatically proceed in  seconds  ...
Score: 0
dywan666 avatar
Where to store private SSH keys?
hu flag

Looking for a "best-practices" kind of answer when it comes to storing private SSH keys.

Scenario: VMs are deployed to the cloud using Terraform, they use a single public key. Now the corresponding private key needs to be stored somewhere - where should it be kept? Cloud key management service (like Azure Key Vault, Hashicorp Vault)? It would be used for Ansible.

Should these private keys be added to t ...

Score: 0
Dylan Nicholson avatar
How to recover deregistered AMI and keep ID?
tw flag

I had deregistered some AMIs in a region I believed was not being used anywhere in the current account, and indeed AWS gave me no warning that the AMI IDs were referred to anywhere.

Unfortunately I didn't realize they'd actually been shared into another AWS User Id/account where they were being used. I found out the hard way when the auto-scaler failed to start a new instance.

I've worked out how t ...

Score: 0
anupjohari9211 avatar
How to deploy docker container and do port mapping/forward using kubernetes YAML manifest
cn flag

Please help me to convert the below docker Command to Kubernetes YAML file along with port mapping/forwarding to the docker container

 # docker run -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 14268:14268 jaegertracing/all-in-one:latest

I tried the configuration below:

enter image description here

But not getting any result.

I need experts here to tell me if the ...

Score: 0
user784524 avatar
Display service output on console using systemctl
in flag

I have following service file -

[Unit]
Description=Open VPN Agent
After=syslog.target
After=network.target

[Service]
Type=forking
TTYPath=/dev/pts/0
KillMode=process
PIDFile=/opt/openVPN/pids/openvpnAgent.pid
ExecStart=/opt/openVPN/openvpnAgent start
ExecStop=/opt/openVPN/openvpnAgent stop
SuccessExitStatus=143
StandardOutput=tty

[Install]
WantedBy=multi-user.target

When I connect to SSH and run tty ...

Score: 0
Barti avatar
Why am I seeing overlimits in TC statistics?
fr flag

I configured my linux servers with tc (TBF) using the below parameters:

rate 1Gbit burst 1000Kb lat 200.0ms

Now, when I'm testing Iperf between this server and another server as iperf client, I'm getting on my server around 273 Mbits/sec, probably because of distance and other challenges. If I'm deleting the tc adjustments I'm getting the same bandwidth.

But here is my problem - When I check the tc stati ...

Score: 0
Odasaku avatar
Cloudfront 502 error with ALB origin in different region
cn flag

I have a CloudFront which has one of its origins as an application load balancer, this load balancer is available in a different region from the CloudFront which is only available in N.Virginia and is using a different SSL certificate, as its domain name is different. I need to have this alb in its region and can't move it to N.Virginia as well. I am not sure why I am getting the 502 error on the CloudF ...

Score: 0
user3742046 avatar
Connection string for my SQL Server connection from C on Linux
pf flag

I am trying to connect to SQL Server using C program on Linux.

My connection string is this:

DRIVER = {ODBC Driver 17 for SQL Server}; Server = 192.168.0.25,52000;Database = db; UID = ud, PWD = pw;

When I want to perform a test connection, I get this error:

[unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Login failed for user ''

Something must be wrong with the connection string because it ...

Score: 0
ruby.lee avatar
Website TLS Protocol version
za flag

I host a https web site on a Windows Server 2016 installed with Apache 2.4.37

When I browse with Google Chrome 92.0.4515.107, it shows that it's Protocol TLS 1.3

When I check with Wireshark Version 2.4.1, it shows that it's Protocol TLS 1.2

My question is the website Protocol is actually TLS 1.2 or TLS 1.3?

Thanks

Score: 0
Ferenc T avatar
Decrypt error in TLS handshake after ServerKeyExchange
co flag

I have a WEB application deployed to Tomcat server. I connect to it with Chrome browser with HTTPS but I have decrypt error during TLS handshaking on the client side after ServerKeyExchange.

Certificates (3 levels):

Server certificate, signed by...

CA certificate, signed by...

Root certificate (self signed)

I validated certificates with openssl and they seem to be fine (chain.cer contains CA and ro ...

Score: 1
Ubuntu package revision not found in GitHub actions
co flag

I use GitHub actions with an Ubuntu 20.04 runner, and since last Saturday, started getting an error in Github actions log. I had not changed the yml config.

The error:

Get:79 http://azure.archive.ubuntu.com/ubuntu focal/universe amd64 proj-bin amd64 6.3.1-1 [88.8 kB]
Fetched 55.7 MB in 1s (61.8 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-gnutls-dev_7.68.0-1ubun ...

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.