Latest Server related questions

Score: 0
drookie avatar
nginx, HTTP/2, zero-length files
za flag

After an update of Centos 7.2 to 7.9 an HTTP/2-enabled vhost/site started to behave weirdly: random js/ccs files are downloaded in the browser as zero-length empty ones, but with 200 status.

I cannot reproduce this in curl using --http2 switch (seems that this has something to do with complicated browser cipher/policy algos), but this is reproducible across several client machines and browsers. Nginx re ...

Score: 1
Someone Sometime avatar
resize2fs crashed with error : Operation not permitted While trying to add group
nl flag

I was trying to expand /dev/sda3/ partition after I have added a new disk to my hardware RAID, but failed after resize2fs:

[root@server5 ~]# resize2fs -f /dev/sda3
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/sda3 is mounted on /; on-line resizing required
old desc_blocks = 47, new_desc_blocks = 93
Performing an on-line resize of /dev/sda3 to 388385366 (4k) blocks.
resize2fs: Operation not pe ...
Score: 0
Raghav Gupta avatar
Failing SSH after disabling Root Login
dk flag

After generating the private and public key for a RHEL Client and storing the public key in the authorized_keys folder of the RHEL 7 Server, I disabled the Root Login in the Server by going to /etc/ssh/sshd_config and setting PermitRootLogin to no. After that I restarted the sshd service.

Now when I am trying to do ssh from client to server it says

Permission denied (publickey,gssapi-keyex,gssapi ...

Score: 0
Winter avatar
Bad nginx URI redirection
cn flag

I am trying to authenticate in a keycloak server however the redirect_uri doesnt come with the context (/admin/).

Nginx is producing a wrong URI redirect_uri: hxxps://***.pt/auth/realms/example/protocol/openid-connect/auth?response_type=code&client_id=appmovel&redirect_uri=http%3A%2F%2Fnewservice%2F&state=... Since there is no /admin/ on the URL resulting in a callback fail.

nginx config fi ...

Score: 0
horst avatar
Kerberos with Apache not working
jp flag

I'm currently trying to configure Kerberos on our Apache and unfortunately I can't get any further. The website (Typo3) on the apache is accessed internally and externally with sub.domain.com The local domain is intern.local

I created the keytab file like this:

ktpass -princ HTTP/sub.domain.com@INTERN.LOCAL -mapuser kerb@intern.local -pass P@55w0rd -crypto ALL -ptype KRB5_NT_PRINCIPAL -out C:\temp\ker ...
Score: 0
Receive e-mail on AWS SES from one, but only one, e-mail address
us flag

I have an app for which e-mails sent to a specific address, x@example.com, should be received by SES for analysis of e-mail attachment and storage. However, I would like to handle the other E-mail addresses, y@example.com, z@example.com, associated with the domain outside of SES.

To receive the e-mail sent to x@example.com, I need to change the MX record for example.com. As I understand it, this  ...

Score: 0
PHP errors appear in PHP and Nginx containers
cn flag

I've been playing around recently with moving away from file based logging locally in a PHP app, to pushing PHP errors through stdout so they're output alongside the other logs in a docker setup. This works fine, if you set the error_log location to /dev/stdout then I see errors from PHP through tailing docker logs. However, these same errors also appear in the nginx container, as below via "FastC ...

Score: 0
Setting up slurm on a cluster
cn flag

My IT admin has setup a cluster with 3 nodes, which is administered via Windows server. VMs are hosted via Hyper-V, including an Ubuntu VM to which a substantial portion of the cluster's resources have been allocated. Does anyone have any experience/success with setting up slurm for job scheduling on a Linux VM hosted on Hyper-V? Existing examples I've found online for setting up slurm don't seem to be  ...

Score: 0
Forward web requests to another IP and port over VPN
ng flag

I have the following setup

Web browser (192.168.5.10) ——> Home Ubuntu Server (192.168.5.15) ————->VPN over the internet———>to a public IP——> Work Server (192.168.6.90) ——-> Web interface at 192.168.6.90:8787

On my Windows desktop after establishing the VPN tunnel between ubuntu server and work, I build an SSH Tunnel from the Home desktop to the Home Ubuntu serv ...

Score: 0
Nginx reverse proxy dropping /foo in URL
in flag

Having an issue with a Nginx reverse proxy.

My current config:

location /foo/ {
    proxy_pass   http://10.0.0.1:1234/;
}

The service is accessed without the reverse proxy by going to http://10.0.0.1:1234/login. Currently, going to the reverse proxy initially goes to https://example.com/foo, but it immediately gets redirected to https://example.com/login. I need Nginx to show in the browser https:// ...

Score: 0
FreeRadius with mixed CAs
ph flag

Is it possible to run FreeRadius (version 3.0.13) with two different CAs? So that I have a server certificate from one CA and the client certificates come from a different CA?

Our current setup in /etc/raddb/mods-enabled/eap looks a bit like that:

...
tls-config tls-common {
  certificate_file = ${certdir}/server.pem  # certificate only from CA ONE
  ca_file = ${cadir}/ca.pem                 # comp ...
Score: 0
SRCOMSEC avatar
Turn off password protected sharing for a Domain Controlled Pc
cn flag

I am learning how to build and manage server 2019

I have added a computer in my domain network, and after doing so, the option from advanced network and sharing to turn off Password Protected Sharing has disappeared. This option was available to me before adding it to the domain

https://i.stack.imgur.com/Wb4xK.png

This is a computer screenshot which is not on a domain network

https://i.stack.imgur.com/eM ...

Score: 1
Winter avatar
Wrong redirect_uri on keycloak
cn flag

I am trying to use keycloak to authenticate my service that are provided in a tomcat 8 docker by following https://github.com/keycloak/keycloak-documentation/blob/main/securing_apps/topics/oidc/java/tomcat-adapter.adoc

After i finished to configure my application it redirected correctly to the keycloak server however the redirect_uri was wrong since was calling an internal address only known by doc ...

Score: 1
Ankit Rana avatar
SSH'ing into WIN 10
cn flag

People of the Server-verse, a humble hello from fellow apprentice.

Above line goes out to show i am a newbie and thus need help with trivial probs, so appreciate all help in advance.

I am facing 2 issues that need help with while ssh'ing into win 10 home edition pc from either a linux / macos.

  1. It still asks for password even though i copied my (linux/macos) id_rsa.pub key into authorized_keys fil ...
Score: 0
Apache reverse proxy routes with similar partial url
br flag

I have this simple reverse proxy setup in my docker container(apache) each mapped to a different microservice with two different docker containers.

#serviceOne 
ProxyPass /abc/xyz/ http://serviceOne:8080/abc/xyz/ Keepalive=On
ProxyPassReverse /abc/xyz/ http://serviceOne:8080/abc/xyz/


#servicetwo 
ProxyPass /abc/xyz/pqr/ http://servicetwo:8080/abc/xyz/pqr/ Keepalive=On
ProxyPassReverse /abc/xyz/pq ...
Score: 0
VRA avatar
IBM Cloud counterpart of Google Cloud App Engine (GAE) Flexible
ng flag
VRA

I am exploring moving from Google Cloud to IBM Cloud. My needs are pretty simple in that I am looking to use managed infrastructure (standard python 3.7 runtime). I want to be able to specify the number of cores, the RAM, and the disk space. Currently, I am able to do all this using GAE Flexible.

I have been spinning my wheels with IBM Cloud's documentation. I have filtered down to 2 services, Cl ...

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.