Latest Server related questions

Score: 1
sixfive avatar
Monitoring php command line worker with Monit Ubuntu 20
kr flag

Problems monitoring php script using pid method.

We have a Laravel worker script that must be kept running on the server:

php /data/git/site/directory/artisan queue:work --daemon when this is run on the command line it holds the terminal open and does not output anything until the Laravel app pushes output to it - this is unlikely to be within 30 seconds of start up.

I wrote a bash script as suggest ...

Score: 1
jim avatar
ESXi Server has locked with .lock4 file suffix on all vmdk's after crash SAVE ME!
jp flag
jim

My ESXI server was running from a USB stick that got corrupted and as a result prevented my server from booting. I fixed this by reinstalling ESXI on a new memory stick and began re-adding all of my VMs.

However when I try to start them up it is saying that it cannot find the VMDK file, and it appears to have added a suffix of .lock4 to all files in all of my VM folders.

I've tried removing the lock ...

Score: 1
Larmes avatar
Where can I find older wtmp log files?
ke flag

Every so often the last log is rotated out and stored in /var/log as wtmp* however when I look in my system in /var/log I only see the current wtmp file and the wtmp* file before it. I know the system has had more than one wtmp log rotation. Does the archived or rotated out wtmp log get overwritten each time it rotates? Does it get moved somewhere else? Did the system just fail to save the rotated-out  ...

Score: 1
Zak  avatar
how to fix apache server :(20014)Internal error : AH01102: error reading status line from remote server 127.0.0.1:5000
pe flag

I use a flask server in apache. run a script which prepare then download an xml file. this is working fine is script but if script lasts longer than 80 sec it's stopped and http error 502 is displayed and the xml file is not closed correctly and i get this message :

This page contains the following errors: error on line 2373 at column 426: Extra content at the end of the document Below is a rende ...

Score: 0
Breezer avatar
Running nodejs with next on WHM cpanel
bf flag

im trying to deploy a next app to a cpanel hosting. I've followed the instructions given in cpanels documentation almost to the letter

https://docs.cpanel.net/knowledge-base/web-services/how-to-install-a-node.js-application/#register-the-application

I'm able to get it running and working as intended if I run node under the root account and have registered the application. But as I understand it, it ...

Score: 2
Mayzed avatar
What is changing my Windows Server's date?
na flag

At my organisation we have a number of virtual machines on ESXi hosts in a number of sites.

For the past few months, around once or twice a week one virtual machine, seemingly at random, will update the date to something weeks in the future for a few minutes, only for W32Time to notice and change it back. This is affecting the applications running on the server and we cannot figure out what could ...

Score: 0
Cezar Apulchro. avatar
400 Bad Request using Tomcat for Virtual Host
gw flag

I'm trying to load my java web project in the browser but I'm receiving "400 Bad Request", I have in my Tomcat server.xml:

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
        <Alias>demonstracao.itcmedbr.com></Alias>

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="loc ...
Score: 2
Shawn King avatar
Kong-proxy not working inside Jelastic environment
bw flag

We need a bit of help trying to install Kong in Kubernetes inside Jelastic environment. Me and My colleague have a production based kubernetes cluster with the following:

  • Load Balancer
    • 1 Node with Public IP
  • Workers
    • 2 Nodes
  • Storage
    • 3 Nodes with NFS storage
  • Control Plane
    • 3 Nodes

By default, this environment has ingress-nginx which loads the Hello Kuberenetes application just fine. Here  ...

Score: 1
Martin avatar
DNS: how to redirect website traffic only, to a specific server
cn flag

There are many similar questions on here but nothing that looks like it's actually what I need.

I know what I need is very simple but I can't websearch it, probably I'm missing a key word.

My issue:

There is a standard DNS set up on a third party (as yet unseen by my eyes) controlling the website and email. Defined as "Server Old". There is a new website set up on its own server, defined "Server New ...

Score: 0
Revolucion for Monica avatar
552 for lack of money in my website billing account, do I have to create a new billing account?
cn flag

I have a website (www.thedataclan.com) that I have deployed on GCP. However at one point I had no money left in the account and it appears that the site went into 552.

introducir la descripción de la imagen aquí

My payment has been received but it looks like the billing account is closed; do I have to create a new account to start the website again or should I just wait for it to redeploy?

introducir la descripción de la imagen aquí

Score: 0
pibolas1991 avatar
multiple shared coonections via VPN and Debian server
sl flag

Please bear my ignorance, I'm learning a lot about networking and debian.

I want to use my Debian server (with multiple lan dongles) to share my vpn (nordvpn) connection to multiple clients in my home network. The ideal setup looks like this:

  1. Wan router (internet access) dhcp server with ip 192.168.20.1
    |
    |-Debian eth0 with nordvpn. acting as DHCP server with ip 192.168.0.1
    .....|
    .....|-Router1 o ...
Score: 0
Dantes avatar
Permission denied (publickey) - bitnami at AWS (Wordpress site) - Connecting with PC
mn flag

I face following issues when trying to connect from my PS using either PowerShell or Cygwin to AWS on which my Wordpress site is hosted (Bitnami).

(I simply what to log in to the server either this way or using Putty as described here ([LINK][1] Putty is throwing an error "using username bitnami. Server refused our key. No supported authentication methods available. server sent publickey")

What I tried so ...

Score: 0
Red Cricket avatar
Understanding openssl. Where is the cert file?
de flag

I am using the command ...

openssl s_client -showcerts -connect reds-cluster-01:443

And I get the output:

depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, CN = RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1
verify return:1
depth=0 CN = *.my-co-example.com
verify return:1
CONNECTED(00000003)
---
Certificate chain
 0 ...
Score: 0
StaxJaxson avatar
AD User and Group Report
rs flag

I just inherited a process in place that combined 2 PowerShell scripts:

  1. Get list of AD User properties.
  2. Get list of User group memberships

I have added the group membership property to User script, but it dumps all the group memberships in one line, the beauty of this group script they are using is it dumps each group and user to each line so the PM can quickly scan the memberships quickly in one  ...

Score: 0
Edy Incoletti avatar
Is PostgreSQL 13 slower than 11?
ng flag

I've set up 2 VirtualBox machines with the same parameters. The first one with Debian 10 - PostgreSQL 11, the second with Debian 11 - PostgreSQL 13. The installation is only the base system + SSH server - no additional package. The postgres configuration has been left as in the package default - no variation at all.

I've set up the same test db using pgbench with a scaling factor of 100 and then  ...

Score: 0
Mihkel Pajunen avatar
Apache mod_rewrite will not redirect from root folder to subfolder
jm flag

I will preface this question by saying that I know next to nothing about Apache directives, but I need to use them in my project to hide the contents of the root folder, and also to hide the /public portion of the URL.

httpd.conf

LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so

I know that mod_rewrite is enabled, because I have other .htaccess files in the same project that work just fine.  ...

Score: 0
w3ich3rt avatar
ConfigMgr WebService API Calls
ae flag

at the moment I try to connect my application via api with the ConfigMgr Webservice, but send my SOAP API request via curl I always get a 400 error.

We are writting our own application to "talk" with the SCCM and because we cannot use PowerShell (cause of company restrictions) we are trying to use the ConfigMgr Webservice. Is anyone here, that have some experience with this little API and can point me i ...

Score: 0
asafreedman avatar
Can't Reach Private Subnet Over Bridged OpenVPN
do flag

I have a VPC in AWS with OpenVPN server in a public subnet. I'm trying to reach a server running in a private subnet. I cannot.

I have two ENI running on the public machine. One with a public IP address that I'm connecting through and another that I'm trying to use as my gateway to the private subnet.

I think I'm similar to this question but can't figure out how to make it applicable: Allowing SSH ...

Score: 0
Bobby avatar
Server resource is fine but it generates 502 sometimes
mo flag

I have problem with php-fpm where it sometimes get 502 error.

Server specification

Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz [16 cores]

load average: 0.69, 0.56, 0.89 MiB Mem : 31919.7 total, 15710.0 free, 3251.9 used, 12957.8 buff/cache MiB Swap: 16124.0 total, 16124.0 free, 0.0 used. 28173.1 avail Mem

Here is my php fpm configuration

request_slowlog_timeout = 30s
slowlog = var/log/ph ...
Score: 0
WorkAppropriateUsername avatar
Promtail - syslog configuration only logs localhost for hostname and IP
tr flag

I have a number of boxes that run docker containers. To keep a record of all the logs, we have 1 instance of logspout on every box that grabs all container logs on that box, and routes it to a syslog-ng instance (docker container) on a central host which stores it to a specific path.

I'm trying to extend this setup to use grafana/loki. Problem is that the __syslog_connection_hostname label always e ...

Score: 0
Samson avatar
linode nexus server timeout on browser
in flag

I installed nexus on a centos07 server but it is not showing on the browser.

Linode ports are open by default

I checked the status and nexus is runing

I also checked the port and everything is working fine but I dont know why is not showing on the browser

enter image description here

enter image description here

Score: 0
BeWog avatar
Difference between ifup and dhclient - different result?
sd flag

On Debian 10 (buster), I configured the DHCP with the MAC address but it does not work.
When i use "ifup" command, the result is wrong.

I need to configure this IP: 192.168.251.11
but DHCP attributes this IP : 192.168.251.143

Example with ifup

# ifup eno1
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https: ...
Score: 0
Aitor avatar
Disks periodically unmounted in cloudlinux error
nl flag

Once a week or month, one of my partitions gets unmounted. I am on a hetzner cloud server. I use cloudlinux and directadmin.

This is the state of the partitions when it fails:

[root@ns81 home3-81]# lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0 228.9G  0 disk
├─sda1    8:1    0 228.8G  0 part /
├─sda14   8:14   0     1M  0 part
└─sda15   8:15   0    64M  0 part /boot ...
Score: 1
Wodel avatar
kolla-ansible SSL certificate expired
sa flag

My ssl certificate has expired in my openstack deployment and I can't login in and several services do not work well because of it. How can I remediate to this? I tried to find a way to disable the verification but I didn't find. Then I tried to disable TLS on my globals.yml then deploy over, but it complains about some services still using TLS. How can I workaround this problem to be able to install a  ...

Score: 2
Ema Il avatar
service account with Storage Admin role does not have storage.buckets.get access
US flag

I'm trying to get a bucket on gcp from a pod on kubernetes using python.

Now the service account on that pod has a role of storage admin but for some reason I still get an exception when trying to access that bucket.

IAM: enter image description here Error log:

google.api_core.exceptions.Forbidden: 403 GET https://www.googleapis.com/storage/v1/b/<bucket_name>?projection=noAcl: 874<principal> does not have storage.bu ...
Score: 0
bavuk avatar
Squid Fowrard Proxy In Docker takes long time to resolve NS addresses
gs flag

I have the following problem with my squid proxy which acts like a forward proxy to the official company proxy (148.42.10.11) to connect our floor network servers to the outside world.

my squid.conf looks like this to

acl lan srv 10.132.10.0/24
http_access allow lan

#dns_nameservers 127.0.0.1    
dns_nameservers 8.8.8.8


http_port 3128
http_port 8081 intercept 

cache_peer 148.42.10.11 parent 808 ...
Score: 0
techie avatar
Trying to access lighttpd sever in other pc
tw flag

So, I've this situation:

I have recently installed Lighttpd in ubuntu (In VM Ware), I am trying to bind the IP to the Lighttpd server and access that IP address (from a browser) in my other system (within different network), I'm trying this for testing my website before sending it to the actual server.

Thank you.

Score: 1
stkuser avatar
The Let's Encrypt cert doesn't work on Apache and FreeBSD
ax flag

Our server administrator installed via Certbot the free Let's Encrypt certificate on our server with FreeBSD. But the cert doesn't work and we can't understand how exaclty we should configure the file /usr/local/etc/apache24/httpd.conf and/or /usr/local/etc/apache24/extra/httpd-vhosts.conf ?

We use virtual hosts to host a few websites at the server. And the directory with websites is /usr/local/www/apach ...

Score: 0
Adeel Ijaz avatar
IP routing beween local pc and GCP VM using zerotier interface to access application
cf flag

I am running application on 192.168.196.199:8080 on local PC. This application is accessible inside GCP VM using Zerotier interface i.e:

curl 192.168.196.199:8080

Generates Some Response

GCP VM has following interface IPs:

Zerotier: 192.168.196.82

Internal IP: 10.128.0.11

Gateway: 10.128.0.1

I want application to be accessible through 10.128.0.11:8080. I tried googling and most of them were relate ...

Score: -3
Cerolina avatar
Want to try to block a particular ip address
td flag

enter image description hereNetwork Diagram:

network diagram

Subnet-coloured Network Diagram:

subnet-coloured network diagram

I have the following subnets below. I want to let traffics from the green subnet to go everywhere but the blue subnet should not be able to get into the green Network. How do I prevent the blue network get into the green network? What should I do on my router?

I have add access list of both fire_walls.

access-lists

Adding the link to the Cisco Packet Tracer p ...

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.