Recent Questions - Server Fault |
- How do online games send UDP packets across the internet?
- Aurora MySQL - How Much IOPS Am I Using?
- Bad imaging using sccm
- isolating a Liquid Web "cloud dedicated" server during reimage
- How to start containerd as a service after yum install?
- Upgrade from centoS 6.10 to what OS for OTRS/Znuny?
- Change Nginx proxy pass public path
- Same Domain - 2 servers - Ping test from one to the other
- Dell Compellent clock skew too great
- Nginx is working but : nginx.service: Can't open PID file on debian 10
- How to setup Mosquitto MQTT Broker in Kubernetes
- NGINX redirecting the wrong subdomains
- EC2: Creating pem files for external users
- ansible: run task multiple times on the same host, using variables from another
- ESXi 6.7 Connect two VM's on ESXi and connect them using router
- How to change default of max open files per process?
- IIS returning 404 on PDF File
- Multiple Subdomains pointing to the same public IP and port
- Nginx HTTP2 IOS 11 not working
- debian- [ERROR] MySQL server not working "Unit mysql.service entered failed state."
- HTTPS access to phpmyadmin DOWNLOADS INDEX.php instead of opening phpmyadmin
- Replication issue on all 3 domain controllers
- Unzip from stdin to stdout - funzip, python
- msi for Web Deploy 3.6 for Hosting Servers... where to find?
- Proxmox vps container connection problems
- Recovering data from MongoDB raw files
- 2-way SSL with apache forward proxy
- Outlook 2010 cannot reply to encrypted email
- Problems hosting a Jetty application on the same server as IIS.
How do online games send UDP packets across the internet? Posted: 07 Aug 2021 10:10 PM PDT How do online multiplayer games which use UDP get the packets delivered between networks over the internet? From what I understand, clients would have to enable port forwarding on their routers in order for the packets to arrive at their computer. Is this what big online games (WoW, Diablo, etc) require players to do? For example, I recently created a server that handles udp traffic. It just echos back whatever a sender has sent. I deployed this to a server on the internet. I can only get the echos back to the sender after enabling port forwarding, but this will not work if there are two senders on the same local network. |
Aurora MySQL - How Much IOPS Am I Using? Posted: 07 Aug 2021 06:07 PM PDT I am testing Aurora MySQL as a possible replacement to Aurora Postgres. When bulk loading data into Aurora Postgres, it's very easy to see how mush Postgres is going to cost just by looking at the IOPS on a bulk load. But MySQL does not have a similar metric (Write IOPS). The only metric that looks comparable is Write Throughput. But after looking 800k rows into my MySQL DB I get nothing: It's not possible here that i've had an average of 0.5 inserts/s, because I just loaded it with 800k rows. My method for loading MySQL is a How can I see my consumed Aurora I/O? How can I know how much this is going to cost if I go ahead and load another 300mm rows into this table? Is Insert Throughput and Select Throughput equivalent to IOPS? |
Posted: 07 Aug 2021 05:57 PM PDT If I am imaging new machines straight from the factory, I have no issues. Barring hardware or network malfunctions, imaging is working nearly 100%. However, once in a while certain packages fail to install and they have to be restaged and reimaged. Question 1 is why do certain packages fail, but only sometimes? When I remove these failed machines from oneAD and reset the pxe boot flag I have a very high rate of machines failing to pxe boot. So question 2 is, am I missing something when I try to restage? |
isolating a Liquid Web "cloud dedicated" server during reimage Posted: 07 Aug 2021 05:52 PM PDT Might be a long shot but I'm hoping the group mind has an answer to this Liquid Web conundrum: We have two "Cloud Dedicated" servers with Liquid Web. We've taken an image (including a ton of application data) of our live server A and want to restore it on server B as a base, then reconfigure B as a warm spare. But when B comes up after the re-image, we don't want it sending out duplicate or bogus e-mail to users that might have been spooled on A when the image was taken, or that might be triggered by cron jobs, etc., running on the now somewhat stale data. So the issue is controlling the server after a re-image, such that we can either stop outgoing SMTP connections, or immediately turn off the mail server. If I had a physical server in front of me, I'd just bring it up in single user mode, edit the systemd config to turn off postfix, easy peasy. So first I thought we might be able to do that, bring the virtualized server up in single user mode and configure it through the virtual console in the management interface. We're told that's not possible. It was suggested that we could use LW's "advanced firewall" to turn off SMTP connections. But their so-called "advanced" firewall can only control incoming connections :-/ and we want to be able to turn off outgoing SMTP connections. We've asked if they could turn off outgoing connections at the closest router, just drop packets from that IP with (only) the SYN flag set. They say there's no way to do this. I find this surprising, but. Ok, I thought, maybe we can live with it, if I can control when the server boots and get in quickly enough to prevent more than a few unwanted messages from getting out. No, turns out that the server will automatically boot after being re-imaged, we can't even control that. I'd have to sit and watch it for some unknown time (hours? it's a big image) as the image loaded then jump in when it booted, not practical Any ideas? There has to be some way of booting a server under more controlled conditions! I'm wondering if it's possible for them to temporarily set DHCP so that the server isn't given a routable address when it comes up but is still accessible from the console in the management interface? I've asked that in the most recent ticket but gotten no reply. |
How to start containerd as a service after yum install? Posted: 07 Aug 2021 04:38 PM PDT I installed containerd on Amazon Linux 2 using the suggested commands: I added this in the EC2 user data script to run at instance launch time. But, how am I supposed to start |
Upgrade from centoS 6.10 to what OS for OTRS/Znuny? Posted: 07 Aug 2021 06:34 PM PDT I have a centOS 6.10 installation which needs a upgrade to a newer CentOS. But since CentOS support will be dropped for LTS I have now to decide to which path to switch. I need long term support for installed linux package regarding security updates. And CentOS did a good job on this. Can anyone tell me, what the best distro alternative for OTRS/Znuny to use? Rocket Linux? Alma Linux or maybe even something else? |
Change Nginx proxy pass public path Posted: 07 Aug 2021 08:54 PM PDT I have a Python/Django API with a unique endpoint The Nginx vhost looks like this: Thus, it successfully serve the app and its unique endpoint on Now, I would like to serve the app on I've been reading several similar Q/A on ServerFault, and have been trying changing EDIT: More precisely:
|
Same Domain - 2 servers - Ping test from one to the other Posted: 07 Aug 2021 04:48 PM PDT I have two Genesys servers in the same domain (one for primary and one for backup) why would we have to enter the FQN to ping from one server to the next? shouldn't I be able to enter ping abc-01 and not have to enter abc-01@xyz.com ? |
Dell Compellent clock skew too great Posted: 07 Aug 2021 06:05 PM PDT I received this alert from our Dell Compellent SC200: " Alert created on controller '12345' for object [internal ref: 'Global '] - [ProgressionTime]: Some Data Progression features, such as RAID Rebalance, may not run properly because the controller's clock skew is too great. Configure time settings to resolve. " In the "Unisphere for SC Series" web interface, I found the "Time Settings" section where I can change the ntp server: For those who have resolved this error before:
Thank you. |
Nginx is working but : nginx.service: Can't open PID file on debian 10 Posted: 07 Aug 2021 09:44 PM PDT I'm using nginx 1.20.1 on Debian 10, it's working but on command
I googled alot and checked permission of related folders of address Question: should I have notice |
How to setup Mosquitto MQTT Broker in Kubernetes Posted: 07 Aug 2021 06:03 PM PDT I have been trying to set up ChirpStack in a Kubernetes space, but it doesn't seem to be working for me, and I can't find any resources online that have been the solution. chirpstack-application-server-6d6f8d699c-nlrmx 1/1 Running 0 44s Above is every pod I have atm. App-server, net-server, gateway-bridge all spin up and run, however the Mosquitto broker moves to 'Complete' and goes right into the CrashLoopBackOff. I have figured it might be something to do with a lack of config, so I've spent a few days putting together the mosquitto.conf file with "allow_anonymous true" hoping to get a connection from any of my ChirpStack components, but the logs just indicate an mqtt connection refused error. output of kubectl logs chirpstack-application-server time="2020-12-10T15:01:41Z" level=error msg="integration/mqtt: connecting to broker error, will retry in 2s: Network Error : dial tcp 10.244.146.236:1883: i/o timeout" Because no connection could be made, I assumed it was the opposite and I needed to add in the password_file and make allow_anonymous false. Below is my current config if anyone might have an idea what is wrong. configMap-1.yml configMap.yml deployment.yml service.yml |
NGINX redirecting the wrong subdomains Posted: 07 Aug 2021 03:13 PM PDT I have setup my NGINX to only accept HTTPS traffic on port 443 and I want to redirect all non-HTTPS traffic from port 80 to HTTPS. I also have multiple subdomains I want to manage independently. I'm going to post an example from my configuration but will omit the boring stuff. The main website that regular user should be able to browse: One of the subdomains: And now I want to redirect traffic from port 80 to HTTPS: The Problem: ALL subdomains are automatically being redirected to "https://subdomain.myserver.com", even if they do not match the server name specified in the redirect block. "http://www.myserver.com" (for which there is no config block) will get redirected to "https://subdomain.myserver.com" even though it doesn't match the server_name |
EC2: Creating pem files for external users Posted: 07 Aug 2021 04:56 PM PDT I'm fairly new to this. I'm running a bunch of EC2 machines and when creating my AWS Account i got my own .pem file in order to connect to my machines for which I have full access rights, etc. As I'm working with freelancers and developers I want to give them full access rights for a specific instance without of course sharing my very own .pem file. What is the easiest and best/pragmatic way to do that. What are the steps and are the freelance developers then also be able to fully connect to the machine with read/write access to everything on this instance? Thanks for your feedback in advance, Matt |
ansible: run task multiple times on the same host, using variables from another Posted: 07 Aug 2021 09:35 PM PDT New to ansible, can't find a reference for my issue which does not seem so rare.. I have two hosts under the same group, each of them with its variables, say: Now, I have a task which needs to be executed twice on I get I know there seems to be no reason why I could just call the same task twice referencing the proper value of How can I generalize to have |
ESXi 6.7 Connect two VM's on ESXi and connect them using router Posted: 07 Aug 2021 05:07 PM PDT I have an ESXi host installed on a VMware workstation. I want to connect both the Ubuntu virtual machines via the router. The virtual machines are on different networks. I've set the static IP's of both the virtual machines so that they are on a different network. Freesco router config: ESXi host: VM1 Static IP: 192.168.204.2 VM2 Static IP: 10.10.10.2 Switch topology: VM1 settings: Portgroups: Both the VM's are connected to same portgroup i.e "connect" and same switch "newSwitch". I want to connect both the VM's using router. How can I do this? |
How to change default of max open files per process? Posted: 07 Aug 2021 08:05 PM PDT I changed the max open files to 20000. However I'm still running into limits and I found that there is a per process limit. I would like to know how to change this the default per process limit too? |
Posted: 07 Aug 2021 04:04 PM PDT I have a IIS 10.0 server that everything is working fine, with one issue. Any .pdf file returns 404. I know permissions are correct as all the image files in the same folder are working fine. The PDF mime type exists in both the IIS root and the site and there is no Request filtering set. Most the results on the web are for an older version of IIS, so I am out of ideas. Anyone else run into this? |
Multiple Subdomains pointing to the same public IP and port Posted: 07 Aug 2021 09:43 PM PDT I would like to explain the scenario that we have then ask the question: we have the domain:
and the following sub domains:
and the following applications which are hosted on separate servers:
all the server are running behind a firewall on the other hand we have only one public IP address:
so to link the local servers with the public ip we can create virtual hosting entries in the firewall and create public ports as following:
then we will configure the following A NAME record in the DNS ZONE:
so to go to the forum application, the user have to type:
and so on:
now, instead of using the port number we would like to use the sub domain, for example, if the user want to go to the forum he will just type:
and same for the other applications. Is this possible to be done without purchasing new public IP addresses for each application? Sorry for the long post. Thanks |
Nginx HTTP2 IOS 11 not working Posted: 07 Aug 2021 10:09 PM PDT i have problems with HTTP2 protocol on my NGINX server, this is my configuration I can't see the error on my iOS device (safari 11), it's very strange the webpage is a SPA ( angular ) that app makes requests to an API, the apps loads over HTTP2 but when the app has to make requests to the API it fails, disabling HTTP2 from the The ciphers for both servers frontend/backend are the same In Chrome/Firefox/IE works fine, i don't know what is wrong with Safari or my server config The error.log and adomain-error.log are empty when Safari fails Nginx Version UPDATE The console on my IPhone says UPDATE 2 I have found this post It explains that if you support TLSv < 1.2 you will end up in a UPDATE 3 [2019/02/28] There was a bug on our NGINX config for the OPTIONS Method of a CORS request causing duplicated Content-Length and Content-Type headers to be responded, after we solve that the app started working fine in HTTP/2, we also changed the status of the OPTIONS response from 200 to 204 |
debian- [ERROR] MySQL server not working "Unit mysql.service entered failed state." Posted: 07 Aug 2021 04:04 PM PDT This my first time setting a MySQL server on debian. I was trying to install Joomla! using this tutorial: docs.joomla.org/Installing_Joomla_on_Debian_Linux I ended up installing bitnami and everything went fine until the demo ended. Since then for some reason mysql stopped working. I did quite a mess there trying to fix the issue by myself so i figured i would ask for some help. Also I got the error So here is the error i got (details with systemctl status mysql.service): And the " Finally here is my I have no clue has what i should do now, ask for more info if necessary. Be specific please since i have a hard time understanding all this. |
HTTPS access to phpmyadmin DOWNLOADS INDEX.php instead of opening phpmyadmin Posted: 07 Aug 2021 05:07 PM PDT When I open phpmyadmin without encription, everything goes fine. however, if I switch to https, the browser downloads the index file. apache 000-default.conf as my apache.conf is de default one (installed by phpmyadmin) - the part that concerns goes here: Alias /phpyadmin /usr/share/phpmyadmin BTW, I have virtualmin on the server but I am installing the phpmyadmin at the root (so should work as a normal instalation, right?) |
Replication issue on all 3 domain controllers Posted: 07 Aug 2021 06:03 PM PDT We have 3 domain controllers in server 2012. Replication is failing miserably. Repadmin /replsummary dc1 rpc server not available dc 2 rpc server not available dc 3 "Insufficient attributes were given to create an object" I wll be coming with dcdiag output soon. But one thing still stuck in my mind is that during dcdiag outputs were this dc is not advertising as time servr when the time configuration is correct on pdc and dc's Replsummary and Dcdiag C:\Users\admin> C:\Users\admin> |
Unzip from stdin to stdout - funzip, python Posted: 07 Aug 2021 09:37 PM PDT The goal is to read a zip file from stdin and uncompress to stdout. Funzip works and is the solution I am looking for, the zip contains a single file, unfortunately funzip fails when the compressed file size is around 1GB or greater: Update: I have discovered the above error may not indicate an actual error. Comparing two uncompressed files, one unzipped traditionally and the other through a pipe using funzip (with the above error written to stderr) the files are identical. I'd like to keep this open, so this can be confirmed or reported. A related solution using python: Unzipping files that are flying in through a pipe However this output is directed to a file. |
msi for Web Deploy 3.6 for Hosting Servers... where to find? Posted: 07 Aug 2021 08:05 PM PDT |
Proxmox vps container connection problems Posted: 07 Aug 2021 07:00 PM PDT I have Proxmox on my node server which have ip:5.189.190.* and I created openvz container on an ip : 213.136.87.* and installed centos 6 on it The problem: Cann't connect to container ssh directly Can't open apache server centos welcome page When I enter container from the node can't ping any sites or wget any url but I can connect 127.0.0.1 and the main node ip My Configuration: container /etc/resolv.conf container /etc/sysconfig/network-scripts/ifcfg-venet0 container /etc/sysconfig/network-scripts/ifcfg-venet0 node /etc/network/interfaces node /etc/resolv.conf having DC nameservers correctly container ping result: container traceroute result: node ping result: node traceroute result: Any ideas will be welcomed Thanks |
Recovering data from MongoDB raw files Posted: 07 Aug 2021 03:00 PM PDT We use mongodb for our database and set the replset(two servers), but we mistakenly deleted some raw files that under /path/to/dbdata on both servers. After that, we used My env:
and we did not delete the We tried to create a new database with the same name and copy these Is there any way to check the valid of raw .ns and datafiles, and how to recover the database? |
2-way SSL with apache forward proxy Posted: 07 Aug 2021 03:00 PM PDT I'm working to set up Apache as a forward proxy with a client that uses 2-way SSL. The basic flow is myApplication --via http--> Apache proxy --via 2 way SSL--> client. After setting everything up, when I try to start Apache, I'm getting a "incomplete client cert configured for SSL proxy (missing or encrypted private key?)" error. What I can't figure out is that the client cert I'm using in the SSLProxyMachineCertificateFile directive has both the unencrypted private key and the public cert already. Any suggestions on what I'm missing and/or anything else I can try? Does the all-in-one machine cert need to have the chain in it as well? Here's what my vhost looks like. EDIT: I updated the basic flow to clarify what kind of connection I'm trying to use between the application, apache, and the client. |
Outlook 2010 cannot reply to encrypted email Posted: 07 Aug 2021 10:09 PM PDT A coworker and I occasionally use encrypted email to send passwords. We both are using Outlook 2010, and both of our Digital IDs were created by the same authority. For my coworker, creating, replying, and reading my encrypted emails works just fine. But for me, I can read his encrypted emails, I can send him encrypted emails, but I cannot reply to his encrypted emails. I always get the standard Outlook encryption error message: "Microsoft Outlook had problems encrypting this message because the following recipients had missing or invalid certificates, or conflicting or unsupported encryption capabilities:" It then lists his correct email address and offers to Send Unencrypted or Cancel. Any ideas what could cause this? If I choose Send Unencrypted, or unselect Encryption before sending, the email goes through. Update: when I reply to an encrypted message, if I delete the email address in the to box, and then retype the exact same email address, it works. This made me think I had duplicate addresses for my coworker, so I deleted him completely from my contact list. I know he's not in there at all because it can't find him when I try to send one. I had him send me a new encrypted email and also sign it. I can reply to this email. Then I added him to my contact list again, but still I can't reply to other encrypted emails. If I right click on his address, I can view the contact card and see the cert is in there, but it doesn't send. It also shows the error message described above twice. (I have to Cancel out twice.) Update 2: When the error pops up, if I choose the option for Send Unencrypted, I get another error message: "The operation failed. The messaging interfaces have returned an unknown error. If the problem persists, restart Outlook. Cannot resolve recipient." If I then press OK, and try to send again, it sends successfully (unencrypted). I think the last part of that error message "cannot resolve recipient" is relevant to what's going on. It seems that the email in the To field is misbehaving, but only when it's first populated via reply. Update 3: I just had a new scenario, which is related: I replied to a regular (unencrypted) email, decided to encrypt it, and had the same problem. (Same person.) I wiped out the email address in the "To" box, re-entered it identically, and then it sent. So, the title of this post might better be described as "Outlook 2010 cannot encrypt an email reply". |
Problems hosting a Jetty application on the same server as IIS. Posted: 07 Aug 2021 07:00 PM PDT I am a .Net programmer, lately developing a website in Jsp, using Jetty. I use Eclipse and the Maven-Jetty plugin. I have a virtual private server, which has IIS installed and is serving .NET websites. My domain name (for the Jsp website) redirects to this server. My question is: How do I connect the domain name to the website in Jetty? Jetty listens to port 8080, and IIS to port 80. I tried configuring a virtual host in a Jetty configuration file (jetty-web.xml) (followed this manual), the result is: when I open a browser inside my server and navigate to mydomainname.com:8080 I get to the website. But if I do it externally, I get nothing.
Thank You |
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