Latest Server related questions

Score: 0
Kalmar avatar
How to declare Vault secrets containing equals sign as environment variables using Kubernetes?
br flag

I want to declare Vault secrets as environment variables while using Kubernetes with following configuration:

[...]
apiVersion: apps/v1
kind: Deployment
metadata:
  name: consumer-xyz
spec:
  replicas: 1
  selector:
    matchLabels:
      app: consumer-xyz
  template:
    metadata:
      annotations:
        vault.hashicorp.com/agent-init-first: "true"
        vault.hashicorp.com/agent-inject: "tru ...
Score: 0
biplab  avatar
Not able to Fetch email in otrs
pg flag

I am trying to setup a otrs ticketing tool , the tool needs to fetch email and generate ticket, when I am setting that with my google mail account its working however when I am using my professional mail it is not. its still fetching the email but the tickets are not getting generated, any help on this.

the log says

CommunicationLog(ID:35,AccountType:-,AccountID:-,Direction:Incoming,Transport:Ema ...

Score: 0
strange avatar
NGINX config proxy_set_header Host $host prevents IP address from being set
dj flag

My NGINX server has following Server Block

upstream main {
  least_conn;
  #Add entries one per upstream server
  server web01:4000 max_fails=3 fail_timeout=5s;
  server web01:4001 max_fails=3 fail_timeout=5s;
}
server {  
  ssl_prefer_server_ciphers on;
  ssl_protocols TLSv1.2;
  ssl_ciphers EECDH+ECDSA+AESGCM;
  ssl_certificate  webserver.pem;
  ssl_certificate_key webserver.key;
  server_tokens off;
 ...
Score: 0
Peter avatar
In Openstack, as a user, how can I list or see the admin-created routers?
bf flag

Using OpenStack-ansible Yoga : as a user in OpenStack I can see all admin-created provider networks in Horizon Network-Topology but I cannot see any admin-created routers, not in the Horizon interface and not in the cli interface. Consequence is that, as a user, my network topology graph does not show me to which provider network I am connected too as there are no routers visible. The connection is ther ...

Score: 0
cookie_marsh avatar
Apache Ignite - Automatic Cluster Snapshot Create / Restore Procedure
sy flag

When trying the Apache Ignite cluster snapshot procedure (snapshot create, restore), the restore operation is not successful.

Before the restore procedure, we have destroyed the cache which we want to restore (according to the official documentation), but still the same error message / Java Exception is present in the logs.

Apache Ignite - Snapshot Create / Restore Procedure:

./bin/control.sh --sn ...
Score: 0
adam78 avatar
How to serve both static and dynamic content via AWS cloudfront?
it flag

I have a site hosted on a digital ocean droplet which serves both static and dynamic content. The static content (e.g. /images, /js, /css, /fonts) is served from an s3 bucket with folders /images, /js, /css, /fonts via cloudfront which has a path pattern behaviour of Default (*). To use a custom url for this distribution i added an alternate name of assets-dev.example.com and added a cname record in my D ...

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 ...

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.