serverfault.com

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Common Server issues – FAQs and answers from those in the know

cacti setup not working correctly

5 May 2024 @ 12:42 am

I tried to install cacti for my two Debian VPS server one has the cacti and other been monitored but when I add the IP address for the server that should be monitored it is giving error message please look at the picture I am not sure even I installed the agent correctly in the second server picture for the error I installed cacti in my first VPS and installed many things I even start not to know what should I install in the remote server that should be monitored can you please tell me what should I install in my Linux VPS Debian type to connect to cacti without the error message showing.

How do Fargate pods locate CoreDNS?

5 May 2024 @ 12:40 am

How do Kubernetes serverless pods (EKS Fargate) know the IP address to access the cluster's DNS server (the CoreDNS service deployment)? I recently updated a Kubernetes cluster to set up serverless hosting for the Cluster-Autoscaler (and/or Karpenter) deployment. This was to eliminate the deadlock hazard, of this controller potentially being rendered unschedulable when it is evicted whilst rolling the worker node fleet for security updates, which can prevent it from instantiating the new replacement worker nodes that are needed for itself and other cluster workloads. (Note there is no EKS add-on to instead run this critical controller within the managed control plane or master nodes.) To accomplish this I terraformed an aws_eks_fargate_profile resource (with the typical associated IAM role which permits the AWS Fargate service to pull container images from AWS ECR registries). This was initially unsuccessful until we resolved two issues: firstly, the control plan

Ethernet is down after reboot in Raspberry Pi

4 May 2024 @ 11:58 pm

I am new to server maintenance and I am just starting building a Home Server using a RPi 4. I flashed a new card with the latest Lite version of Raspberry Pi and installed OpenMediaVault. I noticed that after rebooting the RPi for whatever reason (Updates, etc.) The RPi would not be online again. After a lot of digging around in the internet I checked the networkctl and noticed that the end0 was off: IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 end0 ether off unmanaged 3 wlan0 wlan off unmanaged Then I ran sudo networkctl up 2 and voilá, everything is running again, both the OpenMediaVault and the Shared Files on the server: IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 end0 ether routable unmanaged 3 wlan0 wlan off unmanaged My questions are: Why is this shutting down

Cannot sent email as or on behalf of in Microsoft 365

4 May 2024 @ 10:50 pm

I am unable to send an email either as or on behalf of a group mailbox. When I try to send via Outlook, I get an undeliverable message saying I don't have permission to send on behalf of this mailbox. I understand Outlook will try to send as first, then will default to on behalf of if that fails. I have not found a way to explicitly tell it to only send as. I have also tried to send via OWA. Here is what I have tried: I have granted myself the send as delegated permission enter image description here Waited (up to an hour) Downloaded the offline address list Ensure I have selected the address from the online address list

AWS EB Docker Linux 2 Failed Deployment

4 May 2024 @ 10:12 pm

I am running a Docker running on 64bit Amazon Linux 2/3.8.1 on my AWS EB When deploying my source it works if I simply upload my docker-compose.yml file, the upload works and the app is live. I am trying to add the .ebextensions directory allowing me to use this to forwards log files to cloudwatch log groups. In order to to do this I have this following directory production .ebextensions docker-compose.yml I then zip this up so I have a production.zip when I then try and deploy this zip file I get the following error. Instance deployment: Both 'Dockerfile' and 'Dockerrun.aws.json' are missing in your source bundle. Include at least one of them. The deployment failed. But it works perfectly file if I just upload the docker-compose.yml file. Why can EB not find the docker-compose.yml file in the compressed zip?

ASP.NET MVC area issue on IIS 10

4 May 2024 @ 9:52 pm

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as expected on the local server (server-localhost:port), but when I try to access the area via the domain name, I get redirected to the default app page and there seems no way to access the newly added area. During my research, I came across URL Rewriting rules; I tried everything I found but no use. Website uses HTTP, not HTTPS Server: Windows Server 2022 IIS version: 10

CIFS VFS: Send error in read -9 -11

4 May 2024 @ 9:28 pm

I keep getting these errors on a Linux client with Samba mounts. kernel: [4372075.205159] CIFS VFS: Send error in read = -9 kernel: [4372421.609254] CIFS VFS: Error -11 sending data on socket to server Logs are full with them but it does not cause any data loss or funcitonality issues. I use the following parameters: mount -t cifs -o username=$USER,password=$PASS,uid=1000,gid=1000,file_mode=0750,dir_mode=0750,iocharset=utf8,vers=2.1,netbiosname=namebox,noserverino //$HOST/ Some similar posts recommended using vers=2.1 doesn't make much difference for me. Any suggestions?

iptables hashlimit parameters not applied

4 May 2024 @ 7:46 pm

Setup I have the following iptables rule: -p tcp -m tcp --dport 8885 -m hashlimit --hashlimit-above 1000/s --hashlimit-burst 2000/s --hashlimit-mode srcip --hashlimit-name mqttdos -j DROP To verify, I checked iptables -L -vn: Chain INPUT (policy ACCEPT 10 packets, 2215 bytes) pkts bytes target prot opt in out source destination 0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8885 limit: above 1000/sec burst 2000 mode srcip Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination All other tables are empty/ACCEPT. My test I'm sending requests from another machine (in this case the host of the above, which is an

How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD

4 May 2024 @ 6:13 pm

I've just installed the CloudFlare client on Ubuntu,that I have virtualized with bhyve. That's because it does not work on FreeBSD. The instructions that I have followed are located here : https://www.youtube.com/watch?v=4JuOUjCSj44 Installing it in this way,it will run only on the IP assigned to Ubuntu inside the VM. For me the IP of FreeBSD is different than the IP assigned to Ubuntu. Configured in this way it's not useful. I want that it runs on FreeBSD. To achieve this goal,I should change my network configuration,in a way that I use the same IP for FreeBSD and Ubuntu. That's what I want to do,but I don't know how to do it. But I'm sure that I will be able to do it if someone can give me some advices. I can explain how I have configured my network,so you can explain what should I change to have the same IP. For example,to boot Ubuntu with bhyve,I use the following para

Static files not being detected by the ALB

4 May 2024 @ 5:41 pm

So, I have deployed an application in a Kubernetes environment (AWS EKS). It is a collection of various micro-applications exposed as services, each micro-service having three replica sets. All the micro-applications are developed using Flask. Each of these micro applications have their own static files and templates. All the required files needed for each micro-application are made available as a volume-mount from the AWS worker nodes (Please note that each pod only gets the particular files needed for the proper functioning of the particular micro-application that the pod is supposed to run). The ingress is set up in the following way: "/" leads to login-page service "/home" leads to home-page service and so on. Now, when I deploy the ALB, the login page seems to work fine, but whenever the home page is set to load, it is unable to find the static files required for the home page. Upon further investigation, I noticed that the