Latest Server related questions

Score: 0
propz avatar
AWStats Extra Section: Show all unique IP requests for specific URL
jp flag

I just created a new API for a custom service and I would like to track all unique IP's who are sending requests to my api in an extra awstats section but I don't know how to achieve that.

The api url: domain.com/api/

  1. I would like to see 3 columns: IP address | Number of requests from this IP | Last request date

  2. Values should be from current month

Is that even possible in AWStats? Can I count t ...

Score: 0
Sagaroth avatar
Connect to remote SSH with www-data user
fr flag

I want to open an SSH tunnel between one machine and another. I don't have root access on the first machine, only access to the www-data account. When I try to open an SSH tunnel to a second machine, I get the following error:

Pseudo-terminal will not be allocated because stdin is not a terminal. Could not create directory '/var/www/.ssh'. Warning: Permanently added '212.234.53.19' (ECDSA) to the list o ...

Score: 0
Host's /etc/hosts affecting DNS resolution inside Docker containers
ru flag

I'm working on a project where I'm running one Nginx container (a load balancer) with ports 80 and 443 published to the host, and a few other application Nginx containers with unpublished ports. All three are part of a custom bridge network in Docker, and can communicate with one another using their container names.

I believe this happens thanks to Docker's internal DNS running on 127.0.0.11. One ...

Score: 0
Tymur Gubayev avatar
OpenBSD netcat times out depending on network interface
cn flag

There is a network I'm accessing using PPTP VPN. I'm trying to setup something to monitor if the network is accessible, and email me if not. I've got a Raspberry Pi, it's connected to the network itself via WLAN and to a mobile router via Ethernet.

Just making sure I understand netcat correctly, I'm checking if I can connect to google, the idea being, should this work, I'll just substitute host and port ...

Score: 0
Akki avatar
Why is Server working Slow and bandwidth chokes
it flag

We have a cloud server. We have load balancer of 3 server and one public IP. We have master slave for DB Connection.

The application serves some data to users, the users post some data and some files to server. Currently the scenario is when the number of users uploading files increases the whole system slows down and many users are not able to perform the basic operation in the web app. the CPU  ...

Score: 2
Maicon avatar
Roundcube 1.5.0 upgrade: Internal Server Error
ru flag

My server updated automatically to this new release of Roundcube 1.5, since then, Roundcube don't show any Inbox mail with the message "Internal Server Error".

I tried and searched for possible solutions, but found nothing to solve.

Is a Centos 7 with PHP 7.4 and Mysql server.

Can you suggest an action plan?

Score: 0
Install a package from a .deb file with apt, but do not downgrade
bg flag

On Ubuntu 18.04, I can install a .deb file with apt install ./filename.deb (or dpkg -i filename.deb && apt-get install -f). If there is version of this package installed, I get this warning:

...
The following packages will be DOWNGRADED:
  package-name
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
...

I want to script the installation of this deb. How can I automa ...

Score: 1
Raymond A. avatar
Password history in Active Directory
cn flag

We are considering enabling "Enforce password history" on our Active Directory, the password is now maintained by another IAM system, but we are looking into changing it to AD/AAD.

Users has been changing passwords for years now in a different system, and the password change has been sent to AD. AD has not enforced password history.

Question 1: Does AD record the used password over time, even if Enf ...

Score: 0
How does XCEP policy (XML) define SubjectType for User or Computer constraint?
io flag

We've developed our own implementation of a XCEP/CES WCF service that uses a combination of our certificate management solution and the Microsoft CA to issue the certificates. The standard XCEP XML definition is used (same as the standard Microsoft XCEP/CES WCF service). We use the same WSDL for the WCF service. This works fine for CEP and CES.

Now, we extended the software to use a different Cer ...

Score: 0
Forward http port to another port in same machine according http header?
in flag

I'm planning make two websites in same machine. Which first website running on port 8433 and second website running on port 9433

Im using ubuntu 20.04 Assume i have two domains, let's say foo.me and bar.me Both domain is pointed to same public IP and different SSL.

consider there's an incoming request to port 80 or 443

if HTTP header contain foo.me then the request will forward to port 8433

if HTTP ...

Score: 0
Nmbd limiting mdns interfaces
co flag

Is there a way to limit which interfaces nmbd uses for announcing the service? I've got multiple bridges which really shouldn't be getting the _smb.tcp entries, but by default they do.

I've got:

  interfaces = lo eno1
  bind interfaces only = yes

in smbd.conf already, but that does not affect nmbd.

The only option that looks related is remote announce - but that's for broadcasting, not name registratio ...

Score: 0
user9540234 avatar
CPanel: What's overwriting my MySQL config settings?
cn flag

I have a weird problem whereby every few weeks, changes I've made to MySQL config are being reset to their defaults.

I'm on Centos 7.9 and CPanel 98.0.9.

I'm making my changes via PHPMyAdmin while logged in as root. Example:

sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Eventually this gets reverted to include something my CMS doesn't like,  ...

Score: 0
Hans_R avatar
Outlook Calendar can display details but scheduling assistant can't even show free/busy after EXO migration
in flag

While all our end user mailboxes are still on our on-prem Exchange 2016 environment, I have moved a few room mailboxes to EXO. When I view these mailboxes in the calendar view in Outlook, I can see the details of the appointments as I have reviewer access on those calendars. However, when I create a meeting invitation and I go to the scheduling assistant and add that meeting room, I get a message that t ...

Score: 0
Windows Server 2022 unattended install with xml answer file
us flag

I'm trying to automate the Windows Server 2022 Installation by using an answer file.

I have created the following answer file for Windows Server 2022 in Windows System Image Manager:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" proces ...
Score: 0
iptables rule to drop packets with namp closed ports
sb flag

When I run a nmap against my server, there are some ports that are closed.

50000/tcp closed ibm-db2
50001/tcp closed unknown
50002/tcp closed iiimsf
50003/tcp closed unknown
50006/tcp closed unknown

I want to add an iptables rule to drop packets when these ports are closed so that nmap scan does not expose these ports.

I want to know how I can detect these ports' status so that DROP those packets? ...

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.