Recent Questions - Server Fault |
- KVM vps scsi disk
- What causes this: Proxy could not open connection to hostname: Bad Request kex_exchange_identification: Connection closed by remote host
- Can a GCP organisation change its domain?
- Nginx Configuration for support of domain name without "www"
- WSL & VcXsrv mouse not functional
- Combining several ACLs to make an alias
- Allow a user to restart a service
- Linux VM not accessible on local network
- Google load balancer HTTPS between wordpress.com and google storage bucket
- What decides node's hostname when adding new node with microk8s?
- adding modules to installed asterisk - alsa.so not found
- IPTABLES - block IPs that do not complete handshake/visit webpage
- How to access files from a local server with infiniband without using IP
- LXD Container IPv4 Interface Management
- Synchronise Azure Active Directory with OpenLDAP - possible?
- Docker Host with multiple VLANs
- How to reduce latency with Nginx RTMP streaming server
- Try to reverse-proxy vsphere webclient with Apache
- Exchange 2010 Receive Connector configuration
- Why does a RewriteCond %{REQUEST_URI} interfere with a second NOT condition?
- Ubuntu 16.04 server is listening but not accepting incoming requests
- How to make /mnt/resource readable/writable but other users in Azure Linux VM?
- No package mongodb-org available
- Zabbix ssh needs to force pseudo tty allocation
- External ip address being treated as local (ARP asking for external IP's address)
- Linux IPSec between Amazon EC2 instances on same subnet
- Randomly slow MySQL queries
- Windows 2008 R2 server loses connection to Active Directory
- How to stop Sendmail sending mail from IPv6 instead of IPv4
- Powershell error when adding filepath
Posted: 04 Apr 2021 09:44 PM PDT CentOS 7 ISO installer is not able to detect disk when using scsi disk driver on a KVM server with Ubuntu 18+ on it. Does it requires special drivers to be loaded for vps ? |
Posted: 04 Apr 2021 09:22 PM PDT Hello I am trying to access a remote server through SSH and this is happening to me, OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /home/paulo/.ssh/config debug1: /home/paulo/.ssh/config line 1: Applying options for hpc.cea.cu debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: /etc/ssh/ssh_config line 21: Applying options for * debug1: Executing proxy command: exec corkscrew 192.168.49.1 8282 hostname 3310 debug1: identity file /home/paulo/.ssh/authorized_keys/id_rsa type -1 debug1: identity file /home/paulo/.ssh/authorized_keys/id_rsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2 Proxy could not open connection to hostname: Bad Request kex_exchange_identification: Connection closed by remote host This is the configuration of the ~ / .ssh / config Host hostname ProxyCommand corkscrew 192.168.49.1 8282 %h %p HostName hostname Port 3310 IdentityFile /home/paulo/.ssh/authorized_keys/id_rsa What solution do you recommend? |
Can a GCP organisation change its domain? Posted: 04 Apr 2021 09:09 PM PDT I have a client that changed its business name, and with it the domain. For example: oldcompany.com into newcompany.com. Legally, they stayed the same entity, owning both domains. Now they have migrated most of their GCP resources to match the new name, however the GCP organisation itself remained on oldcompany.com. As time passes, they want to turn off their oldcompany.com domain. I could not answer their question, on how to change the domain for a GCP organisation. |
Nginx Configuration for support of domain name without "www" Posted: 04 Apr 2021 09:47 PM PDT I have deployed a LEMP stack to Linode and purchased a Wildcard SSL Certificate. Prior to installing the SSL Certificate, I could type in After installing the SSL Certificate, I only successfully reach the website when I type in I've tried setting the Here is my nginx configuration file. Note - I'm deploying Wordpress using docker Does anyone have a solution? When I look at the request details in the network tab, I don't see a "Host" header being sent when typing Thanks |
WSL & VcXsrv mouse not functional Posted: 04 Apr 2021 07:04 PM PDT I have WSL set up on a WINDOWS 10 PRO machine which I generally use for development. And I have gotten X apps to display properly within the windows WM and everything seemed fine; however, no matter what I try, it appears that I cannot use the mouse buttons on any of the windows. I can use them on the root to pull up menus; but when I try to close or expand or change individual windows, the mouse keys do not function at all. I have tried both in Multiple Windows, One Large Window, and Fullscreen. Has anyone experienced this behavior and found a solution for this odd behavior? Using Ubuntu-20.04 Windows 10 Pro WSL 2 Thanks, T |
Combining several ACLs to make an alias Posted: 04 Apr 2021 05:24 PM PDT I was wondering if it is possible to combine two ACLs to reduce repeating myself in my HAProxy config. Example: Instead of having to do an Is this possible? |
Allow a user to restart a service Posted: 04 Apr 2021 04:41 PM PDT I am trying to restart a service without being root. Here is the code snippet where the command being used after researching and reading similar issues, I've tried to give a limited sudo command for the group I an using (user=vault, group=vault) by editing the However, I am still getting an error when I try and run the command. error log file: vault.service can someone please help me with this issue? |
Linux VM not accessible on local network Posted: 04 Apr 2021 03:57 PM PDT I have a Linux VM in Hyper-V that's only accessible from outside the local network. SSH and HTTP and what not works just fine when port forwarded, but on the local network, it rejects everything, including pings, even from the host machine (Win 10 Pro). I can monitor the network traffic to and from the VM in Wireshark, but that's about it. Things that might be worth noting:
|
Google load balancer HTTPS between wordpress.com and google storage bucket Posted: 04 Apr 2021 03:40 PM PDT My question is about how to best route a particular url to a static page while routing everything else to a wordpress.com site I have a domain on google domains, currently the A record for the bare domain points to IPs for wordpress.com site I'd like to instead point to a load balancer/reverse proxy so that a particular URL (on the bare domain, not a subdomain) gets pointed to a static html page (in google storage bucket or wherever is best), while everything else gets routed to the wordpress.com IPs. How do I best do this in google cloud? Thanks! |
What decides node's hostname when adding new node with microk8s? Posted: 04 Apr 2021 05:36 PM PDT I am building a cluster of machines all running the same setup:
I decided to turn off HA by running I run Running I find that the If I compare the file against the same one on machines without this problem, the last line is extra. Same goes for If I try to remove that line or change the IP to What should I change before I connect the node in other to display the correct name? Why would the same installation steps on different machines result in a different node name? EDIT: I reinstalled OS on the machine and the issue remains. |
adding modules to installed asterisk - alsa.so not found Posted: 04 Apr 2021 07:53 PM PDT I have set and i got this error is there a missing module or |
IPTABLES - block IPs that do not complete handshake/visit webpage Posted: 04 Apr 2021 03:06 PM PDT i am trying to figure out how to achieve something am not sure is achievable and need help. I did my research but couldnt find credible information. Hope this question is not duplicate. SET UP: I am using iptables as my firewall to block malicious ip activity. currently i am manually writing the entries in a file and then execute with PROBLEM: I get numerous iptables logs of this kind: from tens of different IPs, every minute or so. I can tell from the LOG that they only send a I have tried many differnt ways with iptables to limit those I have also looked into fail2ban (havent used it yet), but since i write the entries to iptables myself and execute with QUESTION: Is it possible to block IPs that show up in iptables's LOG file but do NOT show in apache LOG files? (for me that would mean the IP did not come to my server to open the webpage, thus is doing smth else) example: 1.1.1.1 IP opens my webpage, meaning there will be LOG in iptables and in apache. BUT if that 1.1.1.1 IP only sends I hope i have been clear enough. Any help would be appreciated. Thank you |
How to access files from a local server with infiniband without using IP Posted: 04 Apr 2021 02:27 PM PDT I want to start of by saying that I'm very inexperienced with everything I'm doing so please take it easy on me. I have 4 computers each with Red hat Enterprise Linux server 7.8 installed, they are all connected to a Voltaire grid director 4036 infiniband switch thats running the subnet manager. For simplicity's sake I will call the computers s1-s4. I want s2, s3 and s4 to be able to access and download files from s1 without using IP since I've read that removing the use of IP's can improve performance by up to 20%(correct me on this if I'm wrong). Is it even possible to make file transfers without the use of IP? Also, since I'm new to this site feel free to tell me if I should have given more information or was unclear about something. If you think I have misunderstood something then you can also feel free to correct me on it. Thanks |
LXD Container IPv4 Interface Management Posted: 04 Apr 2021 08:51 PM PDT
I have had several containers running without issue for a long time. Today I was making changes to my network and one of the containers picked up a DHCP address. Interfaces 192.168.112.5 and 192.168.11.8 are original interfaces that have existed all along and need to remain. Interface 192.168.11.193 is the interface that appeared today during network changes and what I can't find to remove. I don't find it in the container and I can't figure how to remove it via lxc. I resorted to rebooting the container and the lxd host yet it remains. |
Synchronise Azure Active Directory with OpenLDAP - possible? Posted: 04 Apr 2021 09:05 PM PDT we have a Sharepoint online site and an Azure Active Directory to manage our users. We also use OpenLDAP on a Linux server and I want to synchronize both of them, so everytime I make changes on the users on LDAP it synchronises these changes with Azure AD. I hope this makes sense, thanks in advance! |
Docker Host with multiple VLANs Posted: 04 Apr 2021 05:02 PM PDT Background Information I have a server with one physical network interface that is running Docker. This interface is configured as a 802.1Q trunk. To avoid asymetric routing I configured routing tables for each subnet. Thats my interfaces /etc/network/interfaces : This setup works fine, if I start container with the --net=host parameter. The containers are accessible from each subnet/vlan. The Problem I would like to have more control about the ports and the accessibility (not every docker should be reachable in every subnet). If I use the parameter -p (e.g. -p 3777:3777) the dockers are not reachable anymore. This guide https://hicu.be/docker-networking-macvlan-vlan-configuration adress a simliar problem, but I do not want to extend my vlans to docker and assign an IP on each docker instance. This is to much. Desired solution My server has an IP in every subnet/vlan, 192.168.1.199 (native vlan / mgmt) 192.168.2.199 (vlan2) 192.168.4.199 (vlan4) I would like to start dockers with the -p paramenter and will choose on wich interface it is accessible. e.g. docker run --p 9000:9000 --name portainer ... and it should only accessible through 192.168.1.199:9000 Maybe my ip route / ip rule settings are not well configured or/and I need a docker bridge for each subnet...but that's the point where I can not get any further. Up to now, if I choose the --p parameter and the docker is connected to the default docker bridge...the docker is not accessible at all. Do you have any idea? Greets, Mark Edit: The container portainer_test is not accessible via 192.168.4.199:9001 |
How to reduce latency with Nginx RTMP streaming server Posted: 04 Apr 2021 07:02 PM PDT My Virtual Server is configured with 3GB memory, and 1 core. I'm playing the following mp4 file Sample MP4 Video File through my NGINX RTMP server, as Here is my |
Try to reverse-proxy vsphere webclient with Apache Posted: 04 Apr 2021 05:02 PM PDT We want to protect our VMWare vsphere 6.5 web client with an already existing & working Apache 2.4 reverse proxy (benefits e.g. centralised monitoring, mod_security et.al.) Both communications client <--> proxy, and proxy <--> backend (= vsphere) must be be TLS secured. Certificates are in place and ok. DNS is configured accordingly. Clients can already access the vsphere start page via proxy successfully e.g. https:// vsphere.domain.tld/ Firefox' network analyses shows that all request are fine and accepted, e.g. until /vsphere-client/UI.swf But as soon as a user clicks on the link "vSphere Web Client (Flash)" in order to authenticate and enter the menues, a status code 400 is thrown. The "vSphere Web Client (Flash)" link directs to /vsphere-client/ and obviously invokes a SAML request. vsphere sso log shows: Virtual host conf on Apache reverse proxy so far (excerpt) : With the last "RequestHeader" addendum - which in effect just reverses the PreserveHost option - I am now able to see the vsphere login page, and to log in, but the page then stucks again: Any proposals how to get the full page? |
Exchange 2010 Receive Connector configuration Posted: 04 Apr 2021 03:06 PM PDT I am having a very hard time getting clear about receive connectors in Exchange 2010, which I have unhappily inherited. I have read a lot of articles and books, but nothing presents the information I need in a clear way, and some of the articles are conflicting, which is expected but doesn't make this any easier. The reason for asking these questions together is that some of them impact others, and if asked separately they would probably not make clear what I need to accomplish. My Exchange server is Hub role internet-facing. There is no edge or filter between it and the outside. I recently implemented split DNS, and I want to know if the "Server" and "Fqdn" attributes should be changed to the public DNS name for my mail server, as in "mail.domain.com". The "Name" attribute is only a label for the connector which shows in the Exchange Management Console. The "Identity" attribute is related to the GUID. Again, it currently shows as \<"Name" attribute>. The question is whether I can change that to the public DNS name for my mail server, "mail.domain.com". I need to know if the DistinguishedName attribute can or should also be changed. Some of my existing connectors have a value for the "DistinguishedName" attribute which reads "CN=,CN=SMTP Receive Connectors,CN=Protocols,CN=,CN=Servers,CN=Exchange Administrative Group,(...),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=". I know that at one point a migration was done from Exchange 2003, and that it was not cleaned up, so to speak. I need to know if I can simply remove connectors with that value, or whether they need to be replaced with other ones. The "Default" connector, as I understand it, receives email from the internet on port 25 from any IP (0.0.0.0-255.255.255.255). I need to understand how AuthMechanism, RequireTLS and PermissionGroups relate to each other, and where RequireTLS is appropriate, as in I don't want to lose email by forcing TLS. I want to configure TLS. I need to understand where "opportunistic" vs "mutual" applies, as in do I use it for both internet and internal, or only internet. I want to understand which values should be set for the "AuthMechanism" attribute, and why, given that I want to configure TLS. I have internal applications which I think need separate connectors, from what I have read. I need to know if that is true, and how to configure that. I have multifunction printers which send scans via email, which I think also need separate connectors, and I need to know how to configure that. I have a third party who needs to send email using my DNS name and IP, which I think is called "relay". I need to know if that is correct, and how to configure it. Links to articles which don't present specific instructions on how to accomplish what I listed above are not helpful. Explanations of how these connectors are used for my specific needs are very helpful, and I appreciate the help. |
Why does a RewriteCond %{REQUEST_URI} interfere with a second NOT condition? Posted: 04 Apr 2021 04:05 PM PDT 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? |
Ubuntu 16.04 server is listening but not accepting incoming requests Posted: 04 Apr 2021 09:05 PM PDT I recently upgraded my server from Ubuntu 14.04 to 16.04. The upgrade seemed successful (so I'm not sure if it's related) but about a week in I restarted the host and it now will not accept remote requests. I can connect to the terminal using my hosting provider's console access but I can't remotely SSH into the machine. Once in the machine I can ping myhost.com successfully, but I cannot ping the machine from a remote location. Pinging from my development machine requests in I tried a previous loading a previous snapshot from before I upgraded my OS and I can ping the machine successfully. I've tried tailing I'm not sure what to try next to find out why my server is not responding. EDIT Running |
How to make /mnt/resource readable/writable but other users in Azure Linux VM? Posted: 04 Apr 2021 08:09 PM PDT Right now /mnt/resource is owned by root and only root can read/write. How can I make this readable/writable by other users on the system? And this should be persistent (i.e. after system restart it should still work) |
No package mongodb-org available Posted: 04 Apr 2021 08:09 PM PDT I am attempting to install MongoDB on CentOS 6.5. I believe I am following the instructions precisely step-by-step, but continue to get the error No package mongodb-org available after issuing the command sudo yum install -y mongodb-org. Following the instructions here: http://docs.mongodb.org/master/tutorial/install-mongodb-on-red-hat/?_ga=1.140464624.273085478.1441642123 I'm looking at the instructions for RHEL 6, and this is what I have (am I using the correct instructions?): Likewise, the command yum search mongodb-org says No matches found. Here is my repo file as the instructions said to create: Permanent Workaround I upgraded the OS from CentOS 6.5 to Centos 7, followed subtly different instructions: The repo file is the same, but for whatever reason CentOS 7 procedures worked without a hitch. Note: I don't think this is an answer, just a workaround, so if someone can say why the 6.5 procedures didn't work, that would be the actual answer. |
Zabbix ssh needs to force pseudo tty allocation Posted: 04 Apr 2021 06:01 PM PDT I am currently trying to configure an item in zabbix to execute a check on a remote server via SSH. When I run the following command on the zabbix box it works However when I run this I get |
External ip address being treated as local (ARP asking for external IP's address) Posted: 04 Apr 2021 03:06 PM PDT I am using a virtual machine with OpenWRT for routing, on a Linux machine (Slackware). I am trying to configure a host only interface (eth0) as the wan interface. eth1 is Ethernet attached as a bridge interface. I tried to test the configuration pinging to an external ip address (from OpenWRT). I used wireshark and i saw the system (OpenWRT side) is sending ARP request asking for the mac address of 8.8.8.8. What is going on? It looks that the gateway is being ignored. My route: Iptables is configure to accept all packets for input, output and forward. More tests: . |
Linux IPSec between Amazon EC2 instances on same subnet Posted: 04 Apr 2021 04:05 PM PDT I have a requirement to secure all communications between our Linux instances on Amazon EC2 - we need to treat the EC2 network as compromised and therefore want to protect the data that's being transferred within the EC2 subnet(s). The instances to secure will all be on the same subnet. I'm a Windows bod with limited Linux abilities, so am familiar with IPSec terminology and can find my way around Linux, but haven't got a clue when it comes to setting up Linux IPSec environments. Can anyone throw me some information for setting up IPSec between all (Linux) hosts on a subnet please? I can only find information that pertains to site-to-site connections, or host-to-host connections and nothing that covers all Lan communication. We're currently using OpenSwan for site-to-site VPNs if that helps. Updated with more information This is an example config (very basic to connect between two hosts using a pre-shared key): If I now want to secure all traffic between 4 hosts for instance (or 8,10,100 etc), is there a way to make the left and right parameters more generic, so they mean 'encrypt traffic between all hosts' rather than having to explicitly specify a left and right host. My goal would be to achieve a generic configuration that has no hardcoded host IP's (subnets would be OK), so that we could include the configuration in our EC2 image. Thanks Mick |
Posted: 04 Apr 2021 02:02 PM PDT I know this type of question come often. But I have done a lot of research, tried a lot of different settings, but still have the same issue: queries that usually are very fast can take 3s to 5s seemingly randomly. The server is an i7-3770 (8 cores) with 32GB RAM. The CPU usage is about 50% idle, not CPU spike. No swap used, free memory is about 10GB in average. I run mysql 5.5.32 on CentOS 6. 9GB of RAM has been allocated for MySQL, it uses about 2GB. All data should fit in memory (600MB of data, 700MB of index). Number of queries per second in average (no real spike):
Here is an example of query that takes just a few ms, but sometimes more than 3s: id is a primary key. Although I have more SELECT than INSERT queries, I have more slow INSERT than SELECT What I have tried and tested:
Tuning my.cnf helped a lot. I tried with query cache enabled and disabled, not much difference. Using a slave for SELECT made things actually worst: I had fewer slow queries on the master, but they could go up to 12s! Here is my current my.cf (with query cache in this case): I'm out of ideas. I could not find any patterns (frequency, interval, etc.) that would explain these slow queries. |
Windows 2008 R2 server loses connection to Active Directory Posted: 04 Apr 2021 06:01 PM PDT One of our many 2008R2 servers constantly loses connection to the domain, meaning that users cannot login to shares etc on the server, and it basically becomes useless. The event sometimes generated by the server when this happens is 3210 with the error code 0xC0000022. This does however not always happen. Running We have also tried the usual unjoin/rejoin domain on the server, without success. This is happening 4-6 times a day at the moment, so it is quite a big issue. The only services run by the server are file sharing and printing services. |
How to stop Sendmail sending mail from IPv6 instead of IPv4 Posted: 04 Apr 2021 05:53 PM PDT Today I noticed that Gmail sends all messages received from my server to the Spam folder. I checked message header and found the following: So, it looks that Sendmail is sending mail from IP6 adress insrtead of IPv4 and there is no SPF and PTR records for IPv6. How do I force Sendmail to send mail from IPv4? Thanks. |
Powershell error when adding filepath Posted: 04 Apr 2021 07:02 PM PDT The script looks like this: If I remove this part after ...the script works perfect. When adding the above mentioned line I get this error for all the servers / members it finds:
|
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