Recent Questions - Server Fault |
- Docker accessible via localhost:8080 & 127.0.0.1:8080 but not via IP
- Are DDoS attacks a real threat to small websites?
- Docker Redsocks as proxy for all traffic
- Redirect all pages to non www and one page to www
- Attack and install RAT from wi-fi network [closed]
- AWS ALB - health check to port 3306 (DB)?
- What is the Lightest Server OS to develop and run PHP/MySQL NodeJS apps on local environment such as Office Space?
- Nameservers, DNSSEC, email and PTR on 1 IP address
- My Compute Engine Instance disappeared
- How to block non vlan traffic for an ip address on linux
- Max Hard Drive Size for SATA 2
- Can't connect to my localhost server with my public IP
- Node pool selection
- AWS Athena Query 2 separate tables together
- Is using Azure Data Factory for transformation of Azure hosted Snowflake efficient?
- what's root cause of "A start job is running for Create Volatile Files and Directories"
- Azure Virtual Machine can only connect to *.microsoft.com
- What is the difference between S3 Multi-Region Access Points and AWS CloudFront?
- BIND: enabling logging of denied queries
- Folder Redirection GPO fails with 502 "Can't create folder" error for folders that already exist
- OpenVPN - Cannot ping server computer from client
- Not logic in docker filter
- Azure Disks-Adding disk without stopping it
- Enable TLS 1.2 in Windows Server 2012 running Exchange 2013 via IIS 8.0
- How can I access my tomcat server running on my network remotely
- SQL error log can't create/write to file
- How to use nested Nginx location blocks (prefixes vs. regex directives)?
- confusing result on Apache server status results
- How to create an SHA-512 hashed password for shadow?
- SAP Homogeneous copy : How do you handle BDLS steps
Docker accessible via localhost:8080 & 127.0.0.1:8080 but not via IP Posted: 24 Apr 2022 05:02 AM PDT I have the below scenario - 3x Vagrant VMs are spinned from the below Vagrantfile, up and running (visible within Oracle VirtualBox). I am logged on docker1, the network type is "NAT", portforwarding is used (Guest:8080, Host:8080). I am able to access the page from localhost:8080 & 127.0.0.1:8080 & 127.0.1.1:8080. However, I have no access via the IP (192.168.99.101:8080 is "Taking too long to respond" and can't be reached). the docker-setup.sh file is below: the other-steps.sh file is below: The networks are below: The etc/hosts content is here: I've researched tons of articles with the same issue but still cannot find a solution. I suppose this might have something to do with the DNS resolution of the IP address in queistion...? Appreciate your help! |
Are DDoS attacks a real threat to small websites? Posted: 24 Apr 2022 04:39 AM PDT Good morning, I've been hosting a small, company website and a private NextCloud instance (file hosting for teamwork) for ~2 years. During this time I've been paying my hosting for a DDoS protected IP address, however I haven't experienced any attacks so far and everything seems to be running without any issue. This lead me to think about getting rid of the DDoS protection to save money (the DDoS protection alone is about 50% of my bill). Do you think DDoS attacks are a threat small website owners should worry about? If so, are there any free and effective ways I could protect myself or should I continue paying for the outsourced protection service? |
Docker Redsocks as proxy for all traffic Posted: 24 Apr 2022 03:56 AM PDT I'm using redsocks to connect to my socks5 proxy and everything works fine but because docker creates an new interface named docker0 no traffic gets forwarded to REDSOCKS Standart Redsocks config How can I now proxy all traffic comming from docker to Redsocks? |
Redirect all pages to non www and one page to www Posted: 24 Apr 2022 02:54 AM PDT I want to redirect all my internal pages(eg: example.com/about) to their non www version but I want my homepage(https://example.com) to redirect to it's www version(https://www.example.com) I searched many articles on the internet but it could not work. If set both rules then the internal pages get redirected fine but the homepage gets trapped in a loop. I don't know how to code so please it's a request if you could write the code which I should paste in my .htaccess file Currently I have set all pages to redirect to their non www versions(even homepage) with the below code: |
Attack and install RAT from wi-fi network [closed] Posted: 24 Apr 2022 02:56 AM PDT I am using a wireless network as my internet connection. |
AWS ALB - health check to port 3306 (DB)? Posted: 24 Apr 2022 02:01 AM PDT I have a ALB with it's target group, the HTTP health checks are running fine. I would like to do the same to port 3306 (because we have been dealing with some issues with our DB), and maybe add to this new health check a SNS to notify us when it crashes. Is there a way to do it with the feature of adding the SNS notification? Lambda, another target group? |
Posted: 24 Apr 2022 01:36 AM PDT I have an old Desktop Computer with the following Hardware specification:
Basically, what I want to achieve is to install a Server OS to run intranet applications such as OrangeHRM, WordPress and/or some NodeJS apps, Django Based apps and Rails-based App. I would like to configure it so that users on the local network can communicate with the intranet server using IP or intranet domain such as MyOfficeServer.local etc. Around 10 to 15 PCs could communicate with the server simultaneously. I would like to have your expert suggestion on what ServerOS should I install on this PC, and what kind of Control Panel would be the best to suit my needs? Here are some details on what tools will be used Heavily.
Currently, I am running a Windows 7 but the load is very heavy, Linux OS with a decent Cpanel alike environment installed maybe could help with the resources but what's the best OS for it? Ubuntu? CentOS? I am comfortable with CMD "Terminal". CPU usage matters in one way or another. Your help would be highly appreciated. |
Nameservers, DNSSEC, email and PTR on 1 IP address Posted: 24 Apr 2022 01:48 AM PDT I have a domain registered with Directnic for my business. This registrar has its own nameservers and DNS records management as expected. To setup DNSSEC I am asked for algorithm, key tag, digest type and digest; this means that I need a third party DNS to setup DNSSEC. Currently I use a third party shared hosting account to manage DNS records and DNSSEC because of this issue, but I do not want to depend on this shared hosting account for my business. The VPS I use for business only has 1 IP address, I know it is possible to use the same IP address for multiple nameserver domains. I have googled for information before posting here, some people are concerned with the fact that only one of these nameserver domains sharing the same IP can get a valid PTR record. Why do people want to set PTR records for the nameserver domains? Currently I have a PTR record set for the IP of my VPS because I am sending emails from it, should I separate nameserver domain and mail server domain? |
My Compute Engine Instance disappeared Posted: 24 Apr 2022 12:25 AM PDT My Compute Engine disappear last month I believe it was due to lack of funds in my billing account at the settlement date which was end February. I realised it 3 days into March and funded the billing account but when I checked my Cloud Dashboard the Instance was not there. Is there any means I can get it back ?. Thank you. |
How to block non vlan traffic for an ip address on linux Posted: 24 Apr 2022 12:17 AM PDT I have a vlan created on a Linux vm and assigned ip address to it.I would like to block all incoming traffic to the IP address that is not coming from the same vlan I would still like to able to send traffic to similar ips that are in different hosts but on same vlan How is that possible ? Any configuration that can be done |
Max Hard Drive Size for SATA 2 Posted: 24 Apr 2022 12:57 AM PDT Recently acquired a 1U Supermicro E3-1230 with two 3.5" drive bays, and thinking of buying two 18TB SATA-3 hard drives for it. Before I make this investment, would anyone know if SATA-2 (3 Gbps) would support 18TB drives with their full 18TB capacity, with a motherboard BIOS date from 2011? All SATA docs talk about the speed difference between SATA-2 (3 Gbps) and SATA-3 (6 Gbps), and little about capacity compatibility. OS will be Linux 64-bit which is 18TB compatible, if the SATA bus supports it. Motherboard is a Supermicro X9SCL. |
Can't connect to my localhost server with my public IP Posted: 24 Apr 2022 04:33 AM PDT I have created a local node server on my laptop. And I can access it using the private IP (like 192.168.1.9:8080) on same network on my other devices like phone and other PC. I have disabled firewall. But now I want to access it using my public IP. So that anyone using a different Internet connection can also connect to it. But it just doesn't respond. I added a DMZ Host: Then I added this port forwarding setting (I saw it on YouTube tutorial). I'm not very sure if it's correct or not. And here is network status: But it made no difference. Am I doing something wrong? Note: My problem is probably not related to Hairpin NAT. PS: If you think I've shared some sensitive/private information in the screenshots, please let me know I'll update it immediately. |
Posted: 24 Apr 2022 05:10 AM PDT I have a Kubernetes cluster with many node pools. Sometimes the deployment fails because the selected node pool that Kubernetes select has not enough available resources. Is there some way to force Kubernetes to select a node pool with the amount of resources that the whole set of pods requested? |
AWS Athena Query 2 separate tables together Posted: 24 Apr 2022 04:57 AM PDT I have 2 Tables, and i need to query them together, for example. From the first table i get results with my query: InstanceID, title, status and etc... From the second one: key, value, region and etc... I want to make 1 query so i can get the results from both of them. My 1st query: 2nd query: Any help will be appreciated. Thanks |
Is using Azure Data Factory for transformation of Azure hosted Snowflake efficient? Posted: 24 Apr 2022 03:49 AM PDT I'm trying to understand the efficiency of using Azure Data Factory for transforming data within Snowflake (Azure based). We have two possible scenarios and want to pick the most efficient: Scenario 1:
Scenario 2:
Does scenario 2 incur additional costs in egress of raw data to ADF (data sets) from Snowflake in the transformation step or does it all happen in Snowflake without data set egress? Reading the ADF documentation, it seems the compute itself happens on the linked service (i.e. Snowflake), not within ADF itself, but does that mean that data does not leave Snowflake when ADF transforms it? Let me know if the question isn't clear. Thanks! |
what's root cause of "A start job is running for Create Volatile Files and Directories" Posted: 24 Apr 2022 01:50 AM PDT Stuck at "A start job is running for Create Volatile Files and Directories" after reboot a server(Debian 9.5, 64bit), and solve by this "boot-stuck-at-a-start-job-is-running-for-create-volatile-files-and-directories". I can't figure out what is the root cause of this issue, although search from many questions which are not refer the root cause but just the varied solutions that not meet me. We have not reach the limit of file or (sub) directory, and set the And the are more than 50% capacity of The original Some info: |
Azure Virtual Machine can only connect to *.microsoft.com Posted: 24 Apr 2022 03:56 AM PDT I'm configuring a VM in Azure and when connecting to websites I get a RST response for every website other then *.microsoft.com domains. I can't figure out why this is, I have tested this on both Ubuntu 20.04, Windows Server 2019 and Windows Server 2022 Datacenter. I have tried multiple resource groups and there are no NSG's or UDR's blocking internet connectivity. Final note there are other servers on this resource group that don't have a problem with this |
What is the difference between S3 Multi-Region Access Points and AWS CloudFront? Posted: 24 Apr 2022 01:02 AM PDT Can anyone explain the difference between S3 Multi-Region Access Points and AWS CloudFront? The documentation for a multi-region access point states:
The documentation for CloudFront states:
There are of course major differences between both descriptions, but generalized speaking I understand both services as solutions to deliver content faster and more efficiently. What are there main differences? |
BIND: enabling logging of denied queries Posted: 24 Apr 2022 02:08 AM PDT Im trying to get bind 9.11 (default on CentOS 8) to log queries, wich could not been answered or that lists clients that constantly querying the server, but are not allowed to. Finally I want to use this logging to feed it to fail2ban and block those "idiots". The server is a primary NS responsible to answer queries about domains its holds, but nothing more. First I tried to log everything, like described in https://kb.isc.org/docs/aa-01526 even with full debug level, but never found a logline including the word "denied" or similar, except when somebody asked for a complete zone transfers (wich are surely only allowed from the secondary NS) like this: 27-Aug-2020 11:40:47.317 client @0x7fd284052510 94.102.208.167#51041 (somedomain.com): zone transfer 'somedomain.com/AXFR/IN' denied When asking the server with a query for a name he is not responsible for, the client gets an: dig @ns.mydomain.com www.disney.com Non-authoritative answer: *** Can't find www.disney.com: No answer what is right, but bind only logs something like this: 27-Aug-2020 11:43:27.741 queries: info: client @0x7fd2840bf440 1.2.3.4#34369 (www.disney.com): query: www.disney.com IN A + (x.x.x.x) which gives me no clue, what kind of answer was send to the client. Current config is: So: how can I create logentries for clients that where not allowed to ask the server in the first place ? |
Folder Redirection GPO fails with 502 "Can't create folder" error for folders that already exist Posted: 24 Apr 2022 02:08 AM PDT For a very long time now, we have relied on a registry setting to handle folder redirection for our Documents folders. Part of the login script sets This works, but I know it's not the typical way to handle this. Especially with Windows 10, the semi-annual feature updates have occasionally broken the process. Therefore I'd like to start using the built-in (and supported) Folder Redirection GPOs. My test policy is setup with these options: I have a test account with the old registry change removed from the login script. For other details, I'm testing from a Windows 10x64 1909 Enterprise computer. We have Server 2019 DCs, but we're at the 2012 functional level because I have one stinking Windows XP machine left I have to support :( I have this almost working, but unfortunately I get a Failed to apply policy and redirect folder "Documents" to "\\fileserver\testuser\". Redirection options=0x80009210 The following error occurred: "Can't create folder "\\fileserver\testuser"". Error details: "This security ID may not be assigned as the owner of this object.". The thing is... the folder already exists, and while the user is indeed not the owner, they do have modification rights. I do not want individual users to have rights to create new folders in the root of this share. I do not want to let Folder Redirection create these folders. We are comfortable with our existing user creation scripts. I just want it to use the folder that is already there. Is this possible, or will I have to make extensive modifications to our account creation scripts, file share structure, and update a few thousand existing shares? (Each of our current folders are their own shared, and not simply a directory in a parent shared folder). |
OpenVPN - Cannot ping server computer from client Posted: 24 Apr 2022 05:05 AM PDT I am trying to get my OpenVPN setup working for our remote office. I've installed the OpenVPN community to server and client, created the certificates. Port forwarding rules are also in place, and connection between client and server can be made without a glitch. But when it comes to ping the client from the server or vice-versa, I got no luck. I've tried to temporiarly disable firewall for both server and client, but no dice. Both of the systems are running on Windows (7 on server, 10 on client). I'm using OpenVPN GUI v11.14.0.0. Here are my slimmed down versions of config files: Server: Client: If relevant, here is the active routing table on the client, listed while VPN is connected: I feel that this is a problem of routing, but I have no clue about how to fix that. UPDATE: Here is my interface information on the client UPDATE 2: I've just noticed that if I try to ping the server (10.8.0.1), number of bytes out which is show on the OpenVPN GUI increases, as ping packages being sent. |
Posted: 24 Apr 2022 12:00 AM PDT I have a named container that may or may not be up and if it is up I want to be able to kill all the containers but that one by name. Basically what I want is: sadly the internal docker ps command here raises the error:
I tried getting a similar result using grep -v: The problem is that if the container is not up (which very well may be) then the "docker ps -q -f name=" returns nothing and grep doesn't work with no pattern so this entire thing fails. Any suggestions? |
Azure Disks-Adding disk without stopping it Posted: 24 Apr 2022 01:07 AM PDT Can anyone help me to know if we can add disk to azure vm without shutting it down or stopping the VM? |
Enable TLS 1.2 in Windows Server 2012 running Exchange 2013 via IIS 8.0 Posted: 24 Apr 2022 01:07 AM PDT I got some issues getting the TLS 1.2 protocol running on one of our Windows Server 2012 machines. I checked this using ssllabs.com by Qualys and also tested with a powershell script and the linux tool "cipherscan". The server hosts one Exchange 2013 SP1 (CU4) Server, with IIS 8.0. The certificate used is issued by our company CA. Another Windows Server 2012 with the same Exchange 2013 SP1 (CU4) installation works perfectly with the same certificate. As I could research Windows Server 2012 uses TLS 1.2 by default. However this setting can be configured using the registry: Microsoft also mentions that this local group policy setting might help: As this setting should be set inside the operating system Microsoft also recommends to enable TLS 1.2 usage in the Internet Options of Internet Explorer. I tried all of these 3 options, but none worked for me. Just to make this clear. The server (not just the IIS Service) was rebooted serveral times after enabling each of the settings. Most guides and Scripts (e.g. powershell) just set the corresponding keys in the registry. I don't know exactly what else I could try. I hope that somebody got the clue where to enable this. |
How can I access my tomcat server running on my network remotely Posted: 24 Apr 2022 05:05 AM 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. |
SQL error log can't create/write to file Posted: 24 Apr 2022 04:01 AM PDT I'm quite new to server administration but a keen learner, so if I miss anything or you need any extra info let me know and I'll do my best to provide it ASAP :) I'm running WordPress on a developer plan VPS over at media temple (meaning I have root access, everything is managed by me etc). My OS is Fedora, Apache is latest version and am using MariaDB for MySQL. When trying to read/write menus from the WP admin panel Apache writes this to its error log: This error repeats for about 20 different queries, and I've checked with perror that error code 2 for SQL means "No such file or directory". I would contact my host about this problem, but as I said I'm on a developer plan meaning they won't help me with anything. Generally from Googling around I can find an answer or solution but in this case I've come up with nothing. |
How to use nested Nginx location blocks (prefixes vs. regex directives)? Posted: 24 Apr 2022 02:14 AM PDT I'm having trouble understanding nested locations in nginx. I have two locations with some configuration directives in common, so rather than repeat the directives, I'd prefer to repeat the URI using a regular-expression: However, this gives the error Without the or What am I doing wrong? Is there a better way to do this without repeating anything? Can I group locations in another way? |
confusing result on Apache server status results Posted: 24 Apr 2022 04:01 AM PDT I have a CentOS 5.5 Final with Apache 2.2.3 and checking if there are some misconfigurations I settled up server-status page and querying a certain page I obtained this result: Since I see an open slot with no current process associated with some pages, would that mean there is misconfiguration in Apache and do you have an hint to check a possible parameter to avoid that? If you need more infos, like configurations, I can provide... Plus I have to say I don't see any errors in /var/log/messages or /var/log/httpd/error_log or /var/log/httpd/ssl_error_log and neither in /tmp/php_error_log... plus if I do ps aux I don't see those open slot listed... Cheers, Luigi |
How to create an SHA-512 hashed password for shadow? Posted: 24 Apr 2022 05:09 AM PDT The previous SF questions I've seen have lead to answers that produce MD5 hashed password. Does anyone have a suggestion on to produce an SHA-512 hashed password? I'd prefer a one liner instead of a script but, if a script is the only solution, that's fine as well. UpdateReplacing previous py2 versions with this one: |
SAP Homogeneous copy : How do you handle BDLS steps Posted: 24 Apr 2022 12:00 AM 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 ? |
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