Latest Server related questions

Score: 0
John Christopher Asajar avatar
how to add run date on a .bat file without adding it in Task Scheduler
ua flag

I created a .bat file to delete some files inside the installer folder. My question is how can I make it schedule without using task scheduler.

is there any other way or script for this?

example code: forfiles /p "path" /m .config /c "cmd /c del @path"

Score: 0
robbyjm avatar
How can I make an ICS client available to other computers on the host's network?
cn flag

How can I ping an ICS client from the other computer on the ICS host network? Please see this Diagram of my network.

I would like 'Computer B' to be able to PING the ICS client. Assuming firewalls have been configured properly, how can I address the ICS client from other computers on my network?

ICS HOST ICS CLIENT COMPUTER B
CURRENTLY ICS HOST CAN PING y y y
CURRENTLY ICS CLIENT CAN PING y y y
CURRENTLY ...
Score: 0
ksav avatar
Docker wordpress/ nginx-proxy / nginx-proxy-companion - lets encrypt auto renewal - update image and restart?
cn flag

I have a wordpress site on an aws ec2 that was setup (by someone else) to auto renew its SSL certificate via Let's Encrypt.

The auto renewal has recently stopped and the certificate has since expired.

I have attempting to run docker exec {container_id} /app/force_renew but received this error:

ACME server returned an error: urn:acme:error:serverInternal :: The server experienced an internal error ...

Score: 4
sirkus7 avatar
GCP, basic IPv6 set up for Linux VM Instance
cn flag

I'm trying to set up a simple VM in Google Cloud Platform that can ping ipv6.google.com successfully. I'm using these GCP docs regarding IPv6 support, including :

[NOTE: Edited/updated to provide full commands u ...

Score: 0
noszone avatar
MySQL 8 - connecting to server with different port
cn flag

I have MySQL 8 on Debian 9 vps, and my problem that I can connect to server from php Adminer (web) with any port I've chosen:

localhost:3307, 33650, any port.

And php Adminer showing - MySQL » localhost:33899. And I can manage databases, but this instance is from 3306, which is default. Why such thing is happen? Am I miss something? This question was born due of other question on DBA - https://db ...

Score: 0
How to verify if an email was received and read
za flag

I accidentally sent an email to a wrong email address. The owner told me that he didn't receive my email because there were no email servers configured for that domain. However when I did MX lookup, I found two mail servers for that domain, and several mail server testing tools also show that those two servers can receive incoming emails for that email address. In addition, that email never bounced back ...

Score: 0
Joe Lu avatar
Linux does not send arp reply
cn flag

I have an interface keeping receiving arp request but never respond. Can anyone help?

My interface ip is 192.168.40.2. enter image description here

enter image description here

The routing table looks good.

enter image description here

enter image description here

Score: 0
DarkMoon avatar
Finding all accounts without a domain in proxyAddresses (or Where-Object FilterScript on array that doesn't contain entry by wildcard)
in flag

I'm trying to get a list of Active Directory accounts that don't have a an address with a given domain name in their proxyAddresses. I know that to find ones that do, I can do:

Get-AdUser -Filter 'proxyAddresses -like ''smtp:*@domain.com'''

However, the reverse doesn't work, because if they have even one other entry in proxyAddresses (and all our accounts do, like X500 addresses and onmicrosoft addre ...

Score: 0
Paloma Martinez avatar
apache: redirect only when url matches without query
cn flag

I have this redirect

 RewriteRule ^on-the-yard/detail/?$ /on-the-yard/ [R=302,NE,L]

and I would like to use it ONLY when the exact URL matches ^on-the-yard/detail/?$, but the problem I'm having is that the URL is also redirecting when there are queries attached.

E.g. on-the-yard/detail?param=1&param2=test is redirecting to /on-the-yard/

Any advice is helpful Thanks!

Score: 0
killmasta93 avatar
Issue with Sieve Filters on postfix?
cn flag

I was wondering if someone could shed some light on the issue im having, Currently i have a simple postfix server and in front it has a PMG gateway. Because PMG gateway has the spam filters i need to redirect the spam to go to the users junk folder. I have already accomplished this zimbra but on postfix i think im missing something. These were the steps i took

  1. install the package and Modify adding th ...
Score: 1
woon minika avatar
nginx mail module always passing PLAIN method AUTH command to backend
ph flag

I have implemented a nginx with mail module, and proxy to backend Hmail server. I realized no matter how I disable the auth-methods PLAIN. The nginx is just ignoring it.

How can I force to using smtp_auth login instead? As Hmail server does not support AUTH_PLAIN mechanism.


auth_http  localhost:8080/auth.pl;

 server {
        # not working as always AUTH_PLAIN
        listen    25;
        protocol  ...
Score: 0
Nahuel Varela avatar
Why is MetalLB automatically routing node ip to an specific service ip?
au flag

I'm trying to run PiHole on a k3s cluster inside my Raspberry Pi.

I have created a k3s cluster inside the RaspBerry Pi with only 1 node (the RaspBerry Pi itself). I also created a PiHole pod and a loadbalancer service. The loadbalancer uses MetalLB to create an external IP(192.168.68.11) with a Layer 2 Protocol.

So, as of now my set up has:

  1. Windows PC with an IP of 192.168.0.11
  2. Raspberry Pi with an I ...
Score: 0
AWS EC2 - The requested configuration is currently not supported. Please check the documentation for supported configurations
vn flag

I have an EC2 instance set up as a gaming server, which works fine, but I want to change to a new instance type (from c5n.xlarge to m5zn.xlarge), which produces the error in the title when I try to start the instance.

I have created another instance in the same VPC with the same settings (as far as I can tel), and this one launches fine.

Instances are both:

Region: Sydney AMI: Windows Server 2019 base  ...

Score: 0
John Smith avatar
iptables redirect hardcoded DNS requests
in flag

I'm slowly trying to learn iptables and would like to redirect all DNS (port 53) requests not coming from/to a list of IPs (from 192.168.2.1, 192.168.2.29 or to 1.1.1.1). I figured I can use chains. It does not work though. Could you please give me a hint:

iptables -N dnsrewrite
iptables -A dnsrewrite -s 192.168.2.1 -j RETURN
iptables -A dnsrewrite -s 192.168.2.29 -j RETURN
iptables -A dnsrewrite - ...
Score: 0
perissf avatar
elasticsearch.service is not a native service, redirecting to systemd-sysv-install
ae flag

after installing Elasticsearch on Debian using these instructions, I am trying to enable it as a service using this command

 sudo /bin/systemctl enable elasticsearch.service

But I get this error:

elasticsearch.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch

The service mananger is indeed systemd. However this d ...

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.