Latest Server related questions

Score: 0
Boro avatar
Created Startup Script but i'm not authorized to perform the requested operation
ms flag

Startup Script

#!/bin/bash
#Short-Description: IBM ACE Control
#Description:       IBM-ACE

start() {
   echo "Startovanje Queue Manager"
   /opt/mqm/bin/strmqm QMPROD1
#/opt/mqm/bin/strmqm %I
   echo "Startovan Queue Manager" >> /root/pom.txt
   echo "Startovanje IBM ACE" >> /root/pom.txt
   cd /opt/ace-12.0.4.0/server/bin/
   echo -n "Usao u folder"
   mqsistart IIBPROD1
   echo "Star ...
Score: 0
VenosaurMan avatar
Checking for port exhaustion on a server (Windows)
am flag

This is my first question here so I hope I did it correctly.

I am using UDP packets to communicate through a server-client structure, where all clients communicate with the same server through UDP.

As I have understood it, for each client that sends a packet to the server, the server computer takes up one port for that client. That means if ~65 000 clients connects to the same server computer it wil ...

Score: 0
Shiaobin avatar
Nginx case insensitive reverse proxy with Chinese filename
so flag

I am setting up Nginx as a reverse proxy server. The back-end server is IIS. I want to match URL case insensitively (match app, App or APP etc.), here is my Nginx config file:

    location ~* /app/(.*) {
        proxy_pass http://192.168.1.192/app/$1$is_args$args;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_ad ...
Score: 0
naraghi avatar
How can I make my nginx web server reachable from outside its local network?
gl flag

I am trying to reach a subdomain of my website from outside its local network.

I can successfully ping it (ping my.subdomain.com):

PING my.subdomain.com (ser.ver.ip.add) 56(84) bytes of data.
64 bytes from static.143.220.55.162.clients.your-server.de (ser.ver.ip.add): icmp_seq=1 ttl=53 time=14.8 ms
64 bytes from static.143.220.55.162.clients.your-server.de (ser.ver.ip.add): icmp_seq=2 ttl=53 time=15.4 ...
Score: 0
CoL avatar
Microsoft 365 (Exchange Online), Disable Internal Delivery
sn flag
CoL

We are slowly switching towards Microsoft 365, so we going to use Exchange Online in some weeks/month.

  • We already syncing our on-premise AD with Azure, everything working fine so far, except we got a odd mail situation going, at this moment i try to convert "special" users to exchange online, for test and trial, while keeping all others connected via old pop/imap solution.

  • i get mails via "onmicrosof ...

Score: 0
Teckfrekk avatar
Swap memory discrepancy
ao flag

I want to know the status of swap memory on my system, to understand the same tried different commands, each command thrown different output, could someone help to understand the situation better

command 1: free -m

command 1 output:

          total  used  free  shared  buff/cache  available
Mem:       7661  1152  1820    69         4687       6359
Swap:        0       0     0

command 2: swapon --s ...

Score: -1
Singleton avatar
How do you protect (PHP) source code from the web host?
gb flag

So, you just created the next killer app, possibly in PHP. You have done everything to keep hackers out. There is no way they can steal the code! Except for someone from the web hosting company, of course!

My question is just that. How can you secure interpreted code from the web host? Is that even possible?

Score: 0
naraghi avatar
How do I deal with "Some challenges have failed" in certbot?
gl flag

I am trying to request a TLS certificate using Certbot (source: https://certbot.eff.org/instructions) with sudo certbot --nginx. It is supposed to be for a docker registry used as a pull through cache (https://docs.docker.com/registry/recipes/mirror/).

This is the log output, searched for the keyword "error" (cat /var/log/letsencrypt/letsencrypt.log | grep -I error --context=12 -in):

199-    ##
20 ...
Score: 0
mxcdh avatar
docker + squid and 32 dedicated IP - how best to set it up?
br flag

Today I bought 32 dedicated IP to my ovh server. I added all IP to my server by this tutorial: https://docs.ovh.com/us/en/public-cloud/configure_a_failover_ip/ At the moment I want run container with squid, and I don't know how add several dedicated IP to one container, what method will the best?

Score: -1
user3615294 avatar
disk cache mode: "write back" vs "write through" in iscsi context
la flag

I have a few iscsi drives connected to a debian. The iscsi drive (sde,sdg, one for each path) and the multipath device (dm-25) have the "write_cache" property (/sys/devices/virtual/block/dm-XX/queue/write_cache or /sys/block/sdX/queue/write_cache ) set as "write back". I can set the writecache mode to "write through".

I am trying to understand what is the meaning of "writeback" and "writethrough" ...

Score: 0
Amer Sawan avatar
Will AWS Lambda deployed from image pull the ECR image on each new instances get initialised
pt flag

Because of Lambda’s ZIP deployment size limitation I’m changing the way I deploy my Lambda functions to use container image.

The deployed function is located within a VPC, so I have a NAT gateway within that VPC to allow public internet traffic, so I need to know if I need to add a VPC endpoints for the ECR services or not (to minimise the traffics going through the NAT gateway).

I’m not sure  ...

Score: 0
Damn Vegetables avatar
Two completely independent bridges on one ethernet card, possible?
in flag

Docker creates its own bridge, and when there is an existing bridge, it seems that the two collide. I have personally experienced that and multiple sources on the Internet mention about that problem. One solution I saw was making Docker use the existing bridge, and this one says that it is because Docker's rules are messing up with KVM's bridge, and provides the solution below.

My question is, why  ...

Score: 0
keyandthegate avatar
ipvsadm rewriting virtual service ip address
gr flag
$ sudo ipvsadm -A -u 127.10.5.5:1293                                                                                                                     
$ sudo ipvsadm -L
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
UDP  localhost:1293 wlc

Why does it replace 127.10.5.5 with localhost?

 ...
Score: 0
MarnixKlooster ReinstateMonica avatar
How to send email on behalf of a customer, such that they handle replies?
in flag

Scenario: I have a customer A, who authorizes me / my software to send email on their behalf to their customers P, Q, etc.

Additionally, P, Q, etc. should see the email as coming from a.example.com.

And finally, A should be able to see the email I sent on their behalf (e.g. in a 'sent items' folder), receive replies and delivery failures from P, Q, etc., and things like that.

The obvious solution ...

Score: 0
LibreNMS / Monitoring Tools for "weak protocol"
cn flag

PRTG Monitor per default warns for "weak protocols" and if an SSL check returns "No Secure protocol available"

How can this be done via LibreNMS / Monitoring Tools?

I know you can check for HTTPS via HTTP Check with --sni -S -p 443 -C 30 (if Port 443 and expiration date in 30 days)

reference: https://raymii.org/s/tutorials/Service_checks_in_LibreNMS_nagios_plugins.html

Score: 0
suuu avatar
Too much download bandwidth on nginx process
tg flag

I rent dedicated server from company and I noticed it is using too much download bandwidth constantly on nginx process even with low traffic on non peak hours. I checked with tcpdump and I saw those

05:59:41.415892 IP x.x.x.x.65524 > 224.1.1.14.search-agent: UDP, length 1472
05:59:41.415901 IP x.x.x.x.49842 > 224.24.1.7.search-agent: UDP, length 940
05:59:41.415938 IP x.x.x.x.53999 > 224.2 ...
Score: 1
J.Doe avatar
Wordpress NGINX + FastCGI Cache, Err_too_many_requests
es flag

Have a weird situation with my Wordpress set up running NGINX and PHP8.0 with FastCGI Cache.

The site will end up in a too many requests loop, however, it doesn't happen immediately and will come out of this loop by itself.

E.g. it could work fine for 8 hours, and then it goes into the error too many requests loop for a few hours and then come out of it. All by itself.

My WP-Config file has

if (isse ...
Score: 0
Is it possible to block incoming packets with source port between 0 and 1024 without side effects?
cn flag

I found an iptables rule on an answer on ServerFault and thought that it included a good idea.

In general, when you open a port, you do so with a rule as follow:

-A INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT

This allows connection to port 80, usually an HTTP server.

That rule actually included an additional check like so:

-A INPUT -p tcp -m tcp ! --sport 0-1023 --dport 80 --syn -j ACCEPT

Wha ...

Score: 0
Skye Davis avatar
Windows Event Collector receiving TCP connections but no logs
gp flag

I have recently built a new WEC (Windows Event Collector). The subscription has been created, and the WEC has been added to the Group Policy which defines Windows Event Collectors.

The computers are definitely talking to the WEC as I can see a lot of inbound TCP connections on port 5985. The logs I am trying to forward are sysmon logs. They were previously being collected by another WEC, but I am ...

Score: 0
doh-nutz avatar
Should I be worried about data integrity on my raid1 array?
us flag

I have a RAID (mirrored - 2 spinning rust hard-drives).

In the past two weeks, it happened 2 or 3 times, that the raid hasn't been displayed in KDE's Dolphin (file browser), anymore.

This was the output of cat /proc/mdstat when it happened just a minute ago.

Personalities :     
md127 : inactive sdd1[0](S)    
      7813894144 blocks super 1.2    
           
unused devices: <none>    

After a rebo ...

Score: 0
Eduar avatar
Keep GitLab environment running in Docker container
cn flag

I'm aiming to deploy an environment for testing. It's a PHP application, and I could simply serve the PHP files using the embedded server.

My .gitlab-ci.yml is plain simple:

docker_test:
  stage: deploy
  image: php:7.2
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
  environment:
    name: development/$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
    url: $CI_SERVER_PROTOCOL://$CI_SERVER_HOST ...
Score: 0
Jigar Patel avatar
packet forwarding from an interface to ip address using iptables
pt flag

I have an interface (enp0s20u3) with address 192.168.1.3/24 and I want all incoming traffic to forward it to 192.168.95.4 address using iptables. How can I this? I have done traffic forwarding from one interface to another interface in the past, but not to an ip address.

192.168.1.3 is a local interface ip address where as 192.168.95.4 is a wireguard peer ip address. So in essence I want to forward ...

Score: 1
VanVan avatar
Android application compatible with IMAP search without using local index?
me flag

I use an email account of several dozens of Giga, on computer and Smartphone. However, most applications use a local index to speed up the search of emails (this is the case of Outlook and Thunderbird on computer). However, on a cell phone, the memory/battery/performance does not allow to have a correct index when the mailbox is too big, and the applications are often limited to propose a search on  ...

Score: 1
WildeWebMarketing avatar
Tools to narrow down high resource usage on DigitalOcean droplet running WordPress
sd flag

I run a digital downloads site with Easy Digital Downloads/WordPress on a DigitalOcean droplet. It has always been fast and snappy on the backend admin dashboard. Nothing new has been added in a year (besides routine updates). Recently though, some tasks (such as waiting for the product editing page to load) is taking between 15-30 seconds. Very unusual. Resource usage has also been spiking.

Is t ...

Score: 0
FabricioG avatar
Plesk my sql database on digital ocean blocking access from local
jp flag

Currently I have a database in plesk with Allow remote connections from any host selected. I've also checked to make sure the mysql server firewall settings allow "all"enter image description here

I still can't access database externally: host is ip address database user name and password Ive confirmed multiple times. Any idea what I'm missing?

Score: 0
Underground avatar
Does stickiness in nginx persist across upstream groups?
za flag

I have 4 upstream groups with the same 3 servers in each with different ports defined per group.

Using ip_hash in all those groups, does the stickiness persist across groups if the user is redirected from one to another? Or is it unique within each group?

e.g. user is on server 2 in group 1, and is redirected to group 3. Might it serve the request on server 1 in group 3? Or would it always use se ...

Score: 0
peppy avatar
Nginx: 301 redirect of specific .php file to directory
gb flag

I am switching my web server from Apache to Nginx, so I'm pretty new to Nginx. I thought I had the 301 redirect down fine, but I'm having an issue with redirecting an old url /game-of-foobar.php to /games/foobar/. Here is my server block below:

server {
    server_name www.mysite.com;
    root /home/mysite/mysite.com/;
    charset utf-8;

    listen [::]:443 http2 ssl; # managed by Certbot
    listen 4 ...
Score: 0
pithhelmet avatar
Repeating entries in the event viewer
sz flag

Running Windows Server 2019 standard in a four node cluster. In the event viewer -> windows logs -> Application there are repeating entries.

The message is 'Windows Installer reconfigured the product.' followed by different application and products

There are hundreds of these messages - and there is no consistent delay between the group of entries.

Most of the Microsoft entries have the last pa ...

Score: 0
A. Trevelyan avatar
How to connect veth interfaces to bridge slave ports
id flag

This will probably be easier to explain with a diagram, so this is the basic setup:

There are 2 containers 10.0.0.1 & 10.0.0.2 running inside a host machine, and I've also created a linux bridge br0.

Each of the containers sees its own network interface as eth0, but the host machine sees it as vethxxxx. Looking at the picture in the basic setup, there is no connectivity between the containers. ...

Score: 0
pmiranda avatar
Nginx, exclude specific URLs for access logs
ar flag

In the access log of my nginx web server I have logs like this:

XX.XX.147.5 - - [20/Oct/2022:18:42:59 +0000] "GET /my-subfolder/readiness HTTP/1.1" 200 1496 "-" "EF-Strati-HealthCheck-Client/1.0" "11.16.133.0"
XX.XX.94.5 - - [20/Oct/2022:18:42:59 +0000] "POST /my-subfolder/some-path-to-exclude/socket.io/?EIO=4&transport=polling&t=OFsjAj9&sid=2Mufsq23xBh8FRLWAFtD HTTP/1.1" 200 2 "https:/ ...

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.