Recent Questions - Server Fault |
- App Engine Subdomain is showing 404 error
- How to do when EC2 got root account is locked issue in AWS?
- My phone keeps losing internet connection?
- Not able to write into the newly created directory in ubuntu, mounted to cloud storage using gcsfuse. Issues with permission of the server user
- AWS Architecture Advice - multiple EC2 instances with shared database / file system with dynamic start and stop
- IPTables to access resources on localhost via public IP
- Providing cloned virtual environment to multiple clients
- How log commands executed by user
- Windows Server 2019 not updating after restoring recent snapshot
- Centos - Deploy Web Application - What is the best way using non-apache User Account with SFTP/WinSCP
- MS Outlook keeps not responding when requesting data from Exchange
- Why do pods on a node that was recreated after being preempted get stuck in ContainerCreating?
- Is it possible to find a list of all DKIM keys for a domain?
- MariaDB-Server wont start after Server Reboot
- changing location for standalone.xml.tmp
- Unable to promote member server to domain controller
- Periodic broken connections between Nginx and uWSGI
- <IfModule prefork> in Apache 2.4 (Amazon) is not in httpd.conf
- apache httpd ProxyPass with client certificate performance
- Mailbox moves - MSExchange ResourceHealth registry key doesn't exist
- Exchange 2013 Internal and External URLs with multiple servers and certificates
- Change apache ssl configuration to nginx config
- nginx geoip redirect for first time only leads to redirect loop
- net err connection timed out
- Apache UseCanonicalName On isnt passing ServerName to CGI
- fsockopen(): unable to connect to 127.0.0.1:6379
- Users unable to search redirected profile folders
- Free Web Based Server Log Viewer/Monitor [closed]
- Restrict listing a "root" directory in ProFTPD
- certutil -ping fails with 30 seconds timeout - what to do?
App Engine Subdomain is showing 404 error Posted: 08 Aug 2021 10:02 PM PDT I have created my portfolio website on App Engine (website.tech). It is running fine except it doesn't automatically redirect to https (weird!). However, that is not why I am asking this question. I want to configure a subdomain (spaces.website.tech) and I have already done that. It was difficult enough to configure it. But I have already configured through DNS that the subdomain will not be served by Google, and it will contain something else hosted by another provider. For some reason, I am getting Google 404 page which means Google thinks it is their subdomain. How can I change that? I can put actual names too, but I just felt it may not be a good idea to do that on a public forum |
How to do when EC2 got root account is locked issue in AWS? Posted: 08 Aug 2021 09:45 PM PDT EC2 ran with a high CPU load and can't login with SSH. When try to restart it, got this issue and the health check failed.
This screen got from EC2's system log monitor dashboard. Can't operate anything in the system. Why it happened and how to resolve? |
My phone keeps losing internet connection? Posted: 08 Aug 2021 09:15 PM PDT Sometimes it seems like your iPhone or Android phone has completely lost a data connection. Often this can be fixed by turning off Wi-Fi, since some phones will try to connect to open Wi-Fi networks that aren't actually providing data. There's a reason this happens: sometimes your wireless network, like AT&T, might have free Wi-Fi hotspots all over a city. It can be convenient if you're using a laptop, but sometimes your smartphone will automatically connect to those networks even if your regular cellular connection has a faster connection. If you have questions or need any assistance troubleshooting, just visit: Eero Installation | Belkin Extender Setup |
Posted: 08 Aug 2021 08:05 PM PDT We are mounting the GCS bucket using gcsfuse. We installed the gcsfuse in the Ubuntu server as the admin of the server and by following the commands given in the documentation. Then, we created the directory. But while mounting the bucket, we got an error regarding permission level of the admin user. We tried doing the same thing as the root user and created directory in root. We could mount the bucket, but the admin is not able to write anything to the folder. So, we are constantly facing "permission level" issues for an admin to do any operation. |
Posted: 08 Aug 2021 03:38 PM PDT I am very new at cloud architecture but have decent application development experience. Right now, I am in the process of making a large computational pipeline more accessible to 5-10 users via a web application and am setting this all up in AWS. My current implementation is a lightweight React web app that uses two APIs and a MySQL backend that allows users to queue up jobs with parameters and access end results through the web app or from emails sent to users after a run is done. In the middle of this pipeline is a dependency on a proprietary software piece that needs a very hefty machine to compute these steps (64GB ram, 16 cores, 1TB HDD) and can run for up to 1.5 days for just this one step. This is my biggest bottle neck of the entire pipeline. To save on costs as much as possible, I am trying to make the bottleneck/service piece scalable/cost-effective by having multiple EC2 instance "agents" available to be turned on, run the steps, send an email, write to the web app database, and then stop the instance via AWS lambda functions that would be triggered by an action from the web app. I am planning on hosting one EC2 instance for the web app, 2 APIs, and MySQL server on since concurrency/scalability on this piece is very small. I will also have another 1-3 instances for the bottleneck services to share concurrent runs from the 5-10 users which could allow up to 3 runs of the heavy step going at the same time. Since the bottleneck services require similar files to run the programs and the input to these steps can sometimes be file sizes of 150GB, I am thinking of using either EFS or S3 storage to hold the inputs so that I only have to worry about transferring the input files to one place that could be shared across EC2 instances and I wouldn't need to ensure they are started to do the transfer step. This is one manual piece that I also haven't figured out a good way to be more automated since the file sizes are so large. My questions are does my setup sound reasonable and do you see any holes in my implementation ideas? Currently I am using EBS storage for the service instances but I want to minimize the input locations for the 150GB transfers / maintenance. I also am unsure of the difference between S3 and EFS since they both seem to be multi-instance mountable, but which one should I use? And does it make sense to keep the web app, api's, and database on one EC2 instance if I need the service ones able to write to the database after they are done? That instance would be on all the time. Thank you for your help and forgive me if I have said anything naively. |
IPTables to access resources on localhost via public IP Posted: 08 Aug 2021 02:53 PM PDT I have following setup: Proxmox Host dedicated server with one public IP and installed IPTables and bunch of Virtual Machines with docker installed. I use iptables to port forward port 443 to one of the VM's via DNAT and it works fine from outside of the Host ie Internet. But if i try to access resources within VM running on VM via the public IP it is not accessible. Use case: i have nginx with SSL as reverse proxy for services running in docker on VM (backend + frontend APP) and need to access backend from frontend via "public DNS, IP" because of SSL certificate is created for public dns pointing to public IP and port forwarded to VM's nginx. I have public interface bridged to vmbr0 and another brige vmbr172 (172.20.0.0/16) for VM's My Current IPTables rules: I have tried to change out interface to any but connection seems to just "hang" and timeout. Guess i need some postrouting rule but cannot figure out how it should looks like. |
Providing cloned virtual environment to multiple clients Posted: 08 Aug 2021 02:09 PM PDT I have a virtual environment created with vmware esxi consisting on a ipfire and a internal network with some vms. What would be the best way to clone this environment, on demand, so each client could have access to a vpn that leads to copies of the same vms on his own private network? (the client would only have a ovpn (or other) and connect to the vms. I wouldn't mind changing any of the software. I have tried using something like pritunl, but I can't segment a /24, so I can only make it work on 255 clients. |
How log commands executed by user Posted: 08 Aug 2021 08:32 PM PDT first of all i have working some years with snoopy and its not what i need, also checking .history file isn't a solution for me. |
Windows Server 2019 not updating after restoring recent snapshot Posted: 08 Aug 2021 10:10 PM PDT I'm facing an issue regarding the Windows Server 2019 update. I have recently restored the Windows Server with a recent snapshot. Every time I install a Windows Update it's undoing changes, this is the error code list in event viewer Note: I'm installing updates through a WSUS server |
Posted: 08 Aug 2021 09:13 PM PDT I have a simple question, however, I am struggling to understand how to do this in a secure manner, I have a PHP-based web application that runs on Linux (Centos7), I have "user" access with Sudo privilege on the Linux server. The web server (Apache) runs as an "apache" user with an "apache" group, The problem is when I try to deploy applications using WinSCP, I get permission denied errors, the ONLY way I can solve this problem is to do a I don't want to give 775 to the entire web folder, I think it's a big security issue, What is the most secure way to archive this type of task? How can I deploy my app using Winscp with my user account but AS apache user? or any other suggestions on common industry practice that is considered safe? |
MS Outlook keeps not responding when requesting data from Exchange Posted: 08 Aug 2021 03:07 PM PDT Looking for some pointers on this one…. MS Outlook keeps not responding when requesting data from Exchange The setup up… Three locations:
All connections are at least 100Mbs On the remote sites when running MS Outlook 2016 or 2019; when clicking on an email or changing folders outlook goes to not responding. After a few seconds it comes back to life and works fine, until you change folders again. Checking the outlook connection status, I can see the connections to the server going via the VPN (using the local internal address, exchange.ad.example.com). Outlook has got this address correctly via Autodiscover. I checked the following so far:
I did however notice on the outlook connection status window some strange Avg Response times. One of the users has access to several mailboxes (all on the same server). The response time to most of the mailboxes is between 43 and 65, but on a couple of others its as high as 622. Could this be the cause of outlook to not respond? Waiting 622ms? Although it wasn't the mailbox the user was looking at, at the time. When you disconnect Outlook and connect again the results are different and the long waiting times are now on a different mailbox.
Looking at the Req/Fail column there are 0 failures. Most connections say Cached, with a few saying foreground and background.
When the users go into the HQ Office and log in on a hot desk and run Outlook there are no issues at all. So its only over the WAN (VPN) links. Any ideas? |
Why do pods on a node that was recreated after being preempted get stuck in ContainerCreating? Posted: 08 Aug 2021 10:05 PM PDT I had a pod created by a deployment running on a preemptible node in a Google Kubernetes Engine cluster. The node was preempted and recreated. There were several FailedCreatePodSandBox events complaining:
The above events seem to be transient until Calico networking was fully running on the node. However, The final event entry mentioned by "kubectl describe" is different:
The final event included the pod's entire specification in JSON. The pod remained in the ContainerCreating state for hours, so I assumed it would never recover. I then manually deleted the pod and the deployment immediately created a new one which started quickly on the same node. Did something in the pod specification need to change for the recreated node? I tried to simulate a preemption by resetting the node, but the pod came right back up in that case. It seems that though the node name stays the same in both cases, there must be some essential difference between recreating a preempted instance and resetting the instance without recreating it. It seems I encountered a bug, but I'm not sure if it's in Kubernetes proper, GKE's version of Kubernetes, or if it's something specific to Google Cloud Platform's preemption. I'm apparently not the only person to have this problem, since https://github.com/GoogleCloudPlatform/k8s-node-termination-handler exists. I am now using k8s-node-termination-handler and it does work around the problem. Perhaps it's filling in a gap in the functionality GKE provides? |
Is it possible to find a list of all DKIM keys for a domain? Posted: 08 Aug 2021 09:41 PM PDT a DKIM-record is identified by its selector, which might be When making sure that an e-mail's content is valid, the DKIM selector that is mentioned in the e-mail can be used to look up However, when just wanting to make sure that a domain has at least one DKIM set up (to ensure that the administrator of that domain has done their due dilligence), we do not yet have a selector. How can we query the DNS without this selector? Is it even possible? |
MariaDB-Server wont start after Server Reboot Posted: 08 Aug 2021 09:04 PM PDT I recently installed a Koha Library on Ubuntu VServer 16.04 with MariaDB 10.31. Everything ran smoothly until the Root restarted: Now I get: Software error: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1492. at /usr/share/koha/lib/Koha/Database.pm line 100 When i try to connect to the Site. I checked instantly if MySQL is running and it doesnt. So i tried to restart it - but i get an error because we are a small NGO we cant pay for professional help - so you guys are my last resort - thanks in advance! |
changing location for standalone.xml.tmp Posted: 08 Aug 2021 02:05 PM PDT We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to I added also wildfly8 as a tag because it may be also a interesting thing for that version. |
Unable to promote member server to domain controller Posted: 08 Aug 2021 08:03 PM PDT We have a domain called test-companyname.com containing three DCs, namely XXX01, XXX02, and XXX03. All three machines are running 2008 R2. We had to add a new DC into the domain, which would be a 2012 R2 machine. In the process, I have a user who is part of Domain / Enterprise / Schema Admins, with whom I am trying to promote my 2012 R2 member server to a DC. In the last phase I get an error -
In Debug Logs:
The server side error is: 0x2098 Insufficient access rights to perform the operation. The extended server error is:
An error has occurred in the program Working on this for past 12 hours with many teams and am unable to find the root cause. Really strange, this one! |
Periodic broken connections between Nginx and uWSGI Posted: 08 Aug 2021 07:02 PM PDT My Django site is hosted under Nginx/uWSGI. The site becomes unreachable from time to time for a period from few minutes to few hours. It just returns 500 after long waiting. I can see harakiri messages in uWSGI log when this happens. Requests do not reach Django application (I've tried debugging). Instead I'm getting errors in Nginx log: In uWSGI logs I see this kind of messages: It seems the uwsgi messages depend on harakiri value. I can't be sure because the problem is on the heavy loaded production server and I can't do enough experiments. I've set Nginx settings: uWSGI settings: What is the problem and how do I fix this? |
<IfModule prefork> in Apache 2.4 (Amazon) is not in httpd.conf Posted: 08 Aug 2021 06:00 PM PDT I am running an AWS EC2 instance with LAMP (apache 2.4 (amazon). I am trying to tune the prefork module but I can't find it. I have checked the httpd.conf file and it is not in there. I have confirmed that it is running prefork mpm. I am looking for the somthing similar to the following: Does anyone know where those files are located? |
apache httpd ProxyPass with client certificate performance Posted: 08 Aug 2021 05:02 PM PDT We have here a WebService running on wildfly 9. The web service is only available over ssl (https) and needs client certificates. If we change the wildfly configuration that the wildfly will communicates directly with the client (means: the wildfly will handle the https connections and will also checking the client certificates) in our testcase one client can makes between 12 and 15 requests per second (incl. getting the server answers). But if we put in front of the wildfly a apache httpd (V2.2 on CentOS6) proxy (which will then handle the https SSL stuff and will checking the client certificates) the client can then (in the same testcase) only 2 until 5 requests per second. The config of the httpd proxy is: We have already play around with several httpd configuration values:
All we did did not bring any significant improvement. But I can not believe the performance is so bad when we use a httpd proxy. Also not sure what's the bottle leck: the httpd proxy? Or the Client certificate check of httpd? |
Mailbox moves - MSExchange ResourceHealth registry key doesn't exist Posted: 08 Aug 2021 07:02 PM PDT Migrating mailboxes from Exchange 2010 to Exchange 2016. It's going excruciatingly slowly, likely because the old and new VMs share the same relatively slow disks, and it keeps getting throttled. Everything on the internet says to go to But I don't have such a registry key. There is no Exchange 2010 server is version 14.3 (Build 123.4). Exchange 2016 server is version 15.1 (Build 466.34). So where is that registry key? Has that setting moved somewhere else? |
Exchange 2013 Internal and External URLs with multiple servers and certificates Posted: 08 Aug 2021 09:50 PM PDT I'm building a lab with two Exchange 2013 Servers with different internal names and only one external URL, the naming schema is something like this: Internal Names: External URL: In this schema Both servers are using private IP addresses and there's port forwarding to make the server My problem now is how to configure the internal and external URL's on Exchange Control Panel to avoid misconfiguration and certificate errors. A lot of guides on the internet says to put both URLs equal using the external name, but I'm not sure if this is the right way to do this. There's a DAG with both servers and I'm worried how this would work setting equal internal and external URLs on different servers. Another thing that keeps me confused, is about the certificates. I've two Wildcard certificates for those domains: How Exchange will match those certificates with different URL schemas? In the certificates selection I must choose which services will be guaranteed by the certificates, but I'm not able to use more than one certificate for a single server on ECP. Some guides on the web says that the certificate will match accordingly, but this isn't really what happens. Thanks in advance, |
Change apache ssl configuration to nginx config Posted: 08 Aug 2021 09:04 PM PDT I want to ask your help to change my apache ssl config to nginx style. Actually i have tried it a googled but Actually i have done this but in ssl_protools are missing the exclude of versions, also everytime i have done "connected" chain with certificates, the ssl testing websites reported that these are wrong so i dont really want to join certificates together. Thank you :-* if you can give some technical explanation witch will teach me something then please do it. EditThank for all for help and time the final config for "Grade A" on ssllabs is |
nginx geoip redirect for first time only leads to redirect loop Posted: 08 Aug 2021 03:07 PM PDT I'm trying to configure nginx to perform geoIP checks on first-time visitors only. The idea is that first-time visitors should be redirected to the page version which has been customised for their language/country. I'm able to check whether or not a certain cookie exists. If it does, then nginx can proceed and not redirect. This set up means that all first-time visitors will be redirected to what it's likely to be the most appropriate version of the page for their country/language. And at the same time, those users that wish to, can still browse freely all versions available afterwards. I believe Google recommends this type of set up for multilingual/multisite webpages too. The problem is that I get a redirect loop if the rewrite directive is placed outside the root location. Yet, because the US version is the same as /root, rewrites within locations have proven even more difficult to configure. The geo_IP values are passed OK via fastcgi to php if no rewrite is specified, so I don't think there is anything wrong with the setup apart from the rewrite itself. This is my config: |
Posted: 08 Aug 2021 04:03 PM PDT I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to refuse any further requests. The remote browser console gives "net::ERR_CONNECTION_TIMED_OUT" error. But when the ip of the remote machine changes (using a dongle which changes ip after every connect/disconnect), the page/contents displays again. But the above said issues occur again. Their is tomcat7 running along with apache. Tomcat is serving the jsf page through port 8080. All the other requests are handled by apache, proxy it to a virtual machine. In In also similar VirtualHost directives with port 8082, 8889 with similar settings. The "cartodb.user" has been aded in the /etc/hosts file to redirect it to virtual box. Also the firewall has been disabled for the virtualbox. virtual box is also having Ubuntu 12.04. In The enabled modules are On reqtimeout.conf Checked the Apache log files didn't give any error when |
Apache UseCanonicalName On isnt passing ServerName to CGI Posted: 08 Aug 2021 08:03 PM PDT On Apache 2.4 in in a virtualhost I have: According to the docs:
So in my Tomcat/CFML application when I visit the URL but instead I get: It's like the directive is totally ignored. I also tried: and using mod_proxy instead of AJP: The last 2 cause a DNS lookup on I should point out that the only reason I'm doing this is because I'm doing mass virtual-hosting with UPDATE: There is something I noticed in the client headers that is probably relevant. There are 2 headers I haven't seen before: I need to know what set these headers and why. I'm assuming it was either Tomcat or mod_cfml. Can I rely on the |
fsockopen(): unable to connect to 127.0.0.1:6379 Posted: 08 Aug 2021 05:02 PM PDT Im running centOs 6.3, I installed redis-server via remi repository on my local machine. I can run the redis cli. I tried running this after disabling the IPtables but even that did not work for me. here is my iptables rule when it runs I also tried running following command without success. Edit: netstat -tan |
Users unable to search redirected profile folders Posted: 08 Aug 2021 10:05 PM PDT All of our clients are using Windows 7. Our file server is Server 2008 R2. We have redirected users' profile folders (My Documents, My Pictures, Favorites, My Videos) to a share on the file server (
We have offline files enabled for the profile folders, and we have disabled indexing of offline files. Whenever users try to search their documents, they get an instant response stating "no items match your search." Those of us who are administrators (like me), we can search our files just fine. I ran across this thread, but our users already have read/traverse permissions for the root folder. What else can I check to fix this problem? It's affecting all of our users. |
Free Web Based Server Log Viewer/Monitor [closed] Posted: 08 Aug 2021 03:48 PM PDT I'm not much of a server guy, but do need to monitor logs for my web server. Preferabbly, PHP, Apache and MySQL error logs. Could you guys offer any advice for free web-based solutions for monitoring these server logs? It's a linux server. |
Restrict listing a "root" directory in ProFTPD Posted: 08 Aug 2021 08:10 PM PDT I have an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link. Example: / |
certutil -ping fails with 30 seconds timeout - what to do? Posted: 08 Aug 2021 04:03 PM PDT The certificate store on my Win7 box is constantly hanging. Observe: C:\>1.cmd C:\>certutil -? | findstr /i ping -ping -- Ping Active Directory Certificate Services Request interface -pingadmin -- Ping Active Directory Certificate Services Admin interface C:\>set PROMPT=$P($t)$G C:\(13:04:28.57)>certutil -ping CertUtil: -ping command FAILED: 0x80070002 (WIN32: 2) CertUtil: The system cannot find the file specified. C:\(13:04:58.68)>certutil -pingadmin CertUtil: -pingadmin command FAILED: 0x80070002 (WIN32: 2) CertUtil: The system cannot find the file specified. C:\(13:05:28.79)>set PROMPT=$P$G C:\> Explanations:
This is a serious problem. It screws all the secure communication in my app. If anyone knows how this can be fixed - please share. Thanks. P.S. 1.cmd is simply a batch of these commands: EDIT1 I have succeeded to pin down the single windows API that causes the problem - DsGetDcName According to the windbg, the certutil -ping invokes it like so: On my workstation it times out for 30 seconds and then returns error code 1355, which is On another machine, which is accidentally a windows server 2003, it returns almost immediately with the correct domain controller name inside the returned Now the question is what is missing on my workstation for that API to find the correct domain controller? |
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