Latest Server related questions

Score: 0
simlev avatar
Log On To and Apache LDAP authorization
us flag

We have limited some domain users by means of the Log On To property, meaning they can only logon to their respective workstations. At the same time, they should be able to reach some web resources served by an Apache web server, with LDAP authentication.

I have found that the LDAP authentications fails and Apache logs a Password Mismatch error unless the Log On To restriction is lifted entirely. ...

Score: 0
PHP-IMAP Install on AWS Linux2 ARM
cn flag

Does anyone know a repo that has PHP-IMAP for ARM? (PHP7.4) I normally install PHP-IMAP from the Remi Repo on Linux2 x86, but haven’t had any luck finding a way to install it on ARM.

Any ideas?

Score: 0
Finding the use of an OAuth token on TeamCity
jp flag

I'm getting occasional email notices from GitHub saying that our TeamCity server is using an outdated token format. The old access tokens are indistinguishable from SHA hashes. The new tokens start with a readily greppable 3 character header, and have a slightly higher entropy, while retaining the same key length

I've found and re-generated all of the Personal Access Tokens and OAuth access tokens th ...

Score: 0
Ciprian Stoica avatar
SSL certificate issues on a Windows machine
cn flag

There are 11 Windows 10 computers in the office but the following issue only happens on one of them.

When accessing some sites in any installed browser (Edge, Chrome and Opera) the browser tells that the SSL certificate of the website is expired or not valid. But the certificates are perfectly fine. All those sites work without any issues on the other machines or on smartphones, etc.. Looks like  ...

Score: 0
Can wget ignore certificate issues on redirects (or for specific domains)?
cn flag

We use a redirector service so that requests act like this:

https://realsite1.redirector.ourdomain --302--> https://realsite1.anotherdomain1
https://realsite2.redirector.ourdomain --302--> https://realsite1.anotherdomain2

I am using wget to download the web page https://realsite1.redirector.ourdomain.

I want wget to ignore certificate issues when doing the initial GET from https://realsite1.red ...

Score: 0
proftpd trying to open local udp sockets, blocked by SELinux
tn flag

why is proftpd trying to open lots of random udp sockets? Is this a normal behavior? the audit log is flooded with these messages.

Enabled these: setsebool -P ftpd_connect_all_unreserved 1 setsebool -P ftpd_use_passive_mode=1 setsebool -P ftpd_full_access=1

Apart from that, everything seems to be working normally. No config errors, etc.


SELinux is preventing /usr/sbin/proftpd from name_bind access on th ...
Score: 0
how install and run haproxy postgres and patroni under docker
br flag

I'm trying to run haproxy on a docker, but it doesn't work.

1-I create haproxy.cfg under /etc/haproxy/haproxy.cfg:

global log 127.0.0.1 local2

chroot      /var/lib/haproxy
pidfile     /var/run/haproxy.pid
user        haproxy
group       haproxy
daemon

stats socket /var/lib/haproxy/stats

defaults mode tcp log global retries 3 timeout q ...

Score: 0
Nagendra Kumar avatar
Unable to connect to the server: dial tcp 10.0.0.1:443: i/o timeout error in GKE pod
cn flag

While running kubectl get pods command in GKE pod, we are getting the following error frequently. Some times, when started 2 pods(deployment) on 2 nodes, on one pod, the command executes successfully and on another pod, the command gives the following error on the another pod on the same docker image:

Unable to connect to the server: dial tcp 10.0.0.1:443: i/o timeout

We are getting the following erro ...

Score: 0
Muhammad Rehan Saeed avatar
Connecting to OpenVPN over WiFi vs Mobile Network
us flag

I've enabled OpenVPN Server on my Netgear Orbi router and I can happily connect to it on my Android phone over a mobile network.

However, when my phone is connected over WiFi, my phone is unable to connect to the OpenVPN server. According to a Netgear forum post this is normal (Is it really? Any way around that?).

The problem is that I have to manually open the OpenVPN app and connect to my server e ...

Score: 0
oneclick avatar
Apache2 Redirect of django from .com to .one/.xyz
cn flag

What I want to do is the following:

I have a Django Site with different TLD (".com",".one",".xyz") pointing to same content.I am able to access individual site perfectly.

Now I want to do a simple redirect of "example.com" and "www.example.com" to "example.one". It should be a redirect, that also works when someone types in the browser bar http://example.com/team.php - then it should redirect to

Score: 0
DevOpsSauce avatar
Why does a systemd script stop writing to a log after restarting the service?
jp flag

I have a systemd unit file. It starts a php script. There was a network blip, which made me have to reboot after nothing else worked. I noticed that the script was no longer writing to the specified log file, until I manually forced rotation.

[Unit]
Description=Custom Service
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/bin/php -f /path/to/php/script.php
ExecSto ...
Score: 0
Google PubSub issues
cn flag

We have been getting this error for the past 14 hrs on our PubSub application.

Request to https://www.googleapis.com/oauth2/v4/token failed, reason: Client network socket disconnected before secure TLS connection was established

Our applications have been running for the past 1 year and we don't see any outage on Google Cloud status page. We are using PubSub (@google-cloud/pubsub) version 1.1.6

Can some ...

Score: 0
Alph0r avatar
Reset ASRock IPMI firewall over SSH (ipmitool)
cn flag

I have accidentally blocked all ports and IPs over the ASRock IPMI web interface and since then I can no longer access the IMPI web interface. I am still able to connect to the server over SSH and I am able to, for example, use ipmitool in Linux.

Is there a way to reset the IPMI firewall with ipmitool? If I reset the whole system to factory settings, will I lose SSH connectivity? I have no physic ...

Score: 0
dudehro avatar
sshfs mount not shown correct inside docker container
us flag

We have a sshfs mounted on the host, that is also a volume inside a docker container.

  1. sshfs is called with gid+uidfile for correct mapping to www-data. That is what we need. This is working and looking good.

  2. Now we are going inside our container. The destination for the sshfs-mount inside the container is /var/www/html/data. If I do stat /var/www/html/data with user root everything is looking l ...

Score: 0
Seyed Vahid Hashemi avatar
How to replace MASQUERADE with SNAT for outgoing connection in iptables
sa flag

I have a scenario like following :

PC1(192.168.1.100) ---> iptables(192.168.1.1 / PUBLIC_IP (ens160) ) ---> PUBLIC_SERVER ( SOME_IP)

I want to let my PC1 to connect to a specific port of iptables and then iptables redirect the connection to PUBLIC_SERVER for that I've written :

iptables -t nat -A PREROUTING -d 192.168.1.1 -p tcp --dport 9999 -j DNAT --to SOME_IP:9999

and for routing packet thro ...

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.