Latest Server related questions

Score: 1
Nginx too many redirect when trying to redirect non www to www
cn flag

I have this nginx configuration

upstream puma_example.it {
  server unix:/home/deploy/apps/example.it/shared/tmp/sockets/example.it-puma.sock fail_timeout=0;
}
server {
  listen 80;
  listen [::]:80;
  server_name example.it www.example.it;
  return 301 https://www.example.it$request_uri;
}

server {
server_name blog.example.com;
return 301 http://www.example.com/blog$request_uri;
}


server {
  li ...
Score: 0
haher avatar
Apache not running despite same configuration due to php-fpm
cn flag

Ok, so I checked the Apache configs on the server where I can get websites running and the configs on the website where varnish keeps returning 503 and 500 and I found they were the same. The only difference is php-fpm, but I can't think of the reason why that would be the case.

[root@webdev01 ~]# sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address        ...
Score: 0
jkjkjk avatar
ssh with WAN IP timeout
ru flag

I have trouble setting up ssh clone for gitea. I use port 2222:22 for the docker, and port forwarding is set up on my router. I could ssh git@localhost -p 2222, but could not ssh git@<public_ip> -p 2222 with error Connection timed out

I have checked the port forwarding work by launching a http server by python3 -m http.server 2222 and open http://<public_ip>:2222 and it works.

I am running ...

Score: 0
davidburtton avatar
How to get default credentials for OpenShift Single Node installation
gw flag

I've just finished up installing my first Single Node OpenShift cluster but I'm running into some problems with trying to log into the node itself. Of course, I have access to the VM that the cluster is running on but I don't seem to have a way of finding the default credentials that were created during the installation.

Is there something obvious that I'm missing here?

Thanks in advance!

Score: 0
itarill avatar
s-nail not decrypting netrc.gpg file?
vn flag

I set up msmtp and s-nail to work with my gmail account. It works if the password is stored in plain text in .netrc, but does not work with .netrc.gpg:

echo 'Message body' | mailx -A mymail --subject='A subject' email@address 'name <email@address>'

Here is the error message:

email@address requires a password: 
mail: A password is necessary for smtp authentication
/home/myuser/mail/dead.mbox ...
Score: 1
MMMWeirdo avatar
iOS saying ssl is invalid from letsencrypt
co flag

I’m using letsencrypt for a few sub domains one of which is chat.mydomain.com which is setup as an alias of the main domain in Apache because it uses a socket on specific port and doesn’t require a doc root.

The chat server is written in node, it runs in the background using forever and the chat code uses a socket on port 3002.

Everything works fine except on my iPhone. If I’m on the computer  ...

Score: 0
Richard Olthuis avatar
How to force postfix to use smtp relay
fr flag

When I execute, the following line postfix uses my sendgrid relay server

echo "Subject: sendmail test" | sendmail -v test@test.nl

But when I execute the sendmail function via the PHP script it won't send it to the relay server. Look like it want to distribute it locally

Any thoughts on how to force postfix to use the smtp relay option

  • Update

It looks like postfix is timing out on STARTTLS, I have  ...

Score: 0
Vadzim avatar
Connect to postgres database behind nginx reverse-proxy using docker containers
de flag

I have set up a postgres database container and can connect and query it directly using its published port 5434.

The goal is to deploy the test database later and access it via nginx reverse proxy. I don't know what is the best way to connect to a deployed test database. Please advise.

I have tried to connect to a postgres database via nginx reverse proxy using local containers.

Using command:

psql -h lo ...
Score: 0
James Connigan avatar
How to restore Group Policy from Dead Domain Controller
lr flag

Had a domain controller die, physical machine, was able to p2v the hard drive and I have it attached to the new virtual server.

Server 2016 Standard.

No there was no replica, the only access I have to the old DC is on the p2v'd harddrive

This is not a mission critical DC but there was a lot of GPO's that were in use.

Where can I find the Group Policy objects for the domain? I have done a lot of googling a ...

Score: 0
sg qy avatar
Windows 2022 sometimes cannot modify file even 'Everyone' has 'Full Access'
in flag

The Windows 2022 is fresh installed.

I have a local user v in group Users.

I also have a native app called work.exe who has a config file config.xml.

I copied the 2 files, from VM share folder, into %LocalAppData%\work\, then run work.exe.

Then it says it has no permission to open config.xml.

I removed the config.xml and tried again. The app created the file successfully.


I restored config.xml,  ...

Score: 0
2fast2cee avatar
created a new offline root CA . All of the certs that are based off of this ca cert root for fail, when used on non Microsoft systems
ie flag

The reason it is failing is because I used a Microsoft example as the the policy.inf file. I edited the file to match my data but I left in the line: AlternateSignatureAlgorithm=1

How do I fix this without rebuilding a whole new ca?

The root ca cert has to be re-issued based off of a new capolicy.inf file and then all of the certs that are based off of the old root cert need to be re-issued.

I have cha ...

Score: 1
Configure a cisco ASA 5550 behind a modem
bf flag

i have an internet box that i can setup in router mode or bridge mode. Then i have an ASA 5550, that i would like to use as a vpn server (anyconnect) + later site to site connected to another asa 5550.

I think that i am stuck at the level 0.

I setup my modem as bridge and as dmz target i specify one of the ASA ethernet port ip (same mask), i connect the modem directly to this port and then... i don' ...

Score: 0
idk avatar
Is there such a thing as an email switch?
dz flag
idk

I am currently running a web service which is a little unusual because it is available on the non-anonymous web, the Tor Onion service network, and the Invisible Internet(I2P). It can thus be accessed on up to four different hostnames using 3 different networking technologies, should the necessary software be installed.

This service also sends email notifications to users who opt-in. To accomplis ...

Score: 0
NickPomroy avatar
O365 Outlook - Mixed up Profile Pictures in Emails
us flag

We recently updated to Windows 10 from Windows Server 2012, and we are using O365. Suddenly users are seeing mixed profile pictures in Outlook, in both the Toast Notifications and the emails themselves. From one email to the next, it could be a different picture for the same user. It is both internal and external emails. None of our users have locally saved contacts that could be using photos.

If ...

Score: 0
How To Add Additional Cipher Suites to A Java Application Server?
kz flag

I'm running into a bit of a pickle with a call to a third-party API from a java application. The external API requires at least one of the following ciphers:

TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECD ...

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.