Latest Server related questions

Score: 0
Hannah Vernon avatar
Cannot delete Azure Active Directory Tenant
sx flag

I'm attempting to delete an unused Azure Active Directory Tenant.

All initial checks have passed:

enter image description here

However, when I click "Delete", I get a popup saying "Unable to delete tenant. Known issues exist where some enterprise applications are not capable to delete within the portal.":

enter image description here

I have clicked the link in the popup, which takes me to this page, where it directs you to use Azure Powershell functions to  ...

Score: 0
Rever_2019 avatar
Remove old Cipher Suites
sx flag

I manage some websites and one of them got a poor security rating (from sec scorecard). I have a managed server, so I asked the IT guys to help, but also would like to understand this issue a little more.

The problem is, there are old TLS1.0 and TLS1.1 Cipher Suites, like:

TLS_RSA_WITH_IDEA_CBC_SHA (0x0007)
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_RC4_128_MD5
TLS_RSA_WITH_3DES_EDE_CBC_SHA

Score: 1
Jun x avatar
How to delete utun0 in my macos?
lv flag

ifconfig: utun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380 inet6 fe80::a3d5:45cd:d66b:6bd5%utun0 prefixlen 64 scopeid 0x12 nd6 options=201<PERFORMNUD,DAD>

route: fe80::a3d5:45cd:d66b:6bd5%utun0 link#18 UHLI lo0


sudo /sbin/ifconfig utun0 delete ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address

Score: 0
Tomulis avatar
Setting up GeoIP to work with Nginx on Debian 11
fk flag

I am trying to set up Nginx v. 1.24.0 and GeoIPupdate to work so that users not from a specific country do not get access to the web server.

However, as I'm following every guide I see that it is outdated, either the links do not work, because MaxMind deleted them, or they assume I have the module needed to be installed.

Even the official Nginx wiki has been of no help (https://nginx.org/en/docs/htt ...

Score: 0
HorrorPills avatar
Exim.conf Redirect email to an another folder
pw flag

I am trying to redirect/route incoming emails to another folder depending if they are listed inside the /etc/email_list file (ON/OFF). I am unsure how would I approach this, I am clearly messing something up. What would be the correct way of approaching this? Thanks!

Here is my exim.conf

custom_folder_redirect:
   driver = redirect

# Check if the email address is listed in /etc/email_list. If yes, fo ...
Score: 0
Kops - change images to use new gcr repo registry.k8s.io
cn flag

kops https://github.com/kubernetes/kops uses the deprecated image registry at k8s.gcr.io.

How do I change the image registry to use private locations?

Not all image locations are specified in cluster.spec. I can see some in the add-ons folders but updating these files directly in S3 does not work - kops immediately reverts the changes on cluster update.

Questions

  • How do I change the image registry ...

Score: 0
suprovsky avatar
I'm dockerizing my website setup. What is the best approach to send mails by PHP-FPM in a container?
hu flag

So i've seen a couple of questions about setting up notifications for PHP-based websites, so i'd like to ask you for the best approach. For that,

I have:

  • a WordPress website with custom PHP packages hosted locally, no containers,
  • working sendmail setup being used by PHP working as a smart host, we use a Mailgun account and send mails generated by WordPress to their SMTP,

I want:

  • the same WordP ...
Score: 0
punith reddy avatar
How can I allow all the subpaths after a domain in nginx proxy
cg flag

Below is my configuration of nginx proxy . I have to allow all the subpaths after example.com like it should allow https://example.com/test , https://example.com/vaid. These subpath are already present in example server which is accessible via internet.

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [ ...
Score: 0
Michal avatar
kubernetes pods running on the same node can't access to each other through service
bs flag

I am stuck with trying call from one pod to another through service when they are on same Node.

to explain

  • Node1 - service1a (pod1A), service1b (pod1B)
  • Node2 - service2a (pod2A)

when:

  • PING pod1A -> pod1B OK
  • PING pod1A -> pod2A OK
  • CURL pod1A -> service2A OK
  • CURL pod1A -> service1B TIMEOUT

Spend several days changing some part of configurations and also search same issuse on internet bu ...

Score: 0
Topper avatar
Runging own Telgram bot based on PTB 13x and local Telegram bot API behind nginx
pt flag

Try to use local Telegram bot API to take benefits of larger files for my bot serving and helping users in supergroup with files as described here Build stack with Telegram Bot API, nginx as reverse proxy and my bot works ok, based on docker-compose template:

version: '3.7'

networks:
  int:
    name: internal
    driver: bridge

services:
  api:
    hostname: local-api
    image: aiogram/telegram- ...
Score: 0
Adephx avatar
How to delete a domain user with associated folder rights?
ng flag

Right now when I delete a user from the domain I get left with these folder rights remnants that I have to remove manually. I've noticed this on both Windows and Linux driven data servers. Is there a way to force client in a domain to automatically purge the folder rights for users that are no longer a part of the domain?

Folder rights remnant example

Score: 0
SpecNon avatar
PowerDNS lua ifportup Failing
pm flag

I'm having a problem getting a PowerDNS ifportup lua record working. I'm new to PowerDNS and know DNS relatively well. I'd appreciate if anyone could point out where I'm going wrong here.

Background - I'm running this on Debian 11 to a sqlite backend. Packages installed...

pdns-server

pdns-backend-sqlite3

pdns-backend-bind (I think this autoinstalled?)

pdns-backend-lua2

The record...

fuse-smt ...
Score: 0
Resley Rodrigues avatar
Migrate webserver without affecting mailserver
iq flag

Currently I have a website example.com that's hosted on some old service provider. I'm moving it to a different service provider I use.

I need the mail to be accessible via Outlook using the existing configurations itself.

Users of example.com access their @example.com email via Outlook

I cannot move the mailserver so I thought of exposing mail.example.com for it instead with an MX record for the old o ...

Score: 1
Mr.D avatar
how and when did my graphic card, drivers, monitor and xserver negotiate a proper resolution? Is there a way to get the supported list from devices?
ck flag

I was trying to figure out how KDE or GNOME decides which resolution could be supported by the monitor and graphic card connected. I have 2 senario about this question, I will try to explain the process based on my understanding, please point me out if I'm wrong:

boot to grub, there is no graphic driver or xserver. grub will show boot menu with framebuffer. at this time grub will read EDID from t ...

Score: 1
Tim avatar
modsecurity regex not always matching simple rule
za flag
Tim

Im trying to create a simple modsecurity regex rule that stops processing the rules when a match is found and just returns status 200 on a POST request so that it doesnt continue and get blocked by another CRS rule later in the chain.

Heres my rule:

    SecRule REQUEST_URI "@rx ^(?i)/cgi-bin/myPHPScript.php" \
                        "id:3021,allow,phase:2,nolog"

What happens is that sometimes the rule r ...

Score: 0
J'e avatar
YouTube app not working with squid. What urls to bump exclude?
eg flag
J'e

I have squid running with SSL Bump. The rest of the squid settings are basically defaults. I can access YouTube just fine from a browser but the android app is not working. I've already excluded these from SSL Bump with no success.

  • youtube.com
  • www.youtube.com
  • m.youtube.com
  • ytimg.com
  • s.ytimg.com
  • ytimg.l.google.com
  • youtube.l.google.com
  • i.google.com
  • googlevideo.com
  • youtu.be
  • yt.be

Where can I find lo ...

Score: 0
Rumpus avatar
408s and Request Issues on specific sites and devices
ua flag

TLDR; wired desktop works, wired laptop cant load some sites, mobile phone not working on wifi with same sites as laptop. Noticing 408 and request generation issues but cant pinpoint what/why

Hello, I am running into a very strange issue I can not find a resolution for. Last week or so I had some power/internet outages (this was local neighborhood area and may not even be related but worth noting ...

Score: 0
bicanul123 avatar
Virtual Media it's not ejected on the Dell iDRAC9 after the installation using Ansible it's completed
yt flag

I have this code but unfortunately it's not ejecting the ISO after installing the CentOS and I don't know what to do, can someone please give me a hint on how I can treat this? I can't use Ansible modules, I'm forced to use only the Redfish API.

Here's the code:

- hosts: Linux_OS_machine
  connection: local
  gather_facts: False
  vars:
    datatype: SetBiosAttributes

  tasks:
    - name: Check if vi ...
Score: 0
CL22 avatar
Error downloading and installing composer
nz flag

I don't really know where to begin with this. I'm trying to install composer on shared hosting.

I've followed the instructions here, logged in by SSH and run:

curl -sS https://getcomposer.org/installer | /usr/bin/php7.1-cli

But I get the following error:

curl: (3) URL using bad/illegal format or missing URL

What's going on?

Thanks

Score: 0
SP595 avatar
ssh asks for a password even though the key is copied
lk flag

I copied the key to the server, but ssh still asks for the password

ssh-keygen
ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/sp595/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted no ...
Score: 0
sbarcab avatar
Internet relay postfix with virtual alias and .forward
sv flag

In a relay postfix for a domain, I am trying to configure so that each user indicates the e-mail destination address he wants in the .forward but as virtual_alias_maps is configured, it always takes the address indicated in /etc/postfix/virtual and skips the .forward configuration of each user. I can't find a configuration to solve this problem. Thank you very much in advance.

Score: 2
NeDark avatar
Discrepancy in file usage after rsync
cn flag

I copied files from an exFAT filesystem to an ext4 filesystem:

sudo rsync -avz /media/user/1TB-SD-EX/ -e ssh example.com:/data/pc/sd1tb

After successful run I check source and destination size with du -b

$ sudo du -ah -b -d0 /media/user/1TB-SD-EX/
800100388315    /media/user/1TB-SD-EX/

$ sudo du -ah -b -d0 /data/pc/sd1tb/
793592516059    /data/pc/sd1tb/

If I check number of items in with find and

Score: 1
Why qemu fails to start host only network on loopback when there's no other network on host?
sd flag
gcb

Starting qemu-system-x86_64 with -nic user,ipv6=off,hostfwd=tcp::9022-:22

With only the lo interface (with 127.0.0.1 associated to it) present on the host, the vm will start, but any daemon trying to allocate port 22 will hang. e.g. inside vm: #systemctl start sshd will just hang until killed, and nothing interesting will show up on logs.

If I have any other interface up on the host before starting qemu, ...

Score: 0
gfmoore avatar
RDP session to headless Ubuntu 22.10 machine disconnects without warning
ss flag

I use windows 10 (fully upto date) rdp to connect to Ubuntu desktop 22.10 running on a HP Microserver gen 8 server running headless.

I can remote in fine. Start doing work (usually with VS Code), terminal, and the Files programs and after some indeterminate time and for some unknown reason I get disconnected and the user has been kicked off the Ubuntu session back to the logon screen. I cannot re ...

Score: -2
keramat avatar
After restarting server Postgres does not start
pl flag

I am running Postgres 14 on a Windows Server 2022 Standard. While DB operations were running such as inserting, my server restarted, and, now the Postgres does not start. I looked at the config file and the last lines of that are as follows:

2023-04-23 01:43:36.913 PDT [123528] LOG:  could not receive data from client: An existing connection was forcibly closed by the remote host.

    
2023-04-23  ...
Score: 6
Slartibartfast avatar
RAID with different drive types possible?
in flag

In a high density storage server, which is in a RAID array, do all drives have to be of same type. Such as a mix of drives SSD, SATA? In a RAID array most controller require only that all drives be of the same capacity but what about drive type?

Score: 0
Esam Olwan avatar
How would I handle domain whitelisting?
ye flag

I'm trying to find out how would I handle whitelisting certain domain names. If the request originates from a particular subdomain, such as <id>.domain-name.com, access to the images will be restricted to a whitelist of approved domains. Requests from domains not on the whitelist will result in a 403 error.

I'm not sure what should I be doing exactly ? Do I use map context ?

for example, my nginx. ...

Score: 2
user1055568 avatar
Using file system (AWS EFS) as cheap database for Lambda function
sx flag

I am designing a database that could easily be represented as a large collection of files containing fixed size records, with sequence numbers 0,1,... This could fit nicely in DynamoDB with the filename as primary key and the record sequence number as sort key, but I am thinking about just using loose files on EFS. I don't need any replication, as this is already a replicate in a fault tolerant system. ...

Score: 0
Subbeh avatar
HTTPS access only after attempting SSH connection first
sn flag

Whenever I try to connect to https://github.com from a Docker container running centos:7 (or any other image I've tried), the connection cannot be established:

$ curl https://github.com -v -m 5
* About to connect() to github.com port 443 (#0)
*   Trying 20.248.137.48...
* Connected to github.com (20.248.137.48) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/cer ...
Score: 0
vanillyn avatar
Pointing a service to a subdirectory using Cloudflare Zero Access provides a 404 error
se flag

I'm working with my friend to get some of my services on a subdirectory. Essentially, instead of having service.example.com you have example.com/service.

I have installed cloudflared with an authorized token onto a Debian server as a service, and that is tunneling those ports onto cloudflare, which I have had my friend set up to point a specific port to a subdirectory.

I'm not using a reverse proxy, ...

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.