New answers tagged

1 vote

What to set $DISPLAY environment variable to when su to another user

You need to configure X11 authentication MIT-MAGIC-COOKIE. You can use xauth to configure it: xauth list $DISPLAY # To list X11 cookies sudo -iu oracle # Import the cookies one by one xauth add laptop....
Mircea Vutcovici's user avatar
0 votes
Accepted

AH02565: Certificate and private key from <cert> and <private key> do not match

For whatever reason, it works after I rename the cert and key and move them both to another directory up one level. I'm not sure why since the file contents, owner of the file, and file permissions ...
poppopretn's user avatar
1 vote

Oracle Linux 8 to 9 in place upgrade with Leapp fails with XFS internal log size 8192 too large, must be less than 4789

Check if you have sufficient disk space in /boot/. The partition must have at least 250 MB of disk space to accommodate the installation. https://docs.oracle.com/en/operating-systems/oracle-linux/9/...
Ilya's user avatar
  • 11
0 votes

http_code 0 with Redhat php curl request

setsebool -P httpd_can_network_connect on This worked. It opened up permissions for PHP. The full answer is here: https://stackoverflow.com/questions/69201308/curl-not-working-from-web-browser-on-red-...
CSchwarz's user avatar
  • 101
1 vote

sed + delete all comment lines and when line match specific word

The syntax you search for is: sed '/data/d ; /^[[:blank:]]*#/d' /etc/fstab The semicolon separate two commands. If you want to have logical AND between two conditions you can use awk command (have no ...
Romeo Ninov's user avatar
  • 5,553
0 votes

NGINX reverse proxy not working as expected

I've used a similar configuration but with a specifically configured isolated bridge network; AND nginx as a docker container. Then you don't need https in an isolated bridge network - as it's all ...
TuneLinux's user avatar
1 vote
Accepted

ProFTPd : SFTP "get" command is denied (when "put" works ok)

The RETR (and READ also) command have to be added in the "/" section, not only in the "/ou" section. So with correction it looks like this : # Directory limits <Global> &...
Matt's user avatar
  • 21

Top 50 recent answers are included