Recent Questions - Server Fault |
- in drbd 9 cant parse node-id or connection
- No Bonjour even on successful OpenVPN TAP connection
- Running Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine, Need SSH access to vagrant from windows 11
- ERROR: NotSupportedError - The EB CLI cannot find your SSH key file for keyname
- How to install memcache-top
- HINT on 127: "Command not found" fail2ban
- How to redirect traffic from squid to vpn?
- Can't SSH into Raspberry Pi Ubuntu 20.04 [closed]
- Intel S2600JF server: Processor PCIe Link Speed menu in the BIOS is missing
- How can one recover/write a label (clone existing one)?
- What Windows drivers survive a wipe / reset?
- ZFS performance: Extreme low write speed
- Using Gitlab docker behind nginx proxy manager docker
- Apache web server won't display a webpage
- Windows server 2016 Failover Cluster does not complete Forming the cluster
- Slow Mailbox Migration "within" Exchange 2016 databases on same server
- TONS of 4625 events. Failed login attempts. No IP, no username
- How to find source of inherited permission on Exchange online mailbox?
- "Couldn't resolve host name: Could not resolve host:" in Zabbix
- snmpget error: “No Such Object available on this agent at this OID”
- Block linux bridge traffic (only one way) using iptables or ebtables
- Https on iis not working with domain name of ip address
- Why does a RewriteCond %{REQUEST_URI} interfere with a second NOT condition?
- Deployment of node js app listening on two separate ports under nginx
- Install Language Pack On Windows Server Core (2012 R2)
- Reverse Proxy with Nginx showing default screen
- C#/asp.net application runs fine on localhost (intranet), but not on server (Internet)
- bash rsync is Killed by signal 2
- SIP INVITE packet has WAN address rather than call manager LAN IP
- Moving files using sftp
in drbd 9 cant parse node-id or connection Posted: 04 Dec 2021 10:31 PM PST according to https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ and http://manpages.ubuntu.com/manpages/bionic/man5/drbd.conf-9.0.5.html I'd configured my drbd config . my config: when i wanna up my resource c_ssd1_drbd1 with command it shows me this error: and if i comment node-id after that it cant parse connection!! why?? :(( thanks to help me... | |||||||||||||||
No Bonjour even on successful OpenVPN TAP connection Posted: 04 Dec 2021 10:00 PM PST I have a wireless printer/scanner on a remote network that is accessible via OpenVPN server in eth-bridge mode running on Ubuntu 20.04 host (in the same remote network as the scanner of course). IP printing is fine and working, its the scanner service I need using tools on client machine(s), in this case OSX 10.15.7 via tunnelblick, thus why i have set up an ethernet-bridge on server. Despite following OpenVPN documentation and other helpful guides, and what appears to be a working ovpn layer 2 server that is accepting clients - I am still not seeing the expected mdns broadcast from any server-side devices. As I understand, this is what is needed to use the scanner via most imaging software (image capture and vuescan for my use-case). A few points in my troubleshooting process: • client connects, TAP sets up and is assigned IP according to server-bridge directive, placing client in server side LAN Maybe this specific traffic is being blocked from the TAP interface (client or server) in some other way? I have found only a handful of references to partially similar issues, none of which have seemed to provide resolution - I am hopeful for some guidance on further troubleshooting. The following workarounds are not preferred and have been inadequate: I am of course open to alternative methods of accomplishing the intended purpose, though OpenVPN TAP seems to be the more ubiquitous solution for this kind of thing, so what am I missing here? Server side config, iptables and interface details below for reference: Server Config Iptables Netplan config | |||||||||||||||
Posted: 04 Dec 2021 10:37 PM PST I am doing a computer vision project, and I have Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine. I'd like to use the Windows 11 host machine for the CV since it needs a lot of processing power, and communicate with a python app in vagrant currently running using SSH, since it's not a very resource intensive app. I have a port forwarded (8000 -> 8000) in virtual box to access the web interface of the app I need, and I can access it from my browser on Firefox in Windows 11. The problem arises when I attempt to ssh into vagrant (2222->2222) putty gives an error for connection refused, windows cmd gives "kex_exchange_identification: read: Connection aborted" I've tried getting private key, I've tried all variants of ssh commands that I could find, but it's simply not working. Inside Ubuntu I am able to simply type "vagrant ssh" and it will connect to the ssh without any delay. Am I missing something? I usually use WSL2 for programming in linux, but my particular application requires that it runs in vagrant in ubuntu. Nevermind, I'm an idiot. Installed openssh in ubuntu and was able to access vagrant. | |||||||||||||||
ERROR: NotSupportedError - The EB CLI cannot find your SSH key file for keyname Posted: 04 Dec 2021 09:04 PM PST Trying to deploy an app on AWS and this is only one of the hurdles I've had to deal with. I am trying to connect to an Elastic Beanstalk instance and when I attempt to connect with the awsebcli tool I get this error: ERROR: NotSupportedError - The EB CLI cannot find your SSH key file for keyname "HFA". Your SSH key file must be located in the .ssh folder in your home directory. I do not have this keypair. I cannot get this keypair. I do not want to use this keypair. Nothing I do in the AWS Console (including nuking the instance) will convince AWS of this. There is nothing I need in the current account (this is a free tier account for a school project and at this point I would get another one but it's the principle of the thing). In short, is there any way I can generate another set of SSH credentials? The EB CLI will happily ask me if I want a new set but then asks for the old one when I try to connect and it's driving me nuts. | |||||||||||||||
Posted: 04 Dec 2021 07:20 PM PST How to install memcache-top via SSH please? It hosted on Google code: https://code.google.com/archive/p/memcache-top/downloads Thank you. | |||||||||||||||
HINT on 127: "Command not found" fail2ban Posted: 04 Dec 2021 03:56 PM PST I have a problem with Fail2ban. In the log I have this: 2021-12-05 00:49:23,968 fail2ban.utils [979765]: ERROR 7f9a6df8cdf0 -- stderr: '/bin/sh: 1: iptables: not found' 2021-12-05 00:49:23,968 fail2ban.utils [979765]: ERROR 7f9a6df8cdf0 -- stderr: '/bin/sh: 2: iptables: not found' 2021-12-05 00:49:23,968 fail2ban.utils [979765]: ERROR 7f9a6df8cdf0 -- stderr: '/bin/sh: 3: iptables: not found' 2021-12-05 00:49:23,968 fail2ban.utils [979765]: ERROR 7f9a6df8cdf0 -- returned 127 2021-12-05 00:49:23,969 fail2ban.utils [979765]: INFO HINT on 127: "Command not found". Make sure that all commands in 'iptables -w -N f2b-nginx-badbots\niptables -w -A f2b-nginx-badbots -j RETURN\niptables -w -I INPUT -p tcp -j f2b-nginx-badbots' are in the PATH of fail2ban-server process (grep -a PATH= /proc/ Can someone enlighten me? thanks in advance | |||||||||||||||
How to redirect traffic from squid to vpn? Posted: 04 Dec 2021 02:46 PM PST I have a windows machine with a squid server and VPN client connection(which is not the default gateway) What I want is to redirect some traffic from squid to my default ethernet connection and some to VPN. squid conf 2004 port works as expected through my Ethernet adapter, but redirect to vpn doesn't work, the log contains | |||||||||||||||
Can't SSH into Raspberry Pi Ubuntu 20.04 [closed] Posted: 04 Dec 2021 01:29 PM PST I'm trying to follow this tutorial on setting up a headless Raspberry Pi 3B v1.2 With Ubuntu 20.04: https://roboticsbackend.com/install-ubuntu-on-raspberry-pi-without-monitor/#ssh_setup The Raspberry Pi connects as expected to my WiFi hotspot from my Android smartphone, but when I try to SSH into the Raspberry Pi, it refuses the connection. The tutorial says SSH is enabled by default as you have "ssh_pwauth: true" in the "user-data" file. So why can't I still not connect? | |||||||||||||||
Intel S2600JF server: Processor PCIe Link Speed menu in the BIOS is missing Posted: 04 Dec 2021 01:24 PM PST i have a Intel 4 node server with S2600 JF motherboard per node (older, DDR3 RAM, E5-2600 v1 and v2). I want to insert a NVMe pcie card (with two drives) that requires bifurcation. Based on the description of the motherboard, there is a menu item in the BIOS for this (Advanced - PCI Configuration - Processor PCIe Link Speed), but I did not find this. I updated the BIOS but still can't see, the menu item is missing. See page 91 in pdf. Can the problem be solved? Maybe it depends on motherboard revision? Or maybe it depends on CPU version? (now E5-2620 v1 cpu included, 2 pcs) Thank you in advance for your help, Laszlo | |||||||||||||||
How can one recover/write a label (clone existing one)? Posted: 04 Dec 2021 01:47 PM PST ZFS stores 4 labels, 2 at the beginning of a device, 2 at the end. When they are corrupted a pool cannot be mounted. I had a case of 3 broken labels (
Is there any way I could copy the label #2 to the labels #0, #1, #3? I am assuming they are redundant copies, existing to boost reliability. However, if that were true, I fail to understand why zfs wouldn't import a pool if there's at least one label left intact, and then simply restore the other three. Background on how it came to this issue:
Why was this reported as a label issue? The labels are still broken, even after the import, with only label 2 intact. How can I fix them? Add-on question: Is there a tool such as | |||||||||||||||
What Windows drivers survive a wipe / reset? Posted: 04 Dec 2021 08:40 PM PST We are fully onboard with the modern mobile device management dream. Managing PCs with Intune and onboard them using Autopilot. These PCs are purchased with a clean install of Windows. For those we are migrating, we install a clean copy. When a PC moves between users or roles, we Wipe / reset it. We also rely on Windows Update to maintain its drivers (see Drivers 101). Normally, this works great. However, we have recently found a couple new models who's NIC and hard drive drivers are missing after a Windows reset. I am assuming the difference must either be:
Does anyone know what the difference is or how to determine this? Bonus points for documentation I can share with our hardware vendor. | |||||||||||||||
ZFS performance: Extreme low write speed Posted: 04 Dec 2021 12:48 PM PST I am running a small home server. The specs are:
The server runs some applications like Nextcloud or Gitea and I want to run 1-2 VMs on it. So there are some web applications, databases and VMs. The applications and qcow2 images are stored on a raidz1 pool: When I used the applications in the first weeks, I experienced no problems. But since a few weeks I realized extremly low write speeds. The nextcloud instance is not very fast and when I try to start a fresh VM with Windows 10 it needs about 5 Minutes to get to the login screen. I did some performance testing using
I did some research before posting here and read that I should add a SLOG to the zfs pool for better performance with databases and VMs. But that's no option at the moment. I need to get christmas gifts first :D But even without a SLOG I don't think these figures are correct :( Does anyone have an idea? :) | |||||||||||||||
Using Gitlab docker behind nginx proxy manager docker Posted: 04 Dec 2021 10:04 PM PST I try to setup Nginx Proxy Monitor(NGPM) as a reverse proxy for Gitlab and other websites/services. Gitlab itself is running inside a docker container that has it's own IP address. NGPM is also inside a docker container. Both containers run on an Unraid server (and were installed from the "Apps" which, in this case are prefilled docker templates) I've tried this: But this just lead to a Also tried some other things, but most links I find talk about decoupling the nginx from gitlab with an nginx on the same machine pointing to some gitlab stuff. At this point I am lost to why nothing works, and am just poking around in config files without really knowing what I am doing. I don't even know what to provide you with in order to help me, so please, if you need sth. to help me with my problem I'll gladly attach that. Edit Logs: Access Log like this: Note that I changed the client IP for the purpose of uploading here. Since I'm testing it from within the network where proxy and gitlab are located, this is our external IP. Edit Config: I also tried the http variant for NGPM: | |||||||||||||||
Apache web server won't display a webpage Posted: 04 Dec 2021 05:01 PM PST I've literally tried everything to get my web server broadcasted to the public but it's just not working. Every time I type my server IP in a browser like firefox it just gets stuck on "Waiting for ipaddress..." forever. So here's what I did:
netstat -anp | grep httpd. At first it was listening on tcp6 so I typed in the command nano /etc/httpd/conf/httpd.conf and changed "Listen 80" to "Listen 0.0.0.0:80" I still can't connect to my web server after restarting it. I tried configuring virtual hosts by following the guide here: https://support.rackspace.com/how-to/set-up-virtual-hosts-on-centos/ I am not running IPtables.. I had no problems opening up port 80 in firewalld with the commands I also tried I then typed sudo firewall-cmd --list-all and saw that services http and https were listed I still couldn't get a web page when I type the server ip in my browser so I completely disabled selinux and firewalld. It's still not working. I installed IP tables and opened the necessary ports: In the VPC Network -> Firewall Rules tab in Google Cloud you can clearly see that http is open for all ip ranges I used a curl command in the SSH console to test the website curl -I http://localhost And it responded with 200 OK.. Meaning everything was configured correctly. I opened all the ports and still cannot get a page to display when I type the server IP in my firefox browser. I don't understand.... What am I doing wrong? EDIT: Here is the error log | |||||||||||||||
Windows server 2016 Failover Cluster does not complete Forming the cluster Posted: 04 Dec 2021 04:03 PM PST I am trying to set up a 2 Node failover cluster using Windows server 2016. I deployed the servers in AWS. Here are the details. I used ;
Attaching the iSCSI disks are successful. Cluster Validation is also successful. But when I am going to create the Cluster, it stuck in the FORMING CLUSTER stage for a long time and gives me the following errors. I did a lot of research and I granted the domain administrators' permissions necessary to create cluster resource objects (computers). All the servers are in the same folder. While creating the cluster I can see it creates a computer with the same cluster name I gave. But it does not finish creating the cluster. I struggled so hard to solve this but still no luck. Seeking for a solution. I did a lot of research and I granted the domain administrators' permissions necessary to create cluster resource objects (computers). All the servers are in the same folder. While creating the cluster I can see it creates a computer with the same cluster name I gave. But it does not finish creating the cluster. Specially, I remember when I tried to add NODEs, I only could add the local node by its netbios name. When I use the netbios name for remote node, it gives an error. I used IP addresses and then it worked. But in the tutorial videos I can see they add both NODES with their short netbios name. I am doubting if that is the problem. I struggled so hard to solve this but still no luck. Seeking for a solution. | |||||||||||||||
Slow Mailbox Migration "within" Exchange 2016 databases on same server Posted: 04 Dec 2021 07:05 PM PST We have recently migrated from exchange 2010 to 2016. Everything went smooth until one day we had to fail Veeam replication to DR site. One of the databases crashed and had to be restored from backup. since then, this database frequently goes in dirty shutdown and has to be mounted with -AcceptDataloss switch. In short, we decided to move mailboxes from this database to a new one. There are around 175 mailboxes with 350 GB data. We are trying to migrate in batches of 10s and 15s but its verrryyyyy slow. it takes days to migrate 4-5 users. i enabled exchange throttling for this activity as recommended on " https://justaucguy.wordpress.com/2018/08/24/slow-mailbox-moves-in-exchange-2016/ " but still not getting 100%. Anyone can give any idea or suggestion? | |||||||||||||||
TONS of 4625 events. Failed login attempts. No IP, no username Posted: 04 Dec 2021 03:04 PM PST I have a server that gets keeps getting failed login events (4625). They occur roughly every 20-30 minutes daily. Also appears to be on a schedule. I've tried deleting stored credentials. Disabling RDS. I've tried locating a pattern with Procmon and Wireshark, and at one point thought it might be the services for Labtech (ConnectWise Automate) but disabling this temporarily didn't make a difference. An account failed to log on. Subject: Logon Type: 3 Account For Which Logon Failed: Failure Information: Process Information: Network Information: Detailed Authentication Information: | |||||||||||||||
How to find source of inherited permission on Exchange online mailbox? Posted: 04 Dec 2021 10:04 PM PST Example: Shows permissions with In on premise exchange I would use There is a permission we want to remove, but can't because it's inherited: | |||||||||||||||
"Couldn't resolve host name: Could not resolve host:" in Zabbix Posted: 04 Dec 2021 05:01 PM PST Getting "Couldn't resolve host name: Could not resolve host: example.zabbixagent.com; Name or service not known" in Zabbix server although DNS and hostname of Zabbix Active Agent is correct. Is this a bug or a misconfiguration in Zabbix? Please help. | |||||||||||||||
snmpget error: “No Such Object available on this agent at this OID” Posted: 04 Dec 2021 09:02 PM PST I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is:
My MIB files are in this path: Everything worked fine. After this when I do (on the agent) And with the command So, I'm getting the expected outputs on the agent system. Now my problem is I don't know how to get the same values from my server! When I run Output when specified the OID: Output when I do these: I have searched it and still searching but no luck. What should I do? How should I use I want to do this:
UPDATE 2: When I do When I do snmpget with So where am I going wrong? And what is pingFullCompliance.15.46.49.46.51.46.54.46.49.46.50.46.49.46.56.48 ? Why such a long OID? Where am I going wrong? Can anyone point me in the right direction? Any suggestions are greatly appreciated. | |||||||||||||||
Block linux bridge traffic (only one way) using iptables or ebtables Posted: 04 Dec 2021 01:09 PM PST I am using openwrt router. It has a bridge br-lan and wlan0, wlan1 are connected to this bridge. eth0 acts as the WAN interface. When a packet comes from wlan0 or wlan1 it goes from the bridge, gets NATed and goes out through eth0 to the internet and the reply comes from eth0, gets NATed again and goes to br-lan and then out via wlan0 or wlan1 depending on where the original packet came from. wlan0/wlan1 --> br-lan --> NAT --> eth0 --> internet internet --> unNAT --> br-lan --> wlan0/wlan1 Now I have an application listening on br-lan interface through a raw socket and I want to do some processing on the packets going from br-lan to wlan0/wlan1. Thus I want to stop/block all packets from br-lan to wlan0/wlan1 as I will be forwarding it to wlan0/wlan1 myself in my application. How do I do that using iptables or ebtables? I have tried some rules like below, but it does not work and all traffic is flowing normally - | |||||||||||||||
Https on iis not working with domain name of ip address Posted: 04 Dec 2021 08:04 PM PST Using Windows 2012 R2 Standard server with IIS. Windows firewall has preset rules World Wide Web Services (HTTP Traffic-In) and World Wide Web Services (HTTPS Traffic-In) enabled. The server has one web with the following bindings: http - empty value / any domain - 80 Urls tried from external machine: Urls tried from local server So http works for all addresses from all locations. Https works when run on local machine with address localhost but https does not work in any other way. What am I missing? Do I need to open other firewall rules/ports other than 443? | |||||||||||||||
Why does a RewriteCond %{REQUEST_URI} interfere with a second NOT condition? Posted: 04 Dec 2021 09:02 PM PST At first the rule that works: This means Now the problem I added this additional rule set: Now, I send a POST again to This does not make sense, because the rule should NOT catch requests on And sending again a POST to http://example.com returns no 500, but I still receive a 403?! Update 1 Update 2 So the rules interfere only if I sent a POST to the root URL. But why? | |||||||||||||||
Deployment of node js app listening on two separate ports under nginx Posted: 04 Dec 2021 07:05 PM PST I have a simple node.js app that listens to two ports: on 8001 it sets up a simple webserver by doing Then, on 8002 it sets up socket.io In my index.html inside the /public folder, I request the socket.io client js by doing: while the other js file are requested with relative path inside /public. This setup worked while developing locally and seemed logical, but I have no idea how to deploy it on my private server which runs Ubuntu and nginx, since I can not reverse proxy the same location into 2 ports... | |||||||||||||||
Install Language Pack On Windows Server Core (2012 R2) Posted: 04 Dec 2021 06:01 PM PST I have language packs How can I go about getting these language packs installed on Server Core 2012 R2? Yes I know these language packs do little to nothing on Server Core. And that I could work around this issue by creating separate groups in the WSUS console for the Core and non-Core editions of Windows Server, and approving these updates only for the non-Core editions. But to satisfy my autism i'd like to get these updates installed anyways, because if they really were never intended to target Core editions of Windows Server, i'm assuming the WSUS console wouldn't say my Core servers are applicable for them. Right now the only way I can think of is using a tool like Altiris RapidInstall or Sysinternals Process Monitor to see what file/registry changes are made while adding a language pack on a non-Core edition of Windows Server, after it has already been installed with | |||||||||||||||
Reverse Proxy with Nginx showing default screen Posted: 04 Dec 2021 03:04 PM PST I'm trying to setup a reverse proxy to my JIRA instance using Nginx. Every time I hit the url directly, I get the default "Welcome to Nginx" page. If I refresh, it then takes me to the JIRA Dashboard. I'm having the same issue going to my Confluence box behind Nginx. What am I missing to get this to work correctly? | |||||||||||||||
C#/asp.net application runs fine on localhost (intranet), but not on server (Internet) Posted: 04 Dec 2021 04:03 PM PST I'm a total n00b when it comes to SQL Server admin stuff, so sorry if this is basic. I've designed a website in C#/asp.net with a SQL Server backend on my local machine. Runs perfectly when I open the site through VS2010 and run it. However, when I publish it to IIS and try to run the site, the ASPX works fine but it can't connect to the data. The dropdowns are empty, and anything that deals with data (including logins) doesn't connect to the tables. I'm assuming this has something to do with permissions? Can anyone help me? I'm using SQL Server 2008 R2 and Visual Studio 2010, both on a WinXP machine (yeah, I know WinXP isn't built for this, but I just want to test this out before I upload it to a server I have to pay for). | |||||||||||||||
bash rsync is Killed by signal 2 Posted: 04 Dec 2021 01:09 PM PST I'm trying to prevent the user from cancelling the script by using ctrl + c. The following script executes completely, except Is it possible to avoid script: I'm suspecting that the ssh channel is dying before | |||||||||||||||
SIP INVITE packet has WAN address rather than call manager LAN IP Posted: 04 Dec 2021 06:01 PM PST I am using SIP between two subnets ( I have a call server on The WAN IP on the subnet where the call server is located is There is an issue with quality of service from the ISP with SIP packets, so instead of the phones communicating over the internet, we wish them to communicate over the site-to-site VPN instead (at no point should SIP and RTP packets leave the VPN). For the invite packet #10, I can see the following inside the header captured with WireShark (source -> destination): As far as I understand, once the call has been setup the Call Manager will hand off the conversation between the phones directly with RTP packets. When this happens, the RTP packets try and out from the rmeote subnet, over the WAN (and not VPN) and try and connect to the address of the WAN router 77.0.0.81:5060. What is going on here and why does the phone not continue to talk to one another over the VPN via the Call Manager( Why is | |||||||||||||||
Posted: 04 Dec 2021 08:04 PM PST I am trying to move files from one location to another on the remote server using sftp below: but i get the message though this file exists under the /source directory which i verified: Pls help |
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