Latest Server related questions

Score: 0
tux avatar
LDAPS Auth very slow in Moodle
in flag
tux

I have a moodle-installation that uses LDAPS auth which is very slow or does not work at all. It is debian 12, apache2.4, moodle4.1 and php7.4.

I had a test installation where things were just fine, I compared the configs and there is not much difference.

Here is what I found in my error logs but I have still no clue why it is that slow:

Bind result: ''\n Debug: \nError code: auth_ldap_noconnect_all\n* ...

Score: 0
jschneiter avatar
Deny deletion of file but then programs cant save new files. (With a twist)
kw flag

This has been covered a million times, but after trying every suggestion on here, I am still stuck.

I have a Windows 10 system. We need to lock down a folder to allow files to be created (both manually and via programs)

I can get it to the point of not being allowed to delete the files, however then programs cant save.

I have

Allow: Traverse Folder, List Folder, Read Attributes, Read extended attributes,  ...

Score: 0
Luiz Otávio avatar
503 Service Unavailable or Empty Response on specific pages over PHP (PHP-FPM) on MacOS
gd flag

I've got a strange problem here involving some versions of PHP installed in my local machine (MacOS Ventura 13.5).

Certain pages (two at this moment) doesn't load in some versions of PHP. It's loads ok in [email protected] but doesn't load in [email protected], [email protected] and [email protected]. Detail: these pages are compatible with any php version and works on Windows and Linux over [email protected], for example.

I can't debug this error  ...

Score: 0
sardar avatar
How to access k3s cluster created in an azure vm with public and private ip?
ck flag

I tried below steps to setup k3s cluster.

Here are the steps to create a K3s cluster on an Azure VM with both private and public IP addresses, and access it from your laptop using kubectl:

Create an Azure VM with Ubuntu 20.04 LTS as the operating system. You can use the Azure portal or the Azure CLI to do this. Make sure you enable SSH access and assign both a private and a public IP address to the  ...

Score: 0
ABeginner avatar
debian 12 live grub-install:error:/boot/efi doesn't look like an EFI partition
hu flag

I have now installed the Debian 12 live environment on the USB drive and installed my own assembled Linux system (root file system compiled through busybox, grub.cfg created by myself, and Linux kernel compiled by myself) on the hard drive /dev/sda using the live environment. I encountered a problem when executing:grub-install --target=x86_64-efi --root-directory=/mnt --boot-directory=/mnt/boot /dev/sda  ...

Score: 0
Paul Zakharov avatar
On SD card the patitions come back after removing them
us flag

A little funny problem I'm curious about the reason.

I found an old SD Card, I even don't remember that it was used for. So I want to remove the old partitions and use it for some of my devices.

And now the magic begins.

[root@localhost /]# parted /dev/mmcblk0
GNU Parted 3.4
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                    ...
Score: 0
Sol avatar
Dockerized Nginx Reverse Proxy - Real IP
mt flag
Sol

I have following problem. I have a docker compose setup which spins up a frontend service using Nuxt3 and a backend API based on golang.This two containers are exposed via an Nginx reverse proxy everything works as expected but I need to retrieve the users IP adress inside my golang service. Nginx seems to forward just a docker ip with 172.x.x.x not the real users IP address.

docker-compose.yaml



										
Score: 0
idk avatar
Can't configure Inbound/Outbound on Issabel
nr flag
idk

I have PRI line connected to E1 card. I installed Issabel with Asterisk11 on it. Whenever I try to call the number given to us by the PRI provider, I find the number busy.

I tried to configure inbound route to match all DID and CID and route the call to some extension I have created. I logged in with the extension's credentials on Zoiper (softphone) but I never receive the call. I can't find anyt ...

Score: 0
VGS avatar
Map dev notation to logical volume name
pn flag
VGS

I need to figure out what dm-2 or dm-0, etc. is (this notation is found in dmesg notices, sysstat reports, etc.) and lsblk is not installed I find lvdisplay output a little bit confusing.

Can someone please help with simple script to identify which dm device maps to which LVM ?

Score: 0
dma_k avatar
How to configure postfix to reject emails which are pretended to be send from myhostname?
ug flag

Suppose the Postfix mail service is serving domain @mycompany.com. Local network is 192.168.10.0/24. The attacker from Internet sends an email pretending it originates from @mycompany.com:

Received: from mycompany.com (unknown [37.139.129.8])
    by mycompany.com (Postfix) with ESMTP id 967DB396B598
    for <[email protected]>; Mon, 14 Aug 2023 19:36:39 +0200 (CEST)
From: mailer-daemon@mycompan ...
Score: 0
reza avatar
How to insert static A record freely like in Mikrotik DNS?
co flag

How can I create static A record freely like in Mikrotik DNS? for example: my primary zone is example.local and I want to create google.com, mail.google.com and so on records with desired Ip address like 192.168.10.50 and forward any other records to the main name server and ask from (google.com). If I create google.com zone and insert A record inside, any not exist records makes error not-existent doma ...

Score: -3
FatRabbit avatar
Using multiple passwords with Microsoft Active Directory user account
in flag

We have multiple local web applications using forms-based authentication against an Active Directory backend.

Our new security policy requires that each user to have a different password for each web site.

The issue is, Active Directory only allows one password per user account.

Can anyone help me figure out a solution to make each user use the same username but with different passwords for each web sit ...

Score: 2
OffIGoThen avatar
How to get a complete file list for all packages?
mw flag

I tried using apt-file list --regexp ".*", but it's not working, probably because the returned content is too extensive.

Score: 0
Rewony avatar
subprocress fault ı cant start powerdns-admin
vn flag
× Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [35 lines of output]
      /tmp/pip-build-env-tc6mapwc/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_f ...
Score: -1
Malkavian avatar
Multiple Azure tenants joining Global Address List
in flag

I have an azure Tenant, called domainA.com.

My friend has an azure Tenant called domainB.com.

Is it Possible to have Microsoft Teams and Outlook Global address list, to list my users and his users not as external? How is it possible to achieve?

Score: 0
dummzeuch avatar
Can somebody provide an example smb.conf for a NT domain controller?
cc flag

After I updated my domain server from Ubuntu 18.04 to 20.04 the NT domain no longer worked. Domain logons on the Windows 10 computers fail. (Ubuntu 18.04 is no longer supported).

So I set up a new (virtual) machine with Ubuntu 20.04 and a new domain name in order to trouble shoot this problem. I get as far as "successfully" adding a Windows 10 computer to the domain ("Successfully" meaning "without  ...

Score: 0
user148468 avatar
initiatorname.iscsi is overwritten
bl flag

I use RHEL 8.8 on my machines. I run the following command:

echo InitiatorName=$(/sbin/iscsi-iname) > /etc/iscsi/initiatorname.iscsi

It sets correctly the name. But after some time file is set to default. Something is overwriting this file. Do you know how to block that?

Score: 9
Walter avatar
Upgrade Windows Storage Server 2008 R2 to Windows Server 2022
cn flag

Is it possible to upgrade from Windows Storage Server 2008 R2 to Windows Server 2022, passing through Windows Server 2012 R2?

I don't know if it is possible with the "storage" version of Windows Server 2008 R2.

Does anyone have experience with this?

Score: 0
Leandro Caplan avatar
Laravel: Logging messages generated by "error_log(...)" to terminal, while running app in Apache server
ne flag

The issue is this one:

When I run a Laravel app from PHP server, that's it, with php artisan serve, I could see every message generated by "error_log(...)" printed in the terminal, like this:

leandro@leandro-Lenovo-B50-10:~/laravel-leaflet-example$ php artisan serve
Illuminate\Foundation\Application
/home/leandro/laravel-leaflet-example/bootstrap
Log desde 'register' de AppServiceProvider
Log desde ...
Score: 1
Lilienthal avatar
How can I navigate to an Active Directory object in the domain tree?
jp flag

In the Active Directory Users and Computers snap-in in MMC I can find groups or users fairly simply and view their details. But how can I navigate to that object in the domain tree?

I haven't found any ways to navigate directly from search results or an object, but I also don't see any information relating to "parent" OUs in the displayed object.

Is there a way to navigate to the object in the tree  ...

Score: 0
Sanch3s avatar
Nginx 1.25.2 HTTP/3 works over CURL, but doesn't work in any browser
us flag

I am trying to configure nginx 1.25.2 with HTTP/3 support on Ubuntu 22.04. I build it using BoringSSL library. But when I try to connect to my server using browser, I don't get anything.("Unable to connect" in Firefox and "This site can't be reached" in Chrome for example).

Here is nginx -V output:

built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL) 
TLS SNI support enabled  ...
Score: 0
Bindu Priya Bhuvanagiri avatar
While new user is trying to opening database,getting error"your address book does not contain any cross certificates capable of authenticating server"
my flag

While new user is trying to open the database,user is getting error " your address book does not contain any cross certificates capable of authenticating server"

Score: 0
oliva5 avatar
AWS Site-to-Site VPN logging not working
py flag

Anyone encountered a problem where logging to CloudWatch for Site-To-Site VPN isn't working even though logging is enabled?

The only log file that is created is one with the title "log_stream_created_by_aws_to_validate_log_delivery_subscriptions" and content "Permissions are set correctly to allow AWS CloudWatch Logs to write into your logs while creating a subscription.". No other logs are creat ...

Score: 0
Noob_Guy avatar
Basic questions about OpenStack
pn flag

I am asking these questions here because I could not find the answer from google.

  1. Who owns the physical servers and the OpenStack software, is it the customer or Canonical?
  2. Where are the physical servers hosted, are they on-premise (customer side) or off-premise (Canonical side)?
  3. If the physical servers are on-premise, how does Canonical access the servers when they apply patches or do maintenance?
Score: 0
ABeginner avatar
Debian12 live "grub-install:error:cannot find EFI directory"
hu flag

I have now installed the Debian 12 live environment on the USB drive and installed my own assembled Linux system (root file system compiled through busybox, grub.cfg created by myself, and Linux kernel compiled by myself) on the hard drive/dev/sda using the live environment. I encountered a problem when executing: sudo grub-install --target=x86_64-efi --root-directory=/mnt --boot-directory=/mnt/bo ...

Score: 1
C0dR avatar
Hyper-V GPU Passthrough with NVidia A100 no display
cn flag

I am currently trying to get some NVidia A100 GPUs to work on our Hyper-V Hypervisor. I managed to setup the GPU Passthrough to a VM but the problem is I don't get a video display. I assume the problem is that the NVidia A100s don't have a framebuffer, thus no display output. So is there a way to force Hyper-V to add its Hyper-V Video Adapter as main display adapter instead of the A100?

I experim ...

Score: 3
Akshay Wakchaure avatar
Could not start a new session. Response code 500. Message: Failed to read marionette port
ke flag

I am trying to use Selenium with Java and Firefox but I am getting the below issue.

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Failed to read marionette port
  • ubuntu 22.04 LTS
  • Geckodriver version: 0.330
  • Firefox version: 116.0.3
Score: 1
Jan avatar
Domain Controller Authorative Restore to a point in time where other domain controller(s) are not present
ru flag
Jan

Day 1: Only one Domain Controller (DC1) is present. Windows Server Backup is configured on DC1 to save the system state. Delete an important user from AD.

Day 2: Promote additional Domain Controller (DC2).

Day 3: Boot DC1 into DSRM and revert to Day 1 via System State Recovery (non-authorative). Mark the important user for restore via ntdsutil (authorative). Reboot DC1.

DC1 does not sync with DC2 and  ...

Score: -1
David Thielen avatar
Using a VHD that includes snapshots in a new VM
cn flag

We have what I hope is a recoverable problem. We had a drive crash and the export/backups of the VM & VHD it turns out were failing part way through (and of course no one was checking the logs). So no clean way to get that. What we lost was the Hyper-V program and any files it has for configuration.

This is on Windows 11 (latest version). It's all on the same computer, what we lost has a SSD  ...

Score: -1
lonix avatar
Restrict level in busybox's tree command
cn flag

The latest busybox (1.36.0) includes a tree command. But the command docs don't yet cover it.

How do I restrict it to a certain level, as I could typically do in bash with tree L 2?

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.