Latest Server related questions

Score: 1
AWS ALB and HAProxy Keep-Alive header
in flag

Has any one come across this behavior?

  • AWS ALB is sending traffic to HaProxy.
  • HaProxy sets keep-alive header to 29 seconds.
  • Client connected to ALB does not see this header.
  • It can only see "Connection: keep-alive" header.
  • Basically, ALB is stripping out keep-alive header.
  • Enabling/Disabling HTTP/2.0 in ALB settings has no effect on this behavior.
  • ALB idle connection timeout is more than 29 secon ...
Score: 0
TheKrisMoore avatar
NGINX Rewrite Rule for Slug
cn flag

I am trying to create a rewrite rule in NGINX for a URL.

The Original URL format is https://example.com/blog/article-slug-here

but needs to be in this format:

https://example.com/blog?article=article-slug-here

any suggestions?

Score: 1
apache rewrite: how do I check for empty or not present query parameter?
cl flag

might be best explained with an example:

- If I enter either URLs in my brower 
  - www.myhost.com/my-page.html?year=
  - www.myhost.com/my-page.html

- I then want to get redirected to  www.my-2nd-host.com/current-year/my-page.html

Any ideas how it's done? Thank you.

Score: 2
J C avatar
How to make Wake on Lan persistent in Debian buster?
es flag
J C

I am on Debian 10 buster. Output of sudo ifconfig -a is

enp0s7: flags=xxxx<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.xx.xxx  netmask 255.255.xxx.x  broadcast 192.168.xx.xxx
        inet6 xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx  prefixlen xx  scopeid 0x0<global>
        inet6 xxxx::xxxx:xxxx:xxxx:xxxx  prefixlen xx  scopeid 0x20<link>
        inet6 xxxx:xxxx:xxxx:xxxx: ...
Score: 0
Ran route -f on AWS Windows server and now can't reconnect
br flag

I was attempting to resolve a network issue on an AWS server and while in an RDP session, stupidly ran 'route -f' and now am unable to reconnect to the server at all. It's gone completely dark. AWS shows it is running but I don't know how to recover access. How screwed am I? How can I get connected to this server to resolve the issues?

Thanks in advance

Score: 0
Three Single drive Raid 1 vs JBOD
mx flag

I have an intel server of which the RAID Controller does not support JBOD mode (same problem as my Dell R820s).

But I want to do Ceph, so I "need" a JBOD. So I set my 3 SSDs as single drive RAID 1 from the controller configuration UI (maybe I should have done RAID 0 though).

Is there some performance or other drawback to this VS creating a real JBOD on a controller that provides the option? Is there ...

Score: 0
Carlos avatar
Replace datetime to unixtime on Apache error_log
cn flag

I'm need create a script replace datetime to unixtime on error_log apache files

error_log:

[Mon Nov 01 21:48:54 2021] [:error] AH00898: Error reading from remote server returned by xxxxxxxxxx, referer

I need change it to:

[1635803334] [:error] AH00898: Error reading from remote server returned by xxxxxxxxxx, referer

I've a script which change unixtime to datetime with perl (I use it with squid log) ...

Score: 0
httpd quits after reload - slotmem-shm
co flag

My current httpd deployment setup involves generating new configuration files, relinking the config directory, then reloading the apache service. This process works fine for most of my hosts, however on of my proxy hosts, the httpd service will quit after issuing a reload.

Example:

/config/aaaa/*.conf
/config/bbbb/*.conf

/config/active -> /config/aaaa

And in my main httpd.conf file,

require /conf ...
Score: 1
Can't mount NFSv4 with Kerberos from a Linux client to a FreeBSD server
cn flag
hjf

I'm trying to set up NFSv4 with Kerberos. The server is FreeBSD 13.0-RELEASE and the client is Ubuntu 20. I have the Kerberos part running and I can automaatically get a ticket on login for my user, and SSH into the server while being authenticated via Kerberos. So I'm confident that my Kerberos setup is correct so far.

But when I try to mount NFSv4 shares, I get the following three errors at onc ...

Score: 0
ICS Calendar File Does not Exist
it flag

I'm trying to load this calendar: https://bushnellbeacons.com/calendar.ics to another internal websystem. The calendar feed is fine - I can click the link above and download the feed. The problem is that other site gives a generic error "Feed could not be found".

Doing some investigation, if I download the ICS file in my browser, then upload it on another webserver, I have no problem adding that URL ...

Score: 0
Distinguish virtual host in AWS CloudWatch Log Group entries
pk flag

I am wondering how I can know what host an event in httpd's access/error logs corresponds with once that data is brought into CloudWatch. I use virtual hosts on apache. I currently have a file per vhost like so...

/var/log/httpd/access/site1.log
/var/log/httpd/access/site2.log

I am using CloudWatch Agent configuration like this:

[[inputs.logfile.file_config]]
      file_path = "/var/log/httpd/acc ...
Score: 0
Stian Mykland avatar
iDRAC not working at all
in flag

I have a Dell PowerEdge R620, and I figured it could use a firmware update. I updated the BIOS (to version 2.9.0) without any problems, and then I booted off of the platform-specific ISO (version 21.09.00) which automatically updated iDRAC and the lifecycle controller (iDRAC with Lifecycle Controller v. 2.65.65.65). According to the BIOS, I'm now running the latest version of iDRAC7 (1.66.65), but iDRAC ...

Score: -1
Cannot start a ngnix
kr flag

My developer has added third-party authentications like Google, Twitter to our website. I would like to take over the development now. The first thing I need to do is to be able to test these third-party authentications in localhost. He gave me the following configuration file.

upstream mywebsite {
   server 178.62.00.00:443;
}

server {
    listen              443 ssl;
    server_name localhost;
  ...
Score: 1
Ubuntu KVM vm nic connected to the network bridge dns resolution issues
na flag

Ubuntu 20.04 server with multiple NICs and KVM server installed on it.

Created a bridge with netplan:

enp0s31f6:
 dhcp4: no
 addresses: []

bridges:
 netbr0:
  addresses: [192.168.14.20/24]
  dhcp4: no
  interfaces:
    - enp0s31f6
  nameservers:
    addresses:
      - 192.168.14.1
      - 8.8.8.8
      - 8.8.4.4
      - 1.1.1.1
  parameters:
    stp: false
    forward-delay: 0

enp0s31f6 is connected to  ...

Score: 0
Connection reset for HTTPS on ADFS
pl flag

I have set up a windows server in virtual box with host only network as a labenvironment. I have a problem accessing HTTPS from the host only network. I have set up a domain controller and ADFS on a Windows server 2019 using a self signed certificate for ADFS. Here are some tests I have done to try to isolate the problem. Im testing against the metadata url /FederationMetadata/2007-06/FederationMetadata ...

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.