Recent Questions - Server Fault |
- How can I enable Hyper-V in MSI Modern 14 B4MW model?
- How to add a custom OpenSSL engine with OpenSSL and use from apache server?
- multiple htaccess redirects to a new domain
- IPTables to protect Redis and PostgreSQL ports
- Keystone as a standalone Identity Service
- cPanel Exim using SMTP2Go do not allow auto-forwarding of mail
- Using nobarrier with ext4 and google persisten disks
- SPF neutral on mail sent with SMTP from Gmail. SPF pass on mail sent from inbox for that address on G Suite
- Trying to redirecting ip(boxip)to port. Getting this error. Using nginx
- Static Routing Server Rack
- Trying to programmatically create new Windows user's profile
- Video Capture Devices available in RDP (mstsc) but not Virtual Machine Connection (vmconnect)?
- AWS EC2 ENA Support on Linux; Unable to connect after changing instance type
- How can I add a certificate to a Windows service's certificate store from the command line?
- timestamp in shell code script
- Nginx HTTP2 IOS 11 not working
- snmpget error: “No Such Object available on this agent at this OID”
- Apache 2.4 restrict access
- How can I create a PKCS12 File using OpenSSL (self signed certs)
- Nginx - Deny folder, except subfolders with regex
- How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)
- How to troubleshoot internet unreachable periodically through firewall
- Apache Rewrite rules for SSL in sub domain
- Can Robocopy be configured to only log the “errors”?
- ifconfig eth0 RX dropped packets
- How to redirect sitemap.xml used depending on the domain?Undo edits
- Outlook 2007 login prompt repeat prompt and exchange 2010
- Distributed and/or Parallel SSIS processing
- What permissions should my website files/folders have on a Linux webserver?
- How can I save the counters’ setup in windows performance monitor
How can I enable Hyper-V in MSI Modern 14 B4MW model? Posted: 05 Apr 2021 10:15 PM PDT I have tried all the thing to enable Hyper-V in my windows-10 64 bit laptop ,but I am unable to do it I am unable to find any option to enable it either in BIOS nor in Turn Window Feature On Off. My Machine model is Modern 14 B4MW-238IN. Any help would be appreciatable. Thanks |
How to add a custom OpenSSL engine with OpenSSL and use from apache server? Posted: 05 Apr 2021 10:01 PM PDT I have a custom-built OpenSSL engine. I'm trying to make changes to Apache mod_ssl to use OpenSSL ENGINE on Ubuntu 14.04, address my issue and I tried to follow the suggested solution. I have installed According to Where to copy custom openssl engine library in openssl 1.1.0, I added the following changes to After making the changes, running The output of Then I install After the installation, I have uncommented When I try to restart the httpd server, I get he following error, So, my question is,
|
multiple htaccess redirects to a new domain Posted: 05 Apr 2021 07:23 PM PDT I'm trying to redirect an entire domain over to another domain while also redirecting a couple of specific pages to specific locations. I also want to preserve www and https on the original domain to ensure there are no errors on the old domain and any links will still work/redirect correctly. Here's what I've got so far -- the https, www, and sitewide redirect work fine, but the page to page redirect(s) don't do anything: Any idea what I'm doing wrong? Thanks in advance! |
IPTables to protect Redis and PostgreSQL ports Posted: 05 Apr 2021 06:44 PM PDT I'm still new to the linux world, but as soon as I learned about I created a chain: and I used this chain to filter However, it didn't work... I was able to connect to Redis using telnet from IP_ADDRESS_3. What am I missing here? Any help appreciated! I'm using Ubuntu 18.04 (LTS) |
Keystone as a standalone Identity Service Posted: 05 Apr 2021 06:25 PM PDT Is it possible to use Keystone as a standalone Identity Service with external services or is it tightly integrated with the OpenStack platform? Is it a supported scenario? I guess I'm trying to figure out how "unnatural" it is, how far it's from a normal flow. I'm looking for a Authentication/Authorization solution for several apps deployed in K8S. Thank you. |
cPanel Exim using SMTP2Go do not allow auto-forwarding of mail Posted: 05 Apr 2021 06:06 PM PDT I am using SMTP2Go to relay my emails. They are informing me that they do not allow auto-forwarding of mail and it violates their Terms of Service. SMTP2Go is working fine, but I need to have Exim to route all emails that are being forward to localhost and not via their services. I checked all of the cPanels forums and the closest that i came up with was these settings, but are not sure how to apply them in my case. send_via_ses: driver = manualroute domains = ! +local_domains condition = ${if !eqi{$local_part@$domain}{EMAILADDRESS}} condition = ${if !eqi{$local_part@$domain}{EMAILADDRESS2}} transport = ses_smtp self = send route_list = * localhost |
Using nobarrier with ext4 and google persisten disks Posted: 05 Apr 2021 08:38 PM PDT I was looking into speeding up some heavy DB write workload on google cloud vm. I saw nobarrier option for ext4 FS can provide some performance boost. I was wondering if anyone knows if it is safe to use nobarrier option with google persistent storage (Balanced PD). My understanding is that |
Posted: 05 Apr 2021 05:30 PM PDT The domain name I'm trying to debug is dallaspetsalive.org. This is a G Suite domain. When I log directly into my G Suite email account for the dallaspetsalive.org address and send an email, I get SPF pass result:
When I log into my personal gmail account and send email as the dallaspetsalive.org address using SMTP I've set up in the settings, I get SPF neutral result:
Does using SMTP in another inbox to send email ruin SPF? It appears to be checking the same IP, but giving a pass result in one case and a neutral case in the other, and I can't make any sense of it. This is what I have for the TXT record for SPF. The non-Google addresses are services we use:
Thanks for any help you can provide. I am trying to optimize our email settings to avoid mail going to spam. |
Trying to redirecting ip(boxip)to port. Getting this error. Using nginx Posted: 05 Apr 2021 04:59 PM PDT Getting this error: The page isn't redirecting properly An error occurred during a connection to hidden. This problem can sometimes be caused by disabling or refusing to accept cookies. |
Posted: 05 Apr 2021 05:21 PM PDT I am currently installing a server rack for a customer, and they've asked a qauestion. They want/need to optimise U space as to avoid paying overheads for U's that aren't needed. The question they've asked, is whether or not they can use Static Routing with a L3 Switch. This in their eyes would remove the need for 1 U, and would combine Switch/Router into 1 U. It's a valid question, however I am not sure how to answer it as ARP came to mind. So, can we replace the Router/Switch with a good L3 Switch? And if so, can we statically route to each Server in the Rack without generating massive ARP cache? |
Trying to programmatically create new Windows user's profile Posted: 05 Apr 2021 10:43 PM PDT Trying the low-impact solution as mentioned in the post: [https://serverfault.com/questions/946882/how-can-i-programmatically-cause-a-new-windows-users-profile-to-be-created] Suggestion was to run a command as that user using psexec.exe for Windows to create the profile: I'm running it local to the VM I've created. Getting the message : Can someone give me insight into what I'm doing wrong? My purpose is to create the user folder in the C:\Users area based upon the AD user I set up, without them or me having to log in to toggle this user folder creation. |
Video Capture Devices available in RDP (mstsc) but not Virtual Machine Connection (vmconnect)? Posted: 05 Apr 2021 10:02 PM PDT I'm trying to pass my webcam through to a Hyper-V VM using Virtual Machine Connection (vmconnect). In the "Local Devices and resources" settings, I do not have the ability to do this: However using Remote Desktop Connection (mstsc) with the same host & guest, I am able to pass through the webcam: My understanding is that vmconnect uses the same libraries as mstsc. I've checked the versions of both and they're both the same (10.0.18362.1). Both client and server are the same - Windows 10 1909. Is there a setting or option I'm missing or is this just not available in vmconnect? |
AWS EC2 ENA Support on Linux; Unable to connect after changing instance type Posted: 05 Apr 2021 09:14 PM PDT I'm in the process of upgrading several of our EC2 instances from type T2 to T3. This requires enabling ENA support. I've successfully upgraded 3 of 4 instances, but the last one is having issues. I've enabled ENA, just like the other instances, changed the instance type to T3.2xlarge, and started the instance. When I attempt to SSH into it, SSH attempts to make the connection to the instance but gets no response. I get the same result trying to make it an M5 or M4 instance as well. However, starting it as a T2 or M3, I'm able to connect to it just fine. The OS is Ubuntu 16.04.1 LTS and ENA support is enabled: Anyone have thoughts/ideas? |
How can I add a certificate to a Windows service's certificate store from the command line? Posted: 05 Apr 2021 06:04 PM PDT I want to add a certificate to the certificate store belonging to a Windows service, from the command line. So far, the only thing I've found is: When I run it (logged on as myself, in a Command Prompt as Administrator) it returns: I've tried wrapping the Service\Store name in double quotes (same result) and single quotes (same result) and using a forward slash or space instead of the backslash, both giving: Can anyone help with the syntax for this command, or help with an alternative method? |
timestamp in shell code script Posted: 05 Apr 2021 05:07 PM PDT I'm new in shell coding and hopefully I'm in the right place to ask this question. I'm working with a shell script which collect daily file and send them via ftp. In the filename there are both date and time and type of files is text Time is different in the filename but all of them have 08 for hour and I want to send all files that has for example today date and 08 as hour with whatever minute and seconds(it doesn't matter which minute and second). Here is my code: Files are in the directory and when I write the timestamp,for example What should I write for time part in the filename so that script sends the files that has been created at 08 with whatever minute and second? |
Nginx HTTP2 IOS 11 not working Posted: 05 Apr 2021 10:00 PM PDT i have problems with HTTP2 protocol on my NGINX server, this is my configuration I can't see the error on my iOS device (safari 11), it's very strange the webpage is a SPA ( angular ) that app makes requests to an API, the apps loads over HTTP2 but when the app has to make requests to the API it fails, disabling HTTP2 from the The ciphers for both servers frontend/backend are the same In Chrome/Firefox/IE works fine, i don't know what is wrong with Safari or my server config The error.log and adomain-error.log are empty when Safari fails Nginx Version UPDATE The console on my IPhone says UPDATE 2 I have found this post It explains that if you support TLSv < 1.2 you will end up in a UPDATE 3 [2019/02/28] There was a bug on our NGINX config for the OPTIONS Method of a CORS request causing duplicated Content-Length and Content-Type headers to be responded, after we solve that the app started working fine in HTTP/2, we also changed the status of the OPTIONS response from 200 to 204 |
snmpget error: “No Such Object available on this agent at this OID” Posted: 05 Apr 2021 05:07 PM PDT I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is:
My MIB files are in this path: Everything worked fine. After this when I do (on the agent) And with the command So, I'm getting the expected outputs on the agent system. Now my problem is I don't know how to get the same values from my server! When I run Output when specified the OID: Output when I do these: I have searched it and still searching but no luck. What should I do? How should I use I want to do this:
UPDATE 2: When I do When I do snmpget with So where am I going wrong? And what is pingFullCompliance.15.46.49.46.51.46.54.46.49.46.50.46.49.46.56.48 ? Why such a long OID? Where am I going wrong? Can anyone point me in the right direction? Any suggestions are greatly appreciated. |
Posted: 05 Apr 2021 09:01 PM PDT I got the following directories in my /var/www/htdocs: I would like to achieve this:
So I got the following apache 2.4 configuration, but it is not working as expected, because I am still able to access the cache-directories test123/cache, test456/cache and test789/cache. What am I doing wrong? Thanks for your help! :) |
How can I create a PKCS12 File using OpenSSL (self signed certs) Posted: 05 Apr 2021 06:49 PM PDT I have a bit9 server, and I'm fairly new to the environment, as well as certs. The area to upload the cert says "Import Server Certificate From PKCS12 File" I'm going to just use a self signed cert (I'm hoping it's ok with that), and I'm running the below command to do so. Is that what I should have done, and if so, how do I get this to a PKCS12 File? I've been looking around, and found the below command: Convert a PEM certificate file and a private key to PKCS#12 Since I only have a pem file...I'm not sure how to do this. |
Nginx - Deny folder, except subfolders with regex Posted: 05 Apr 2021 08:03 PM PDT I want to deny access to anything in the For example: Allow these files Deny these: ``` /app/bundles/Whatever/Config/config.php /app/bundles/AppCache.php /app/whatever.php This works fine (https://serverfault.com/a/450378/310646)... if I don't use regex. For example, this works: but this does not: Any ideas? |
How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux) Posted: 05 Apr 2021 07:02 PM PDT TL;DR -- How do I give I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux platform. Here is the task I have in my Executing it with the So, I need to increase the heap available to the task (or ws_ant itself?) at runtime, but I cannot figure out the proper place to do so. I tried modifying wsadmin.sh, and while that has an effect if I run my deployment as a Jython script with According to the IBM documentation of wsInstallApp:
In my That had no effect. Executing I also tried adding arguments onto the ... but that also seems to do nothing. What am I doing wrong? I concede that, if pressed, I could probably meet my requirements by re-writing the deployment using Alternatives? I also recognize that I could use the |
How to troubleshoot internet unreachable periodically through firewall Posted: 05 Apr 2021 07:02 PM PDT Periodically the internet is unreachable on my network, sometimes for 30+ minutes. After testing a direct connection to our modem, I realized this was not a problem with our ISP but the network itself. What I've tried:
What should my next steps be for troubleshooting this? I know how to use Wireshark, but I'm a bit of a noob and don't know what to look for. I did notice while the internet was working that one of my switches was putting out a lot of ARP requests compared to the others, asking for the same IPs over and over. I'm not sure if this is normal or not, though. Also, the switch keeps sending Spanning Tree packets that say "Topology Change Notification" in Wireshark. Reading a few similar questions on SO it sounds like I might have a loop somewhere in the network causing all the ARP requests. I'm not sure why it would be just the one switch sending them out so much, though, stead of all three on our network. I don't see any obvious looping in our setup, but I'm not sure how to rule this out, either. Update Network diagram: Modem --- Firewall --- Switch --- (multiple connections to other computers and switches on the network) |
Apache Rewrite rules for SSL in sub domain Posted: 05 Apr 2021 06:04 PM PDT I have a web site deployed that uses kohana and URL rewriting to make the URLs more restful. This works fine. I also have Moodle installed in a sub directory on the same server and a subdomain defined for this directory. So Moodle is installed in a directory called students and the subdomain is students.example.com. This too works fine. I am now attempting to install an SSL certificate that I only need on the sub domain. I have a Comodo wildcard certificate so it is supposed to be able to work with the subdomains. When I use https://example.com it works fine so I can see that the SSL certificate is in force. However, when I try https://students.example.com it redirects to the main site. http://students.example.com works fine though. The .htaccess file that works for the kohana rewrite rules is: According to the docs I will need the following rules to be added for the subdomain: I tried adding this as the first rule and as the second rule but neither worked. I now understand that I will have to write a new set of rules to do what I want. Any advice on how to accomplish this would be greatly appreciated. This site is hosted with Bluehost if that makes any difference. |
Can Robocopy be configured to only log the “errors”? Posted: 05 Apr 2021 07:41 PM PDT Can Robocopy be configured to only log the "errors"? On a large copy job, I'm really only interested in knowing what files were NOT copied. |
ifconfig eth0 RX dropped packets Posted: 05 Apr 2021 06:49 PM PDT The problemThe ifconfig command shows more and more dropped packets in the RX section. So, there seem to be a problem to some packets arriving from the Internet to my server. The questions
Useful troubleshooting infosSince I don't know what my problem really is, feel free to ask me to complete this section if you think some other info would be needed. ifconfig Note the "dropped:2523" in the RX section. This is the most important. This number is continuously increasing. ip -4 route show ip -6 route show munin graph of plugin if_err_eth0_day |
How to redirect sitemap.xml used depending on the domain?Undo edits Posted: 05 Apr 2021 10:00 PM PDT How I can redirect sitemap.xml file access to different subfolders, if it can be reached from three different domains?
domain1, domain2, and domain3 target to the same folder. Is it possible? How can I do this? Should do it with PHP ? PS: The server is a linux running apache, the web platform is a wordpress. |
Outlook 2007 login prompt repeat prompt and exchange 2010 Posted: 05 Apr 2021 09:01 PM PDT It seems when I first setup a new user in Outlook 2007, a login prompt comes up and asks for credentials. After the account is setup, the login prompt will repeatedly prompt throughout the day and is a little annoying. This happened recently as all other machines are not doing this - just a few machines on the network (The new HP 8200 Elite small form factor machines to be exact) Outlook 2007 works perfect on the other HP models we have - HP 6000, Optiplex 330, Opti 320's. A few of the HP 8200's work and the new HP 8200's give us the prompt. Any help would be much appreciated. |
Distributed and/or Parallel SSIS processing Posted: 05 Apr 2021 08:03 PM PDT Background: Our company hosts SaaS DSS applications, where clients provide us data Daily and/or Weekly, which we process & merge into their existing database. During business hours, load in the servers are pretty minimal as it's mostly users running simple pre-defined queries via the website, or running drill-through reports that mostly hit the SSAS OLAP cube. I manage the IT Operations Team, and so far this has presented an interesting "scaling" issue for us. For our daily-refreshed clients, the server is only "busy" for about 4-6 hrs at night. For our weekly-refresh clients, the server is only "busy" for maybe 8-10 hrs per week! We've done our best to use some simple methods of distributing the load by spreading the daily clients evenly among the servers such that we're not trying to process daily clients back-to-back over night. But long-term this scaling strategy creates two notable issues. First, it's going to consume a pretty immense amount of hardware that sits idle for large periods of time. Second, it takes significant Production Support over-head to basically "schedule" the ETL such that they don't over-lap, and move clients/schedules around if they out-grow the resources on a particular server or allocated time-slot. As the title would imply, one option we've tried is running multiple SSIS packages in parallel, but in most cases this has yielded VERY inconsistent results. The most common failures are DTExec, SQL, and SSAS fighting for physical memory and throwing out-of-memory errors, and ETLs running 3,4,5x longer than expected. So from my practical experience thus far, it seems like running multiple ETL packages on the same hardware isn't a good idea, but I can't be the first person that doesn't want to scale multiple ETLs around manual scheduling, and sequential processing. One option we've considered is virtualizing the servers, which obviously doesn't give you any additional resources, but moves the resource contention onto the hypervisor, which (from my experience) seems to manage simultaneous CPU/RAM/Disk I/O a little more gracefully than letting DTExec, SQL, and SSAS battle it out within Windows. Question to the forum: So my question to the forum is, are we missing something obvious here? Are there tools out there that can help manage running multiple SSIS packages on the same hardware? Would it be more "efficient" in terms of parallel execution if instead of running DTExec, SQL, and SSAS same machine (with every machine running that configuration), we run in pairs of three machines with SSIS running on one machine, SQL on another, and SSAS on a third? Obviously that would only make sense if we could process more than the three ETL we were able to process on the machine independently. Another option we've considered is completely re-architecting our SSIS package to have one "master" package for all clients that attempts to intelligently chose a server based off how "busy" it already is in terms of CPU/Memory/Disk utilization, but that would be a herculean effort, and seems like we're trying to reinvent something that you would think someone would sell (although I haven't had any luck finding it). So in summary, are we missing an obvious solution for this, and does anyone know if any tools (for free or for purchase, doesn't matter) that facilitate running multiple SSIS ETL packages in parallel and on multiple servers? (What I would call a "queue & node based" system, but that's not an official term). Ultimately VMWare's Distributed Resource Scheduler addresses this as you simply run a consistent number of clients per VM that you know will never conflict scheduleing-wise, then leave it up to VMWare to move the VMs around to balance out hardware usage. I'm definitely not against using VMWare to do this, but since we're a 100% Microsoft app stack, it seems like -someone- out there would have solved this problem at the application layer instead of the hypervisor layer by checking on resource utilization at the OS, SQL, SSAS levels. I'm open to ANY discussion on this, and remember no suggestion is too crazy or radical! :-) Right now, VMWare is the only option we've found to get away from "manually" balancing our resources, so any suggestions that leave us on a pure Microsoft stack would be great. Thanks guys,
|
What permissions should my website files/folders have on a Linux webserver? Posted: 05 Apr 2021 09:37 PM PDT
I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. The base directory /var/www/ is owned by root:root. Apache is running as www-data:www-data. The Fabrikam website is maintained by two developers, Alice and Bob. Both Contoso websites are maintained by one developer, Eve. All websites allow users to upload images. If a website is compromised, the impact should be as limited as possible. I want to know the best way to set up permissions so that Apache can serve the content, the website is secure from attacks, and the developers can still make changes. One of the websites is structured like this: How should the permissions be set on these directories and files? I read somewhere that you should never use 777 permissions on a website, but I don't understand what problems that could cause. During busy periods, the website automatically caches some pages and stores the results in the cache folder. All of the content submitted by website visitors is saved to the uploads folder. |
How can I save the counters’ setup in windows performance monitor Posted: 05 Apr 2021 04:59 PM PDT I need a comprehensive and complex set of performance counters in windows performance monitor. At this point every time that I use performance monitor, I have to add the counters, one by one. Is there any way to save the counter set and load it at the later use? Thank you, |
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