Recent Questions - Server Fault |
- Create Docker nginx but browser returns site not found error
- How to mark output packet to make ip-rule see it?
- Postfix + Dovecot + MySQL -- for both virtual and local (shell) accounts
- Perforce client AND server no longer connecting, 127.0.0.1:1666 refusing all connections on server, even local connections
- Retrieve Win32_UserAccount object by its full (not "pre-Windows 2000") logon name
- Putting a caching nameserver in front of ad
- vCenter Installation stuck at 56%
- Apache2 SSL: None of the common names in the certificate match the name that was entered (works with www. but not without)
- How to put a command that autostart daemon before login in Ubuntu server 20.04
- memtest freezes, but otherwise system works OK (Debian)
- How to change DefaultTasksMax in system.conf?
- Correct way to put a MySQL replicated environment safely into maintenance mode?
- CORS error - Website is not reachable (ERR_FAILED), then redirects and works by itself
- ESX hosts crash within same vcenter cluster
- Dell PowerEdge R410: Format SAS NetApp drives to 512B sector size for use in RAID
- Dell iDRAC on dedicated NIC not accessible from the server itself
- Using a RAID Controller as Pass-thru vs RAID0
- kolla ansible deployment stuck at Nova API bootstrap container
- Azure Scale-set how to monitor memory utilization
- Outlook and OWA search not working - no results
- Make IIS server max_file_upload size 10GB
- Start/stop windows service as user from command line
- Proper Way to set Preferred DNS Server on the Windows Domain Controllers themselves?
- How to serve static files with version number with Nginx?
- Roundcube domain change for a single account
Create Docker nginx but browser returns site not found error Posted: 20 Jun 2022 03:12 PM PDT Windows 11 Pro I'm following the Hashicorp Terraform Docker tutorial : Everything seems ok but when I open browser and go to I get error I've tried this in Chrome, Firefox, Edge and receive similar errors. I've tried switching off internal/external Windows Defender Firewall but still receive error. |
How to mark output packet to make ip-rule see it? Posted: 20 Jun 2022 03:12 PM PDT I have a routing configured: I'm trying to mark output HTTP-requests (e.g. But it's not working. What am I missing? |
Postfix + Dovecot + MySQL -- for both virtual and local (shell) accounts Posted: 20 Jun 2022 03:13 PM PDT OverviewCaveat: I'm a repentant sendmail user from the 80s. The basic problem to solve is how to modify the dovecot (I assume dovecot) configuration to permit emails coming into the system that are addressed to non-virtual users (and have shell accounts on the system) that those emails are spooled up like typical unix users (as if there was no Dovecot involvement). I have configured it successfully to handle all incoming email as if every candidate incoming message is run through the Dovecot plumbing. The virtual domain/virtual user config operates perfectly. I was just following some of the documentation and guides and this behavior is obtained. This is OK. I want this. But.. about the local users. The users with shell accounts.. Now add the request -- for the shell users.. Users who are not virtual. They need to get email also. Question: I am not sure what I should be looking for in the Dovecot config to specify that a candidate message addressed to a shell user gets shunted off to Postfix without further disposition by Dovecot? EDIT: I realized after posting this question that the remarks may be that if the system has a FQDN itself, users like eg:
(assume plain old Desired use cases:
Result: mail from
Result: mail to System details Thanks in advcance. I'll summarize if warranted and adjust question if asked. |
Posted: 20 Jun 2022 02:38 PM PDT I have a server running Ubuntu server 18.04, and it's the catch-all local server - hosts a samba share, media server, and a Perforce server. I connect to that depot via a local network IP (ssl:192.x.x.x:1666). Everything was working great until... ...I also tried to add a wiki.js install to it. There was a lot of package and config thrashing. Apache got removed, wiki.js / mongodb / mariadb / postgresql all got thrown around and deleted more than once, and nginx got installed and torn out many times. Here's why - (context for what I was up to that probably caused this): I have DNS filtering for the whole network via PiHole and with that, I created local DNS names & CNAME entries for the various processes on that Ubuntu server. The idea was I could point a client machine elsewhere in the network to, say, "perforce.RackServer.net" instead of "192.168.0.x:1666" and get the same result with some reverse proxy'ing by nginx. We were trying to make addressing human-readable instead of everyone having to ask me for IPs and port numbers for everything. I did not have success setting up nginx. It's uninstalled now. That's fine - I'll come back to it later. Here's the problem. Somewhere in all that, something with the network configuration (the machine has eth0 and eth1) got whacked, and now when I try I get
A systemctl status check of that gives me:
That's similar to the error I now get trying to connect remotely with the p4v visual client: Checking the P4PORT environment variable on the server gives me: ...nothing. It SHOULD be ssl:1666 or just 1666. It used to be, until now. So if I set that to what it should be with
and then go try to start the service, I get the same error as the first time. Let's check the actual connection...
Same with: And: However, nmap doesn't show 1666 open... Here's the ifconfig, just for reference.
I'm not actually a networking guy by trade - and I'm still learning *nix - so I'm in way over my head, and I have to get that Perforce depot back online. Everything is there, the machine is just suddenly refusing to take connections - remote OR local - on 1666 for whatever reason. All the other services that have been working correctly are either still working or back to working. It's just this one. |
Retrieve Win32_UserAccount object by its full (not "pre-Windows 2000") logon name Posted: 20 Jun 2022 02:10 PM PDT I'm attempting to look up the SID for a specific user account in a PowerShell script. Prior research suggests that this can be done using the In my case however, this doesn't work. This is because the username of the account I need to look up is especially long, longer that what Windows versions older than Windows 2000 can support. Despite the fact that it is currently 2022, not 2000, that means my code above is actually broken. Indeed, if I instead use a shorter version of the account's username, what Microsoft's Active Directory Users and Computers tool refers to as the account's "User logon name (pre-Windows 2000)", then the above code works fine: However, my script doesn't have a way to retrieve the account's "pre-Windows 2000" name; it only has the account's real (post Windows 2000) username, which may not have any relation at all to the account's pre-Windows 2000 name, since those two values can apparently be set independently in Active Directory. How can I get the SID of a user (and other |
Putting a caching nameserver in front of ad Posted: 20 Jun 2022 02:04 PM PDT I would like to set up a caching nameserver to meet some requirements in the datacenter. Some of these requirements make me to put this caching nameserver between my servers and AD (e.g. collecting some statistics, managing whole dns things at one spot etc) When I run some tests like joining a windows server to AD domain while the server is looking to this caching nameserver (lets say 10.10.10.10) and its forwarding (or replying from cache) that domain (lets say my.domain.com) to AD DNS, it actually works but partially. Server can join AD domain, I can login to server with my domain user, there is no trust issues, I can see the computer object in AD users and computers console, however, there is no DNS record created. I can't get an answer from nslookup. Whats going on during the join process? The caching name server I use is unbound btw. |
vCenter Installation stuck at 56% Posted: 20 Jun 2022 01:05 PM PDT |
Posted: 20 Jun 2022 12:40 PM PDT I'm using https://www.sslshopper.com/ssl-checker.html to check my site, and it's failing with this error message:
My Is it because I only have (Update: Solved below) |
How to put a command that autostart daemon before login in Ubuntu server 20.04 Posted: 20 Jun 2022 12:27 PM PDT I have two programs in Ubuntu server 20.04, that located in: They both run with command: and then: |
memtest freezes, but otherwise system works OK (Debian) Posted: 20 Jun 2022 01:38 PM PDT I have a Debian 11 x64 system (info below) that works OK in general, but I've unplugged all of the 4 memory modules and tried them one by one with the same result. I've noticed that due to my Virtualbox Windows VMs regularly crashing. That's the only replicable problem I can find on the system. I'm not sure if those are memory modules or something on motherboard failing. How can I diagnose that? Most of the |
How to change DefaultTasksMax in system.conf? Posted: 20 Jun 2022 02:00 PM PDT I want to change the The command: still (even after server restart) produces this output: What am I doing wrong? Some other informations: the server is hosted on Strato.com, it runs Ubuntu 20.04.4 LTS. |
Correct way to put a MySQL replicated environment safely into maintenance mode? Posted: 20 Jun 2022 12:54 PM PDT I need to perform some maintenance on our master/slave/slave MySQL cluster. The maintenance involves optimising three tables, at least one of which is being locked for a duration of approximately 2 hours. The optimise operation for each table runs to completion on the master and then propagates to the slaves in turn via the binary log when complete. The way I see it I currently have 3 options:
I'm struggling to find any documentation on best practices for this, or the exact behaviour of the shutdown, is anybody able to confirm the best way to safely bring the boxes offline to perform the necessary work? Performing the operation cleanly is of bigger concern than the time taken, as the maintenance will be performed overnight. The MySQL version is 5.6, it unfortunately is an older version, plans are in place to upgrade in the near future but I'm stuck with it for the time being. The replication method is GTID. Many thanks. |
CORS error - Website is not reachable (ERR_FAILED), then redirects and works by itself Posted: 20 Jun 2022 01:50 PM PDT Error: I get "This site can't be reached ..." and then it automatically redirects and then the page works. Please see the screengrab GIF below. This error happens in random unpredictable intervals. On average it occurs once in ten times. It happens even in a plain HTML page where there is no content. I tested with only a "Hello World" text. There are no CSS or other file includes, and no access to third-party websites. In Chrome Dev Tools, Status says CORS error and then redirects and the page displays. This is occurring only on the latest Chrome browsers (Chromium: 102.0.5005.) Latest as of the moment. This issue started from 25-May-2022 which coincides with the date of launch of this Chrome 102.0.5005. I tested on Chrome Beta (103.0.5060 the next version due) and it is reproducible. The traffic stats from Google Analytics has also dropped by around 20%. This drop started from the same date 25-May-2022. I checked the hosting server error log and there are no errors. I have hosted all my websites in DreamHost VPS and it occurs in all my websites. I checked a random website (not mine) hosted in DreamHost and can reproduce this issue. Steps to reproduce:
Please help to fix this issue. |
ESX hosts crash within same vcenter cluster Posted: 20 Jun 2022 02:02 PM PDT I have a vcenter cluster of 12 ESX hosts (ClusterA) and another cluster of 3 ESX hosts (ClusterB). All of these are a mix of poweredge r620s and r630s. Some of the hosts have hardware errors that can be seen in the iDRAC logs and front LCD screen such as:
Fixing these hardware errors usually involves these steps:
ClusterB is fine - no problems ever. The real problem I'm facing is that when I fix a couple hosts from ClusterA, 1-3 other random hosts in ClusterA will crash within a day or two. After those initial 1-3 crashes, if I leave things alone, no more hosts crash afterwards for weeks. This puts me back to where I started and I've observed this behavior several times now. Any ideas on what to check? |
Dell PowerEdge R410: Format SAS NetApp drives to 512B sector size for use in RAID Posted: 20 Jun 2022 02:30 PM PDT Thanks for helping out. Some time ago I got two 400GB NetApp drives for use in my Poweredge server. I attempted for a while to get them to work but they would not join a RAID disk group. I found this is because the drives have been formatted with 520 byte sector size, and they need to be 512 bytes. I attempted to format the drives but I cannot access them within the stored operating system (Proxmox) or a live USB of Mint or Ubuntu. I'm looking for some way to somehow directly access these drives from some Linux system so I can run the necessary commands to format the drive sector sizes, but if there's a better way to do that I'm open to suggestions. The only way I can access these drives are through the front hard drive slots of my server. I have no other device that allows SAS đrives. Unless there's some way inside the server, which there did not appear to be but I could have glanced over it. I've tried for a while to get the SAS NetApp drives to work but to of no avail, so I'm hoping that any of you can give me hints or help me out, feel free to ask questions. Thanks again. |
Dell iDRAC on dedicated NIC not accessible from the server itself Posted: 20 Jun 2022 02:35 PM PDT I have a Dell PE R720xd server with an enterprise iDRAC license. I have iDRAC configured to use the dedicated NIC. I can access iDRAC from anywhere except the actual server itself. I could understand this happening if I were sharing iDRAC with one of the four onboard NICs, but I'm not -- it's the dedicated NIC. Google searches for this were not helpful. |
Using a RAID Controller as Pass-thru vs RAID0 Posted: 20 Jun 2022 02:45 PM PDT I have a server with DellPerc H750 Storage controller. I want to use the controller as Pass-thru/Non-RAID but I have the below questions: A) Is it possible in the future to replace the controller with a HBA one without losing data ? B) If I used the RAID0 configuration for each disk independently instead of the pass-thru config , would that lead to a better performance or not ? |
kolla ansible deployment stuck at Nova API bootstrap container Posted: 20 Jun 2022 12:28 PM PDT I am deploying openstack (for kypo cyber range) using kolla-ansible. I have followed all the steps on official guide. However I am stuck on Nova API bootstrap container for almost half a day. I have looked into mariadb.log file and it says All I can see is its a connection problem. Can anyone please guide how to get over it? |
Azure Scale-set how to monitor memory utilization Posted: 20 Jun 2022 02:03 PM PDT How do I monitor memory utilization for Azure Scale-set default metrics is only CPU Disk and network. Why does Azure not provide memory utilization by default |
Outlook and OWA search not working - no results Posted: 20 Jun 2022 01:00 PM PDT Our environment consists of a single Exchange 2016 CU8 server and multiple clients using Outlook and OWA. Searching (fast search and advanced find) both are not working in either OWA or Outlook desktop. The results are simply empty with "no items found." Additional weird symptoms: And when checking on the database content status of the newly created DB: Steps I've tried: I'll be upgrading to CU9 over the weekend as a last-ditch effort. Anyone have ideas? |
Make IIS server max_file_upload size 10GB Posted: 20 Jun 2022 01:00 PM PDT I am working on a website that is hosted with the company's own server, using IIS. I was wondering if it's possible to make the make file upload size 10GB? Their assets they send and receive to clients are generally between 5GB to 10GB. Just wondering what changes are necessary to achieve this (changing upload_max_filesize, post_max_size, memory_limit). I am going to try to raise the limit tomorrow. Best, Matt |
Start/stop windows service as user from command line Posted: 20 Jun 2022 03:01 PM PDT How can I start a service from the command line e.g. The short answer is "you can't". Clarification: |
Proper Way to set Preferred DNS Server on the Windows Domain Controllers themselves? Posted: 20 Jun 2022 02:29 PM PDT This may be a basic question, but I'm not sure how to properly phrase what I'm looking for, with a google search. I have two Windows Server 2012 R2 domain controllers on the local network. Let's say Controller1 has an IP address of 192.168.1.1. Controller2 has an IP address of 192.168.1.2. Our client machines on the network have Controller1 set as the preferred DNS, and Controller2 as the alternate choice. My question is: What should the "Use the Following DNS Server Addresses" fields be set to, on the Domain controllers themselves? Currently, Controller1 has 192.168.1.1 (itself) set as the Preferred, and nothing set for the alternate. Controller2 has 192.168.1.1 set as the preferred, and 127.0.0.1 as the alternate. This was set up a year ago, by someone who I'm not entirely sure knew what they were doing. I'm certainly no expert myself, and so I'd like to doublecheck if the current settings they had made make sense. Thank you for your time. |
How to serve static files with version number with Nginx? Posted: 20 Jun 2022 03:01 PM PDT I just finished installing Nginx for wordpress but all static files with ?ver=x is redirecting to nginx's default page. Working
Redirecting to default Nginx page
Here is my configuration. What am I missing here? Thanks everyone in advance. |
Roundcube domain change for a single account Posted: 20 Jun 2022 02:03 PM PDT I have inherited a server that is running some ugly roundcube php interface for mail accounts. I would like to change a domain for specific account to custom domain that I have set up on my DNS. I have added users to system and created aliases in my postfix configuration. In file |
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