Latest Server related questions

Score: 0
Seth Weber avatar
RDP not respecting client's desktop scale factor
jp flag

We upgraded our laptops and their resolution went from the old laptops' 1366 x 768 to 1920 x 1080 and this is causing our one Remote Desktop server to scale everything small so it's hard to see. I tried adding the "desktopscalefactor:i:" value in the RDP file, but RDP completely ignores this.

And I can't change the scale settings inside the remote session because it won't let you: 263513-image.png

Client Computer ...

Score: 0
chingis avatar
Squid in docker returns 502 but works when run on host
au flag

I'm using the same config for squid 5.6 that runs on a host machine and in docker. When I run it on the host (Ubuntu 22.10) it works just fine but when I run it from ubuntu/squid image I get 502 bad gateway error.

Squid config:

acl localnet src 0.0.0.1-0.255.255.255  # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8             # RFC 1918 local private network (LAN)
acl localnet src 100.6 ...
Score: 0
No permission to access web site
ca flag

My setup:

ubuntu 22.04
Apache/2.4.52 (Ubuntu) Server 

I created /etc/apache2/sites-available/test.mysite.conf:

<VirtualHost *:80>
   ServerAdmin [email protected]
   ServerName test.xxxxxxxx.com
   DocumentRoot /home/test/deploy/current
   <Directory /home/test/deploy/current>
      AllowOverride all
      Options -MultiViews
      Require all granted
   </Directory>
   ErrorLo ...
Score: 0
Gary Stainburn avatar
Dovecot expunge all emails marked as deleted regardless of folder
tc flag

I would have thought that this would be a FAQ but I haven't found a useful answer.

How do I expunge all email messages deleted using the email client regardless of which folder it's in?

Score: -1
Dima avatar
How to create a non-modifiable structure of shared folders on NTFS?
cn flag

I am in the process of finding a suitable solution of the following. I have a Windows Server 2013 share with a set of shared folders. This share has a central folder (say Shares) and a set of subfolders, each of those should be shared to a specific department or group with entries already specified in AD.

What is a correct way of assigning permissions so that the folder structure could remain unch ...

Score: 0
is Apache web server support TCP_NODELAY
in flag

Is Apache web server support TCP_NODELAY?

Is it enabled by default or is something I need to set in the config file?

I am searching for it for 2 hours and for some reason I can not find the answer of it.
I can find how to set reuseport but there is no mention of nodelay.

Score: 0
Nhân Trần avatar
Point domain to server without HTTPD
bb flag

I have a VM on Oracle Cloud Free tier and have the dedicated IPv4. I installed MariaDB on this server. I want to point the domain name (example.com) to that machine, in order to access the MariaDB with the domain, example to use example.com:3306 instead of xxx.xxx.xxx.xxx:3306 inside PHP code?

How can I do that without to install the nginx/apache httpd?

Score: 0
SunDayMan33 avatar
How to setup nginx to access the internal service with and without VPN by the same link?
tn flag

I have a service configured for internal users with vpn http site.com:5000 and external users without VPN https site.com. A'm used two nginx on different servers. First nginx located on the same machine with service. The second nginx with certificates located on another server and configured by another people for me.

How setup nginx that users with VPN can access service throught https site.com li ...

Score: 0
Jaans avatar
Linux server power outage - data integrity and OS corruption checks
aq flag

What are the best practice steps to check for / recover from potential Linux OS corruption, in the event of unexpected power outage (or VM host failure)?

Of course it "depends" on the installation and setup, but I'm looking for common actions / checks to perform for majority of Linux OS (Debian, Ubuntu, Mint, other) and file systems (XFS, ZFS, EXT4, vfat).

This is not about preventing ungraceful s ...

Score: 0
tazemeta avatar
Why do i see ipv6 addresses on haproxy logs?
py flag

We have received complaints that some users cannot access the site during the day. Somehow they see maintanence page. When we examined the haproxy logs, we saw that all 503 error's requests' source ips are ipv6. We don't have an AAAA dns entry.

i checked waf and firewall wan rules. Also checked server's logs too. Requests are not forwarded to backend servers.

an example log: [ <131>Nov 16 14:5 ...

Score: 0
How to set limited permissions using command line on windows?
kr flag

user want to delete all permissions and keep only modify permission for everyone and full permission to system. Like this.

1

But present with icacls command

icacls "%ProgramData%\myfolder\Licensing" /grant Everyone:M SYSTEM:F

2

how to remove all other entries and keep only this.

3

whether icacls or any other command line

I tried

icacls "%ProgramData%\myfolder\Licensing" /grant Everyone:M SYSTEM:F /inherita ...
Score: 0
user2838376 avatar
How to configure/disable policykit in Ubuntu?
in flag

Here is the problem: I have integrated Ubuntu Desktop with Active Directory authentication. Adding domain user or group to /etc/sudoers.d wasn't so difficult. But with graphical interface and the sorry piece of software called polkit there is a problem:

  • Every "elevated" action requires the password. And not any sudoers' user password but first local user password.
  • Depending on environment many set ...
Score: 0
rodentskie avatar
AWS Cloudfront front-facing for ELB Origin
jp flag

Right now I'm working with Cloudfront as front-facing for the Application Load Balancer in AWS.

I attached my default Security Group (one) which has inbound rule both for HTTP and HTTPS for source 0.0.0.0/0, it works fine, and I can access my application.

But when I attached Security Groups (five) of it into the ALB which the inbound rule for HTTP and HTTPS are from the IP ranges of CDN I get 503 ...

Score: 0
mAineAc avatar
Trying to set up a proxy server uisng nginx and docker
no flag

I am trying to set up a proxy server to access a network. Currently there is a proxy server that people use securecrt to connect to and their web browser for some resources. I want to set up the server using docker so each person connecting to the proxy server gets a unique IP address that they access the network with instead of everyone coming from the same IP address. I am thinking of using nginx reve ...

Score: 0
stargt avatar
nginx upstream doesn't seem to be recognized
ba flag

After fresh installation nginx on Amazon Linux 2 (EC2) following commands,

$ amazon-linux-extras install nginx1
$ nginx -v
nginx version: nginx/1.22.0
$ cat /proc/version
Linux version 5.10.144-127.601.amzn2.x86_64 (mockbuild@ip-10-0-44-229) (gcc10-gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1), GNU ld version 2.35-21.amzn2.0.1) #1 SMP Thu Sep 29 01:11:59 UTC 2022

I'm confused about the behavior of upst ...

Score: 1
keydb active-replica multi-master php session storage
jp flag

I'm looking to use keydb/redis for php session storage in a HA setup. Currently, I have two keydb instances running with the following config:

Instance 1 (192.168.2.10)

requirepass pass123
masterauth pass123
# you will need to configure the following
multi-master yes
active-replica yes
replicaof 192.168.2.9 6379

Instance 2 (192.168.2.9)

requirepass pass123
masterauth pass123
# you will need to conf ...
Score: 0
Dan2097 avatar
Setting up second PGSQL when first is using built-in PostgreSQL module
gd flag

I have a Centos 8 server running PostgreSQL 10. I would like to add a PostgreSQL 14 database to this server (which would run on a different port), which will replace the PostgreSQL 10 instance after a transition period.

PostgreSQL 10 was installed via Centos' built-in PostgreSQL module. I believe this module only supports one installation of PostgreSQL, while installations from PostgreSQL's Yum r ...

Score: 0
woodz avatar
define custom fields for systemd-journald
pk flag

The doc states, it may be possible to define new fields by applications.

What does it mean? Can one define arbitrary fields or are only those possible listed in the doc USER JOURNAL FIELDS?

If arbitrary fields are possible, how to define them then?

Score: 0
Sam avatar
APACHE CERTBOT ERROR
bj flag
Sam

I'm configuring https on a local apache server using certbot but I get the error below:

Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: www.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blan ...
Score: 0
PAM deems Kerberos password as expired
fr flag

I run Kerberos / LDAP authentication in a small network for years. Kerberos is held in LDAP, which in turn is replicated to another site. Machines at the second site authenticate to the replica, the old site authenticates to the original server. Recently, I added a couple of new user accounts.

On the original site, everything runs smoothly. The new users can login to the system without any issue. ...

Score: 2
AlexVPerl avatar
Hyper-V Expand Drive Without Having to Use GParted to Fix Partitions
cn flag

Hyper V Generation 2 VMs seem to exhibit this behavior:

  • after expanding VHD, new space appears as separate partition enter image description here
  • there is no way to combine it with existing c:/ partition from Windows
  • have to use something like GParted, to move partitions around to actually increase c:/

I describe this issue in detail here, and solution was to use GParted: Unable to Extend Partition on Hyper-V Generation 2  ...

Score: 0
How to configure let’s encrypt with Cloudflare subdomain?
US flag

I have a WordPress website hosted by HostGator and I want a subdomain to redirect to my Application server. The problem is that after adding the subdomain (type “A” in the dns list I get a 521 error. After reading troubleshoot, I think the probable cause is the SSL configs, since the server is bare NGINX + Node.js hello world without ssl configs and typing the server IP in the browser it answers. ...

Score: 0
Perplexed avatar
HAProxy with PfSense - servers not resolving to HAProxy IP
ru flag

Trying to set up HAProxy so that I can access my NAS externally via SSL.

From what I understand, when doing a DNS lookup on the NAS, it must resolve to HAProxy's IP. If this is the case, how do I ensure that that happens? Thanks.

Score: 0
Thomton avatar
Set folder permission by OU
vi flag

I'm attempting to setup folder permissions on my DC to a shared desktop. I have an OU containing the users I want to allow to view this folder, and a GPO which handles the permissions linked to the OU.

However, I can only find a way to allow access for specific users, and not for all the users within an OU.

I would rather not have to add all the users, and keep it updated rather than just putting th ...

Score: 1
rbn_hln avatar
Setup SSH-Jumphost | Proxyjump with freeIPA and Kerberos-Tickets
am flag

I want to setup a bastion (ssh jumphost) to access the network behind a firewall. Both server are in a freeIPA domain. The client is a user machine and is not part of the IPA domain.

Internet/client —> SSH-Jumphost —> login-node

My plan is to login into the ssh-jumphost via credentials to obtain a valid TGT and then to ssh to the login server via the obtained kerberos ticket.

Therefore, I cha ...

Score: 0
dzbdevops avatar
Login Incorrect in Ubuntu 16+ cloud-image
to flag

I don't know why but I can't log in via "ubuntu" on cloud-image. Does anyone have an idea?

What it gives:

Ubuntu 16.04.7 LTS ubuntu ttyS0

ubuntu login: ubuntu
Password: 

Login incorrect
ubuntu login: Ubuntu
Password: 

Login incorrect
ubuntu login: 
Login timed out after 60 seconds.

Ubuntu 16.04.7 LTS ubuntu ttyS0

ubuntu login: 

Image config

runcmd:
 - [ apt-get, -y, remove, cloud-init ]
pas ...
Score: 1
alfonx avatar
nftables rules to allow networked Docker containers on the same host to use their public URLs
my flag

I am running two Docker containers on the same host living in Docker the same bridge network, and I have nftables set up to restrict more or less all traffic (rules below).

My only problem (that I know of) is that traffic from one container to the other is blocked, if a container uses the public URL of the service provided by the other container.

E.g. service A is an SMTP server which has a public  ...

Score: 0
IC_ avatar
How to setup a server on virtualbox machine's localhost to be reachable in the host system?
lb flag
IC_

I'm trying to access a server that runs on the virtualbox machine. It binds to localhost and want to passthrough the traffic to its external network interface (which is not the lo). The problem is that the server (thirdparty program) cannot bind to a specified address or interface and cannot bind to a broadcast address, only localhost.

Is it possible to forward traffic from e.g. interface enp0s3 to lo a ...

Score: 0
Tom Tom avatar
www subdomain works but others don't
ph flag

I encountered a problem with nginx I do not understand.

I am able to correctly setup and call www.example.tech and example.tech.

However when adding another subdomain like survey.example.tld to the list the other two still work but survey.example.tld does not.

In chrome I get the following error message when trying to call http://survey.example.tech/:

This site can’t be reached Check if there is ...

Score: 1
Geo_G avatar
SPF Error - Cannot send emails to @gmail users
kz flag

I get the following error, every time I tried to send an email to a gmail user.

Error:"This is the mail system at host chimaera.otenet.gr.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text fro ...

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.