Recent Questions - Server Fault |
- WVD App attach launching windows file explorer
- What is the circle icon in Chrome's Network tab?
- LetsEncrypt Certificate is updated, but still showing old date on the website (restarted Apache)
- iptables: Route outgoing requests to a local proxy preserving destination address and port
- Do SQL Server 2016 Web Edition have CAL License? [duplicate]
- Ubuntu sudo required for listening on port 80 but not on other unused ports
- How to calculate total optimal connection count and find DB instance type to use?
- Enquiry on raid 1
- Possible conflict with multiple SSL certificates?
- Given an existing unencrypted AWS EFS volume, can somebody give me a path for encrypting it without data loss?
- Access Point setting on tplink TL-mr3420
- Wireguard Unable to Complete Handshake on Android only 4G network
- Any PowerShell Script to Backup and restore Ms-sql database using dB username and password?
- How to use scp when cygwin is used as default shell
- Ubuntu 20.04 container failing to startup in Proxmox
- [service I created].service: Failed to execute command: Permission denied
- postfix 3.3.0 has fatal error "bad string length 0 < 1"
- dnsmasq not forwarding request to nameserver
- nginx as Reverse Proxy - Disable Upstream Node if 502
- auditd - Getting only EXECVE in ausearch?
- openssl default md5 message digest default_md not listed in cert
- Disabling cloud-init if metadata server cannot be reached
- SQL Server 2008 local connection an error occurred during the pre-login handshake
- Where is the samba name "workstation" coming from?
- Check processor status- check processor/cpu status and failed/off status
- set up apache http server in windows as proxy to access another domain
- Securing RDP for a public web server
- in house DNS server
WVD App attach launching windows file explorer Posted: 23 Mar 2021 10:17 PM PDT I'm trying to virtualize some apps and test the app attach feature with MSIX packages. I've followed all the steps, and expanded the MSIX into a VHD. I've uploaded the VHD and placed it in a hostpool / app group. It launches. However, it launches file explorer, and not the app itself: WVD and APP - App Attach launch Is there something I'm missing? I've read the documentation several times, and re-traced my steps countless times. I'm sure I'm missing something, but just not sure what at the moment. Thank you in advance. -Richard F. |
What is the circle icon in Chrome's Network tab? Posted: 23 Mar 2021 09:36 PM PDT |
LetsEncrypt Certificate is updated, but still showing old date on the website (restarted Apache) Posted: 23 Mar 2021 08:14 PM PDT Running Apache on EC2 ubuntu server, using letsencrypt certificate, which I see if I run Then I restarted the server with |
iptables: Route outgoing requests to a local proxy preserving destination address and port Posted: 23 Mar 2021 07:35 PM PDT I want the proxy to make some routing decisions based on the original destination IP and port. I can do this easily for an incoming request: This intercepts the packets headed for 10.87.253.90:8080 on local port 8081 of the proxy. But for an outgoing request, how can I do this? |
Do SQL Server 2016 Web Edition have CAL License? [duplicate] Posted: 23 Mar 2021 07:03 PM PDT I am looking for information of SQL Server 2016 Web Edition if it have CAL license but have not found any. Background: I have a web application for 20 concurrent users. We are planning to have SQL Server 2016 Web edition because its cheaper than the other edition. Then my concern is on the CAL user license OF SQL Server 2016 WEB EDITION. Do I need it? I try look around the internet but no info on this. Mostly its on Standard or Enterprise edition. So my question is, do I need CAL user license for SQL Server 2016 WEB EDITION, how many do I need, and how much per CAL? Thank you. |
Ubuntu sudo required for listening on port 80 but not on other unused ports Posted: 23 Mar 2021 07:02 PM PDT On my Ubuntu desktop, I'm able to successfully run a small C++ webserver on unused ports like this: This problem is that if I run on port 80, I must run as sudo like this: If I run on port 80 without using sudo, I get an error accept: Invalid argument. Can someone explain why sudo is required when running on port 80? |
How to calculate total optimal connection count and find DB instance type to use? Posted: 23 Mar 2021 06:27 PM PDT How can I calculate the optimal total connection count from my service to the my DB endpoint? Is there a basic formula based on expected number of queries per second and CPU and IO taken by each query? For queries per second I could use the traffic that my service needs to support. Similarly, is there a formula to calculate the optimal database instance type/size to use based on traffic patterns and query characteristics (CPU, IO consumed or latency of query)? I will be using this to create the connection pool in my service. I'm assuming that if my service has N hosts then per host the connection pool size need to be the total optimal connection count divided by N. Note: By instance type I mean similar to AWS EC2 instance type which provides info on vCPU and memory (RAM) |
Posted: 23 Mar 2021 06:12 PM PDT my DC has added a new disk hard, it appear as md124 inactive sdc1, when i try to mount, the error is unknown filesystem type 'linux_raid_member' I need to use this disk for backup VM. can I just do a fdisk fdisk /dev/sdc1? or I do have to break the raid array? #Break the array, removing the mirror mdadm --manage /dev/md124 --fail /dev/sdc1 mdadm --manage /dev/md124 --remove /dev/sdc1 #Create a new file system on the mirror mke2fs -t ext4 -j /dev/sdc1 #Mount the mirror so you can use it mkdir /mnt/backup mount /dev/sdc1 /mnt/backup [root@~]# cat /proc/mdstat Personalities : [raid1] md124 : inactive sdc10 976628736 blocks super 1.2 md128 : active raid1 sdb4[1] sda4[0] 919444160 blocks super 1.2 [2/2] [UU] bitmap: 0/7 pages [0KB], 65536KB chunk md125 : active raid1 sdb2[1] sda2[0] 524288 blocks super 1.2 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk md126 : active raid1 sdb3[1] sda3[0] 52427776 blocks super 1.2 [2/2] [UU] bitmap: 1/1 pages [4KB], 65536KB chunk md127 : active raid1 sdb1[1] sda1[0] 4193280 blocks super 1.2 [2/2] [UU] many thanks in advance |
Possible conflict with multiple SSL certificates? Posted: 23 Mar 2021 06:54 PM PDT We currently have a SSL certificate for mycompany.com in GoDaddy and they are asking me to get one for our QA department for the URL qa.mycompany.com. I have installed certificates just fine with Let's Encrypt before, but never for a subdomain, and specially with a domain with a certificate installed already. qa.mycompany.com is hosted in another server, with another public IP. The DNS configuration is done in GoDaddy where mycompany.com and qa.mycompany.com is hosted. I am planning to use certbot to install Let's Encrypt certificate for qa.mycompany.com in QA server. Is there any risk in doing this? Like overriding the SSL certificate of mycompany.com? Or making it invalid after installing the one for qa.mycompany.com? |
Posted: 23 Mar 2021 10:18 PM PDT We have discovered that we really ought to have encrypted the MySql database and EFS volume on our application, at the time of creation. We are now attempting to correct the oversight. I've read the Amazon document about converting a database from unencrypted to encrypted, as well as the ServerFault thread about changing encryption keys. What would be the best and most practical way to do something similar for the EFS volume? (And is anybody aware of any ways to improve the process on the database side?) |
Access Point setting on tplink TL-mr3420 Posted: 23 Mar 2021 09:43 PM PDT We have a network with Mikrotik cloud core Routerboard (with DHCP pool of 172.16.0.1 - 172.16.255.254) which we use for Hotspot authentication. A Cisco 2960 switch is connected to the Mikrotik and from it, we distribute network across the school via fiber. At each faculty, from the fiber multimedia converter, we feed the network into a cisco 2960 switch which distributes to offices in that faculty. We also have about 4 tplink Tl-mr3420 access points in each faculty. We were having clients connected to the wireless kicked out at the faculties then I realized all the 4 tplink were by default running as dhcp routers and all assigning same range of IP (192.168.0.XX) So, I disabled dhcp on the tplink so as to make it an access point but it demands for a LAN IP in the configuration and when set, it says it's not in the same segment as the IP. But when I use an IP within the one for the Mikrotik DHCP pool, it accepts but all devices take ages connecting to the Mikrotik but aren't being issued IP. Any suggestions on why the clients don't get IP address from Mikrotik and also, which is the ideal ip address I should use in the tplink for LAN setup? Thank you. |
Wireguard Unable to Complete Handshake on Android only 4G network Posted: 23 Mar 2021 09:09 PM PDT I have a Wireguard server on my home network which works fine on all my devices, including my phone when it's connected on Wi-Fi. The problem comes when I disconnect from the Wi-Fi and go on 4G, now my phone is unable to complete the handshake with my server. On my router, I have UDP port 51820 forwarded to my Wireguard server. On my phone, I connect to the VPN using the DNS name (vpn.mydomain.tld:51820) I've enabled kernel logging for Wireguard to help me troubleshoot this but sadly I haven't been able to find what's wrong with my setup. Here are the logs on my server that appear when I'm trying to connect from my phone (via 4G) On my phone, I see the following: Since it works fine when I'm connected to my home Wi-Fi, I'm at a loss as to what to look for other that port forwarding, but that works fine as far as I can tell. Here is the wg0.conf on my server: And the connection file on my phone (running Android 11): I've made sure the keys are matching but since the connection works fine when connected to my Wi-Fi, I don't think the config file is to blame. I have UFW installed on the server, with the following config: However I disabled it to make sure it wasn't interfering, and it didn't change anything. At this point I don't know what is wrong nor what to search for to help me in figuring this out so any help will be welcome |
Any PowerShell Script to Backup and restore Ms-sql database using dB username and password? Posted: 23 Mar 2021 09:05 PM PDT I am looking for a PowerShell script which can take backup and restore MS-SQL databases using SQL authentication. |
How to use scp when cygwin is used as default shell Posted: 23 Mar 2021 06:18 PM PDT I have installed openssh-server from optional features on a Windows machine. I can ssh and scp (I need upload only) from my Linux box; However I don't like cmd shell, so I installed Cygwin and set it as default shell for openssh-server (configure shell for openssh). Now the ssh works but scp doesn't (again from my Linux box). scp hangs until I break it with Ctrl+c and no file is transferred. When I ran it with This behavior is 100% reproducible and switching the openssh-server shell between cmd and Cygwin.bat gives the explained results all the times. I remember reading somewhere: the shell shouldn't echo anything or it won't work with scp, I checked ~/.bashrc and ~/.profile and didn't see anything printing out. I tried I tried to find a way to distinguish scp from ssh in Cygwin.bat but couldn't find a way (my goal was to not start Cygwin64/bin/bash.exe for scp). Thanks for reading. |
Ubuntu 20.04 container failing to startup in Proxmox Posted: 23 Mar 2021 05:50 PM PDT Hello I have created a Ubuntu 20.04 and 18.04 container in Proxmox and both return the same error when I try to start them up after creating the container via the Proxmox GUI. They fail to start and return the following error message: I found another serverfault question that sounds similar]1, however the error is slightly different and I have not even got to the step of being able to set anything up. These are clean Ubuntu templates downloaded right through Proxmox's official location. Also when I setup Proxmox I and the containers I left everything default including all the storage things. I am a bit unclear on where to go from here or what to do. I also did the and |
[service I created].service: Failed to execute command: Permission denied Posted: 23 Mar 2021 09:01 PM PDT I've been trying to set up a website that runs from my computer that runs Ubuntu. I've managed to troubleshoot most of my problems thus far and I think I'm nearing the end of getting this thing online. The website I'm trying to get installed and running is called WriteFreely (it's a minimalist blogging platform that enables myself and others to sign up and start blogging without distractions. I've followed this guide here: https://writefreely.org/start and have been successful all the way up to the heading Starting the service. I'm running Ubuntu 18.04 and so have followed this instruction: create a Systemd service by creating a file at /etc/systemd/system/writefreely.service:. I assumed that I would need to open the text editor, create a .service file called writefreely.service, and copy and paste the service script in: In the documentation provided, it tells you to change the /var/www/example.com's to your own domain. I did so by going to /var/www/ and created a folder with my domain in (amcosy.club) and then moved the latest writefreely folder into this newly created folder. Now, this is where I'm truly unsure what to do. I've entered in I apologise if this is something really obvious but I'm really not great with all this. If I need to provide additional details, please let me know! Very grateful to anyone who can offer insight! Edit 1 Running Running
Edit 2 After running
|
postfix 3.3.0 has fatal error "bad string length 0 < 1" Posted: 23 Mar 2021 10:08 PM PDT I'm migrating my mail server from an older instance of postfix (3.2.0) to 3.3.0 on Ubuntu. I'm installing from apt and installation went fine. I'm in the process of trying to set up my MySQL connections, copying them from my old system to this one. I'm running into a problem when I try to run The file in question (aliases.cf) is simple: I've done a couple of things to troubleshoot this:
I've done a bit of google searching and haven't been able to find anything useful. The closest I could find was this result which only loads when viewed with Google Cache. |
dnsmasq not forwarding request to nameserver Posted: 23 Mar 2021 09:01 PM PDT I'm trying to run two instances of dnsmasq on a raspberry pi, I've gotten quite far. I'm currently trying to get the first dnsmasq server to forward any request it doesn't know the answer to to the second server but it only seems to be working if I Querying either server directly gets the desired result, but trying to get the first server to forward results from the second... not so much. Config for instance A (lan): Config for instance B (global): Instance A status log: |
nginx as Reverse Proxy - Disable Upstream Node if 502 Posted: 23 Mar 2021 10:08 PM PDT There is a very simple LB, say, LB1 Each of the upstream servers is also an nginx LB running locally and reverse proxying a process on 9000 port. The problem is that when any of the processes on port 9000 go down, then LB1 happily returns 502 if request hits one of the machines where the process is down.
How do I tell nginx LB1 to not send requests to a node, which responds with 502? |
auditd - Getting only EXECVE in ausearch? Posted: 23 Mar 2021 07:06 PM PDT I'd like to use the auditd daemon to log whatever is run as or by root on our servers. To that effect, I added the following lines to Works well. Now I'd like to I would like to ONLY get the But as you can see in the example above, adding What's the right way to go? I'm on Ubuntu 16.04. Thanks, Alexander |
openssl default md5 message digest default_md not listed in cert Posted: 23 Mar 2021 05:04 PM PDT According to this serverfault answer the default message digest for openssl 1.0 is MD5. My openssl.cnf file has default_md set to default. I generated a certificate using openssl 1.0.0: When I query the cert I see: How can I query the cert to show what the message digest is? Or how can I determine what the deafult_md is other than the openssl doc? |
Disabling cloud-init if metadata server cannot be reached Posted: 23 Mar 2021 06:00 PM PDT I'm trying to get cloud-init to not take any action if the metadata server cannot be reached. If cloud-init ignores the error and continues executing (which seems to be the default configuration), then it resets the host SSH key, administrative user password, etc., which is a problem if the virtual machine was being used already beforehand (if password login was configured, then users can no longer access the VM). I'm seeing this problem in two situations:
|
SQL Server 2008 local connection an error occurred during the pre-login handshake Posted: 23 Mar 2021 07:06 PM PDT I am getting an error while trying to connect to SQL locally either via a web application or SQL management Studio. Oddly, I can connect fine remotely via apps on other servers or SQL management on my desktop. The error is: SQL - an error occurred during the pre-login handshake. EDIT I have tried the winsock command listed on the other page I have tried adding tcp:servername,1433 to the Registry as Suggested elsewhere on here. I have tried running this fix it from Microsoft http://support.microsoft.com/kb/2643584 I am still getting the same issue which is that SQL Agent cannot start, if I re-enable SSL3 and reboot all works fine disable again and here is the error i recieve
|
Where is the samba name "workstation" coming from? Posted: 23 Mar 2021 08:01 PM PDT The output of
I've worked out that all of these users are connecting via OS X. All users who connect through Windows have their computer name displayed. I have checked on my own OS X machine (with computer name, local host name, and host name all set) and I even show up as "workstation." Where is this name coming from? How can I change it? |
Check processor status- check processor/cpu status and failed/off status Posted: 23 Mar 2021 08:01 PM PDT I want to Check processor status- check processor/cpu status and failed/off status so for that I used command prtdiag and want to fetch the cpu status only from that. how can i do that? |
set up apache http server in windows as proxy to access another domain Posted: 23 Mar 2021 06:00 PM PDT I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 in windows 8. I need to access a website, let's call it x.com, through my proxy. The reason is that I need to show it in an iframe and also programmatically log in on it, for which I need to use javascript. This is prevented by cross domain ajax security constraints. By proxying the site I could do that. I have installed Apache http server. Uncommented the following line in file "httpd.conf" and overwritten file conf\extra\httpd-vhosts.conf with the following: I restarted the apache service, now I go to : and get
What could be wrong with this set up? Is there something else I need to configure? Thank you |
Securing RDP for a public web server Posted: 23 Mar 2021 08:39 PM PDT I'm a developer of a server-based web application. My client has organised a virtual server to be hosted with one of their ISPs. The server is running Windows Server 2008 R2. It's a completely standalone machine (i.e. no domain, no policies pushed down, etc) and I have total control over it. I should note that while I know a reasonable amount about Windows, I'm not a server admin myself and don't know a great deal about how to manage servers. However, the ISP doesn't provide any sort of VPN or other security for accessing the machine. They've opened the ports I need publicly open, but the RDP ports are causing me some concern. I need to be able to RDP in from a few machines, and unfortunately some of these have dynamic IPs due to being mobile machines. Although the application is minimal risk, I still really don't like having RDP open to the world as well - unfortunately, the options they've given me are:
I was wondering if there are any other solutions anyone can think of which will let me secure RDP but somehow open it to particular IPs as I need to, and that would work on a standalone machine like this? |
Posted: 23 Mar 2021 06:20 PM PDT We are curently using the DNS of our ISP but i would like to setup our own in house dns server so that we could manage local names, and in short use this in house DNS server instead of .hosts file on all of our computers. I would like the DNS server to resolve DNS only to certain IP's (so this way i could filter internet access in a way, by providing DNS resolution only to domains that are of use to our business and accordingly to IP's -something like openDns) -i know i could setup a transparent squid to do filtering, but i've been interested in seting up a local DNS server and could not find the necesary resources online. I am interested in a unix, debian, friendly app (windows is accepted also). 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 |
No comments:
Post a Comment