Latest Server related questions

Score: 0
Aider Bekirov avatar
Error when openvpn config uses "*" in route
in flag

I'm trying to enable vpn only for specific hosts on mac

route-nopull
route *.dev1.com

dev tun
persist-tun

...

and getting the error:

Cannot resolve host address: *dev1.com: (nodename nor servname provided, or not known)

changing the config to

route d1.dev1.com 

works perfectly

How do I add a range of subdomain hosts

Score: 0
Boppity Bop avatar
Is it safe/safer to remove SSLOptions +StdEnvVars from Apache config?
cn flag

I have deleted out of the box folders www and cgi-bin after I installed httpd on CentOS8 Stream. I am now cleaning default config.

Is it safe to comment out the following in /etc/httpd/conf.d/ssl.conf :

<FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>
Score: 0
jenkins job to deploy latest version in new env, using the deployed version
br flag

I have a jenkins job with multiple applications, each with 4 environment namely DEV, TEST,QA and PROD. I am using ansible playbook to deploy the artifact in each environment. I have deployed an artifact with versions 1.0.0, 1.0.1, 1.0.2 in Dev environment using a shell command as

ansible-playbook artifact.yml -i jenkins/environments/$(env_name} --extra-vars= version_number=${artifact_version_number}

Score: 0
Unable to access GCS Object with storage.objects.get
cn flag

I have a bucket with uniform permissions (no object level ACLs) and my account has the Owner role on the project which should give full access to all resources. I have even tried adding Storage Admin / Storage Object Admin / Legacy Object Owner roles and still can't access the objects in my bucket.

When I use the IAM Policy Troubleshooter it can successfully make the storage.objects.get call.

The ...

Score: 0
Kornel avatar
autodiscover for OSX Mail and IOS Mail in iRedMail
br flag

I have installed the newest iRedMail server. It comes with autodiscover solutions for Thunderbird and Outlook. However out clients with Macs still can't autoconfigure their OSX Mail or IOS Mail.

Is there any way to set up autodiscover for OSX Mail and IOS Mail in iRedMail server?

Score: 0
dranobob avatar
How to check if a remote server is up through a proxy?
in flag

I have a series of lab linux server (centos/rh) that are built using an automated PXE install via kickstart file. I would like to use another automated process (ansible) to monitor when the installations have completed. Normally I would use a simple tool like ping but these servers can only be accessed remotely through an internal proxy.

One idea was to add httpd and a simple index.html page via the k ...

Score: 1
Scruffers avatar
HP ML350 Replacing a Drive Marked as Predicted to Fail
cn flag

We have an ML350P Gen8 server with an HP Smart Array P420i.

Three 300GB drives are combined in RAID5. Of these, one drive is showing a flashing amber light (predictive failure).

The cache for the P420i has been disabled because the backup power source attached to the cache module has failed to charge. (I am looking to fix this, but would like to sort out the drive first).

My question is: can I just pre ...

Score: 0
autofs:: how to make the mountpoint --make-shared?
cn flag

I have a complex setup (multiple autofs shared that could call each other) and i get errors like "Too many levels of symbolic links" and i think that i need to run "mount --make-shared" on the mount point.(mostly are nfs shares) Is there a way to run a custom command on a fresh mount point done by autofs? Is there any other method to make autofs mark the mount point as shared?

Score: 0
How to find Free IP address in a sub range?
cn flag

We are using below command to figure out the IP addresses which are down (which is free IP address to use)

nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'

I wanted to get a subrange within that . For example the above command shows all the free IP address from 192.168.1.1 to 192.168.1.124. [ Note: This is for test automation and we are using static IP addresses. Multiple team mem ...

Score: 0
MMMWeirdo avatar
Apache vhost all of a sudden is loading the default page
co flag

I have a few vhosts on a CentOs 7 server running apache, i have the config files in /sites-available and sym link to /sites-enabled.

It was all fine until today, but now for one of the domains it just keeps loading the apache default instead of the website. Nothing has changed at all, and the other ones work fine.

Let's assume the following domains:

dev.test.com cdn.dev.test.com dev2.test.com cdn.de ...

Score: 0
Martin Heidel avatar
Migrate ejabberd 1.3 to 20.4
br flag

Due to a server change, I have to move the entire ejabber server 1.3 on a Windows Server 2008R2 (data + settings) to a new ejabber server 20.4 on a Windows Server 2019. So that all PSI data are retained, I wanted to ask if anyone can tell me how to do it. Thanks in advance! Best regards, Martin

Score: 0
GCP TCP Load balance IP at some countries are failed to connect, TCP 80 443 connected to this IP frequently timeout, any limit of TCP connections?
io flag
Far

Hi we create GCP server and load balance at Singapore and Germany, at recently, both this two data centers Load Balance IP at some countries are failed to TCP connection, sometime are OK, but sometime are failed. Does GCP TCP load balance has any TCP connection limitation?

we check backend server, the TCP and HTTP request not forward to our server, he stop and drop at Load Balance. we captured th ...

Score: 0
David avatar
Powershell to exclude Group Members from Dynamic Distribution List O365
ye flag

I am creating an All Dynamic Distribution Group in Office 365 exchange online. I am doing this with Powershell. We will call this group AllTestGroup. Here is some information about the setup.

  • Exchange Online
  • On-Prem Active Directory
  • Most mailboxes are associated with an on-prem ad user. (ADSync)
  • A few mailboxes are cloud-only.
  • There are no customattributes or extensionattributes found inside the ad users ...
Score: 0
abc avatar
How to pass values to query externally
ng flag
abc

I have below similar logs.

I have created dummy index and created mapping like below in dev-tools

PUT new
{
  "mappings": {
    "properties": {
      "@timestamp": {
        "type":   "date",
        "format": "yyyy-MM-dd HH:mm:ss.SSS"
      }
    }
  }
}

and indexed data as below,

PUT /new/_doc/1
{
  "@timestamp": "2021-11-05 08:12:14.534",
  "level": "INFO",
  "id": "1",
  "text": "website is ac ...
Score: 2
peter avatar
Why the redirection in .htaccess not work?
sa flag

I have a Wordpress website. I want to redirect .php urls to the ones without the .php suffix. The .htaccess is as follows:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On


RewriteRule ^(.*)\.php$ "$1" [R=301,L,NC]


RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# ...
Score: 0
c-icap-server reports unexpected timeout
ws flag

I have configured c-icap-server and squidclamav to provide a network based malware scanning service for my applications. However it only appears to work when I can sent the entirety of the content in the preview and explicitly set an EOF.

I am monitoring the traffic with:

ncat -lkv 127.0.0.1 4040 -c 'tee /dev/stderr | ncat -v 127.0.0.1 1344 | tee /dev/stderr'

With my client using a normal chunked encodin ...

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.