Recent Questions - Server Fault |
- How to add the normal routing information of a router to BIRD?
- What are the various other services that a domain controller provides apart from primary ones ( authentication and authorization )
- How to IMPORT complete DNS text Record to Windows Server 2016?
- Directory redirection issue with nginx set as reverse proxy
- Cannot push all traffic through Wireguard tunnel on Ubuntu
- How to understand bit allocation in GSM spec?
- When we inplement the recaptcha enterprise in Salesforce Marketing Cloud cloudpages, we found we can't use the service account to do the auth
- Docker on Ubuntu Server (Rasberry Pi) failed to create endpoint on network bridge, operation not supported
- Redirect DNS server IPs on Unifi UDM-Pro using iptables
- What happens on the CPU when we press CTRL+C to interrupt a program
- GCP doesn't allow me to create a new project even if no other project is active
- Can it be used with OS Red Hat v8 normally?
- Upgrade Apache Tomcat 8.5.x to 8.5.72
- Can you run a Minecraft server using two or more machines?
- starting out w/ rdiff-backup, having permissions issues
- Exchange. How to forward mail, not save it
- Implementing CRM Features in Micrsoft 365 Exchange Online
- unable to ssh into local qemu instance via port forward
- smbclient NT_STATUS_BAD_NETWORK_NAME with server OS SpinStream2
- Google-authenticator with openvpn - AUTH: Received control message: AUTH_FAILED
- Standard user login to Bitvise SSH server not working
- Nginx Redirect all JPEG URL to single JPEG
- Checking if two virtual machines are running on the same host
- How should I bridge two networks, given each network has its own subnet & DHCP server?
- Capistrano fails to delete folders/files created by Apache
- Having trouble getting "Set action to take when logon hours expire" to work
- How do I deploy files to Apache Tomcat in a similar fashion to Apache Webserver, ftp
- Unable to connect QNAP NAS ldap to Domino server
- NAT not working after enabling DirectAccess
- .ftpaccess file and Pure-FTPD
How to add the normal routing information of a router to BIRD? Posted: 17 Oct 2021 09:56 PM PDT Suppose the following network layout: BIRD is installed on both R1 and R2. All information about the network topology is automatically given. It was my understanding that BIRD would automatically redistribute this information so that all stations can connect. But it does not seem as straight forward: R1 and R2 both automatically create "dynamic" routes for their respective subnets but they do not get handled automatically. The device protocol does not import/export routes. The docs say about the direct protocol:
I thought the kernel protocol would automatically import these routes because they are part of the kernel routing table. But the documentation states:
So nobody (no protocol) wants to be responsible for distributing the very routes which would make the two networks connect. What's left is static but they I would need to recreate the whole connectivity of a router in the bird config file, something I thought OSPF over BIRD would do for me. Is this what I am supposed to do? How should the config files for R1 and R2 look like? And: |
Posted: 17 Oct 2021 09:36 PM PDT With the help of domain controller we can,
Apart from this, are there any other things that a domain controller does or any other feature does it have? |
How to IMPORT complete DNS text Record to Windows Server 2016? Posted: 17 Oct 2021 09:46 PM PDT I have reinstalled a Windows 2016 server. I am trying to re-establish my DNS records which I backed up prior to the NEW install. When my DNS records import it ONLY shows the SOA record and has NO details included (eg NS1 or NS2), especially considering it knows the domain from its name you supply during the process. All of the DNS exports had ALL the DNS data but NONE has been READ back into the new server. I used the DNSCMD method to load, after the Wizard failed to read the records properly. Neither method works. The DNS is accessed using the elevated admin permissions. The processes work fine without error, but NO DNS records. The exact same issue is in both Forward and Reverse Lookup zones. Why is it so difficult to IMPORT a text file that has ALL the information??? It looks like none of this has changed since windows server was invented and it still cannot simply do the most basic and critical things you would expect from a web server in 2021. Thankyou for your time, if you provide an answer to this issue. |
Directory redirection issue with nginx set as reverse proxy Posted: 17 Oct 2021 08:45 PM PDT I have configured the server through Reverse Foloxy as follows: Nginx reverse proxy(SSL Termination) - Varnish cache - Nginx web server(8080 port) However, it has the following problems: For example, if you go to https://www.example.com/static (this is an example only, your domain is not my site), you will be redirected to http://www.example.com:8080/static/ . It is the same when accessing not only staic but also other directories. I am wondering how to do something like nginx.conf etc to solve this problem. |
Cannot push all traffic through Wireguard tunnel on Ubuntu Posted: 17 Oct 2021 08:38 PM PDT On server, On client, The server is running inside a docker, the client is running on Ubuntu 18.04. I'm not being able to send all the traffic through the tunnel. If I bring up the When brought up, `wg-quick` executes the following command on the client: |
How to understand bit allocation in GSM spec? Posted: 17 Oct 2021 08:36 PM PDT I am reading 3GPP TS 26.445, and come across following sentenses:
But the spec doesn't say whether it is Anyone can advise? Thanks very much! |
Posted: 17 Oct 2021 08:23 PM PDT When we inplement the recaptcha enterprise in Salesforce Marketing Cloud cloudpages, we found we can't use the service account to do the auth2.0 authorization. Do we need use the API KEY method? If yes, we see the document with API KEY call still need "Note: This API request requires an authorization token from the Cloud SDK, which is generated by the gcloud auth application-default print-access-token command. Ensure you have set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path for your service account private key file." How can we use the ssjs or javascript code to generate the oauth token to call the api? Maybe the most import point is:
We use https://jwt.io/ to generate the token with public key and private key, but get the unauth error. jwt postman error |
Posted: 17 Oct 2021 07:28 PM PDT I am using Ubuntu 21.10 on a Rasberry Pi 4 (aarch64) and when I try to run a Docker (using version 20.10.7) container it returns the following error message: I have tried the following:
Thanks for any help. |
Redirect DNS server IPs on Unifi UDM-Pro using iptables Posted: 17 Oct 2021 07:19 PM PDT I'm using a Unifi UDM Pro as a gateway for 2 VLANs:
Each has its own local DNS (Adguard Home) server ( I test these using two main methods: Using the
The first command above works fine. The second one gives me a time out. I expect the second one to still work, except to be routed through If I run the same I'm not sure why VLAN 3 doesn't work in the redirect case, but my main LAN does. Can someone help me understand why this isn't working and show me a working solution? |
What happens on the CPU when we press CTRL+C to interrupt a program Posted: 17 Oct 2021 06:58 PM PDT I've read some answers about program interrupts when pressing CTRL+C (running c++ code [1] just for example), but I would like to know more about what happens at the CPU and OS level. I wanted to understand if the CPU reads the keyboard command and sends the instruction to interrupt the program to the OS? Code 1: |
GCP doesn't allow me to create a new project even if no other project is active Posted: 17 Oct 2021 08:12 PM PDT I'm trying out GCP and I have run into this issue. I shut down all active projects and now I want to create a new one but it says I have reached the quota. There are no active projects, all of the projects are scheduled for deletion. I can restore an empty project (or any other project pending deletion) and it will work, but I cannot create a new one through the GUI or through the CLI. How can that be solved? |
Can it be used with OS Red Hat v8 normally? Posted: 17 Oct 2021 06:55 PM PDT From the following site, I do not confirm that gcsfuse has been tested on rhel-8, can it be used normally? |
Upgrade Apache Tomcat 8.5.x to 8.5.72 Posted: 17 Oct 2021 06:45 PM PDT I need to upgrade a couple of instances of Tomcat 8.5.x to the latest of version 8 (i.e. 8.5.72), on Linux. I was just wondering if I need to install the latest version to co-exist with my existing version or replace the existing installation altogether and apply the old configuration to the new installation? Could you please provide the required steps and relevant documentation? Thanks in advance |
Can you run a Minecraft server using two or more machines? Posted: 17 Oct 2021 05:47 PM PDT Can you run one Minecraft server using two or more pcs? Would that be a cluster? If so, how can someone do that? I've also heard you can use muliple machines to run one vm. Would that be an option? |
starting out w/ rdiff-backup, having permissions issues Posted: 17 Oct 2021 05:28 PM PDT I have 2 machines - SERVER and BACKUP. On SERVER I have a script that backs up a few directories and databases, ending up in /var/local/backup with permissions intact (ownership is root and www-data on all of the files). I'd like to use rdiff-backup on BACKUP to retrieve the contents of /var/local/backup on SERVER and sync it to, for example, /var/local/backup on BACKUP. I have a user on both machines, USER1, and can ssh from BACKUP into SERVER as USER1; but USER1 cannot read the contents of /var/local/backup on SERVER nor write to /var/local/backup locally on BACKUP. I would strongly prefer to not allow root access via ssh and I'd prefer not to chown/ chgrp the entirety of the files placed in /var/local/backup on SERVER. My first thought was to add USER1 to the www-data group but that strikes me as possibly unwise from a security standpoint and doesn't address access to files owned by root. I am at a loss and am beginning to suspect that there is an elegant answer out there. I would appreciate it if someone could point me toward it. |
Exchange. How to forward mail, not save it Posted: 17 Oct 2021 07:33 PM PDT We are migrating mail from one of our domains to the exchange (123123.com). We created users in AD, created mailboxes for them and copied mail from Google there. Also the domain was added to accepted. Now other users of other domains from the exchange are trying to write a letter to the addresses of the domain that we are migrating. The exchange puts the received letter to itself, but I need it to be forwarded to Google servers. How to make the exchange send a letter for the domain further to Google, but not save it? I tried to make a Send connector for the domain, I tried to change the UPN and SMTP for users, I tried to disable mailboxes - it was unsuccessful. |
Implementing CRM Features in Micrsoft 365 Exchange Online Posted: 17 Oct 2021 06:47 PM PDT my Customer wants to migrate from Tobit David to Microsoft 365. Into David he uses an Feature named "Dv Relatations" where incommung and outgooging emails from all Useres are copied into an seperate archive sorted by the Reciever(incl Out- and In Folder). What Tools can i using to give my customer this function in Microsoft 365? Do you have any ressources, that can help my with this task? Thanks for your help. |
unable to ssh into local qemu instance via port forward Posted: 17 Oct 2021 07:06 PM PDT I am trying to build a custom Ubuntu (ISO built from I tried to ssh, Though the port is up: SSH server is running in the instance, and the user is a valid one. What else do I need to check to ensure SSH can happen via the host ? On the same host, I am able to make Ubuntu Trusty ( This is the qemu command line:
version: --EDIT-- |
smbclient NT_STATUS_BAD_NETWORK_NAME with server OS SpinStream2 Posted: 17 Oct 2021 05:02 PM PDT I'm trying to use Samba (As far as I know, SpinStream2 describes NetApp OnTAP, up to 8.3.2) I've tried a variety of flags and permutations already. I'm fairly sure authentication is working fine, because I get a different error message if I change the domain, user, or password. I've also tried connecting using the NT server name (ie. Is there some other combination of options or flags I need to use? |
Google-authenticator with openvpn - AUTH: Received control message: AUTH_FAILED Posted: 17 Oct 2021 09:03 PM PDT I'm trying to set up MFA with Google authenticator for my OpenVPN setup on Ubuntu 16.04. Now OpenVPN works fine until I bring Google Authenticator into the mix. My server.conf file reads as follows: My client.conf reads as follows: Also, in /etc/pam.d I have cloned common-accounts to create an openvpn file with the following lines: Now I have created the necessary user profiles for each client connecting to the VPN server, say client1, client2 and client3 on Ubuntu. Now, consider client1 is trying to connect to the VPN server. I am logged in as client1 on the client side system, and try to connect to the VPN Server. I get the following , After this point, I get Now I wasn't sure why I was getting the AUTH failed error. I had seen many different ways in which the username/password combination could be input during the process of connecting to the VPN server. I was never prompted with a separate Google Authenticator prompt asking me for OTP separately. So I tried method 1 and tried method 2 expecting for a Google authenticator prompt which never showed up. Question 1: What is the correct way to use Google Authenticator login credentials. Am I missing something here which might be why I do not get prompted for the OTP separately? Another thing that I observed is that , gives different results for the two login methods above. I got these status messages while trying different combination of password + OTP combinations. Question 2: Can someone explain to me what these status messages mean in terms of my login inputs. Question 3: How can I get the MFA up and running. FYI I used libpam-google-authenticator. I did not follow the method which warranted using makefile and adding configuration parameters for pam. Thanks! |
Standard user login to Bitvise SSH server not working Posted: 17 Oct 2021 08:02 PM PDT I have a Windows 2008 R2 box with Bitvise SSH Server 6.47 running. The Windows box is stand alone. It is not part of a domain. My issue is that Bitvise will not allow a "Standard user" to login via SSH. The Bitvise activity log says "Login to Windows account failed". If I change the user to an administrator then login works fine. Note that whether the user is a "Standard user" or an "Administrator" user I can login via normal RDP. I have added the user to the Remote Desktop Users group. So basically it seems like Bitvise is allowing administrator users to login via SSH but not standard users. What setting do I need to change to allow standard user login via SSH? Thanks. |
Nginx Redirect all JPEG URL to single JPEG Posted: 17 Oct 2021 10:02 PM PDT There are two scenario that I'm trying to achieve. Scenario A : If client request URL that contains .jpeg or .jpg file, redirect the user to a single .jpg file that are on the server in this case myimage.jpg Scenario B : If client request URL that contains /abc/ directory, redirect the user to other domain through proxy while keeping the URL in tact. Below is the content of my nginx.conf Most of it I referred to Nginx redirect to a single file The config does not contain error in /var/log/nginx/error.log but it does not perform as intended to. |
Checking if two virtual machines are running on the same host Posted: 17 Oct 2021 10:02 PM PDT Is there a way to see if several Virtual Machines are running on the same host? Specifically, I have three VMWare VMs (each running a Ubuntu Server 14.04) and I have tried to compare different pieces of information:
This doesn't help me to find determine which ones are running on the same host (if any). Are there any other way to check? |
How should I bridge two networks, given each network has its own subnet & DHCP server? Posted: 17 Oct 2021 09:08 PM PDT I would like to join/bridge two different networks,
Please see the network diagram: My objective is to be able to access the
What kind of devices and configurations should I use? I was thinking of However I'm quite green in networking and would like to verify my understanding before investing in a router. I'm not even sure whether a consumer router would be able to do this kind of job. Could someone help me on this matter? I'd appreciate any kind of comment. Thanks! |
Capistrano fails to delete folders/files created by Apache Posted: 17 Oct 2021 06:01 PM PDT ProblemCapistrano deploys a web application via SSH using Web server is creating cache files and folders at runtime inside the app path. Example: Capistrano Error reported: Usual solution, ACLMy usual solution for this was to set My current server filesystem doesn't support acl... Attempted solution, sticky bitMy attempt was to set a sticky bit on the whole app folder. This was attempted while both users are in the other's group. This works well for new files, but sticky bit doesn't propagate to new folder (which is my problem) tl;drHow to set up permissions so Capistrano(via SSH with user |
Having trouble getting "Set action to take when logon hours expire" to work Posted: 17 Oct 2021 08:02 PM PDT I have a Windows Server 2012 server that allows remote desktop users (sessions are hosted on the server itself). I'm trying to enforce logon hours for these remote desktop users. I have specified logon hours for a user and confirmed that they work--they aren't allowed to logon when logon hours are disabled. However, they are allowed to continue a session past their logon hours limit if they are already signed in (which is fine, this is the default behavior). However, when I try to use the I also naively tried the "Force logoff when logon hours expire" option, but that apparently doesn't apply to interactive logins (confusing!). Am I misapplying this setting, or do I need to take some other steps to get it to work? I'd be grateful for any input. Thanks! EDIT So, based on the comment from @RobM and other discussions online, it sounds like this policy doesn't really work (at least not as expected). Is there any official MS documentation for this policy (I looked around some online and couldn't find much), or are there any resources that might cover it? Assuming this policy is not an option, one possible workaround would be a scheduled task to log users off when their logon hours expire. However, each users' hours may be different, so I cannot use a time-of-day trigger. Is there some "logon hours expired" event (e.g. in the event logs) that I could hook into to run the logoff task? |
How do I deploy files to Apache Tomcat in a similar fashion to Apache Webserver, ftp Posted: 17 Oct 2021 09:03 PM PDT I need to deploy some files to a Tomcat App Server, is it possible to access the root directory of an application, and upload files to a folder? I have only used Apache WebServer thus far, and I can add files using something like filezilla to upload my website. In this case I just need to upload some files for download. How can I setup a downloads folder, in tomcat? |
Unable to connect QNAP NAS ldap to Domino server Posted: 17 Oct 2021 07:06 PM PDT We've just bought a QNAP 419 NAS to the office and for simplicity I'd like to authenticate using LDAP from our Domino server. qnap ldap auth demands the following settings:
Our Domino server has the hierarchy: I can't figure out what to put in the above fields except root DN and password. We have a firewall (Fortigate) with ldap authentication to our Domino server that's is working fine. Here we specify the DN as I have search for others using this combo but no hits. Domino server: 8.5.3 QNAP: TS419P II, fw: 3.8.1 Build 20121205 |
NAT not working after enabling DirectAccess Posted: 17 Oct 2021 05:02 PM PDT following test setup is given: server1 - 1 network card connected to internal network (10.0.0.2/24) + gateway 10.0.0.1 server2 - 2 network cards (1. connected to internal network (10.0.0.1/24) / 2. connected to the internet with static ip address + default gateway is set) Both servers can ping each other, server2 can ping addresses in the internet. I installed the "Remote Access" role on server2 with the "Routing" option. Enabled NAT in the RRAS Manager and selected network card 2 as internet access card. -> server1 can now ping addresses in the internet via NAT on server2. But as soon as i run the DirectAccess configuration manager an enable DirectAccess+VPN on server2 NAT stops working. The configuration in the RRAS Manager still exists. Any idea why? The goal is to have an internal network where each server can access the internet via NAT and one server acts as VPN/DirectAccess server+NAT Router. |
Posted: 17 Oct 2021 06:01 PM PDT I've been looking for a way to have specific users who have access my FTP to have read-only permission on particular directories. I came across some articles on creating .ftpaccess files (which I've read are similar to .htaccess files) to create customized configurations for specific directories and sub-directories. After reading everything I could find about .ftpaccess files through Google and attempting to create said files I've had no luck. Does anyone know the syntax that is needed to get these files to work? And is there a particular setting that I need to have enabled to enable these files? I've looked through the conf files but found nothing. |
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