Latest Server related questions

Score: 0
best_of_man avatar
Should I add a "MySQL_URI" to the MySQL Kubernetes deployment file?
pl flag

This is a Kubernetes deployment file that originally was using only MongoDB database. I tried to add MySQL to it as well like below:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: auth-depl
spec:
  replicas: 1
  selector:
    matchLabels:
      app: auth
  template:
    metadata:
      labels:
        app: auth
    spec:
      containers:
        - name: auth
          image: learner/auth
   ...
Score: -1
mikuzan avatar
remove fortigate account from fortinet router
hm flag

i have fortigate 60E that was register on computing company , now this company has been closed and already passed more then 3 years , im trying to unregister the fortiget its ask for the password of the email of the computing company that there is not way to contact them any suggestion how to remove that account from the fortigate? thanks

Score: 0
Mega Mbo avatar
Access bridge Network from Router's Network and vice versa
bw flag

My ISP provided an ONT cum wireless router device that connects to internet via PPPoE.

However I decided to use the provided device just as a modem and bridge it to a high speed wireless router capable of PPPoE as well. Below is the very basic setup.

The Network

Everything is working as expected and I'm able to connect to internet with setup. I'm able to access the router's configuration(192.168.0.1) ...

Score: 0
kubiej21 avatar
Connecting Unifi Controller running in Docker on ESXi to default VLAN while isolating other containers and container host from default VLAN
in flag

I have an ESXi 6.7 host with 6 physical NICs. Those NICs are configured as follows:

vSwitch0: vSwitch0

vSwitch1: vSwitch1

The NICs assigned to vSwitch0 are physically connected to a Netgear switch who's ports are untagged for the specific VLAN that I wish to manage ESXi from.

The NICs assigned to vSwitch1 are physically connected to a Netgear switch who's ports are tagged with the VLANs that I want to make availa ...

Score: 1
Pinotech LTD avatar
Forward traffic server to another server with iptable and domain
li flag

I want to forward all traffic from server1 to server2 with domain same:

sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination IpServer1
iptables -t nat -A PREROUTING -j DNAT --to-destination DomainServer2
iptables -t nat -A POSTROUTING -j MASQUERADE

but output: Bad IP address iptables -t nat

Score: 0
WebEx Solutions Workspace avatar
Adding Multiple IP addresses in Source field in ACL of EC2 while configuring inbound rule
ss flag

Why can't we add multiple IP addresses to deny access from them in the source field in NACL of EC2 while configuring inbound rule ? What is the solution in this case in order to block a list of IP addresses and deny access them to an ec2 instance using ACL ?

Score: -1
sherry wilmoth avatar
How to add multiple MX record from different Email server
nc flag

I am using 4 mail services. Let say my domain is example.com

  1. Amazon SES for Transactional Email - (Only Sending not receiving - SMTP)
  2. Zoho Mail for workmail (Webmail) - (Users email, both sending and receiving with SMTP & IMAP)
  3. Mailchimp for promotional and newsletter
  4. Modoboa installed on ubuntu (SMTP and IMAP)
@ MX 10 feedback-smtp.us-west-3.amazonses.com
@ MX 10 mx.zoho.in
@ MX 20 mx2.zoho. ...
Score: 1
mysqldump on mariadb 10.2.44 CentOS 7 does not work, but mysql does
nl flag

CentOS 7 MariaDB 10.2.44.

X [root@psa95 ~]$ rpm -qa | grep Maria
MariaDB-server-10.2.44-1.el7.centos.x86_64
MariaDB-common-10.2.44-1.el7.centos.x86_64
MariaDB-compat-10.2.44-1.el7.centos.x86_64
MariaDB-client-10.2.44-1.el7.centos.x86_64
✓ [root@psa95 ~]$ cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

Credentials supplied in /root/.my.cnf with sections for client, mysqldump, mysql.

 ...
Score: 0
Rushikesh Sakharle avatar
i want to restrict all commands for user except ssh command
gd flag

I am a root user and don't want that users can execute all linux command except ssh. They only have to use ssh command in their user. How to do that? please anyone help.

Score: 0
Moss Richardson avatar
Measure Memory Requests to RAM (Linux)
gh flag

How can I measure the number of requests per second issued (not MB/s) to RAM on Linux?

Background: DDR4-2933 purportedly can issue 2933.33 MT/s and I want to ensure a program completely saturates the available transfer capacity.

Score: 0
Javad Nikbakht avatar
Getting HTTP/0.0 307 Temporary Redirect in connecting to my vps without typing https://
in flag

I ran a graphical version of v2ray(X-UI) on one of my VPS on Hetzner, I also add an A record to bind the IP of this VPS to a DNS on my Cloudflare account.

Well with the below commands, I tried to get a certificate for this subdomain with acme.sh and using letsencrypt as CA provider:

    7  curl https://get.acme.sh | sh
    8  ~/.acme.sh/acme.sh --set-default-ca --server letsencrypt
    9  ~/.acme ...
Score: 0
truba avatar
How to start myslq if it fails to start due to insufficient space, and the main files eating up space are mysql binary log files
pe flag

My server disk usage looks like this:

Filesystem      Size  Used Avail Use% Mounted on
udev            989M     0  989M   0% /dev
tmpfs           200M   21M  180M  11% /run
/dev/xda1        59G   57G  9.7M 100% /
tmpfs           998M     0  998M   0% /dev/mhs
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           998M     0  997M   0% /sys/fs/cgroup
/dev/xda14      124M  278K  124M   1% /b ...
Score: 1
Primo avatar
How do I change a port restricted IP in a Lightsail instance via API?
pw flag

I have a port that is IP-restricted in a Lightsail instance. How do I change that restricted IP via API or even aws-cli?

I prefer via API using cURL.

Thanks in advance.

Score: 0
Add Ansible Template as RPC dependancy for Privilege Vault/Secret Server
ve flag
Tim

We're running Delinea/Thycotic Privilege Vault in our environment.

We're trying to onboard all credentials into Privilege Vault as much as possible, so that we can leverage Auto-Change, where the password is rotated by Privilege Vault every X days.

Whereas using the Remote File and Application Pool Recycle dependencies works in many instances, there are other instances where we would like to trigger ...

Score: 1
Yu Ling avatar
Assign outlet IP for a libvirt VM using routed network
ro flag

My host network interface has got two IPs. Currently, I'm running my VMs in a routed network.

Host's network interface is a member of public zone in firewalld, with both forward and masquerade enabled.

With the setup described before, the VM is able to connect to the Internet and I can add port forwardings to VM with firewalld's --add-forward-port.

However, now I want to change one of my VMs' outlet ...

Score: 2
Timothy Truckle avatar
LSI MegaRaid not rebulding RAID5
cn flag

I have a LSI megaraid Controller witha RAID5 array of 4 disks. This has been running for several years.

Yesterday The controller degraded the array and I cannot access the data on it because it thinks one of the disk would be missing (but it is not...).

The controller claimes the drive in Slot5 would be missing but also shows that there is a drive in this slot marked "(Foreigń)" - whatever that mea ...

Score: 0
Kareem Rashwan avatar
Adding GA4 connection to AWS AppFlow
va flag

I am trying to add an AppFlow connection to an existing GA4 account, GA4 is already up and running and even pushing data to BigQuery.

However, when I try to create the connection in Appflow to start a flow from GA4 to Redshift. I get this error message

An error occured while creating the connection ga4.
Error authenticating to connector: Failed to validate Connection while attempting "ValidateCredenti ...
Score: 0
Sandeep avatar
unable to ssh into guest OS (openBSD) from host (fedora) via port forwarding on kvm
id flag

The guest OS is running on ip address 192.168.122.217. I am able to ssh into the machine via this ip address

[kabira@linux ~]$ ssh  [email protected] 
[email protected]'s password:

But when I forward port 4567 to 192.168.122.217:22 I am not able to connect, no matter what firewall rule I apply. I have done the following:

  • turned off firewall on openBSD
  • added following rules in firewalld --- ...
Score: 1
timg avatar
Magento2 website with nginx(with SSL termination) and varnish cache
kz flag

I have hosted Magento2 website with Nginx, SSL termination, and Varnish cache.

Varnish cache is running on port 8080 and the Magento2 website is hosted on Nginx port 8081. Http and Https traffic is accepted by the same Nginx and forwarded to the varnish cache(SSL terminated).

I have two questions,

  1. If I tried to access the Magento2 website which is running on port 8081, directly from the internet, ...
Score: 0
jerdub1993 avatar
When Ansible initiates a PowerShell script, how to get Ansible to return "ok" (nothing changed)?
bq flag

Usually when Ansible kicks off a PowerShell script with win_command/win_shell/win_psexec, as long as it doesn't run into errors it'll return "changed", because of course it doesn't know what all the script did.

Since we can return any exit code in a PowerShell script is there a way, via exit codes or otherwise, to notify Ansible that there was no change required so that Ansible returns an "ok" sta ...

Score: 0
archygriswald avatar
Where to install yarn on a mastodon server [mastodon]
cn flag

I am on my way to install mastodon.

The installation guide says:

  • be root sudo su -
  • [do some other stuff]
  • set up yarn: yarn set version classic

This gives the following output:

Resolving classic to a url...
Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js...
Saving it into /etc/apt/.yarn/releases/yarn-1.22.19.cjs...
Updating /etc/apt/.yarnrc...
Done!

So thi ...

Score: 0
Pavan Hatwar avatar
ESXi v6.7 udate - Frozen at 'enabling schedular screen'
ki flag

I have a very old stand alone ESXi host which was running image ESXi-6.7.0-20190402001 . I did the below two things

1.Update the latest patch https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-202210001.html for version 6.7

2.Enable Side-Channel-Aware Scheduler, both were done via the ESXCLI as this was a stand alone host and were successful . After the mandatory reboot the server gets frozen on ...

Score: 0
best_of_man avatar
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
pl flag

EDIT: The following describes my original question, but as long as I haven't resolved the issue yet, I thought maybe I should change settings inside the created mysql POD instead of mysql config files on my local computer. But when I try to do any changes inside the mysql POD I get command not found errors!

I tried to deploy a mysql image on my local Kubernetes that is running on a Kind cluster as th ...

Score: 1
samadadi avatar
Having trouble to set up SSH socks proxy
in flag

I am trying to set up a SSH socks tunnel for my personal use. When I am using this command ssh -D 1080 -N root@[server public IP] to start the proxy I am getting this error: open failed: administratively prohibited: open failed. Please help me.

Server SSHD Config:

tcpkeepalive yes
allowtcpforwarding yes
permitopen any

Server Info: CentOS 7

Score: 0
best_of_man avatar
What database my applications will use if I have a locally installed database beside it's pod running on local Kubernetes?
pl flag

I have installed mysql on my Ubuntu machine. I also have a locally running Kubernetes and deployed a mysql deployment on Kubernetes and can reach to that using kubectl exec -it mysql-b4769786-5hf4m sh command, then mysql -p.

I am a little confused now. I don't know do I have two separated databases, one running locally on my OS and the other one also runs locally but upon my Kubernetes cluster? If  ...

Score: 0
Ian Smith avatar
How to configure nginx reverse proxy to stream large files immediately
im flag

I have an nginx server configured as a reverse proxy that is working fine.

However I am serving up large MP4 files and there is a very long delay since the nginx server has to download the entire file from the (slow) provider.

Is there any way to configure nginix to begin sending large files immediately without waiting for them to fully download into the cache?

Score: 0
Mendizalea avatar
WIndows Firewall policy wireguard
et flag

I don't know if it's possible, but I have a VPN with Wireguard on a Server 2022, configured with this:

https://github.com/micahmo/WgServerforWindows

It works correctly, but I would like to know how I can do so that a client can only access a specific IP address of the VPN and not all as it currently does.

On the client side I can configure AllowedIPs but it is modifiable by the user, I am interested  ...

Score: 1
Julien avatar
Apply same config to all server blocks
cn flag

We have hundreds of sites running on an Nginx server, each one has it's own config file in site-available / enabled that contains their server blocks and are loaded by the nginx.conf in the http block by doing include /etc/nginx/sites-enabled/*;.

Now i would like to block access to the sites for specific user agents (pesky bots), i was wondering if could apply something like:

if ($http_user_agent ...
Score: 1
kab00m avatar
GPO settings for Kerberos authentication
br flag

My customer requires SSO in Windows domain for my Linux-based web/application server. Server have its own keytab installed and it all does work fine. Windows domain (EXAMPLE.ORG) have a service user account with SPN HTTP/server.example.org associated. My application server (WildFly) require Kerberos authentication and deny NTLM authentication.

I have test domain (2016-based) which was created wit ...

Score: 0
Ali.Issa avatar
Cannot connect to EC2 Instance with ssh using MyIP
gm flag

I was trying to connect to an ec2 instance using ssh , its working when source ip is 0.0.0.0/0 , but I can't connect when I change it to My Ip (I am using macOS).

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.