Recent Questions - Server Fault |
- AWS Tag Editor - Region "Africa (Cape Town)" not available in list of regions?
- How to identify which MSI installation is in progress that throw the error message : "Another program is being installed."
- nginx 404 .php extension with fpm
- kvm and libvirt: hotplug virtual disk as USB storage
- microk8s: pod resource usage metrics not available from all nodes
- Apache server is very slow for high traffic
- What path on disk does a containerd snapshot key map to?
- Wildfly double proxy nginx
- Windows 10 configured with RAW discs to increase Hyper V performance takes minutes to boot
- How to define www.*.abc.example.com wildcard domain in nginx server block?
- DKIM: Can I safely add a DomainKey policy record without breaking existing email?
- Set two IP addresses for parallel data transfers
- How to force disconnect from Windows Remote Apps command line
- Cant't acces to localhost mysql server. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
- Possible exposable asset type on Google Cloud
- What is causing BadRequestException when calling the ExecuteStatement operation on Aurora Serverless db
- Why is there a ping difference between AWS Lightsail and EC2?
- Sendmail does not masquerade the hostname.domain combination
- How do I Generate a Bearer Token for cURL to Get Thru IAP (GCP)?
- PowerDNS: spoof NXDOMAIN response from "forward-zones" server and forward it
- why doesn't arp-scan find any devices when nmap does?
- How to Retain Proxy URL for all request using Apache load balancer
- nginx points the sub-directory of an alias folder to the base directory
- Unable to install Certificate Enrolment Policy Web Service
- MySQL tmp tables: how to clean up diskspace after killing a copying to tmp table process?
- Cloudwatch alarms from Amazon AWS EC2 instance are always in UT, how can I change the alarm time zone to Eastern?
- Amazon EC2 instance missing Network Interface
- How to change Windows DFS replication log file path?
- SQL 2005/2008 and sp_add_jobstep fails
AWS Tag Editor - Region "Africa (Cape Town)" not available in list of regions? Posted: 27 Jan 2022 03:25 AM PST In the Tag Editor (Resource Groups & Tag Editor) you can select the applicable regions in the "Select regions" dropdown. Most of the AWS regions are there, but I do not see |
Posted: 27 Jan 2022 03:09 AM PST We're building Automation deployment through Ansible that have several .msi to install. And we encountered, rather randomly the following error message during deployment : Our goal is to trigger a retry time out whenever this occur and provide a logging message that will describe what is most likely provoking this error. We don't want to reboot the server or force-kill any in-progress installation. I found some leads to explore to identify which process is causing this TLDR; I'm looking for a consistent reproductible way of checking what is actually throwing this error 1) The msiexec.exe process The common answer to this question on Google is to check the Task manager for a msiexec.exe process and kill it before restarting the install. This is not an alternative for this case. 2) There seems to be a Registry key that says whether or not there is an installation in progress But I couldn't find any trace of this key in the registry of several windows machine (we tried refreshing it while installing and uninstalling .msi) 3) In the services.msc GUI there is a WindowsInstaller Service that has no state at rest : This service got into the 4) On going Windows Updates Another common lead found out there is that on going Windows Update are preventing any other .msi to be installed Is there a consistent way to automate the checking of this ? |
nginx 404 .php extension with fpm Posted: 27 Jan 2022 03:08 AM PST When I visit a non-existent url with .php extension I get a ngnix 404 error page, however url without .php extension it works as expected using the try_files. Where the 404 is handled via php application. It has happened since I added this code as suggested Reason for adding this was to fix error in logs: FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream This error was happening when I visited non-existent.php file. I read lots of posts about the problem being to do with 'SCRIPT_FILENAME' being missing but this wasn't the case for me. example.conf php.conf Example URL: https://example.com/foo - Works fine shows pretty 404 inside php app. https://example.com/foo.php - Shows default ngnix 404. |
kvm and libvirt: hotplug virtual disk as USB storage Posted: 27 Jan 2022 02:27 AM PST Observations(1) A new virtual disk can be hot plugged into a KVM/qemu VM as a qemu virtio device, e.g. see question KVM and Libvirt - How do I hotplug a new virtio disk?. However, this requires PCI hot-plugging support from the guest OS and this is not always available. (2) Hot plugging of USB storage is well supported in many systems and there are guides how to forward a physical USB disk to a guest VM, e.g. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-managing_guest_virtual_machines_with_virsh-attaching_and_updating_a_device_with_virsh. QuestionCan kvm/qemu's virtual USB system be used to attach a virtual disk (image file or a block device that is not a USB device) as a USB storage device to the guest VM so that it appears in the active VM? |
microk8s: pod resource usage metrics not available from all nodes Posted: 27 Jan 2022 02:25 AM PST I am running microk8s I have tried disabling and re-enabling the metrics-server plugin and added Here's the result of running What could I be missing and what should I check? |
Apache server is very slow for high traffic Posted: 27 Jan 2022 01:18 AM PST I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge. My application is developed in Laravel, I am using RDS. I am having 300,000 visitors per day and 10,000 visitors at a time. My website is very slow and initial server response time is very high upto 8 sec. Note: I can not use autoscalling because my contents are dynamic, and changing frequently. Autoscaling is using old IMG. I am having below extra settings on httpd.conf file How i can improve the server speed and allow apache to handle much load/visitors |
What path on disk does a containerd snapshot key map to? Posted: 27 Jan 2022 12:12 AM PST I want to remove a snapshot from a node in our Kubernates cluster: But I am unable to map this path to any snapshots as reported by Is there a way to understand if snapshot/NNNN is in use? |
Posted: 27 Jan 2022 02:03 AM PST I have a Cloudflare VM with Ubuntu, where I have Wildfly installed and NGINX, which will be used as reverse proxy. (When I configure my home DNS server to points to this VM and use domain, everything works as it should -> classic reverse proxy setup) Problem is, when I try to setup DNS domain which I have at cloudflare, which I also point to the same Ubuntu server with wildly and nignx, it doesn't work OK, because I enabled Proxy option on DNS at cloudflare to hide IP. Does thing configuration works or even makes sense? |
Windows 10 configured with RAW discs to increase Hyper V performance takes minutes to boot Posted: 26 Jan 2022 11:48 PM PST Long story short: If I configure discs on the machine as a RAW partition so Hyper V works directly with them to increase performance then the machine takes minutes to boot with the blue circle going in rounds. If I put the discs offline then it boots in seconds. Any ideas on how to avoid this? |
How to define www.*.abc.example.com wildcard domain in nginx server block? Posted: 26 Jan 2022 11:37 PM PST I want to define my own domain something like this - www..abc.example.com in nginx server blocks . i have tried to do like this - www(.).abc.example.com * & it throws error like - nginx: [emerg] invalid server name or wildcard "www(.*).abc.example.com" on 0.0.0.0:443 |
DKIM: Can I safely add a DomainKey policy record without breaking existing email? Posted: 26 Jan 2022 11:26 PM PST I need to setup DKIM to validate an email provider we are using. In the provider's documentation, they require us to add two records, a selector record and a policy record, like this: I'm concerned about adding this new policy, because we have quite a few DKIM selectors setup in our DNS zone already, with no existing policy record (we use multiple third party providers that need to send email on our behalf). I want to make sure I don't break existing functionality by creating this record. From what I've read, you can only have a single policy per zone, so it is "shared", so to speak. I've researched this a bit, and the policy the vendor is requiring, Still, this would impact our production application, and I'm hoping to get some confidence that this is safe to add. Am I correct in my assumption that I can add this record without causing a bunch of our outbound email to be marked as spam? Or am I missing something? |
Set two IP addresses for parallel data transfers Posted: 27 Jan 2022 12:31 AM PST I need to transfer massive amounts of data to my server from different client systems around the world as fast as possible. My organisation has two redundant lines from different service providers (150 Mbps + 150 Mbps) which are not used at night. They are mapped to different public IP addresses. I have been given permission to use both lines in parallel to get the maximum possible throughput. How do I configure the network settings (on my server) for a 2nd parallel connection? (I'm on CentOS). I'm using a java based file transfer tool (fdt) that transfers data over sockets. The client (uploading the data) will run this tool on their system by specifying a public IP address (corresponding to Provider 1 or 2). This public IP is mapped to a private IP address on my server (by our company firewall/router). This works well. However, I now want the client to run two instances of the tool - one for each provider (thereby doubling the transfer bandwidth). We have two public IP addresses (one corresponding to each provider). So on my side (on the CentOS server), I have created another private IP address, and asked our IT team to map the 2nd public IP to that. There will be two fdt instances running in server-mode on my server. I need each one to receive data from the respective client instances I tried adding the 2nd IP address as an alias, with netmask = 255.255.255.255 but unable to ping it. What is the right way to achieve this. |
How to force disconnect from Windows Remote Apps command line Posted: 26 Jan 2022 11:46 PM PST I have a RDP connection that is initiated by a RD Gateway website. Login and everything works well. But sometimes the connection becomes a ghost, or if i want to login as another user on the same RD Gateway via RDP i have to manually press the Does anyone know how i get the that disconnect function by command line? The connection does not appear in Query Uers for example |
Posted: 27 Jan 2022 02:14 AM PST I have inherited an ubuntu machine with mysql installed and I don't know how. My problem is that i can't access to mysql. Here some info of my host: MySQl version This is error message: This file EDIT WITH MORE INFO I have tried to fix it in many ways but I can't. Someone could help me? Thanks. |
Possible exposable asset type on Google Cloud Posted: 27 Jan 2022 02:25 AM PST One of the ways to secure a cloud environment is to monitor all of the assets that we have. Recently, I made a script to get information regarding those assets by using GCP API, but I need to do it one by one, for each asset by using the Do you know which asset type on Google Cloud that can be publicly accessible? I found some but I want to make sure that I cover every asset type that can be public. Here is what I found:
Is there anything else that I missed? or is there a way to get all information regarding public asset on GCP? |
Posted: 27 Jan 2022 01:06 AM PST I have a lambda function that retrieves records from AWS Aurora Serverless db. Now I thought of adding api gateway to trigger the lambda function but I get this error Connect an AWS Lambda function triggered by API Gateway to Aurora Serverless MySQL database. What is causing BadRequestException when calling the ExecuteStatement operation on Aurora Serverless db. I have used AWS CDK to create the stacks. I went through this question But it follows a different which I feel is not necessary. Please help me out if you have encountered this error. |
Why is there a ping difference between AWS Lightsail and EC2? Posted: 27 Jan 2022 01:01 AM PST I've recently made a CS:GO server in AWS Lightsail under the Mumbai region. Its ping keeps spiking at random times and it's not only the case with me but all my friends. Meanwhile, EC2 stays stable and never spikes. I've also attached screenshots for a public service measuring the ping delay for the Mumbai region in both Lightsail and EC2. Lightsail ping results for Mumbai region EC2 ping results for Mumbai region Why does this difference occur when both are in the same region and both are created by AWS? Is there no way to make it work in Lightsail and I have to shift to EC2? |
Sendmail does not masquerade the hostname.domain combination Posted: 26 Jan 2022 11:39 PM PST My MASQUERADE settings looks as follows... My hosts file contains... When I'm trying to send a mail, sendmail keeps try to send this with localhost02.ux.com.tus and does not take into account the MASQUERADING settings (I'm expecting user@wantedomain.com as the sender)... Any help would be much appreciated! 20222.01.27 - UPDATE I have created a short shell script, containing the followings... After executing the shell script, I still get a time out error from the SMTP server... However telnet connection to the server via port 587 looks OK... ...and finally the content of the /var/log/maillog file... |
How do I Generate a Bearer Token for cURL to Get Thru IAP (GCP)? Posted: 27 Jan 2022 12:33 AM PST I need to cURL a web app hosted behind IAP on GCP. Normally, users log in through IAP and use the web app, but I need to run some cURL commands (interactive and non-interactive) that hit the web app URLs (for example: I cannot figure out how to get a Bearer token from GCP that I can use in the authorization header for cURL. I can set up a service account with "IAP Secured Web App User" role and I have the JSON key for this service account, but I am not sure where to go after that to get a proper Bearer token that IAP will accept. |
PowerDNS: spoof NXDOMAIN response from "forward-zones" server and forward it Posted: 27 Jan 2022 02:25 AM PST I faced an issue trying to setup PowerDNS for my local network. I have a domain example.com managed by Cloudflare. For instance I have A record on Cloudflare like Looks like I need to spoof NXDOMAIN response from local PowerDNS and query forwarder. Is it possible? EDIT: I started with LUA script and is able to catch NXDOMAIN response. But I can't forward it. |
why doesn't arp-scan find any devices when nmap does? Posted: 27 Jan 2022 12:58 AM PST When I run Though when I run Why does |
How to Retain Proxy URL for all request using Apache load balancer Posted: 27 Jan 2022 02:07 AM PST I am trying to serve the requests to my Site through Proxy machine using Load balancer. When i try to access the Site by hitting http://PROXYSERVER.com, the HomePage comes up fine retaining the address bar URL with http://PROXYSERVER.com. Now, when i try to access internal links for example, http://PROXYSERVER.com/services/ then the address bar URLchanges to the APPSERVER URL http://APPSERVER01.com/services/
Expected behaviour is when user requests http://PROXYSERVER.com/services/ then the address bar should retain the proxy URL while serving the request
Any suggestions will be appreciated. |
nginx points the sub-directory of an alias folder to the base directory Posted: 27 Jan 2022 01:05 AM PST I am new to Nginx. Now I have a confusion on nginx configurations: My web site contains folders in different locations: When I query Now I want to add a sub-directory under But I got 404 error when querying Update: I may find a solution: just put the sub-directory configuration in the parent conf: Is it correct? Or are there better solutions? |
Unable to install Certificate Enrolment Policy Web Service Posted: 27 Jan 2022 12:04 AM PST I'm running on Windows 2k8 Enterprise edition, and when adding the Active Directory Certificate Services, I don't see the option to add the Certificate Enrolment Policy Web service in the dialog box. Please let me know if I'm doing something wrong. Thanks! |
MySQL tmp tables: how to clean up diskspace after killing a copying to tmp table process? Posted: 27 Jan 2022 12:04 AM PST i ran out of disk space while running an alter table on a large table. I restarted MySQL afterwards and checked the MySQL tmp dir. A show status like '%tmp%' lists 5 tmp files and 4 tmp tables. A df still shows 99% disk usage (was like 72% before the alter table). Running a "check table" returns "OK". How to clean up the disk space used by the alter table command? I'm running MySQL 5.5.31 on Ubuntu 12.04. Thanks: Lars |
Posted: 27 Jan 2022 02:35 AM PST I am running an Amazon linux AMI and the alarms that I've setup are coming in all showing UT (universal time). It is inconvenient reading these alarms and I'd like them setup to read in eastern time zone (or America/New_York). I've already set my /etc/localtime to point to -> /usr/share/zoneinfo/America/New_York But it is still sending alarms in the UT timezone. Does anyone have a solution to this? |
Amazon EC2 instance missing Network Interface Posted: 27 Jan 2022 03:11 AM PST I am running Linux on a t1.micro instance at Amazon EC2. Once I noticed bruteforce ssh login attemtps from a certain IP, after litle Googling I issued the two following commands (other ip): Either this, or maybe some other actions like I only can connect to it through AWS Management Console JAVA ssh client - via local 10.x.x.x address. Console's
Please advice, how can I recreate a Network Interface for the instance? Upd. The instance is not accessible from outside: cannot be pinged, SSH'ed or connected by HTTP on port 80. Here's the What is also unusual: a new micro instance I created from scratch, with no relation to the troubled one, was not pingable too. |
How to change Windows DFS replication log file path? Posted: 27 Jan 2022 02:07 AM PST I have enabled DFS replication for a couple shares on my Windows Server 2003 machine and it works fine, except that I would like the debug logs to be written to a different drive (it logs in to the windows folder on the C drive by default) and also change the logging levels so it's not logging as much. I found some information here at technet (see the section titled DFS replication) and a couple other sites with similar information. The problem is, I do not have the registry keys (HKLM\SYSTEM\CurrentControlSet\Services\Dfsr\Parameters) - I do not have the "Dfsr" container. Also, if I try the wmi command (wmic /namespace:\root\microsoftdfs path dfsrmachineconfig set debuglogseverity=5) it says invalid namespace 0x8004100e. I do have a "dfs" container at that registry path (dfs instead of dfsr) and \Parameters, but none of the registry keys mentioned on that technet site. How can I change the path and/or log level? |
SQL 2005/2008 and sp_add_jobstep fails Posted: 27 Jan 2022 01:05 AM PST I have a job that is being created by a non-sysadmin user. This job fails because the If I read BOL this would be ignored in SQL 2008 R2 which I have confirmed I am running with Any thoughts? |
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 |
E-Techbytes: Recent Questions - Server Fault >>>>> Download Now
ReplyDelete>>>>> Download Full
E-Techbytes: Recent Questions - Server Fault >>>>> Download LINK
>>>>> Download Now
E-Techbytes: Recent Questions - Server Fault >>>>> Download Full
>>>>> Download LINK ke