Recent Questions - Server Fault |
- USB3 needed for RPi based NAS? [migrated]
- Creating a VPN for communicating two different boards
- BL460c Gen9 "disconnected NIC", not connect until I reset OA
- Linux server replication tools
- How to make Titra docker image answer https?
- Deny direct IP access to an application deployed in Kubernetes
- iptables: modify output flow
- Using URN's with special characters in nginx maps
- What are use cases for getting an ipv6 /64 subent per server
- limit memory usage for each php-fpm pool
- Moving docker container from linux based server to AWS
- Downloading a file using Windows CMD line with curl/wget
- Nginx returns 415 when using image_filter with webp
- Nema 5-20 Female to Nema 5-15 Male Power Adapter for UPS: safe?
- X-Matching-Connectors exceeded allowed maximum
- How to configure DNS for Services and Pods in Kubernetes?
- Cannot build any functions with cloud function
- Remote work with windows rdp
- changing netmask of loopback interface
- Why does Samba4 fail with NT_STATUS_INTERNAL_ERROR on Ubuntu 18.04
- How to run clamd by systemd as daemon on Centos 7
- getting SSI's `exec` to work with apache
- Is there a way to install SSL certificate on EC2 instances running IIS using ebextentions?
- Reset subscription or fix web app
- Can a database created in MS SQL Server Express be exported to MS SQL standard?
- How to change time source from "Local CMOS Clock" to "DC"
- Forwarding ports to guests in libvirt / KVM
- Ubuntu Apache: httpd.conf or apache2.conf?
USB3 needed for RPi based NAS? [migrated] Posted: 17 Nov 2021 06:38 AM PST I am wanting to build a RPi NAS, following more or less the following instructions: https://magpi.raspberrypi.org/articles/build-a-raspberry-pi-nas I have the two USB drives (2 TB each), but I only own a RPi 3 - no USB3 ports. However, I would have to attach my home-grown NAS to the WiFi modem, in order to have it usable anywhere in my house. This limits of course the bandwidth with which I'd be able to access the NAS. So the question is - should I invest in a RPi 4 for this project? Wouldn't the extra bandwidth gained by USB 3 lost on the WiFi communication? I would attache the NAS via cable to the router though. I know I can make some theoretical calculations based on the WiFi specs, but I am interested in real experience and real expectations on performance. Thanks |
Creating a VPN for communicating two different boards Posted: 17 Nov 2021 06:28 AM PST Beforehand, I would like to say that I am not experienced in networking and would like to learn more regarding this. I have two boards that have to send and receive ethernet packets to each other. Let's call them board 1 and board 2. Board 1 is connected to Ubuntu 1 and Board 2 is connected to Ubuntu 2. Both Ubuntu 1 and 2 are connected to a bigger network. The diagram below shows the topology of the network. I want board 1 and 2 to be able to receive and send ethernet packets through Ubuntu 1 and 2. If possible, in layer 2 (Data Link Layer) not layer 3 (Network Layer). I have read TUN/TAP interfaces, but am still puzzled on how to implement this into my network. I have also read IP Forwarding (routing) but this uses layer 3. I want these boards to communicate through layer 2. My final solution was creating a VPN server in Ubuntu 1 or 2 using OpenVPN. This also uses the TUN interface (layer 3), but I am hoping it can be replaced with a TAP interface. This is my current question. How do i switch to a TAP interface in OpenVPN? If there are easier suggestions, instead of creating a VPN an such, I would love to hear it also. Thank you in advance for your help. |
BL460c Gen9 "disconnected NIC", not connect until I reset OA Posted: 17 Nov 2021 06:26 AM PST I have 3 C7000 blades enclosures that we used with BL460c Gen8 without any problems, but we are changing them for BL460c Gen9 and some blades don't connect it network until I reset OA. All blades are using 536FLB FlexibleLOM with the last SPP (May 2021), I've tested with 3 OA with different version, 4.97, 4.90 and 4.60. Also, I used HP 6125G switches and 1GbE Pass Through for testing. Moving the blade alongside the enclosure can or cannot reproduce the problem, it's random. Exchange the FLB between blades can or cannot reproduce the problem. Exchange the blade between enclosures, can or cannot reproduce the problem. I'm really confused about this problem. All blades are updated, all have been reset to manufacture configuration, all servers are from different distributors, I think it's not the problem. |
Linux server replication tools Posted: 17 Nov 2021 07:08 AM PST we are looking for tools or advices on how to handle server replication/mirroring. we have a software deployed on premise in linux servers, the clients would like to have a replica of the software to make sure that the system works fine and can be accessed even if one of the machines is down, we have done some scripts to handle these cases on our own but it seems to be prone to errors we faced some issues with WebSockets Edit: we have an ubuntu VM running a monitoring solution with the following services: NGINX: serving a web application nodeJS: as a backend service (REST API's , Websocket) MYSQL/MongoDB: main/secondary database Python: monitoring tasks Requirements: we need to replicate all of that for a failover scenario once one of the servers is down the system should be accessible via the same IP address and the system should resume working with the available machine Thanks in advance |
How to make Titra docker image answer https? Posted: 17 Nov 2021 05:44 AM PST I've got a test installation of Titra on a local system, and I've got it answering http on port 80 with this docker-compose file: That works, but I'd kind of like the thing to answer https instead, but I'm not that familiar with Titra itself, nor Meteor (the framework it's written in), and my poking around the available documentation hasn't turned up anything about https for self-hosted Titra instances. |
Deny direct IP access to an application deployed in Kubernetes Posted: 17 Nov 2021 07:05 AM PST I have a I then assigned a DNS hostname for the application using Cloudflare Tunnel (aka Argo Tunnel). It works perfectly fine as I can access the application from outside the K8s cluster with the DNS hostname that was resolved. However, I can also access the application directly from My concern here is, how to deny or block direct IP access to the application as I do not wish to reveal the IP address and make life hard for myself from the security standpoint? Does this have to be configured from within Cloudflare or K8s cluster is also my doubt. Any feedbacks and suggestion would be appreciated. |
Posted: 17 Nov 2021 05:29 AM PST When i trace some raw output packets from a specific application, i get the following output where a packets destination address is magically changed from 10.10.20.20 to 127.1.1.1. Is there any way of bypassing this by getting the raw packet "as is" to the output? |
Using URN's with special characters in nginx maps Posted: 17 Nov 2021 05:44 AM PST When using nginx and maps it is possible to rewrite mutiple URN's with a map file. What is problematic is when the URN contains special characters. I have been breaking my head trying to get this right, and hope this Question / Solution might save others from becoming gray hair. Let's set the scenario.A Linux server (Debian/Ubuntu) running standard nginx. DNS pointing to this server that resolves to a server config. A Map that contains no duplicate entries with incoming and outgoing URN's (resolvable) The map setup would contain the following: the map file itself contains one entry per line terminated with a semicolon. The server config for this mapping to work I have simplified the config of this server config so we can concentrate on the map settings. The config assume that the domain will be using SSL and the certificate is valid. The if statement will only execute if the $host$request_urn is in the list with a $rewrite_urn, otherwise the last rewrite will be executed. The QuestionHow do I transform the $request_urn so that nginx understand it correctly? The map file contains the value in UTF8, but it seems that nginx wants the $request_urn URL-Encoded and in Hexadecimal. $request_urn as in the mapfileexample.com/Böhme $request_urn URLEncoded as per Browserexample.com/B%C3%B6hme $request_urn as I think nginx wants itexample.com/B\xC3\xB6hme I can't seem to find a system package that has this feature, but I think I am starting to re-invent the wheel here. I would need to: create a function that will URL encoding the list, as per How to decode URL-encoded string in shell? and then use Octal dump as per Convert string to hexadecimal on command line, so the map bucket is created in memory with the correct values for the if statement test. It's starting to feel like rocket science, and I can't believe that nobody else hasn't solved this problem before, I just can't seem to find a solution. |
What are use cases for getting an ipv6 /64 subent per server Posted: 17 Nov 2021 05:17 AM PST I am somewhat new to the whole networking topic and am trying to understand why certain things are the way they are. Right now I am struggling to understand why you get a whole /64 ipv6 subnet for each server when renting one. Is it because the are just enough addresses anyway and we might as well assign them? Or are there actual use cases? I find it hard to imagine that a single server could make use of that many addresses anyway. Would it then not be better to allow for more subets in the first place? I know that there is an absurd amount of ipv6 addresses available, so wasting them is not really a concern. But on the other hand I think giving a /64 to each server is effectively cutting the total amount in half, which seems strange considering that ipv4 has been thought to be enough as well. Thanks! |
limit memory usage for each php-fpm pool Posted: 17 Nov 2021 05:14 AM PST A php-fpm config can limit a script to certain memory usage using memory_limit key. However, it only limits per script execution. What a solution that can limit memory usage for each php-fpm pool. |
Moving docker container from linux based server to AWS Posted: 17 Nov 2021 05:38 AM PST I am trying to move a container running on a linux based server to AWS. I first created a tar file of the container using the following commands: I then move this tar file to AWS server and run the following commands: After running this, a docker image is created. I then ran this docker image using command But I get the following error
I tried running the docker image using docker run --platform linux/amd64 <image_name> Even that didn't resolve the issue. Got the same error |
Downloading a file using Windows CMD line with curl/wget Posted: 17 Nov 2021 05:12 AM PST I have a client [Windows 10 VM] and a server [say a linux based VM]. I have Apache running on the Linux Server. I have a file on the linux server that I want to download on my windows client. I want to do it in 2 ways from the windows CMD: -Using curl -using wget I tried the foll commands on my windows CMD. But doesnt work. Is something wrong with my CLI? Edit:: Insense, I wanted to understand the right CLI syntax to do a wget/curl to fetch a file from a certain directory on the remote server (/home/abc) |
Nginx returns 415 when using image_filter with webp Posted: 17 Nov 2021 06:52 AM PST I have some jpg/png files that get resized in a location (with I'm using the following configuration: But nginx returns a |
Nema 5-20 Female to Nema 5-15 Male Power Adapter for UPS: safe? Posted: 17 Nov 2021 06:35 AM PST I bought a large UPS for my server and didn't realize it comes with a NEMA 5-20 plug. We're in a residential setting and don't have those outlets. I see Nema 5-15/20 Female to Nema 5-15 Male Power Adapters but it seems not safe to me, if the device is expecting a dedicated 20 amp circuit. This is the UPS: https://www.cdw.com/product/cyberpower-smart-app-online-ups-series-ol2200rtxl2u-ups-1.8-kw-2200-v/3059881?pfm=srh is it safe to use an adapter and plug it into a residential circuit? |
X-Matching-Connectors exceeded allowed maximum Posted: 17 Nov 2021 05:15 AM PST When sending some mails from Postfix to Outlook365 i receive an error: To avoid this i have tried to strip all X-Matching-Connectors from my mails, but the this does not solve the problem, a matter a fact it seems like the outgoing mails does not have this header at all (i use postfix header_checks to remove another header just to make sure it works, and i can se this is removed in the log). I also cannot find any info on the X-Matching-Connectors anywhere. Anyone know what it is and maybe where it is added? How can I solve this problem? Only found this online: https://answers.microsoft.com/en-us/msoffice/forum/all/getting-ndr-from-some-servers-headers-too-large/a3ace969-9d08-4d07-967a-5f40f9a0bad7 UPDATE == 5-11 == I have tried to set header_checks up to log ALL headers in the outgoing mail, and the offending X-Matching-Connectors is not send from Postfix to Outlook. Maybe its a header being generated in the Microsoft mailserver? Further info : Our Postfix server is also on a Linode server (as M Klein, below). But running as a standard mailserver. Answer to comments: Yes, the Postfix mailserver has worked for years without this problem, and can send to gmail and other servers without issues. Yes, I can send to the receiver from fx gmail without issues. No, it does not seem to be all email to office365 which have this issue, only some recipients/domain. But its all mails send to these domains. Related info: |
How to configure DNS for Services and Pods in Kubernetes? Posted: 17 Nov 2021 05:44 AM PST I have been going through the K8s documentation on DNS for Services and Pods. The main task that I want to resolve is my K8s deployment has I have set-up Ingress Controller from NGINX for Bare Metal K8s because my cloud provider does not provide load balancing service. So my question is: How do I set-up an ExternalDNS in my K8s cluster? For reference purposes, these are my resources inside the K8s cluster. Basically, I have all my deployments inside the And this is the manifest file I have for service and deployment of Any feedbacks and suggestions would be highly appreciated. |
Cannot build any functions with cloud function Posted: 17 Nov 2021 05:46 AM PST Somehow I keep getting build failures in our new cloud environment. I tried with nodejs and python default HelloWorld cloud functions, both failed with no specific error messages. Below is one of the ERRORs: |
Posted: 17 Nov 2021 05:31 AM PST We have 20 Windows XP pc in a Windows 2003 domain controler/ActiveDirecory. In the same domain we have a Windows 2016 "large" physical server (most of the time not in use). Because we have an application that requires IE6 we have stuck with Windows XP. Due to the situation that has arisen with the COVID, users have to work from home. So the most traditional solution is remote access to the desktop. For this reason we used the VPN service of Windows 2003 domain controller to connect the user's home pc to the corporate domain and then rdp to the desired PC. Is there a better solution? I have read that Windows 2016 has many and incredible features about remote work but I have been told that it is not possible to use it for this purpose because it is not the domain controller. Is that true? |
changing netmask of loopback interface Posted: 17 Nov 2021 05:16 AM PST I can change netmask of loopback inteface (usually What negative effects can this have? What pitfalls it hides? |
Why does Samba4 fail with NT_STATUS_INTERNAL_ERROR on Ubuntu 18.04 Posted: 17 Nov 2021 07:02 AM PST I am having trouble setting up Samba as an AD DC. At present I have 1 Ubuntu box which I'd like to use to share files with other computers in my home network. At present the same machine which servers as the DC would also serve the files. This is a home setup, meaning that I am using a consumer-grade router.
To begin each iteration of my attempts to get it working I perform the recommended steps to kill any samba processes etc and remove the files discussed in Preparing the Installation from the setup guide https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller I then kill all processes as described. I verify that samba is installed The instructions also read
The exact contents are Note that the Ubuntu box's IP on the local network is Great, so far so good. I copy the I skip the Setting up the AD DNS back end as I am using My I skip Create a reverse zone and then copy the kerberos file as suggested. This is where it goes wrong. I've started samba with I'm at somewhat of a loss here. A few things to note. My ubuntu machine's static IP on my local network is NOT 192.168.1.1 (the IP I used in the config steps above). It is 192.168.1.20. I've tried using that IP as well, to no avail. I have also tried using I have found some articles online variously offering solutions or further test functions but have yet to find anything that solves my problem. In the end I would like to set up Samba to function as a |
How to run clamd by systemd as daemon on Centos 7 Posted: 17 Nov 2021 06:04 AM PST Below I use the standard config with defaults settings startAfter start no any errors status Looks like the service was not run as daemon. I tried to edit the |
getting SSI's `exec` to work with apache Posted: 17 Nov 2021 06:04 AM PST so i have an apache-2.4.25 (as packaged in Debian/stretch), and would like to use SSI's Unfortunately this gives me an error: In the logfiles it says which I tracked down to having Unfortunately this doesn't help. So I tried with in the Whenever I try to access my page, I get the an error occurred while processing this directive error. So is there a way to disable a previously set option? |
Is there a way to install SSL certificate on EC2 instances running IIS using ebextentions? Posted: 17 Nov 2021 07:02 AM PST I'm trying to find a simple way to install SSL on EC2 instances running IIS without having to RDP into each server. Can it also be configured to add and install the cert upon spinning up instances during auto scaling? I have been looking around for a while, but could not find a simple way to do this. |
Reset subscription or fix web app Posted: 17 Nov 2021 06:04 AM PST I'm trying to set up a web app, but I keep on getting errors. If I try in the portal I keep on seeing that the status is "deleted" and the deployment failed because application insights is not supported in my region. I do not need application insights. In Visual Studio I get the following error
and this occurs no matter which region I choose. I would like to use Western Europe, but can accept a different region if it would just work. I don't mind scraping my whole subscription and starting anew, though I'd rather not if possible. The resource group I certainly don't mind trashing totally. |
Can a database created in MS SQL Server Express be exported to MS SQL standard? Posted: 17 Nov 2021 05:58 AM PST As the title states, can a databse created in MS SQL Server Express be exported to MS SQL standard? For the inent of the question, the version in question is 2008. |
How to change time source from "Local CMOS Clock" to "DC" Posted: 17 Nov 2021 06:19 AM PST In a domain, I want to set DC as time server. To do that I use this command: and In the client servers I use but some of the clients still use Local CMS Clock. What can I do? Thanks in advance. Edit: I also run on client end but the time server is still Local CMOS Clock for the client. On the AD source is what I set. (nist.expertssmi.com) On the clientend, source is Local CMOS Clock |
Forwarding ports to guests in libvirt / KVM Posted: 17 Nov 2021 05:36 AM PST How can I forward ports on a server running libvirt/KVM to specified ports on VM's, when using NAT? For example, the host has a public IP of 1.2.3.4. I want to forward port 80 to 10.0.0.1 and port 22 to 10.0.0.2. I assume I need to add iptables rules, but I'm not sure where is appropriate and what exactly should be specified. Output of iptables -L Output of ifconfig I'm using Ubuntu 10.04. |
Ubuntu Apache: httpd.conf or apache2.conf? Posted: 17 Nov 2021 07:03 AM PST which one of these two files should I use to configure Apache? The It confuses me! |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment