Latest Server related questions

Score: 0
MacBook: how to edit an existing Terminal remote connection
jp flag

On my MacBook I have close to a hundred remote connections in the list. Recently, I've changed the user I am using for all those remote connections and was wondering if there is a possibility to edit the user for those remote connections. At the moment, I can only remove and add new ones, but it will take time to do it for 100+ connections.

Here is the screenshot of the Terminal window with my re ...

Score: 0
Michael avatar
Memory and CPU requirements for Samba server on a virtual linux machine
ve flag

I want to set up a samba server on a VM in a cloud, for up to 50 clients. What size of VM would I need in terms of RAM, CPU and disk space? The OS would either be CentOS or Ubuntu.

This is not a canonical question as in Can you help me with my capacity planning?

I want to understand, how much resources a Samba server (not some application) with 50 clients (not some users) needs.

The question arises, b ...

Score: 0
kuao avatar
How does the mlx5 driver use the IOVA generated by IOMMU as DMA address?
kp flag

I have enabled IOMMU on the physical machine. I expect the RDMA NIC to use the IOVA allocated by the IOMMU module for DMA after enabling IOMMU. However, in reality, the RDMA NIC does not use the IOVA for DMA

enter image description here

I found through reading the kernel source code that ib_dma_map_sgtable_attrs() is called in ib_umem_get to obtain the DMA address for each scatterlist (sg) entry ...

Score: 0
David avatar
How to connect to AWS EC2 serial console without access keys
io flag

My goal is to connect to the serial console of an EC2 instance, using SSH, e.g. from a laptop, using the best modern security practices in setting it up.

The AWS documentation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-serial-console.html) says that IAM User access keys should be avoided when possible (because they are too long-lived, so they're attractive to attack, and cause ...

Score: 0
achhainsan avatar
Error: Nothing to do while installing percona server on centos 7?
qa flag

Can't install percona on centos 7

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm

Output:

Loaded plugins: fastestmirror, langpacks
percona-release-0.1-3.noarch.rpm                                                                                  | 149 kB  00:00:00
Cannot open: http://www.percona.com/downloads/percona-release/redhat/0.1-3/p ...
Score: 0
user240614 avatar
Script to scan log file
kr flag

I have a log file with the content below. Let's call it as cpu_usage.out:

2023-04-12 12:04: CPU STATISTICS CRITICAL : USED:- 2.52% IDLE:- 97.49%|CpuUsed=2.52;0;1 CpuIdle=97.49;0;1
2023-04-12 12:05: CPU STATISTICS WARNING : USED:- 0.5% IDLE:- 99.50%|CpuUsed=0.5;0;1 CpuIdle=99.50;0;1
2023-04-12 12:06: CPU STATISTICS CRITICAL : USED:- 3% IDLE:- 97.00%|CpuUsed=3;0;1 CpuIdle=97.00;0;1
2023-04-12 12:07:  ...
Score: 1
 Peter Cheung avatar
What the difference between print server and shared printer
sz flag

i planning to add new print service, but i don't know add a new role ( print server ) or just shared printer(smb) will better?

i planning shared to windows and Mac

Score: 0
Script to stop and start firewalld at boot
de flag

I have a ticketing system website connecting to a back-end database on my LAN through a Wireguard VPN tunnel. The front end web server is an Ubuntu 20.04.6 LTS VPS and if I reboot the server (which is not very often) the website will not connect to the back-end database until I manually stop and start firewalld. Once this is done, all works fine. A very odd problem...

My question is, what is best ...

Score: 1
unLimit avatar
How to detach volume in server
mg flag

Sorry my for my bad English!

  • I want to separate the volume from the server.
  • My server currently only has 1 volume, and it is the original volume.
  • I have read the documentation of OpenStack api Block Storage API V3 (CURRENT).

i added the full match parameters: volume - in-use, project_id and volume_id but always get the error "Error: Unable to detach volume: Volume".

I don't know what the conditions ar ...

Score: 0
T. Webster avatar
How does a machine know what subnet it's on?
cn flag

There is a good explanation on how subnets work generally, but how is the information of what subnets exist, what are the available network IDs, and what subnet a machine is on, sent to the router and the machines on a network? Is it via a protocol?

How does IPv4 Subnetting Work?

Score: 0
HighConcept avatar
WWW A-record Hack for Internal Users No Longer Works on my Server 2022 AD Domain
zm flag

I have one of those notorious public websites for my company running on a third-party host that has the same domain name as our internal Active Directory domain network. So that our internal users can browse to that site, we have long had an internal A record for "www" that points to the external website's static IP address. That used to work. But now, if an internal user types "www.my-company.com", the ...

Score: 0
Vaiks avatar
Windows Server 2012 R2 lost ability to browse the Internet after RRAS setup
bn flag

I have a Windows 2012 R2 server that is set up to be our VPN server. Company workers use this server to connect and gain access to the company's network. This part is working fine, no issues here.

The problem is that after the RRAS role setup the server itself can't browse the Internet any longer.

The server has 2 network connections, one set up with our internal network settings and the other is se ...

Score: 1
Grabinuo avatar
Disk Size is not Consistent Between fdisk and parted
tm flag

I have noticed some difference in size displayed using parted and fdisk. I have a disk attached with a size of 20GB. Executing the fdisk command shows that the size is 20GB which is correct.

fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes /  ...
Score: 0
trejder avatar
Multi-message anti-SPAM filter in SpamAssassin
tn flag

My vendor's database has been stolen and I started to receive spam messages in a huge amount. It is being sent by spambots / spam scripts, so sender and recipient email addresses are always fake. The only common thing is that these messages are:

  • Always delivered in three copies (to all three addresses of mine)
  • Always with exactly the same title and content

Since there is a very little chance that  ...

Score: 0
Murilo Melo avatar
Nginx header HTTPOnly closing user sessions
ar flag

I'm using an Nginx server to host an PHP web application, and tried to upgrade its security by using some security headers, I've tested it on a staging environment and it works fine, so I've decided to use the same config on Production, and after a week we had some trouble with many users reporting things like sessions getting closed when doing any request on the app.

So I've checked the logs, ot ...

Score: 0
Dorothy avatar
Sendmail Partial Delivery On Some Emails
gw flag

I have three mail users. Each successfully send and receive mail.

There is a single repeated problem email, a Web Form Notification sent from an Amazon server which is sent to all three mail users. Sendmail receives for one user and skips the other two. This problem has occurred only on this Web Form Notification mail from Amazon. I sent My Own Test Notification which was successfully received in al ...

Score: 0
taiBsu avatar
ways to use a LAN-wide proxy
cn flag

I have setup a pi-hole on home server and routed all my devices to use it via OpenVPN (all devices are constantly connected to the VPN and pi-hole is configures as the default DNS in the VPN settings).

Now, the next step I want to take is to configure a LAN-wide proxy that is either set via the pi-hole, the server or my router. I just don't want all my actions from every device to be backtrackabl ...

Score: 0
Kevin Bell avatar
Wordpress - can't get rid of malware - can I use .htaccess to restrict?
fj flag

I'm not a newbie to WordPress, but definitely a newb to getting hacked. I am trying to remove some malware from a site but it just keeps coming back.

I am using wordfence to find malware and I keep getting a single file back as a malicious file citing Backdoor:PHP/reval.C.3102 as the cause. The file is in wp-content and named "type.php" I can delete with wordfence and it just comes back. I can  ...

Score: 0
taiBsu avatar
Set up a reverse proxy for local domains
cn flag

My web server (apache2) is accessible on my LAN with its host name, let's say, jarvis (url: http://jarvis/).

I have a Gitea instance running in my local network which is accessible via http://jarvis:3000. It obviously runs on the same machine as the webserver does and runs inside a Docker container (just as the webserver does) with container name, let's say, gitea. They share the same docker network so t ...

Score: 0
Aaron Michael Ross avatar
W.A.C. feature enabling prevented by "MultiPoint Repair Service"
mp flag

Win 10 Pro(Activated)
Device Owner: Myself(as Administrator Account)
Version:22H2
HP EliteBook
Toshiba Satellite
-I run 2 copies of Win 10 Pro both are activated and legitimate.
-I have not attempted to enable features on the Toshiba Satellite, but assume the same issues would occur.

I was trying to enable Subsystem for Linux
add my account as a User for the SSH feature
and update User-Group Polic ...

Score: 0
Mike Williams avatar
Azure Dependency Agent failing to write to Log Analytics Workspace
ws flag

I am working to get the Azure Dependency Agent, installed on an Arc enabled Windows 2019 server, reporting to an Azure Log Analytics workspace. I have enabled the [Preview]: Enable Azure Monitor for Hybrid VMs with AMA initiative to accomplish this.

The Azure Connected Machine (azcmagent.exe) is reporting heartbeat messages to the LAW. The Azure Monitoring Agent has been installed by an extension ...

Score: 1
Zonus avatar
Hyper-V on Windows 11 no longer allows network adapter to function in virtual hosts
cn flag

Everything was working great until Windows 11 rebooting and installed the latest update (a fair amount of changes visually).

I re-opened my hypervisor and started my MS Server 2022 for my dev environment. It came up ok but I wasn't able to connect to it. I opened a command prompt and saw that it wasn't getting an IP. I tried shutting the network adapter down and restarting it, issuing an ipcon ...

Score: 0
aspen100 avatar
TCP connect <--> accept with INADDR_LOOPBACK range
vn flag

I have some production code for a distributed system. Part of this code works by looking up (already established tcp) connections in a hash table, indexed by remote ip address. This code works correctly in a real cluster, with each server running on a unique host.

I am writing a test harness for this code; I initially setup the cluster by having each server run on INADDR_LOOPBACK + a unique port. ...

Score: -1
AndyD273 avatar
Disabling SHA in IIS
np flag

My company has a web server running IIS 6, and was asked to help disable SHA on it. Specifically this cipher: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

I found these instructions https://www.namecheap.com/support/knowledgebase/article.aspx/9600/38/disabling-sha1 and set the registry entry for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA\Enabled to 0, but that ...

Score: 0
zeeshanseikh avatar
HTTP request sent, awaiting response... 404 Not Found
ru flag

Little Background:

My main OS is windows 10. I am using vmware workstation pro. I've installed centos 7 on it.

When I try to install either google chrome or mysql,I am getting the above mentioned output.

How to fix it?

Full trace:

[root@localhost ~]# wget https://dl.google.com/linux/direct/google-chrome-stabl_x86_64.rpm
--2023-04-11 10:31:20--  https://dl.google.com/linux/direct/google-chrome-stabl_x ...
Score: 0
Manuel avatar
Delay systemd timer until conflicting service has finished
lr flag

I have multiple jobs that should be launched periodically by a systemd timer. The jobs are mutually exclusive - if one job was to be run while another one is still running, one of the jobs might produce invalid results or even crash. Because of this I need to ensure only one of the jobs can run at a time, so if a job is already running, systemd needs to delay scheduling of any conflicting jobs until the ...

Score: 0
rndm_acct1 avatar
Apache HTTP Server - 2.4.5* / Is it Possible to Use Cluster Scenario for WebLogic Server Installed On 2 Different Machines Using Apache HTTP Server?
fj flag

There are 2 different scenarios.

Scenario-1:

Let's assume that WebLogic is installed on 2 different servers. Server IPs: 192.168.0.111 and 192.168.0.112. These servers are not clustered (ie each single machine). There are 10 managed servers on each of them (separately on .111 and .112).

Using Apache HTTP Server version 2.4.5*, is it possible to load balancing/redirect these 2 different single node (single ...

Score: 1
slightly_toasted avatar
Handling Nginx location aliases when using a standalone PHP-FPM server
bd flag

I host various Laravel applications that use various versions of PHP, and decided to improve the current single bloated container Docker setup by having multiple PHP-FPM containers, one for each PHP version.

I tested the setup by having a PHP file at /var/www/html/index.php mounted to all containers and it works as expected.

However, since Laravel apps are served from a public subdirectory, this causes  ...

Score: -2
angularchobo avatar
Lowering latency to distant endpoint
no flag

I need the lowest possible latency from Bulgaria to Korea.

From what I understand, as an individual there is not much I can do to choose which physical cable my internet traffic travels on across Eurasia (or through the ocean). This is the realm of ISPs.

In the past I used an "accelerator" VPN service, which lowered my round trip latency from 280ms to 180ms. Whatever route they were using is now una ...

Score: 0
Ash avatar
Certificate revocation on IIS (CRL and OCSP)
pe flag
Ash

I need to figure out how certificate revocation works on IIS. Certificate we are working with contains both url to CRL and OCSP.

  1. As I understand by default IIS uses CRL to verify if certificate is revoked, is that right? if it's true - can I just enable OCSP without stapling?
  2. Can I configure IIS to use OCSP if we are unable to check revocation via CRL?
  3. How can configure this only for specific site?

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.