Latest Server related questions

Score: 0
Stephen Pefanis avatar
Configuring RDS for offsite access
cn flag

I've setup an classic RDS server in Azure for testing. This consists of 3 servers for initial testing

  • RDSAPP01 - Test app's beeing published
  • RDSBRK01 - Connection Broker
  • RDSWEB01 - Gateway/Web Access

I've setup a DNS record "rds.domain.com" to point to RDSWEB01 internally, and externally have "rds.domain.com" pointing to our application proxy. I've got SSO and also Application Proxy working which i ...

Score: 0
JohnMAL avatar
Strange DNS issues after dead DC - At my wits end
in flag

on May 17 I received report of a down server. Went to check it out, and was unable to power it on. We've had service on that machine several times at this point, and are quite frustrated with it, so I recommended getting something new with a valid warranty. We did, and I set it up as a new DC-3.

For the last week or two, we've been experiencing slowness in DNS resolution time. Users will go to go ...

Score: -8
KKE avatar
I have 50 servers. Want to update /etc/hosts file using ansible
cn flag
KKE

I would like to update /etc/hosts file using ansible playbook to all my 50 servers.

<ipaddress>     <fqdn>     <hostname>
Score: -1
How to implement Anycast DNS
cn flag

Our website hosting provider uses Anycast DNS and has a zone file with a set of nameservers as shown the this screenshot for the zone www.example.com

enter image description here

However the nameservers for the domain are different as shown the the screenshot.

enter image description here

On changing the nameservers of the domain to the same as the ones in the Anycast zone file the DNS caching (propagation) changes show for www.example.com but not so much f ...

Score: 0
user2782999 avatar
Optimal number of Start-JobThread simultaneously
cn flag

How do I calculate the optimal number of Powershell ThreadJobs? I have a script that hands out jobs to multiple servers but these servers do not have the same number of CPU cores and RAM always. Is there some equation for dynamically calculating this optimal number to set as the ThrottleLimit? The tasks are not very RAM or CPU intensive but it seems like powershell is always drastically slowing down whe ...

Score: 0
howdytom avatar
External invitations disappearing after accepting in Mac Outlook v16.49
pe flag

Lately, I have stumbled upon a rare issue using Mac Outlook calendar invitations.

External invitations disappear after accepting them in Mac Outlook v16.49.

Steps to reproduce:

  1. Appointment are scheduled via iOS Calendar and send from our Exchange Server within the same domain. I have added 1 internal and 1 extern participant. No fancy html formatting are being used.
  2. The invitation shows up jus ...
Score: 1
Can't write to /tmp in systemd service with PrivateTmp=true
in flag

My apache2 service has PrivateTmp=true. When the service first starts it works fine, but after a few days, writing to /tmp fails with "no such file or directory". To debug I've tried running nsenter -t <apache-pid> -m bash and I've confirmed that /tmp exists, but mkdir /tmp/test fails with "no such file or directory". I'd rather not remove the PrivateTmp=true directive.

If I restart the service  ...

Score: 2
php-fpm status page returns 404
ws flag

(I have read and applied the recomendations here - it did not resolve my issue).

I am trying to read the PHP-FPM status page on Ubuntu 20.04 LTS. This is using the packaged PHP/PHP-FPM (7.4.3) and nginx (1.18.0)

In /etc/php/7.4/fpm/pool.d/www.conf, I have uncommented the line:

pm.status_path = /status

(and restarted php7.4-fpm). In my default server conf I have added:

        
        location /status {
 ...
Score: 1
iptables PREROUTING not in effect
ru flag
Cal

We are running a ubuntu 20.04 in AWS. We are trying to set up an iptables rule so any MySQL traffic with a dummy IP address will be forwarded to the MySql database at 172.31.6.173 in the same VPC. Let me explain:

IP addresses in this task:

Ubuntu server(source): 172.31.0.151

MySql server(destination): 172.31.6.173

MySql Dummy IP: 6.6.6.6

From 172.31.0.151 (source) we will co ...

Score: 0
Tom avatar
Should I change the default folder for uploads?
bf flag
Tom

PHP 7 uses the default system folder (/tmp) to store uploaded files. PHP allows you to change the settings and change the upload destination directory. Some sites indicate to change this folder to another one, since the /tmp permission is 777.

OWASP has nothing listed in the security recommendations. Should I really worry about changing this folder to another one or there are no risks?

Score: 2
When changed to WWW, all URLs showing index.php?page= how to remove index.php?page=?
us flag

I recently managed to direct all URLs from non-www to www as I had an SEO error regarding duplicate websites.

Once I have applied www rules then all my URLs start showing index.php?page= which doesn't look pretty.

Here are my current .htaccess rules:


RewriteEngine On

RewriteBase /

RewriteRule ^([-a-zA-Z0-9]+)$ index.php?page=$1

RewriteCond %{HTTP_HOST} !^www.example.com$
RewriteRule ^(.*)$ http ...
Score: 1
DJR avatar
Different drivers/support for 10GbE SFP+ copper versus fiber?
in flag
DJR

I'm looking at purchasing a storage array that uses 10/25 GbE SFP+ connections for the user-facing frontend network. I already have a 10 Gb switch with 24 RJ45 ports and 4 SFP+ ports. I assumed that the SFP+ ports wouldn't care whether the cable coming out of them was copper or fiber, so I thought we could just get SFP+ RJ45 transceivers for the storage array nodes. The vendor is saying that it won't ...

Score: 0
systemd start a script that activate virtual env not take effect
cn flag

I was trying to systemd a flask app. I tried to write a script like this:

#!/bin/bash
cd /path/to/app
source venv/bin/activate
python start.py

and just ExecStart this script in the .service file. But this doesn't quite work as starting the service errors with

python: command not found

I actually ran into quite a few issues, but eventually resolved with service file:

[Service]
WorkingDirectory=/p ...
Score: 1
ProlucidDavid avatar
Gitlab Omnibus Background Migrations Continually Fail on Upgrade
my flag

I’m working on upgrading a gitlab omnibus installation (v12.3.0-ce) on a VM instance. Our goal is to ultimately upgrade to the latest version of gitlab (v13.x). According to the documentation we need to first upgrade to gitlab version 12.10.14 and there must be no active background migrations.

Once the server is upgraded, we execute the following command to reconfigure the system sudo gitlab-ct ...

Score: 0
uday avatar
How to get jenkins reset password link for users?
ke flag

To enable sign up or create account link.

Configure Global Security

Direct link: jenkins_url/configureSecurity/

Jenkins own user database — Allow users to signup checkbox

Then, we can have below page for jenkins to signup.

http://<jenkins_URL>:/signup

But, there is no password reset link if the users forgot the password.

How to implement that?

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.