Recent Questions - Server Fault |
- Can I start gcloud shell in a specific region or zone?
- Docker for Windows 10 Home error:Hardware assisted virtualization and data execution protection must be enabled in the BIOS
- AMD chipset drivers for Windows Server and HyperV Core
- How to force kill a frozen service running on Windows as a non administrator?
- Reference existing resources in cloud formation
- Apache2 in docker using IPv6
- Rewrite Rule for URL with query does not work
- Fail2Ban blocks ip despite both ignoreself and ignoreip being set in jail.local
- Using apache reverse proxy to send all requests for /blog to internal wordpress server
- IIS stop bogus API
- AWS: How to redirect many domains to a page on another domain?
- How to redirect all Apache 2.4 websites to maintenance page while allowing access to specified IP addresses
- Scheduler not working on windows server 2016 EC2 instance aws, while EC2 is running?
- Azure VPN Site-to-site connected but host not reachable
- SSL Cipher Suite Order GPO
- linux network monitoring, average MBps each 1hr
- Missing credentials for roles in Heat orchestration on OpenStack?
- Containerized PostgreSQL with data on a distributed file system
- Promiscuous mode in KVM
- CentOS cifs mount point fails after reboot. permission denied error 13
- How can I access my tomcat server running on my network remotely
- My two-way trust with selective auth seems to behave opposite to a one-way trust
- script not found or unable to stat: /usr/lib/cgi-bin/php-cgi
- Cloud Server Error - File Does Not Exist: /var/www/html/public
- All PHP sites stopped working on IIS7, internal server error 500
- SAP Homogeneous copy : How do you handle BDLS steps
- Apache/wsgi "Script timed out before returning headers"
- Is there a way to make a "Screen" session survive reboot?
- Help: Setting up a basic live stream viewable in a browser
- Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in ... on line 0
Can I start gcloud shell in a specific region or zone? Posted: 21 Aug 2021 08:33 PM PDT It seems that running Is there any way to specify which region/zone to start the gcloud-shell instance? |
Posted: 21 Aug 2021 08:20 PM PDT I want to use Docker in my Windows 10 Home Surface Pro 7 PC and the many sites say I should install wsl2 and then install Docker Desktop for Windows. After the process, I launched Docker Desktop and I get this error message. troubleshoot page says for Windows10 Home, I have to launch I checked these item, but Docker Desktop still returns the same error And this is surface pro 7 PC which does not have any item for virtualization on UEFI. How can I use Docker on my PC? Any information would be appreciated. |
AMD chipset drivers for Windows Server and HyperV Core Posted: 21 Aug 2021 07:39 PM PDT I'm struggling to install AMD chipset drivers (X570 & B550) for Windows Hyper-V Core 2019. The Win10 x64 drivers install on "Windows Server 2019 Standard" (Desktop Experience) but I have not found an .inf file to install the driver using pnputil from terminal. (needed for Server Core and HyperV core) I have not found any documentation saying that those chipsets do not support Windows Server but AMD has only released a Win10-64 driver that fails to install on HyperV Core. My usual trick of extracting the drivers from the Win10 driver executable has been unsuccessful, apparently that was discontinued after v19.10.0429. The currently available driver is AMD_Chipset_Software_win10_2.17.25.506.exe and the *.inf driver appears to be hidden in a manifest file. Attempting to install that executable hits this error: If I extract the AMD Win10 driver as far as possible and attempt to install it from terminal I see this error. Error message when installing Win10 driver executable on Server Core An alternative I considered was migrating to Server Desktop Experience (GUI) to install the drivers then reverting to Hyper-V Core. This is no longer available in server 2019 (discontinued after 2016). Another option could be to install Server GUI on the same hardware, install the drivers and extract them using "pnputil /export-driver <oem#.inf | *> " before importing them using pnputil on the target operating system. Is there something obvious I'm missing? How does everyone else do this? Thanks! |
How to force kill a frozen service running on Windows as a non administrator? Posted: 21 Aug 2021 07:38 PM PDT Is there a way to force kill a frozen process that is set up as a service and logged in with a service account with the same service account? What I am trying to do here is setup a watchdog service in Windows task scheduler and it would check to see if the service has frozen or not. Once determined to be frozen, it will call the taskkill command to force kill the service (net stop or stop-process/stop-service -force would not successfully kill the task after timing out). However, I keep running into access is denied permissions issues. While researching, I found out that I had to modify the SDDL permissions based on a previous question/answer asked here for each service. However, taskkill permissions appears to be unaffected. I can taskkill a service as long as the service is owned by the same account (did a live test in command prompt using the runas command on the service account) however, while the service I manage through Windows Service manager is configured to log in as the service account, I get access is denied when trying to run taskkill on that service with the service account. I'm hoping there is a way to do this without giving administrator permissions to a service account where the purpose is solely to only manage those services. |
Reference existing resources in cloud formation Posted: 21 Aug 2021 06:39 PM PDT Is there a way to reference an existing resource in cloudformation. I am looking for something similar to terraform's datasource facility where I can find a resource by tag, etc. and then use a property such as Id. I have an existing security group with a consistent name across accounts. If I could look up this SG in the template I could use the ID. Azure does this. terraform does this. |
Posted: 21 Aug 2021 03:54 PM PDT I'm trying to configure IPv6 on my docker container. I want to expose port 80 on my IPv6. But my website still not working on IPv6. How to check where is the problem? Maybe someone can find it in my config files: docker-compose.yml: Dockerfile ports.conf: 000-default.conf Thanks for any help. |
Rewrite Rule for URL with query does not work Posted: 21 Aug 2021 08:47 PM PDT I write the following rewrite rule: To redirect URL such as
And redirect URL such as
But both do not work. Why? Update I try to put MrWhite's codes from /.htaccess to /customer/.htaccess and make some minor changes to adopt the changes, as below: Now the redirect works. However, it will only work for case like: https://www.example.com/customer/index.php?rp=/knowledgebase/9/DataNumen-PDF-Repair but for case like https://www.example.com/customer/index.php?a=b&c=d&rp=/knowledgebase/9/DataNumen-PDF-Repair It will not work. Even after I change ^rp= to rp in RewriteCond. |
Fail2Ban blocks ip despite both ignoreself and ignoreip being set in jail.local Posted: 21 Aug 2021 04:50 PM PDT solution: The IP range in ignoreip was set incorrectly using CIDR. It should have been 192.168.2.0/24 rather than 192.168.2.1/32. original post: Another user had a similar problem caused by conflicting ignoreip's (jail.local's ignoreip replacing jail.conf's). However, the only ignoreip I am using is the one in jail.local, and I have not edited jail.conf at all, so the user's solution did not apply for me. I've made the following changes in jail.local: >diff /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
All of these changes are within the [DEFAULT] block. I've >sudo /etc/init.d/fail2ban restart'ed many times, and >sudo shutdown -r 0'd many times as well. Despite this, every time I try to intentionally fail ssh logins from 192.168.2.13, the IP gets blocked after 5 tries. After this, I have to manually unban it using >sudo fail2ban-client set sshd unbanip 192.168.2.13. >tail /var/log/fail2ban.log
Duplicating jail.local (with the appropriate ignoreip, etc.) as jail.conf also did not work. Any ideas? |
Using apache reverse proxy to send all requests for /blog to internal wordpress server Posted: 21 Aug 2021 04:01 PM PDT I have a website written in react, and now I wanted to add a blog section to the site. The blog is going to be based on wordpress. The react app runs in a docker container, and I use the wordpress docker container to run the wordpress blog. In order to access the website, I use another container running apache and acting as a reverse proxy. Inside the The variables The problem I'm having is that when I try to access the blog, apache successfully redirects my request to the internal wordpress site, but when wordpress does its own redirect, it uses the same host as apache, but the path does not start with Here is an example using As you can see, after the From the docs on
and it seems that this is all that's required for this to work, but it still doesn't. And if you are wondering, yes I have tried the plain (without the And I also get the same results. What am I missing? |
Posted: 21 Aug 2021 06:10 PM PDT In IIS can it stop bogus API calls? Yesterday I got flooded with something that was trying to see if a page is on the site. They got the 404 but the application still had to check to see if that was a good page in the application. Can IIS stop this or will the web application need to process it and stop it. Is there a section in IIS where I can add the bogus path to to stop this? would this help https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/denyurlsequences/ or Reverse Proxy using IIS Rewrite It would only pass the traffic that's setup? Bogus API calls App Log file |
AWS: How to redirect many domains to a page on another domain? Posted: 21 Aug 2021 06:20 PM PDT My objectiveI have a number of domains (e.g. 10 or 20) and I would like to redirect any visitors to anywhere on those pages to one page on another domain (for example my stackoverflow.com profile page). This includes
plus the same for all my other domains ( My research
Plus, there are obviously plenty of SO questions (see Related to the right of this question) and other posts on the subject; problem with most of those is that they use screenshots from previous versions of the AWS Console UI: Most of the contents should still be the same, but correlating those screenshots to the current UI IMO adds another layer of confusion. Key takeaways from the AWS (and other) docs:
My work so farThe latest AWS CLI is installed, I am using AWS region I omit any shell prompts or Set up an S3 bucketWarning: This creates an "all public" bucket without any access restrictions. In this case, this should not matter as there is no bucket contents to protect, but such a public bucket is a bad practice in general. Also, I'm using a public bucket to prevent any additional issues caused by access restrictions: First, get it work; second, make it secure. create the bucket
set up redirection
Gotcha: The S3 bucket name must match the apex domain name.Using any bucket name but
which could be any globally unique name. #1 mentions that in some way - once you know how to read those bits... On a side note, that article #2 continues to confuse me with
Why would I not be using a custom domain ?!? The whole point is to redirect my custom domain, isn't it ?!? Well, anyway... Gotcha: Must not prepend protocol to hostname.Neither the AWS Console nor the AWS CLI seem to test if a protocol ( Gotcha: AWS S3 Console UI bug.After redirection has been set up, the AWS Console displays clickable link in its UI to the bucket URL ( Clicking that link fails to open the page, seemingly because the AWS Console messes up the URL and tries to open test redirection
--> seems to work
My questions #1NOTE: I had these questions when I started out writing this; I think I was able to answer them myself since (see test
Set up an Route 53 hosted zonecreate the hosted zone
create a record for the apex domain
Gotcha: Must use verbatim |
Posted: 21 Aug 2021 03:02 PM PDT I have two mirrored Apache 2.4 servers behind a load balancer with about 50 websites hosted on each. I need to close them for maintenance while allowing access from several specified IP addresses. During the maintenance, the maintenance.html page should be presented to the visitors. I can't close it on the load balancer (which I initially wanted), so I need to make it through Apache configuration on both servers. Does anyone know what's the most effective and the simplest method? I've already read many similar posts but I could not find the right answer that actually works. Many thanks! |
Scheduler not working on windows server 2016 EC2 instance aws, while EC2 is running? Posted: 21 Aug 2021 07:30 PM PDT I have setup a few batch files to execute python scripts on window. I have confirmed the batch files work by double click them which lauches CMD to show the scripts running. I have setup a task scheduler to kick off the batch files, and tested it by hitting the 'run' button on task scheduler GUI. The EC2 instance is always up and running, but when I close my Remote Desktop application for the EC2 instance, the task scheduler does not kick off my scripts. What am I doing wrong? I want the task scheduler to run regardless if I can see the desktop or not. I am using a mac to remote into the EC2 instance if that helps. Also very new to working with windows as indepth as this. Thank you in advance. Edit: bat file settings: Scheduler settings: |
Azure VPN Site-to-site connected but host not reachable Posted: 21 Aug 2021 03:02 PM PDT Using Azure gateway VPN I created a site to site connection with another vpn device (checkpoint) over which I have no control (customer endpoint). I created the connection, using their public ip, declared the secret key and for local address space I discussed with the client what 'local' IP is desired from both sides. We agreed to an IP in the 172.0.0.0 range. The gateway connection says succeeded/connected, and I see very little traffic in the data-out field (kb's not mb's). However, when I try to ping the local address space (172.xxx.xxx.xxx) from my windows server 2016 VM I only get Request timed out-errors. Do I need to create additional routes in windows? I tried adding route but the host is still unreachable. Any Ideas? Thanks EDIT: added some progress below Thanks, I allowed the ping and I can now ping my VPN Gateway from my Azure VM (which is 10.XXX.XXX.4). I then added the route "route -p ADD 172.xxx.xxx.xxx MASK 255.255.255.255 10.XXX.XXX.4" and via tracert I can see the 172 address is routed to/via de vpn gateway, but then it times out. Does this mean the issue now is on the on-premise side? Edit 2 By now, when running the vpn diag. log I do see some traffic, but I still cannot reach the other side. |
Posted: 21 Aug 2021 05:02 PM PDT Thanks in advance for reading. I'm using Win Server 2012 R2 to dish out group policies. I've created a GPO to define the SSL Cipher Suite Order under Policies > Admin Templates > Network > SSL Confugration Settings and have set it to "Enabled". I'm using a list of strong cipher suites from Steve Gibsons website found here. I've put them all on 1 long line as it states to do. I've also manipulated a default registry value located at: These are the same values I'm using from Gibsons site - on separate lines with no commas My registry values change but I cannot get the SSL Configuration settings to display "Enabled" Does anyone have insight on how to correct this issue? |
linux network monitoring, average MBps each 1hr Posted: 21 Aug 2021 06:04 PM PDT I want to monitor the average network usage for my Debian server. Ive tried to mess with Basically I want a program/script that outputs an average network stats each X time. Whats the best way to do what I need ? Greetings, |
Missing credentials for roles in Heat orchestration on OpenStack? Posted: 21 Aug 2021 07:02 PM PDT I am trying out Heat orchestration on OpenStack. When setting up a single instance stack using the configuration below, I am getting this error:
What could be the issue here? Thanks! |
Containerized PostgreSQL with data on a distributed file system Posted: 21 Aug 2021 04:07 PM PDT I am curious if somebody is actually running PostgreSQL in a container in production on some form of distributed file system - GlusterFS preferably, or anything. I am currently running Mesos/Marathon. In case the PostgreSQL node fails, Marathon simply launches another instance of PostgreSQL on other nodes and if done properly (service discovery and application recovering from database connection loss), the ultimate fault tolerance will be achieved. I know PostgreSQL has its own HA solutions, like log shipping and hot stand-by backup, but then one still need to solve the problem on when to switch from master to slave, how to do it properly and so on. So, how do you run PostgreSQL in production on GlusterFS or similar? If so, is it stable? How about performance? |
Posted: 21 Aug 2021 08:04 PM PDT I have cloud system based on Openstack Icehouse-version. Now I want to test newer version of Openstack (Juno) inside my existing cloud. All hosts and guests use Ubuntu 14.04 as their OS. KVM is hypervisor I am using. So I created virtual machines on my cloud and installed components of Openstack Juno on them. But I have problems with network connectivity on these virtual machines. Openstack installation guide says:
But it does not tell how this is done. Neither was I able to find this information by Googling. I have tried many things such as enabling promiscuous mode on various interfaces with command: EDIT: When using |
CentOS cifs mount point fails after reboot. permission denied error 13 Posted: 21 Aug 2021 04:07 PM PDT I'm using CentOS release 5.10 I have a mount point setup in /etc/fstab that was working, but now it doesn't. After a reboot the mount point doesn't exist and running sudo mount -a results in: mount error 13 = Permission denied The entry in my fstab looks like this: I've tried mounting manually in the command line using this: My result is: mount.cifs kernel mount options: unc=//my.server\my Folder,ip=192.168.150.100,ver=1,rw,username=myuser,domain=mydomain,prefixpath=MY SUBFOLDER/other folder,pass=******** mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) I can successfully log in with smbclient: and from there I can cd into the MY "SUBFOLDER/other folder" directory. After much google searching, many fixes involved setting the Security mode. I tried ntlm,ntlmi,ntlmv2,ntlmv2i but none of the options changed the output. There is a mount entry for another folder on this same server, which is working, but it doesn't go down to a sub folder: I also tried adding the noperm and nobrl options to my problem mount, but no changes. The System Admin of the windows server (my.server) verified that myuser has full control of all the folders I'm trying to access. |
How can I access my tomcat server running on my network remotely Posted: 21 Aug 2021 06:04 PM PDT I have a tomcat server running on my pc which I can access locally via: Anyway, what I have tried is using the netgear genie interface to configure port forwarding. I have set all internal and external ports to 9090 (I tried using 80 for internal and 8080 for external but I they were already being used). When I point my browser to:
This is NOT the same as the username and password that I needed to login to the netgear genie interface. Note that I use Ubuntu (12.04, 13.04 and 14.04) and tomcat7. Please help me get connected to my tomcat server remotely. Thanks for all the help, and let me know if you need any more information. |
My two-way trust with selective auth seems to behave opposite to a one-way trust Posted: 21 Aug 2021 09:04 PM PDT I'm not sure why I'm the only one running into this, I think it's a larger problem with Server 2012 and RDS protocols... With 2008 machines, you can use utilize a one way trust to authenticate across domains with the TSGateway service, but with 2012 it breaks when running across a one way trust. I'm trying to implement a two way trust that acts like a one way trust for everything but kerberos auth for things like TSGateway and RDS services... A little backstory, I've currently got two domains (A and B) with a one way, external trust. (Outgoing trust on A, users in B can access devices in A) At the moment, I can log into a computer in domain A, and add a user from domain B with the GUI. (I can also do it from the CLI, but that's not relevant here) When I build my test domain, I can recreate this behavior. If I create the test domain with a two-way trust, domain-wide authentication in both directions this behavior doesn't change, though it does allow me to auth in the reverse direction (duh) which I don't want. When I change Domain B to 'selective authentication' for some reason the Users and Computers GUI stops working as expected.
My question (Sorry to take so long to get to it) is why does selective auth change the behavior of the trust so that it behaves differently than a one-way trust, and is there some simple thing I'm missing? When I get the 'unspecified' error from the GUI, I get an error on the DC for Domain B:
I don't understand why it tries to authenticate against DomainB using 'bob' from DomainA, when I provided DomainB credentials... Thanks for any help you can provide, I've been banging on this for 3 days straight and haven't found anything useful yet. |
script not found or unable to stat: /usr/lib/cgi-bin/php-cgi Posted: 21 Aug 2021 06:26 PM PDT I have just seen a new series of error in the
This server is running Ubuntu 12.04lts. I have never seen this sort of attack before, should i be concerned or securing my system in any way for them? Thanks, John |
Cloud Server Error - File Does Not Exist: /var/www/html/public Posted: 21 Aug 2021 10:00 PM PDT I recently moved a webapp, built using Laravel, to a rackspace cloud server. The homepage resolves just fine as I have the root set in the apache config. However, when a request is made to any of the routes, the server attempts to look for an actual file with the name of the route. For example: If I request The server error log shows Part of my apache config And my .htaccess which is located in the public folder This is my first web app so I am very new to all of these concepts and have no formal training. Constructive criticism please. All help is greatly appreciated. Edit 1: .htaccess file corrected |
All PHP sites stopped working on IIS7, internal server error 500 Posted: 21 Aug 2021 09:04 PM PDT I installed multiple drupal 7 sites using the Web Platform Installer on Windows Server 2008. Until know they worked without any problems, but recently internal server error 500 started to show up (once every so many requests), now it happens for all requests to any of the php sites. There's not much detail to go on, and nothing changed between the time when it was working and now (well nothing I know of anyway) The log file is flooded with messages such as I have tried increasing the memory limit in php.ini as such: But that doesn't seem to solve the problem either. This is in the global php configuration in IIS When I looked at the sites one by one, I noticed that PHP seemed to have been disabled.
So I tried to register the php version again But when I try to apply the changes I get
There doesn't seem to be any other information than that. I have no idea why all of a sudden php isn't available for the sites anymore. PS: I have rebooted IIS, the server, etc... This server is hosted on amazon S3, so I gave the server some more power Update These seem to be two different issues
The first issue caused internal server errors for every request. Increasing to 512MB seemed to have solved the problem for a little while, but after a while the server errors return. Note that the PHP manager inside of IIS still shows there is no PHP available for the sites (the global config does see it as available) So the problem remains unsolved |
SAP Homogeneous copy : How do you handle BDLS steps Posted: 21 Aug 2021 05:02 PM PDT Part of SAP Homogeneous copy, we almost always need to perform the BDLS Step. This can cause a lot of grief cause this step can take few (or a lot) of hours. How do you manage it ? any tips and trick ? |
Apache/wsgi "Script timed out before returning headers" Posted: 21 Aug 2021 08:04 PM PDT I have a custom Django app that's becoming unresponsive roughly every 5,000 requests. In the apache logs, I see see the following: I believe I am running WSGI 2.6 (/usr/lib/apache2/modules/mod_wsgi.so-2.6) with the following config: apache config /somepath/django.wsgi When this happens, I can kill the wsgi process and the server will recover. This leads me to believe that the problem is a known issue:
However, I'm not sure why this condition is not clearing automatically. I do see that the script timeout occurs exactly 5 minutes after the last successful page render, so the deadlock-timeout is getting triggered. But it does not actually kill the process. Edit: more info
|
Is there a way to make a "Screen" session survive reboot? Posted: 21 Aug 2021 07:36 PM PDT I am using the Screen utility and would like to preserve the session when the machine reboots. If not possible may be you can recommend other alternatives to Screen that would allow to preserve the sessions between reboots. I am using Ubuntu Server 10.04 (Lucid Lynx) if that matters. I have several sessions opened via Screen. When the machine reboots all those sessions are lost, and I have to reopen them again. I wanted to find a way to preserve those Screen sessions. |
Help: Setting up a basic live stream viewable in a browser Posted: 21 Aug 2021 07:02 PM PDT The end goal of my project is to create a system which records TV from a TV capture card, streams it live viewable in a web page, and stores a copy on the hard drive. It seems like a rather simple concept, but I've been struggling with this for weeks. I've asked on the Ubuntu help forums, the VideoLAN.org forums and now here. Someone out there has to have done something like this without using one of the expensive streaming servers (Adobe Streaming Server/Wowza). The key point I'm stuck at is the live stream because it has the following characteristics.
My nearest attempt was using VLC streaming over HTTP. I used the following encoding line: Debugs
My main questions center around the following concepts: Should I be using VLC's RTP/RTSP/RTMP? If so, how do I set that up? I've tried a billion times and have yet to get something set up locally, let alone remotely. Am I solely restricted to FLV files? All that matters is that Flowplayer can play it in a cross-browser compliant manner, so might I have better luck with a different container? WTF is a .ts file/segmenter? Is my only option trying to get something like Red5 working, or buying one of the expensive servers? If so, why does VLC have a RTP option, yet it never works? Any guidance, or suggestions would be greatly appreciated. Here's my original thread on VLC Forums which unfortunately got crickets. |
Posted: 21 Aug 2021 10:00 PM PDT I am using Ubuntu 10.04 and for some time I had to keep a downgraded PHP 5.2 package because I need to run Zend encrypted scripts. Recently I noticed that Zend released beta version of their loader (http://forums.zend.com/viewtopic.php?f=57&t=1365&start=80#p22073) so I updated to the native PHP 5.3 package, downloaded the .so file, added this to php.ini and restarted the server. Now I am getting this error:
Do you by chance know an easy fix for this? Or should I downgrade back and wait till when they release something more stable? |
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