Latest Server related questions

Score: 2
MAX POWER avatar
Apache incorrect url rewrite for non-existent symlink files
ar flag

I have a directory (foo/uploads), which contains 1 file: file1.txt

I have created a symlink to this directory (bar/uploads)

Here is my .htaccess file inside bar:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

And this is my vhost file:

<VirtualHost *:80>
    ServerName bar.com
    DocumentRoot /var/www/bar

    <Directo ...
Score: 1
sji gshan avatar
What is causing BadRequestException when calling the ExecuteStatement operation on Aurora Serverless db
cn flag

I have a lambda function that retrieves records from AWS Aurora Serverless db. Now I thought of adding api gateway to trigger the lambda function but I get this error Connect an AWS Lambda function triggered by API Gateway to Aurora Serverless MySQL database.

[ERROR] BadRequestException: An error occurred (BadRequestException) when calling the ExecuteStatement operation: 
Access denied for user 'ad ...
Score: 0
Windows DNS endpoint health check before response
us flag

I have two DFSR servers in namespace, and two DNS on each of them. DNS are integrated with AD.

Sometimes one of the servers goes down and some document scanners try to send scanned documents to drive that is in DFSR namespace but that drive is unavailable too.

Is there possibility in Windows DNS to check endpoint healthiness (availability) before response to DNS request?

Score: 1
guettli avatar
K8s: discovery Failed to request cluster-info (forbidden)
cn flag

The command kubeadm join 192.168.178.38:6443 ... fails

The host/port is reachable. I tested it with telnet.

But I get this on the node:

[discovery] Failed to request cluster-info, will try again: 
    configmaps "cluster-info" is forbidden: 
    User "system:anonymous" cannot get resource "configmaps" in API group "" 
    in the namespace "kube-public"

Where can I find the logs on the control-plane (mast ...

Score: 0
VaNa avatar
postfix: how to force IPv4 through SMTP?
co flag

Problem

I have successfully set up a Postfix mailserver with an SMTP interface, set up DKIM, DMARC, SPF, all that stuff.

But I had a problem when testing the delivery of emails to Gmail.

Namely, SPF would pass if I sent it by the sendmail command from the server (some of the ARC-Authentication-Results header content of the delivered message in Gmail):

spf=pass (google.com: domain of redacted@example ...
Score: 1
guettli avatar
How to inspect which pod networking add-on is used in my cluster?
cn flag

There are many for Cluster Networking in Kubernetes.

How can I inspect with kubeadm or kubectl which networking (flannel, calico, ..) gets used in my cluster?

Background: I play with K8s on some virtual machines.

Score: 0
zipping in crontab does not work
pl flag

Im trying to zip my savegames (an push them to dropbox). However, even though zipping works fine it does not seem to work when I past the command into contab.

* * * * * cd /home/steam/.config/Epic/FactoryGame/Saved/SaveGames && zip -r Backup_$(date +"%Y_%m_%d_%I_%M").zip /home/steam/.config/Epic/FactoryGame/Saved/SaveGames

For testing purposes I will make a zip every minute. Cron runs and all  ...

Score: 0
Jed Booth avatar
trying to redirect in .htaccess unless it's an admin
us flag

I am trying to write a rule in .htaccess that redirects all /wp-admin to /login UNLESS a certain user (WebAdministrator) is logging in. How do I make such a rule?

If I use:

Rewriterule ^wp-admin /login [R=301,NC,L]

then it breaks it because it will keep redirecting to /login, even for the administrator since when the administrator logs in they are supposed to see the panel at /wp-admin

Score: 1
Roushan Jha avatar
On Debian system, keepalived is consuming full cpu usage on both kibana nodes
eg flag

I have master/slave kibana machines on Debian 10. From few days, cpu usage of keepalived daemon on both nodes are reaching to 100%. After keepalived restart it goes to normal, and this loops forever.

I am not sure, what exactly is wrong with my keepalived configuration. Can you please guide me here?

root@kib-e01:/var/log# keepalived -v
Keepalived v2.0.10 (11/12,2018)
root@kib-e01:/var/log# uname -r
4. ...
Score: 0
Oscar M avatar
Remote Access CPU with Different Gateway IP Sierra Wireless Modem
de flag

Suppose I have a facility with a simple, flat, LAN on the 192.168.1.x subnet.

However, it has two Gateway devices (Sierra Wireless RV55 cell modems) - one at 192.168.1.1, and the other at 192.168.1.2.

I have a CPU on site that is configured at 192.168.1.3, and uses 192.168.1.1 as its Gateway.

However, I only have remote access to the cell modem at 192.168.1.2....so, I need to access the CPU at 1.3, but p ...

Score: 0
torque/undelivered - collect finished jobs
ru flag

I had the problem that due to an incorrectly configured ssh the pbs_mom couldn't send the finished data (.ER and .OU files) back to the server. After a look into the log, I could locate the data on the nodes in the /var/spool/torque/undelivered/ directory.

Now I have correctly configured the ssh connection. Is there a way to automatically gather the data in undelivered (resp. signal the pbs to re ...

Score: 0
Eos Antigen avatar
HAProxy multiple backends TCP/HTTP mode works only for one backend
ru flag
listen mqtt-ssl
    bind *:8883 ssl no-sslv3 crt /my.pem verify required ca-file /my/pem/all_cas.pem crl-file /my/pem/all_crls.pem
    mode tcp
    option tcplog
    log global
    maxconn 50000
    tcp-request inspect-delay 30s
    use_backend pki unless { req.payload(0,0),mqtt_is_valid }
    default_backend emqx_k8s_svc

backend pki
    mode http
    server pki.my.domain someIP:443 ssl verify none

back ...
Score: 0
tecker2010 avatar
how to find bad scripts or unwanted processes on an compromised ubuntu server
cn flag

I got a message from my provider that my server (hosted virtual server) is obviously abusing other servers. Someone complained to receive lots of traffic from my server. It is now on me to find out what's going on my server and how to stop it. Of course I have done all basic steps like changing passwords, updating 3rd party software. But maybe someone could give me some advices what would be good to che ...

Score: 0
Ravi Teja RVN avatar
how to add all servers in open vpn network
cn flag

I had installed and setup openvpn in a server and within that openvpn network I am able to login to the server that I had installed openvpn into.

Now, the requirement is : I need to login to all servers in my cloud with that openvpn through private ip.

How do I do this and also if I create new server, how could it be automatically allowed to login through the openvpn network.

Score: -2
kluonk avatar
Mount usb device as existing network drive
in flag

I tried to find an answer to my issue but haven't been successful so far. Maybe I couldn't find the right search terms, so please apologize, if the question has already been answered and I was just not able to find it.

In our windows domain network the server (DNS, AD, Files) failed, and is currently not available. However, I have access to the data stored on the server, for instance via a USB me ...

Score: 0
Mike avatar
Sendmail does not masquerade the hostname.domain combination
ru flag

My MASQUERADE settings looks as follows...

dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
MASQUERADE_AS(`wantedomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envel ...

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.