Recent Questions - Server Fault |
- Can you run SAS drive from SAS backplane to SATA on mobo?
- nginx force nginx to resolve dns - error 9#9 recv() (failed connection refused)
- Incorrect PTP timestamps
- Dedicated Server For Social Media App [closed]
- pg_dump is not the same version as psql
- Server Connection Issue - With OK CPU/RAM
- nginx returns 404 when serving React from subdirectory
- Azure VM - Unable to RDP [closed]
- WinRM Python File copier plugin : only appends, never overwrites?
- Does Windows SSO work with ADFS 2016 for OIDC Web Application?
- I can't upload files (Apache)
- using domain controller to allow remote vpn hosts access to certain parts of internal network
- Slurm srun cannot allocate ressources for GPUs - Invalid generic resource specification
- OpenVPN Connect to Community server
- How to keep cheks for task sequence as first step?
- "/run/nginx.pid" failed (2: No such file or directory) to [::]:80 failed (98: Address already in use, to [::]:443 failed 98: Address already in use
- Windows 2012r2 domain environment and NTLM logins
- How to install packages from command line on Suse
- Error response from daemon: {“message”:“No such container: kubelet”}
- Nginx TCP PROXY forward Client IP
- Unable to connect to openvpn with saved password "auth-users-pass"
- IIS 10 (MS Server 2016) FTPs - failed to retrieve directory listing
- Missing or skipped ICMP_Seq In AIX Ping
- Nginx+gunicorn 404
- Join Azure VM to Azure AD
- Rewriting main domain to subdomain (mod_rewrite)
- How to alter the global broadcast address (255.255.255.255) behavior on Windows?
Can you run SAS drive from SAS backplane to SATA on mobo? Posted: 06 Dec 2021 10:05 AM PST Have an SAS drive pugged into SAS port on the backplane, and it is connected to SATA on the motherboard. Is it possible to use it this way? It is a testing server for cloning another SSD. |
nginx force nginx to resolve dns - error 9#9 recv() (failed connection refused) Posted: 06 Dec 2021 09:37 AM PST I have a hostname like this: https://abc.xyz.com I want to force resolve the dns everytime a request arrives, because if the dns of abc.xyz.com changes i want nginx to still be able to proxy to the site, therefore need to resolve the dns again. Now i followed this post How to force nginx to resolve DNS (of a dynamic hostname) everytime when doing proxy_pass? and my configuration looks like this And i get this error I don't understand what i'm doing wrong here, i guess it has something to do with the resolver. The only difference is that the guy in the post put dns there Any help would be appreatiated! |
Posted: 06 Dec 2021 09:07 AM PST I have trouble syncing to Linux systems using PTP. Setup: Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the other as the slave. Debian 10, Kernel: 4.19.94 Driver for the Phy is loaded. Using linuxptp v3.1 On the master system I run the command: On the client system I run: Content of configMaster.cfg: Content of configSlave.cfg: This results in the following output on the slave: The reported offset is approximatly 40 min. Before running ptp4l I had set the PTP clocks in the PHYs with Each time ptp4l reports a "master offset s1 ..." it does step the PTP clock back by 40 min (checked with I also looked into the network traffic with Wireshark and saw, that the Follow-Up messages from the master contain a timestamp that is by about 69 min of what the PTP clock in the PHY is set to. After adding debug outputs to ptp4l I saw, that on the slave, the timestamp it extrats from the cmsgs returned from the socket is offset by about -27 min from what the client PTP clock actually is. The difference from the false timestamps (+69 min) send by the master and the falsely read timestamps (-27 min) by the client results in the 40 min of assumed offset between the master clock and the client clock. |
Dedicated Server For Social Media App [closed] Posted: 06 Dec 2021 09:23 AM PST I'm using Godaddy.com Established - Business Hosting:
So i don't like there support team & limitation they provide to control the site one of them that i can not backup my own database if it size more than 200MB until i pay for services to do that so i would like to move to difference hosting with minimum specification like below So What is you recommendation for this ? Dedicated Server Hosting:
|
pg_dump is not the same version as psql Posted: 06 Dec 2021 09:06 AM PST I updated postgres to version 14. But Any idea why that is? If I completely uninstalled postgres to do a fresh install would I lose any local databases as well? Update: I purged everything postgres and reinstalled |
Server Connection Issue - With OK CPU/RAM Posted: 06 Dec 2021 08:00 AM PST Recently we had an occurrence where we were unable to connect to mutliple masters on our Redis cluster. Connections from our code base were timing out. We were also unable to SSH into the box during this period, essentially locking us out. This has happened on multiple occassions and each time the CPU was around 20% and memory usage was also around 20%. The number of tcp connections varied during each event between 7k and 12k, well below what we would expect to be an alarming level. Connections that were already established continued to function normally. Among those existing connections were our metrics exporters, so they were able to still collect metrics on connections/cpu etc. The network in/out would slowly decline as existing connections died off, however new ones could not connect at all, as if they were refused by the server. We have reviewed settings such as SOMAXCONN and available file descriptors, but have yet been able to determine the reason new connections could not be made, as there were no clear anomalies in any stats we reviewed prior to the occurrence. The servers are running Amazon Linux 2 on x2gd.medium instance types on AWS. The inability to log in via SSH, while the majority of the traffic was on another port seemed quite odd. Does anyone have any ideas as to why connections could not be made, while all obvious metrics seemed OK? |
nginx returns 404 when serving React from subdirectory Posted: 06 Dec 2021 07:56 AM PST I've started with a React application served from nginx root. Then I followed this guide to serve the application from a sub-directory ( to this: This kinda works - I'm able to browse to https://localhost/app, and get all the static files as expected. My problem is with reloading URLs which are controlled by React Router (i.e. sending the nginx server a URL which includes parts after the
The first simply returned the homepage. The second caused nginx to default to index.html, and React router took care to internally navigate to the correct page ( After the change, the first request works, but the 2nd fails with 404:
By adding some debug headers, I see that after the change, in the 2nd case, nginx does not execute the block at all. What am I doing wrong? |
Azure VM - Unable to RDP [closed] Posted: 06 Dec 2021 07:39 AM PST I have an Azure VM on which I have enabled Hyper-V (Nested Virtualization), and I have 4 local VMs in in, one of which is a Domain Controller. Full disclosure, I know nothing about DCs, so what I am saying next may not make a lot of sense. The other three hyper-v machines are connected to it [???], but now the issue is that my main VM (the host) is not turning on. Like... When I try to RDP into it from the Portal, this is what I get: I have tried many things (that honestly I am too tired to write), and nothing has worked. For the life of me, I cannot figure out what is going on. The RDP inbound port is enabled. (On an unrelated incident) I've seem this behaviour when I had turned off the option to RDP into the VM from within the VM itself (from the Server Manager). I didn't know what to do back then, so I used to just delete it and redeploy. I cannot do that here (in the issue at hand), because I'd like to know if there's a solution to this. Like, running an Azure PS command from the Azure Portal to re-enable it, or some other work around. |
WinRM Python File copier plugin : only appends, never overwrites? Posted: 06 Dec 2021 07:30 AM PST I am unable to change the behavior of the WinRM File Copier in Rundeck, it is a Python based plugin, launched from a RHEL 7.9 (Maipo) Linux Rundeck server that is connected to an Active Directory server. When it copies an existing file from a Rundeck server (Linux, with Kerberos/Active Directory authentication) to Windows based targets, it appends its content. I am looking how to force overwriting of the target file instead. Until now, I have to delete the target file each time before a file is copied to the target. Does someone know how to modify this behavior in order to overwrite the content, not append it ? I checked in several Rundeck settings without success. Rundeck version : 3.2.1-20200113 WinRM Python File Copier plugin: 2.0.12 WinRM Node Executor Python plugin: 2.0.12 Python2 is the version used on the Linux RHEL 7.9 Rundeck server Thanks Question also posted on : https://superuser.com/questions/1690791/winrm-file-copier-plugin-only-appends-never-overwrites |
Does Windows SSO work with ADFS 2016 for OIDC Web Application? Posted: 06 Dec 2021 07:03 AM PST Our web application uses OpenID-Connect (OIDC) Implicit Flow for user login with ADFS 2016. Login generally works, however users get login screen for user name and password. Does Windows-Login / SSO (kerberos?) work with such setup so users don't get login screen but are automatically logged in with their windows login? If so, what are requirements for SSO (kerberos?) to work for such setup? What would be first steps to trouble-shoot why login screen is shown? |
Posted: 06 Dec 2021 06:56 AM PST I have a Symfony app running on docker exposing the port 8000, then I proxy the requests from my domain to http://localhost:8000/ it works well but when I want to send files using multipart/form-data it returns a 500 error code without more information, if I make the request directly to http://my_ip:8000 it works fine so I think it is a proxy error. I checked apache errors.log and I get this error
This is my apache config: I tried to add some properties like "SetEnv proxy-sendchunked 1" and "ProxyTimeout 1000" but it still not working. |
using domain controller to allow remote vpn hosts access to certain parts of internal network Posted: 06 Dec 2021 06:51 AM PST I'm looking for a way to establish secure connections from remote users to an internal closed lan. I can already connect the remote machine to a samba domain controller through an openvpn 2.x client before login by using a scheduled task, so remote connection to the domain is solved. What I would need now is to know if there is a way to have the domain controller tell a firewall that this or that machine belongs to the domain and have the firewall use this information to discriminate whether the host can access a different internal network. For example, I would have the openvpn server (10.0.0.2) give each user a reserved IP in the 10.0.0.x range, so that they can see the domain controller (10.0.0.3). Then the domain controller tells the firewall (10.0.0.1, gateway) whether the machines connected using those IP's are joined to the domain and are therefore safe to let into an internal network through another interface the firewall is connected to, for example 10.0.1.x. Until that condition is fulfilled, the users would only have access to the 10.0.0.x "lobby". The idea is to prevent the remote user from simply using the vpn credentials and certificate on any machine (potentially unsafe machines that are running god knows what) to access the secure internal network. I already know about the LDAP authentication for openvpn, but as far as I know that only asks the domain controller whether x credentials are ok, and doesn't check if the machine is actually on the domain. Does this exist? Is it even possible? Is it even necessary, or am I looking at this the wrong way and there's a much easier alternative? Thanks in advance. |
Slurm srun cannot allocate ressources for GPUs - Invalid generic resource specification Posted: 06 Dec 2021 06:58 AM PST I am able to launch a job on a GPU server the traditional way (using CPU and MEM as consumables): but trying to use the GPUs will give an error: I checked this question but it doesn't help in my case. Slurm.confOn all nodes cgroup.confOn all nodes gres.confOnly on GPU servers As for the log of the GPU server: I would like some guidance on how to resolve this issue, please. Edits: As requested by @Gerald Schneider |
OpenVPN Connect to Community server Posted: 06 Dec 2021 06:40 AM PST Just a quick question. Is it possible to use OpenVPN Connect v3 to connect to a Community version of an OpenVPN server (not OpenVPN Access server)? |
How to keep cheks for task sequence as first step? Posted: 06 Dec 2021 06:22 AM PST In mdt task sequence as first step (before OS install), with system macaddress/machine serial number can we do API call and check task seqnce to continue or stop based on its value retruned from API? Able to call API as post configuration step after OS install but not before it |
Posted: 06 Dec 2021 07:18 AM PST Nginx makes this error : And my website is not available. I put in my website config nginx in I run |
Windows 2012r2 domain environment and NTLM logins Posted: 06 Dec 2021 06:47 AM PST I would disable all NTLM in my domain environment, but before that I enabled on domain controller NTLM auditing, and I see some events 8004 with my local domain users and computers in these events description. All my clients have Windows 10 installed, so why NTLM is still used in my environment, because it should be used Kerberos as default? |
How to install packages from command line on Suse Posted: 06 Dec 2021 08:32 AM PST What is the Suse version of A fairly intense session of googling suggests that it may be If I am an administrator for a remote Suse server, how do I install packages from the command line? (Not using a GUI and preferably installing from a central repo) |
Error response from daemon: {“message”:“No such container: kubelet”} Posted: 06 Dec 2021 09:06 AM PST When adding a new node to a Kubernetes cluster I end up with this error : This error occurs on a cluster that is already damaged. There is only one node left out of 3. The node remaining a priori a problem of certificate recovery and distribution. SSL is no longer functional on this node. For information, the Kubernetes cluster has been deployed through Rancher. The etcd container regularly reboots on node 3, and etcd does not want to deploy to the other nodes that I am trying to re-integrate into the cluster. Kubelet is launched in a Docker container, itself launched by Rancher when he created the Kubernetes cluster. Regarding the tests carried out, I relaunched a new docker container with etcd, I tried to start again from a snapshot ... nothing allows to relaunch the cluster. Adding a new node is also not functional. From what I've seen, there is also an issue with ssl certificates created by Rancher that he cannot find |
Nginx TCP PROXY forward Client IP Posted: 06 Dec 2021 09:06 AM PST i use nginx as tcp reverse proxy. clients only show me the proxy ip in backend. but i need real user ip. i try to include proxy_params but its dont work. nginx conf: xxx.proxy: what is to do to include proxy_params for showing real client ip in backend? regards. |
Unable to connect to openvpn with saved password "auth-users-pass" Posted: 06 Dec 2021 07:07 AM PST I'm trying to save the username, and password of my Here is my config file: When connecting, i'm receiving errors:
|
IIS 10 (MS Server 2016) FTPs - failed to retrieve directory listing Posted: 06 Dec 2021 08:03 AM PST I'm trying to get Microsoft Server 2016's IIS 10 to run FTPS. I have it working internally (need to change the External IP Address of Firewall to match internal IP (for LAN) and external IP (for WAN), but it works.) When I try to connect using FileZilla from outside the LAN, I receive a "Failed to retrieve directory listing" I have ports 989/990 TCP, and 5000-5005 forwarding to the server using my Verizon FiOS NAT router. I also have Windows Firewall set to accept in/out bound 5000-5005 (wasn't sure if it was needed), and to allow 989/990 in. I'm also attempting to use my MacBook Pro from outside my LAN. Using Finder, it prompts me for credentials (which wouldn't happen if it was completely rejected.) It tries to enter passive mode (11,22,33,44,237,36) which I think means on port 60708? Any ideas? |
Missing or skipped ICMP_Seq In AIX Ping Posted: 06 Dec 2021 08:03 AM PST I noticed an intermittent slow response on the ping from my application server to my database server. So to diagnose, I tested using a standard ping and Telnet tests. For the telnet tests, it was able to connect. However some telnet took longer to connect than others. For the ping, I noticed that I am missing a lot of icmp_seq. It was skipping occasionally. On the other server, it was communicating very sequentially. But for the app to web and app to app, there were no skipped items. From the app to DB there is. Anyone have any idea on what is happening ? Just to add, the database response was very intermittent as well. Sometimes slow. The application server and database are on different network segments as well. What can we look at ? |
Posted: 06 Dec 2021 07:07 AM PST supervisorctl says that gunicorn procces have a RUNNING state and I thought that it is success. But something is wrong yet. Resource available only by IP Nginx config: gunicorn script: |
Posted: 06 Dec 2021 07:38 AM PST Using Microsoft Azure I have a default Active Directory domain (apparently) and I can create VMs. To my surprise, such VMs are not joined to the AD domain automatically and domain users can't log into it. Is it possible to join these Azure VMs to the Azure Default AD? How or why not? Thanks! |
Rewriting main domain to subdomain (mod_rewrite) Posted: 06 Dec 2021 06:52 AM PST So I'm trying to write a mod_rewrite rule that will send everything on my main domain to a subdomain. For example, redirect to Here's what I have so far: But it doesn't seem to working. Any tips? |
How to alter the global broadcast address (255.255.255.255) behavior on Windows? Posted: 06 Dec 2021 06:20 AM PST Desired behaviorWhen an application sends a packet to the global broadcast IP address On Linux and probably other OSes as well this seems to work. Windows XP and Windows 7 exhibit different behaviors about this, and neither behaviour is desirable for my situation. Windows XP behaviorThe packet will be sent correctly to the first network interface (interface order is specified in "Network Connections/Advanced/Advanced Settings"). It will also be sent to the other interfaces. Everything is right so far. Problem is, when sending to the other interfaces, the source address of the broadcast packet is the IP address of the first interface. For example, imagine this network configuration (order is important):
Now if I send a broadcast packet, the following packets will be sent (with source and destination IP addresses):
Windows 7 behaviorModifying the network interface order doesn't seem to have any effect on Windows 7. Instead, broadcast seems to be controlled by the IP route table. See the You can change the interface through which global broadcast packets will be sent very easily (just add a persistent Conclusion
The goalI want to change this global IP broadcast support in Windows (preferably Windows 7) once and for all. Of course the better way would be to have some kind of supported configuration change (registry hack or similar), but I'm open to all suggestions. Any ideas? |
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