Recent Questions - Server Fault |
- Calculating the difference of size between fdisk and df
- docker compose smb bind password
- nginx redirect loop on reverse proxy
- Accessing Azure resources from an offsite location
- EKS: kubectl exec does not respect streamingConnectionIdleTimeout
- Windows: saving logs of disk accesses?
- How do I install PHP 5.5 on a new version of CentOS or Amazon Linux or Redhat or Ubuntu?
- How to use "fence_vbox" as fencing device in Virtual Box?
- Client packets not arriving to wireguard server
- Unknown process responding to web requests on AWS server copy
- SCAP Compliance Checker 5.4.2 Uninstall Error
- Optimal use of multiple interfaces do download a large file (a riff on load balancing)
- Postfix - receiving response was: 550 5.1.1 - User unknown in local recipient table
- Redirecting traffic via Wireguard VPN
- Can you use ostree to manage chroots?
- GCP instance is not able to ping to external server
- ESXi: DNS appears not working properly
- MongoDB keeps failing on startup with exit code, status=100
- Difference between cryptographic providers for Windows Server 2019 certificate authority private key?
- How to debug frequent "connection reset by peer"
- Docker, csf and mariadb connection
- How to setup a different root for an Nginx location?
- Apache 2.4.23 reports "server certificate does NOT include an ID", but everything works
- caching system between nginx and gunicorn for django
- SCP copy windows local file to linux remote folder
- Ubuntu server not using localhost IP for internal communication
- How to create client SSL certificates for staff using CaCert CA?
- HKEY_USERS entry for service account
- Difference between "NT AUTHORITY\NETWORK SERVICE" and "NT AUTHORITY\SYSTEM"
- Is the context of local user of AD-joined machine a domain machine account or of local machine account?
Calculating the difference of size between fdisk and df Posted: 11 Jun 2022 04:08 PM PDT Say I have a 1TB SSD and I want to create a 400GB partition with ext4. It turns out that the size I saw in So now I use Is there any formula to create a partition with the size I want? |
docker compose smb bind password Posted: 11 Jun 2022 02:26 PM PDT I've currently got the following in my docker-compose: How do I get my password out of here, ideally into a docker secret? I'm not bound to cifs, alternatives are possible. |
nginx redirect loop on reverse proxy Posted: 11 Jun 2022 02:30 PM PDT I ve this nginx configuration. Everything was working well but it suddenly began to make a 302 redirect loop on /wagtail endpoint. The root endpoint is working well. I ve tried to put and remove proxy_set_header Host $host but it is the same. Here is the nginx.conf : And here is the associated docker-compose.yml file : It is the same when i update the version of nginx |
Accessing Azure resources from an offsite location Posted: 11 Jun 2022 12:40 PM PDT I have an azure application that runs on PaaS architecture. To access azure resources like sql or add, I would like that to go through a secure virtual machine instead of from personal devices which is what happens today. The problem today is that access is from personal devices which can be a personal Pc or laptop, secondly if the personal laptop is compromised this presents a risk. Third point, IP addresses change from ISP's when coming from a personal device this means that multiple up address entries are required for the sql firewall, if access is from a VM, the hassle of managing public IP address entries can be eliminated. What is the best way to configure this (jump host, bastion host, VPN) and is it possible to have more than one virtual machine for access from a disaster recovery perspective. I am after a few options with some comments on the cost implication please., and if it can be on demand. |
EKS: kubectl exec does not respect streamingConnectionIdleTimeout Posted: 11 Jun 2022 11:48 AM PDT Using EKS with Kubernetes 1.21, managed nodegroups in a private subnet. I'm trying to set the cluster up so that I'm aware of https://github.com/containerd/containerd/issues/5563, except we're on 1.21 with Docker runtime, not containerd yet. I set And confirmed with However, I confirmed Reading through How I would appreciate any input on this topic. |
Windows: saving logs of disk accesses? Posted: 11 Jun 2022 11:34 AM PDT The concrete thing I'd like to get is a Do you know any program like this? SysInternal's DiskMon would be good enough if it had a "continuous saving" and command line support as |
How do I install PHP 5.5 on a new version of CentOS or Amazon Linux or Redhat or Ubuntu? Posted: 11 Jun 2022 02:00 PM PDT I just joined a new company. I've been asked to build a CI/CD pipeline for a Laravel app. It is very fragile. It was built for PHP 5.5 and it breaks when they've tried to upgrade to 5.6 or 7. They don't have the time or resources to repair the app, or modernize it any way. Therefore we must keep running PHP 5.5. On Amazon, I"m free to spin up any kind of EC2 instance. I can run with Redhat or CentOS or Ubuntu or Amazon Linux. But once I've launched the instance, I need to find a way to install PHP 5.5. Does anyone know which of these different flavors of Linux is the most likely to support PHP 5.5? I think most of these run newer versions of PHP by default, so I would need to downgrade the versions. Can anyone point me to information about that? |
How to use "fence_vbox" as fencing device in Virtual Box? Posted: 11 Jun 2022 12:05 PM PDT I'm just learning about clustering. And now I'm so curious about fencing device using stonith fence_vbox for Virtual Box. I'm searching for documentation about fence_vbox, but no found specific documentation about how to use it. If you have experience using stonith fence_vbox as fencing device, I'm really apreciate if you want to share with me about how to use it. |
Client packets not arriving to wireguard server Posted: 11 Jun 2022 11:56 AM PDT This is my wireguard client config: I see in wireshark Handshake Initiation and Source and Destination addresses are correct, but I am not getting responses from server. But when I run tcpdump -n -X -i ens160 udp port 50123 on server I see nothing. I thought there was a problem with the firewall, but no. I tried to send something over socat But server cant still receive packets (datagrams) from wireguard client. I tried workaround using socat as a relay: and changed And it started to work. But why it works over socat and not using direct connection? I have this versions: PS: I tried same client setup on android and it worked, there must be some problem with archlinux version. Dmesg says this (on achlinux): Where |
Unknown process responding to web requests on AWS server copy Posted: 11 Jun 2022 11:22 AM PDT I am trying to work on a web site bug that, at the moment, only manifests in production. Since I can't take down that environment I'm trying to create a copy that is as close as possible. The site is Kentico 11-based, running on Windows Server 2019 Datacenter on an Amazon EC2 t2 instance, backed by an RDS SQL Server Web Edition instance. To create the test environment I make a backup dump of the database and restore it to a different database on the instance, and create an AMI of the EC2 and use that launch a new EC2 instance. This process has worked dozens of times in the past but this time, and I've done it four times so far today, the web site on the new instance will never return anything but a generic 404 status (that is, the minimal 404 page returned by IIS itself, not from Kentico). Oddly, these requests to the copy are not being logged in its IIS request log. I cannot see anything that's different between the production instance and the copy except for details like the IP address and database connection string, and I cannot imagine any reason why there would be any difference; I created the AMI only minutes before launching the new instance. I've spent an entire day trying again and Googling until my fingers are numb...Does anyone have any ideas or suggestions at all on why the copy isn't working as expected or how to get it to? EDIT: Wondering what was responding to HTTP requests if IIS was not, I took a look at the response header, which includes this: EDIT: I updated the title for more clarity |
SCAP Compliance Checker 5.4.2 Uninstall Error Posted: 11 Jun 2022 03:36 PM PDT Does anyone have problems with the SCAP Compliance Checker 5.4.2 on Windows 10 Uninstall Process. I am trying to uninstall it but it keeps showing an error msg.Err_MSG I've tried restarting, checking for the SCC_Client Service or exe running but I cannot find anything. I've tried with PS Explorer and TaskManager to trace down any service which may run but to no success. Does anyone have any pointers on how to uninstall the program?
|
Optimal use of multiple interfaces do download a large file (a riff on load balancing) Posted: 11 Jun 2022 04:01 PM PDT Lets assume a simple setup:
Correct me if I'm wrong, but I'm under the impression that a typical What solutions could one explore to get the 10mbps? Network configuration and software (presumably along the lines of BitTorrent) solutions are all welcome as the ultimate goal is an optimal download. |
Postfix - receiving response was: 550 5.1.1 - User unknown in local recipient table Posted: 11 Jun 2022 03:20 PM PDT I'm trying to setup a webmin - postfix server Because im using cloudflare i follow: Than i follow: This tutorial so i can make the inbox and user now when i try to send email to the maail@domain.net i got this message
im new at postfix and webmin |
Redirecting traffic via Wireguard VPN Posted: 11 Jun 2022 03:35 PM PDT I have a public IPv6 address but not an IPv4. Therefore I want to route the traffic via a VPS with a public IPv4 and an IPv6 address. My question is how to create this type of tunnel with Wireguard. The tunnel from the VPS to a device in my network is not the challenge, but rather how to redirect the packets on the server to that tunnel. I've done a bit of research and my approach would look like this. My Network device VPS Example Client Is this possible? Or do I need to create two WG interfaces and route the traffic between? |
Can you use ostree to manage chroots? Posted: 11 Jun 2022 03:35 PM PDT I've recently started managing a personal server running a fedora derivative. I really like the idea of ostree, but the toolbox seems to get in the way more than I'd like for the tasks I'm working on. Coming from the FreeBSD world, I wanted something akin to jails, which seemed a bit more like chroots than containers. Is there any way to deploy versions of the ostree to a chroot? I'd like to have a shared base across all chroots, but then be able to change the software via rpm-ostree once inside (possibly still seeing those layers from the global ostree). Is this possible? Does it even make sense to take this approach? |
GCP instance is not able to ping to external server Posted: 11 Jun 2022 03:36 PM PDT I have a python script that is executed by a newly created GCP instance every day at a specific time. The instance is destroyed after that. This has been working fine for the past few months. I noticed that for the past few days the script was not working. The GET endpoint fired from the script was timing out. I tried curl from the GCP instance and that too timed out. In fact, I am not able to even ping the external web server. I tried recreating the instance but nothing has worked. I use the default network, default subnet, and default firewall rules. Nothing has changed from my side. Could someone please give me some pointers? |
ESXi: DNS appears not working properly Posted: 11 Jun 2022 04:01 PM PDT I have a working ESXi instance. Until recently, domain resolution worked this way:
Today I realised things aren't working this way. i.e. within LAN, guest1.example.com is not resolved at all. I've confirmed these things:
I'm totally at lost how I can resolve this issue. Any hint would be appreciated.
|
MongoDB keeps failing on startup with exit code, status=100 Posted: 11 Jun 2022 04:01 PM PDT Everytime I start MongoDB, it runs for about 1 second before crashing with the following error:
Also, in the logs file:
I've tried reinstalling MongoDB, giving the mongodb user ownership of /var/lib/mongodb, and removing the mongodb.lock file, to no avail. Any suggestions? |
Posted: 11 Jun 2022 12:03 PM PDT I'm going through the process of creating a Microsoft certificate server on Windows Server 2019 and was wondering what the difference between these cryptographic providers were in the setup wizard? Is this KSP selection only for what's used for the private key of the CA? And can any certificates issued by the CA after setup use a different KSP? |
How to debug frequent "connection reset by peer" Posted: 11 Jun 2022 01:04 PM PDT Recently I started to have very frequent "connection reset by peer" on calls to an external provider. My application (client) is a Go application, doing some simple POST to an external provider over HTTPS Some context:
The host instance ifconfig: I tried:
Couldn't find anything. And am sure there were connection reset by peer during the capture (as we have logging in place). All I wanted to understand is where the So, what options do I have to look for the root cause of all these sudden errors? |
Docker, csf and mariadb connection Posted: 11 Jun 2022 11:09 AM PDT I have a host with csf firewall allowing some external ports like ssh, http, https. I have now installed docker and mariadb through docker. I use docker run command with I try So how can I unblock all local connections from csf to docker containers? |
How to setup a different root for an Nginx location? Posted: 11 Jun 2022 03:00 PM PDT I'm setting up my local web dev server using NGINX and PHP-FPM on OS X. I've installed both services and set up a virtual for
The next thing that I'm trying to set up is an alias for the I've added this location block in my localhost server configuration: but the response on Here are the configs that I used:
* UPDATE * but this still doesn't work and I found out that it's due to how the path is configured. It's a relative symlink. If I create a new symlink to the absolute path, it will work. Examples:
Any ideas on how to configure nginx to allow reading from relative symlinks? |
Apache 2.4.23 reports "server certificate does NOT include an ID", but everything works Posted: 11 Jun 2022 01:04 PM PDT Apache (2.4, both versions .20 and .23) is sending the following waring to my error log: However, when I go to https://host:port/... with Google Chrome, I get the green lock, and clicking on it and looking at the server information gives all the correct information about my server. Is this an apache bug? A failure of my understanding? Should I replace "default" with my host name? openssl x509 -in [cert file] -noout -subject --> subject= .../OU=PlatinumSSL/CN=[host] So I have defined the server name correctly in the conf file, and the certificate has the host name correctly listed. |
caching system between nginx and gunicorn for django Posted: 11 Jun 2022 03:00 PM PDT I have a django project that I'd like to setup caching for. I want my caching system to cache everything after nginx. I found varnish but it has a problem - I use unix socket for communications between gunicorn and Nginx, but varnish doesn't support unix sockets. Is there a way or other caching tool to use? I also using django caching but I need a cache before gunicorn and after nginx. What is the best method? |
SCP copy windows local file to linux remote folder Posted: 11 Jun 2022 03:36 PM PDT How to get a file from my path d:/test.txt and copy it to /etc/var/test/test.txt? I've tried this: but that didn't work. How do I set the hard disk from where I copy my files? |
Ubuntu server not using localhost IP for internal communication Posted: 11 Jun 2022 02:03 PM PDT I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to the logs its still trying to connect to Amavis with my eth0 IP address which is connected to the internet. I dont want to allow this IP address in the configs. Is there any way how to tell Ubuntu to use the 127.0.0.1 instead of my internet IP address? I dont know why this is happening. Thank you. Edit: More info This is what I set in postfix main.cf: and master.cf: Also this is what I have in /etc/amavis/conf.d/50-user: But when I try to receive a mail, in the logs there is: where 1.2.3.4 is my IP address of eth0 interface.. Why its not accessing it with 127.0.0.1 but with eth0 IP address? I think I am missing something and this might be just how it works.. I am just asking if there is any explanation or possibility to change this. Because now I always have to add my IP address to |
How to create client SSL certificates for staff using CaCert CA? Posted: 11 Jun 2022 02:03 PM PDT I would like to restrict the access of a homepage using client SSL certificates. The most tutorials on the internet describe it like this:
I don't want to self-sign my server key, but use CaCert instead. So I omitted the first step. But when I want to create the client certificates, which key do I need to use? I don't have CaCerts CA.key. |
HKEY_USERS entry for service account Posted: 11 Jun 2022 12:03 PM PDT I've created a service account for a scheduled task on our 2008R2 server. The task runs a PowerShell script, which will, among other things, download an archive from a Linux server every time it is run using PuTTY's PSCP. However, it does not work, since the service account has never connected to that server before, and does not know its host key. Reading the manual and searching, it turns out that these keys are stored in the registry, under But here is the problem: since it is not allowed local login, the service account does not have a local profile, so it does not have an entry in How can this be fixed? I doubt it'd be a very good idea to just create the |
Difference between "NT AUTHORITY\NETWORK SERVICE" and "NT AUTHORITY\SYSTEM" Posted: 11 Jun 2022 03:36 PM PDT I am installing MS SQL Server 2008 R2 and I got to the window where I have to set the service accounts. I want to know the difference between |
Posted: 11 Jun 2022 03:36 PM PDT I am a developer and curious how Windows server machines are used.
In context of definition of (*), under which account the booted Windows AD-joined-machine is identified/secured by AD DC (Domain Controller): AD-joined machine show login screen permitting 2 basic logins thereafter:
In which context - B) or C) - runs the following after A), i.e after login screen, the further logged-in local user 1)? Update 1: This question is about when a Windows machine is booted and shows the interactive login screen with choices.
Well, basically I am re-writing the original questions. But, having read (*), I cannot understand why "Machine SID for computer DEMOSYSTEM" (in Table 1) is needed at all. It is not used to access other machine before joining machine to AD, even less it seems to be needed after (joining a machine to AD). Update 2: Subquestions forked from this question:
Cited: Related question: |
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