Recent Questions - Server Fault |
- Files remaining locked after writing using mount.cifs
- How to Copy and Paste text from Virtual machine to Host OS [CentOS to Windows 11]
- Postfix sender_bcc_maps / ignore a specific user
- What really DB server is? Like is they are normal server computers [closed]
- Proxy PUT Requests - Apache Configuration
- Does roblox, discord, steam and other sites work on FreeBSD? [closed]
- Why can I write one set of URLs but not others with NGINX?
- How to solve connectivity problems stemming from computers with the same name in the same domain?
- kubernetes k3s prometheus no node-exporter on the master node
- Registry Key disappearing on reboot after added to read application and services logs via WMI
- tcp client which makes many outgoing connections
- Kuberentes kubelet-client-current.pem expired
- how to disable lines in java.security for linux and windows
- How to enable camera and mic permission in macOS app using Chrome embedded browser? [closed]
- How to setup permanent MTU size in RHEL 7 for eth0 interface?
- Apache2 SSL only works when virtualhost is removed?
- S3 Logs event Issue
- Haproxy log file with pfsense
- How to check IPv6 address via command line?
- kubernetes and sharing an nfs volume accross multiple pods
- Rewrite leads to infinite 301 redirect loop on existing directories
- hping3 not returning tcp timestamp
- Task scheduler terminates completed task
- What is the performance impact of disabling NCQ?
- GPG Key not available for Local Apt Repo
- How to save + close file when editing in bash?
- How do I clear Chrome's SSL cache?
- Best location to keep SSL certificates and private keys on Ubuntu servers?
Files remaining locked after writing using mount.cifs Posted: 10 Feb 2022 08:32 AM PST We have a server running RHEL 8.3 and connecting to a backup server running windows server running windows server 2016. We connect from RHEL to server using the command: mount.cifs \\SMCFILE\SMC$\Data$\picksaves /mnt/smcbackups -o user=user,pass="pwd",uid=uidvalue,gid=gidvalue,file_mode=0777,dir_mode=0777 We use that same command for other server running the same os, but just copy files around. When doing the backups, sometimes the file will remain locked. I suspect it has something to do with the file being held open. If you log into the windows machine, it will say the file is locked by PID 4 or something. If I disconnect the mount, it does not release it, so there must be a service handling the transfer(smb?) or something locking the file and will not release it until we kill it. Is what we are doing the current proper way to mount a windows server file system on linux?H |
How to Copy and Paste text from Virtual machine to Host OS [CentOS to Windows 11] Posted: 10 Feb 2022 08:30 AM PST Error: failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist : No URLs in mirrorlist enter image description here |
Postfix sender_bcc_maps / ignore a specific user Posted: 10 Feb 2022 08:16 AM PST I have sender_bcc_maps set up and working with postfix so that outgoing mail gets bcc'd to the sender's address. My configuration is more or less: main.cf regexp_sender_bcc This works great. Now I have an email address Idea 1: I first tried adding a row to route to a non-existent mailbox Predictably, this results in an attempt to bcc that address and a bounceback since it doesn't exist. Idea 2: Next I tried simply changing the target to an empty string: This generates a warning and completely drops the outgoing mail as well: Idea 3: I then tried routing this mail to a local user: This somewhat does the job but then all these messages are still delivered to the local mail system. I'd like to do either one of these - preferring the former:
|
What really DB server is? Like is they are normal server computers [closed] Posted: 10 Feb 2022 07:35 AM PST Its my frist server setup, so i do not know much about servers and related stuff. If anything is wrong in this question please comment it out. My question is, What really DB server is? Like is they are normal server computers like 'Dell PowerEdge r510' with lots of storages? Or it is somthing else Let me explain, I basically want to know what hardwares do companies use for DB? |
Proxy PUT Requests - Apache Configuration Posted: 10 Feb 2022 07:23 AM PST I am trying to redirect PUT request for a specific endpoint to another host. The said endpoint resides under I have tried setting it up using both rewrite rules and using the proxy ( My client application uses a simple REST client that cannot handle redirects, so I have to use some kind of proxying. Apache logs show the following Here's the current configuration for the specific vhost |
Does roblox, discord, steam and other sites work on FreeBSD? [closed] Posted: 10 Feb 2022 06:34 AM PST Could you install roblox on Freebsd? Discord and steam? ............................................................................................................................................................................................................................. ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... ........................................................................................................................................................................................................................... |
Why can I write one set of URLs but not others with NGINX? Posted: 10 Feb 2022 08:11 AM PST I've set up NGINX, version 1.18.0, as reverse proxy for my Apache Superset 1.4.0 installation. I'm trying to capture some URL patterns, and rewrite them by adding The following NGINX configuration works as expected: Because when I visit (with Chrome) a URL such as But when I try to do something similar for another URL pattern for Apache Superset, such as the following: and I request I also checked Superset logs to see what it serves after I request Any ideas why this is happening? The complete |
How to solve connectivity problems stemming from computers with the same name in the same domain? Posted: 10 Feb 2022 06:06 AM PST I made the mistake once of using a laptop on a local network that has the same computer name ('Computer12') as one of the computers on the domain. But now even weeks of removing that laptop from the network, i cant always remotely connect to 'Computer12' using Computer Name. I can connect fine using IP address but not the computer name. I am thinking there is a confusion to which 'Computer12' the connection is connecting. The same thing happens when i am trying to access the files remotely from Windows explorer i get prompted to re-enter the credentials even though i had previously clicked save. Is there a way to reset the cache on the network to forget that one instance of 'Computer12', I am really trying to avoid renaming the computer. |
kubernetes k3s prometheus no node-exporter on the master node Posted: 10 Feb 2022 05:56 AM PST I have deployed k3s cluster (1 master and 2 agents (workers)) on the Proxmox server. Deployed Prometheus based on the helm-charts/kube-prometheus-stack . node-exporters have been deployed only on the worker nodes. Prometheus fires the following alerts: Why is a node-exporter missing on the master node? I have installed a k3s master with the |
Registry Key disappearing on reboot after added to read application and services logs via WMI Posted: 10 Feb 2022 05:49 AM PST I have a Windows Server 2019 VM and am trying to collect some specific Windows Event Logs using In order to read an Event Logs channel in Applications and Services, I created a registry key and configured it similar to how this post describes the process. This worked, but when server reboots, the registry key I created disappears. This happens on a brand new image, so I can't tell if there is something specific that is rewriting Thanks! |
tcp client which makes many outgoing connections Posted: 10 Feb 2022 07:14 AM PST My TCP client need to connect to thousands servers (in local network) all at once. Communication is simple. 10 bytes string TCP request, 20 bytes response. I have gigabit network. when client connects servers one by one no issues. But when all at once I have success with 1000 servers and others failing with errors: normally no route to host. My clients running on brandnew NUC with i7. I was tweaking TCP stack : But no success. Best I managed to get is 1800 connections Do u know how to overcome this issue? |
Kuberentes kubelet-client-current.pem expired Posted: 10 Feb 2022 05:05 AM PST I'm new in K8s and I'm facing a problem with certificate. 1.13 version is used. One of the worker nodes is in NotReady status. I check logs and it turned out that: Part of the existing bootstrap client certificate is expired I checked and indeed kubelet-client-current.pem is pointing to expired certificate. My question is how to renew this kubelet-client-<current_date>.pem file. EDIT: I also deleted /var/lib/kubelet/pki and after kubelet restart it was recreated but only with kubelet-client.key.tmp, kubelet.crt, kubelet.key. |
how to disable lines in java.security for linux and windows Posted: 10 Feb 2022 05:42 AM PST I need to disable the following lines in the java.security file (java 8 SE) image in windows windows path: the purpose of disabling these lines is to avoid the following error message: and the solution proposal published here (which is to comment on these lines) I'm not sure if putting a comment at the beginning of the line (#) will disable them for both operating systems. Because this oracle document say is // whichever one is used to comment out the lines, I also don't know if it is necessary to comment out all 3 lines, or just commenting out the first disables all 3. example: this way: or that way? question: how to comment out (disable) the previous lines in java.security file on windows and linux? |
How to enable camera and mic permission in macOS app using Chrome embedded browser? [closed] Posted: 10 Feb 2022 07:40 AM PST I want to implement cef library in macOS application in order to achieve Native webbrowser in an app. I have downloaded cef-Simple project and tried to run. But on cef I have to use webRtc therefore I am not able to turn on camera and mic permission. When the cef launches, I am unable to give permission to the user to enable camera and mic. |
How to setup permanent MTU size in RHEL 7 for eth0 interface? Posted: 10 Feb 2022 07:30 AM PST I am using RHEL 7 and trying to setup permanent MTU size to 8500. Not able to find a way to set it up permanently. The server does not have dhcp.conf file in it. I am using below command for temporary solution. But the MTU size gets reset after server reboot. If anyone has luck achieving a permanent solution please suggest. |
Apache2 SSL only works when virtualhost is removed? Posted: 10 Feb 2022 05:50 AM PST I'm making a website hosted at sparrowthenerd.space, and I'm trying to have it use multiple subdomains so I can run NextCloud, OctoPrint, and a general webpage all from the same IP address. As I understand, this can be accomplished with VirtualHosts in Apache2. However, unless I remove the virtualhost tag from my conf file (below), I get an SSL Handshake Error with CloudFlare enabled, and an SSL protocol error without it. I am using Apache2 v2.4.52 on Debian 11 Bullseye. The web server is self-hosted, and uses NodeJS on port 9999 by proxy (I think that's the right terminology?). When the virtualhost tags are uncommented, I get the error. When they are commented, I do not, but I also then can't add extra subdomains. I am using the CloudFlare proxy servers with a Cloudflare SSL Certificate. Please let me know if you need more information, I'm happy to provide it! |
Posted: 10 Feb 2022 05:47 AM PST Is there a way to see what actions the 'g2' IAM user is performing in S3, and which IP(s) they are running from? I have already enabled the logging of S3 actions. One point I'm still not able to figure out is that when I'm trying to find logs in Cloud trail using an AWS access key or username in both cases, I'm getting results as No matches. But throughout the day that user (g2) interacts with S3, based on the times it seems like it is a CRON running on some server. How to identify it? I did analyze CloudTrail event history and used CloudWatch Logs Insights to find out access Logging IP address for 90 days by using both "username" and "AWS Access Key" but it seems that it isn't of much help for finding "g2" user data. "g2" IAM user does have Administrator Access. The user does not have console management access. I suspect it is just doing an 'ls' to check for the existence of some files. I think the same actions will be occurring each day for it I know the date/time the user executes and the resource (S3) but that is all (no bucket, no IP, etc). Is there anything we can do with that information? Is the CLI tool CloudTrail log will be helpful for my scenario? Can anyone help me with this? |
Posted: 10 Feb 2022 06:04 AM PST I am trying to read the /var/log/haproxy.log file with the command: clog -f haproxy.log but nothing happens. No window opens. How do I see my error log? I'm on pfsense. Thank you so much! |
How to check IPv6 address via command line? Posted: 10 Feb 2022 06:03 AM PST How do I check the IPv6 address via command line? For IPv4 I simply use:
This doesn't work for IPv6. |
kubernetes and sharing an nfs volume accross multiple pods Posted: 10 Feb 2022 08:01 AM PST I'm trying to figure out how I can use a single nfs share with k8s persistent volume claims. For example, let's say I have a single nfs pv configured: Is it possible to create multiple volume claims that map to subdirectories within this single share? For example again, let's say I create the following volume claims: and: I guess, that both claims will be bound to the pv, but there is no way to seperate the data of both elasticsearch and influxdb. I hope you understand what I'm trying to do here (sorry, I find it difficult to explain). I just want to use a single nfs share that can be used by multiple pods, while still keeping their data seperate. |
Rewrite leads to infinite 301 redirect loop on existing directories Posted: 10 Feb 2022 08:01 AM PST I went through questions/solutions found here, tried numerous approaches (including the [L] directive) but nothing really did the trick. Situation Overview Debian running Apache 2.2 proxying through nginx Goal Redirect everything to Exclude the following directories from the rule:
Exclude all .css files from the rule. The Problem Apache/nginx lead to a Current Solution Approach nginx is configured like this: Apache is configured this way: I fail to see where the problem is. A theory i had was that the combination of nginx/apache rewrites would create the problem, so i fiddled around with the configuration, but to no avail, unfortunately. Can someone pinpoint the issue here? |
hping3 not returning tcp timestamp Posted: 10 Feb 2022 07:00 AM PST A recent pentest revealed that the TCP timestamp option was enabled. I have tried to reproduce the pentesters' result using but the tool never returns. It sits on the line: If I enter Ctrl C I get: If I add the -c option with a value of, say, 4 it does return but without timestamp information. I checked with our hosting provider who confirmed that the timestamp was enabled (and then disabled it). Any ideas what might be wrong with my setup that could be causing this? I'm using Kali 2016.1 on a hyper-v hosted virtual server, tunneling out of our DMZ to a Digital Ocean hosted Debian server using sshuttle. |
Task scheduler terminates completed task Posted: 10 Feb 2022 07:00 AM PST I am running a task using the Task Scheduler on a Windows Server 2012 R2 server. Today I was examining the task's history. My task completed successfully. However, I noticed that the event following that task's completion was in the "Task terminated" category. I have been trying to figure what caused this. I do have the following setting checked: Could this be why the Task Scheduler terminated the task? I thought the task was done? |
What is the performance impact of disabling NCQ? Posted: 10 Feb 2022 06:03 AM PST Our cluster system runs currently under CentOS7 with SSDs and NCQ disabled. What kind of a performance drop is to be expected within an i/o-heavy usage scenario? I'm not expecting a precise answer because I know it largely depends on the application, hardware, and network (just an idea would be great). |
GPG Key not available for Local Apt Repo Posted: 10 Feb 2022 06:04 AM PST We have an Apt-mirror server. We have also a custom repo named 'local' on this server. If I add in sources.list the following line : The following error is displayed : Even with the following command : I tried also with Do you know how to have this local GPG Public key available for all Linux clients ? Attempts or but I got : And Copy-Paste with EDIT : Thanks for your answers. I tried this : OR but I got : And Copy-Paste with |
How to save + close file when editing in bash? Posted: 10 Feb 2022 06:23 AM PST OK - I am linux newbie - I am trying to edit a file from bash via Problem is for the hell of me I cannot how to save and out of edit mode - this cheatsheet seems to suggest ESC should do the trick but it doesn't seem to work. I am connecting via ssh from a mac to a linux suse enterprise 11 box. Any help appreciated! |
How do I clear Chrome's SSL cache? Posted: 10 Feb 2022 06:37 AM PST I have a HAProxy / stunnel server that handles SSL for our sites on AWS. During testing, I created a self-signed cert on this server and hit it from my desktop using Chrome to test that stunnel was working correctly. Now I have installed the legitimate cert on that server. When I hit the site from my machine in Chrome it throws the following error:
My guess is that Chrome cached the key for the self-signed cert and it doesn't match that of the legitimate cert. This site works in all other browsers on my machine so it's just a Chrome problem. One interesting note: When hitting the page from a incognito session (Ctrl+Shift+N), it works correctly. So it is clearly some sort of cache thing. I did all the things I could think of (dumped my cache, deleted certs from the Personal and Other People page in the Manage Certificates dialog, Ctrl+F5, etc.). My machine is Windows 7 x64. Chrome version: 12.0.742.91. On the Google Chrome Help Form, there is a description of what sounds like the same issue; however, no resolution is found. UPDATE: It seems to have "fixed itself" today. I hate problems like this. I still don't know what caused it or how it resolved itself. Presumably the cached cert expired or something, but I am still interested to know where this information is stored and how to verify it. |
Best location to keep SSL certificates and private keys on Ubuntu servers? Posted: 10 Feb 2022 08:14 AM PST On Ubuntu, it looks like the best place for a private key used to sign a certificate (for use by nginx) is in This answer adds that the certificate should go in |
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