Recent Questions - Server Fault |
- Backup /var/lib/docker without the images?
- Expose pfsense port on windows hyper-v
- mariadb-client cannot connect to db throwing "RSA Encryption not supported"
- configure inactivity timeout while handling keepalive probes
- How to validate variables contents in Ansible?
- Nginx - React app make request with the wrong host
- Windows DEL command behavior wrt junction points
- What does it means "Signal lost for 15 minutes on 'Low Application Throughput'"
- Why "vlan: 3 parent interface: en0"
- List "hardware" Network Interfaces Controllers
- Is VLAN "running/managed" on a computer accessable from outside
- What is a good indicator that a server does not have enough RAM?
- Some of my emails do not get to clients without a warning
- Dynamically register hostnames on DNS server (via DHCP)
- How to adjust SELinux to allow not so large file downloads in Apache?
- Unchecking the "Register this connection's addresses in DNS" option does not remove DNS records
- Openstack / Linux Networking - public network doesnt connect with physical interface
- All tasks in Task scheduler are going to queued state when triggered
- Tape drive Connectivity - Fiber channel Vs SAS
- Traefik is getting "404 Page not found" in AWS
- Change Registry Key Permissions Access Control List using only Command Prompt
- Office 365 Shared mailbox calendar ignoring explicit permissions, users see Default only
- listing parent interface of a vlan
- Install memcache php ext on php 5.6
- nfs problems: shares appear to be the wrong size. files created on share not visible on server
- Mysql 5.5 is not installed in CentOS 5.7
- IKE Phase 1 Aggressive Mode exchange does not complete
- How to return multiline from remote SSH command
- How can I mount a remote volume with 777 permissions for all users?
- What are the functional differences between .profile .bash_profile and .bashrc
Backup /var/lib/docker without the images? Posted: 19 May 2022 07:51 AM PDT I want to make a backup of all my containers and volumes, so the easiest way would be to copy However this directory also includes all the images, and I don't want to include them since they all can easily be re-downloaded from public sources. So how can I copy this directory while excluding the images? |
Expose pfsense port on windows hyper-v Posted: 19 May 2022 07:49 AM PDT Need advice, i have pfsense server who running on Hyper-V host with this topology:
Is there a way to expose web apps port (80/443) on VM A so i can access it directly from Public IP Hyper-V Host ? Appreciate all answer |
mariadb-client cannot connect to db throwing "RSA Encryption not supported" Posted: 19 May 2022 07:37 AM PDT I have a docker-compose with a 'db' and 'web' containers. The db is a If I try to connect to the MySQL server inside the db container, it works. But not if I try it inside the web container, from where I get the following error: The mysql clients differ between containers: the db client uses the community-mysql client: while the web container client uses a mariadb-client: And, the server version is: Any ideas on how to solve the "caching_sha2_password plugin" error Many thanks in advanced |
configure inactivity timeout while handling keepalive probes Posted: 19 May 2022 06:46 AM PDT I am developing a TCP echo server using python and the socket library. I'd like to have a timeout configured for each incoming connection. So to drop and close them if there is inactivity for a This is achieve with the specific setting: At the same time I would like to maintain active the connection that use keepalive method. So, if a keepalive probe packet is received by the server from a given client I'd like to avoid the use of timeout to close this particular client/connection. Q1 >> Does this make sense? I'd say this should be feasible. However, the socket server is unable to handle, as I desired, the keepalive probe. Because, even if those are acknowledged by the server, ACK is returned to each probe, the connection is closed at timeout. Q2 >> Should I change the timeout implementation? |
How to validate variables contents in Ansible? Posted: 19 May 2022 07:44 AM PDT ansible-lint only checks the tasks/handlers and doesn't iterate over the variables (e.g. if you're using Is there a tool that can validate the actual data in the variables in YAML files before they are fed into Ansible? Examples:
|
Nginx - React app make request with the wrong host Posted: 19 May 2022 06:21 AM PDT I am new to docker and nginx so excuse me if I am saying something silly I am using nginx with docker and my react app is trying to make a request to my node backend app. But something goes wrong, the react app its making the request to http://localhost:3335/getFileLogs But the correct would be to use https://localhost:8443/api-adminportal/getFileLogs where 8443 is the port that the api server is listening on How can I make nginx make requests to https:locahost:8443/api-adminportal/ instead of http://locahost:3335/ My nginx default conf file: My docker compose file: |
Windows DEL command behavior wrt junction points Posted: 19 May 2022 07:26 AM PDT In my installer script I want to delete known files from known locations on the local PC using the DEL command. The command should purge the file from a certain folder and all subfolders below that. I therefore use: However, if a junction is mapped somewhere below "C:\MyFolder" (say, at "C:\MyFolder\Junction", pointing to another folder on the same drive), DEL doesn't seem to traverse into it at all. So all "MyFile.xyz" files under there will not be deleted. If DEL also cannot find the file anywhere else under the root folder, it'll also happily report "Could Not Find C:\MyFolder\MyFile.xyz". There doesn't seem to be any switches that control this behavior, nor do command extensions help -- is this a known limitation of DEL? Are there any workarounds using either commands or standard apps installed by default on fresh contemporary Windows machines, or should I write my own DEL-like executable for this / perform the same action using a script in my installer? |
What does it means "Signal lost for 15 minutes on 'Low Application Throughput'" Posted: 19 May 2022 05:14 AM PDT I've recently implemented the New Relic service in my website, and I keep getting this error
And here is more information when clicking on "Issue Payload" Is this an issue with my hosting or my php app? Any pointer or advice is going to be greatly appreciated, as I'm completely lost here. |
Why "vlan: 3 parent interface: en0" Posted: 19 May 2022 05:07 AM PDT I have created a VLAN: Linux MacOS And I can now see, from Why 3 as I have only one physical enterface - also stated "en0"? |
List "hardware" Network Interfaces Controllers Posted: 19 May 2022 08:16 AM PDT When using ip link show |
Is VLAN "running/managed" on a computer accessable from outside Posted: 19 May 2022 05:38 AM PDT VLANI(VLAN newbie) am trying to separate my local home network and I thought that VLAN was handled by the router. My router is a sagemcom and I don't think VLAN is supported. I found that I can create a VLAN on a computer. I am wondering if I can portforward to this computer, running a VLAN on my local network - to keep users from breaking out to other computers - or is this only to create a virtual interface able to connect to a VLAN? I found the terminal commands for creating VLANS on a computer, both for Linux and MacOS: Linux MacOS This gives me ifconfig vlan0: Property understanding(please comment): Question(Please comment on any of my assumptions)
|
What is a good indicator that a server does not have enough RAM? Posted: 19 May 2022 07:40 AM PDT I am the "application owner" of a server (ie. I am responsible for running and maintaining the application running on the server). The VM has 8GB of RAM, as was recommended when the application was first installed, but in the latest version recommendations, 32GB are indicated. The ops team is relunctant to quadruple the RAM, as the server is only using 30 to 40% of its 8GB of RAM today. Is used RAM the only useful metric to decide whether a server needs more RAM, or is there any other parameters I should look at to make the call? |
Some of my emails do not get to clients without a warning Posted: 19 May 2022 08:00 AM PDT I send emails from the web interface of Gmail Workspace (business email). Most of the clients receive my letters just fine. But some of the clients only receive messages with text and images. Messages with links or PDF attachments do not get through. They do not return or end up in the client's spam folder. They silently go nowhere. What could be the reason for this and how can I increase the chance to be delivered for my emails? I have DMARC, SPF, and DKIM set up for my domain. According to the reports I receive, my emails pass the tests. I see no errors or failures for the non-delivered emails. I tried to send all emails in plain text, but it looks like it does not affect the delivery. EDIT: According to Google Workspace Email Log Search all my messages get to client servers. They blocked there before dispatching to the recipients. I checked my domain and Google Safe Browsing and Spamhaus reported no issues. All the clients that do not receive some of my emails are using outlook.com / MS Exchange. I sent a copy of a blocked message to my own account at Office 365 and it got to Quarantine. So, the issue is 100% reproducible now. I checked the headers of the quarantined email and see this I spent some time decoding these and it looks like spam filtering marked the message as High confidence spam ( So it is clear now why message do not get to clients. But I still would like to know how to make them get there. |
Dynamically register hostnames on DNS server (via DHCP) Posted: 19 May 2022 08:18 AM PDT I want to set up a small network, where a central DHCP server leases IPv4 addresses to the clients. The clients already have their hostnames set and should advertise those to the central DNS server, so both the server and all clients can find each other with that hostname. The DNS server will resolve LAN addresses of the domain "my.domain" and point towards an external DNS server for all other domains (internet). In my current setup, I have two boxes: This is the client ( The IP The DHCP server config is supposed to be changed once the initial setup is working, towards handing out IPs from a range. So in the future I won't have fixed-assigned IP addresses for the clients. I will skip showing the rndc key files here. They are identical and placed in the configured locations. The server is configured as follows: I think that should be all relevant configuration. Please let me know if you need something else. The issue here is that, being on Maybe a potentially unrelated side note: Running the command Edit: It looks like the key might be important after all. Originally I manually created a key with Edit2: Manually running And during the manual update the logs show |
How to adjust SELinux to allow not so large file downloads in Apache? Posted: 19 May 2022 07:52 AM PDT I have a centos 7 server running Apache 2.4 that will happily allow users to download files until they get to a certain size. I've noticed the problem with mp4 video files; I host both low and full resolution files on the site. The low res files are usually less than 5 MB but the full res files can exceed 30 MB. The same script processes and copies them to the website and I can verify all the file permissions are the same. If I change SELinux to setenforce=0 the files will download without issue. While SELinux is enforcing, apache returns a Forbidden error instead. Any thoughts on what SELinux policy I need to adjust? |
Unchecking the "Register this connection's addresses in DNS" option does not remove DNS records Posted: 19 May 2022 06:24 AM PDT On Windows Server 2016 I have two NICs, one of which has multiple IP addresses (172.x) and the other that has just one (192.x). On the NIC that's 172.x, I've unchecked the "Register this connection's addresses in DNS" checkbox in the DNS settings (see picture below). However, when I go to DNS Manager and check the entries for my domain, that server has the IP addresses for both NICs appearing in the list. I would expect the ones for the NIC that has "Register this connection's addresses in DNS" unchecked to not appear there. I followed the instructions on the MS support page here (restarting the DNS client service, since the server has static IPs) but that didn't work. Has anyone else come across this issue and know of a working solution? |
Openstack / Linux Networking - public network doesnt connect with physical interface Posted: 19 May 2022 07:05 AM PDT I'm currently setting up Openstack with kolla-ansible wallaby, version 12.3.1.dev95, all-in-one installation. \ My setup in VMWare: The configuration for the globals.yml: My Problem: and a subnet The public network is connected to a router (203.1.2.176) which should be pingable but isn't. Because the standard rules should allow that (from my point of view). EDIT: I looked a little bit deeper and found that i could ping anything from the openstack network namespace. How do I connect my second physical interface with the namespace, in a way that this interface represents my public network? Example: I have network namespace A with veth A1. A1 has all networking attached to it (floating ips, router, etc.). Now, what i want to do is that my second physical interface has these information attached to it. If you need more information, I'm happy to provide it :) PS: I hope this is somehow an acceptable description of my problem ^^' |
All tasks in Task scheduler are going to queued state when triggered Posted: 19 May 2022 05:03 AM PDT recently we have a strange problem with scheduled tasks on Windows server 2019 with RDS role installed. 6 servers were restored from 3 months old backup, joined into the AD domain again and working as session hosts correctly, but none of the tasks in Task scheduler (which ran previously and are running on other SH's which weren't restored) is working no more. When you run the task manually, everything is working ok, but when you set it to some time, it state turn to Queued and don't execute. We tried to create new tasks, delete all tasks and create brand new, but nothing helped. It's not a problem of task settings, so please don't advise to run new instance in parallel or something similar simple. The same settings are working on the servers which weren't restored. We tried to look in the registry and in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State ImageState is value IMAGE_STATE_COMPLETE and in HKEY_LOCAL_MACHINE\System\Setup\ChildCompletion\audit.exe has value 0 and oobebeldr.exe is set to 3. Servers are configured and customers are working on them, so reinstall is the last option. Will sysprep without generalize help here? Or something else? Thank you. |
Tape drive Connectivity - Fiber channel Vs SAS Posted: 19 May 2022 05:19 AM PDT We want to change our tape backup system and acquire a LTO8 tape drive. Something that I cannot find the answer easily is what are the pro&con of the connectivty by Fiber channel or SAS. For the moment I have find that :
Our network for internal server is 10Gb so It's tempting to take the fiber option. Do I forget something ? Edit : Our Configuration is a 10 Gb Network dedicated (No VLAN tags) Admin Lan mixed in Rj45 and FC (which means only NAS servers // Replication server // Backup server // switches). So the tape drive will be connected directly to a Switch//Server not a SAN. |
Traefik is getting "404 Page not found" in AWS Posted: 19 May 2022 08:03 AM PDT I installed my Traefik with default files from: https://docs.traefik.io/routing/providers/kubernetes-crd/#configuration-examples My ingressroute is looking like that: In dashboard rule is looks correctly. Its finding all endpoints and is signed as "Success". But when i put domain "test.domain.com" to my browser it is getting me 404. I using this domain with ip of AWS loadbalancer created by Traefik service in my /etc/hosts. Traffik is reaching Traefik because in logs im getting such log on every connection try: |
Change Registry Key Permissions Access Control List using only Command Prompt Posted: 19 May 2022 06:02 AM PDT I am trying to change the Access Control permissions on a specific registry key i'm generating using a batch file. I try using regini.exe to pull the configuration from a .ini file and run into issues. I keep getting this error: This is the contents of my .ini file RegistryPermissions.ini: This is the batch script i'm writing to solve a problem: I have removed some unnecessary sections of the script. The important part is changing the permissions on a registry key, with cmd. |
Office 365 Shared mailbox calendar ignoring explicit permissions, users see Default only Posted: 19 May 2022 06:02 AM PDT I have a shared mailbox in Office 365 with a shared calendar. Users are granted Publishing Author permission to the calendar folder using Exchange Online PowerShell and these permissions are confirmed using Outlook during troubleshooting. The problem is that a new user we're setting up can only see the Default permissions, despite being granted the same permissions as everyone else. The user hasn't signed in yet so I'm able to log in to OWA using their account and it shows only the free/busy status for this calendar. If I update the Default permission to show full details, their OWA calendar view updates immediately to reflect the change. But changing their explicit permissions (Publishing Author, Editor, Publishing Editor) makes no difference at all. SharingPermissionFlags is $null for all users with access rights (including Default). So far no other users have reported any problems viewing or accessing the calendar, so this appears isolated to this one new user. Based on my testing, I don't think this is an issue with folder permissions differing from calendar permissions, though it certainly looks like it. The behavior is exactly as though OWA/Exchange Online doesn't even recognize the user has explicit permissions at all. I conclude this because changing the permissions on the Default user affect this user's view. In the below (sanitized) screenshot, the first user after Anonymous is unable to view any calendar item details, they can only see availability. All other users have access as expected. Once I set the Default permission to "Reviewer", they can see all details and interact with the calendar as expected. These are Office 365 mailboxes and both the target calendar and the user have Office 365 E1 licenses. Something else that is extra weird is that when I set the Default permission to "AvailabilityOnly", this user cannot view or interact with the calendar beyond free/busy status. However, when I set the Default permission to Reviewer, this user can fully interact with the calendar with the explicit PublishingAuthor permission we've granted. If I set the Default permission back to AvailabilityOnly, the user again cannot view or interact with the calendar beyond seeing free/busy status. Has anyone else experienced this and been able to resolve it? |
listing parent interface of a vlan Posted: 19 May 2022 05:26 AM PDT I have a setup with a bunch of vlan interfaces on a physical interface. Now, I want to know which is the parent interface of my vlan (for example, here eth1 is the parent interface of these vlans). I can get this information by running "ip addr show vlan-name" and then in output, I will get vlan1@eth1, but I need to parse the output of this command or by looking at my network config file, parsing it and interpreting it. Is there another way by which I can get this information without any parsing logic? For example, for bonded interfaces, the information is present in /sys/class/net/ directory and one can simply read files there. Is there a similar path/file available for vlan tagged interfaces? I couldn't figure out if there is some file I can just read without any parsing and extract this information or any command/utility that just gives the parent interface name. Kindly do let me know if there are other alternatives to this. Thanks. |
Install memcache php ext on php 5.6 Posted: 19 May 2022 07:06 AM PDT I have php 5.6.6 installed on Amazon Linux. I want to install memcache extension (not memcached server, we use Elasticache). I try And get the following error: So, is there any way to install memcache for my php 5.6 extension? If not, what should I do? Downgrade to php 5.3? Thanks. |
nfs problems: shares appear to be the wrong size. files created on share not visible on server Posted: 19 May 2022 07:06 AM PDT I have set up shares on an NFS server. I can mount the shares with no error. The share sizes reported by "df" are much smaller than the share size on the server eg. server reports 1 TB but the share looks like 3.8 G from the clients. I can create a test file on the nfs share from a client, and this test file is visible from all clients, but when I go to the shared directory on the server, the file is not there. Similarly, files that pre-exist on the server, are not visible to any clients. On the server, I ran the command "updatedb" and searched for the newly created test file; however, it is not found anywhere on the server. So, I am accessing some share, and I can create files on the share from the client, but can't see these files anywhere on the server. I see no significant nfs related errors in /var/log/messages. The server is CentOS 5.8. The clients are CentOS 6.4. Iptables is turned off on both server and clients for testing. I don't see any issues with name resolution or DNS. server: There is no hosts.allow or hosts.deny file existing on the server. client: portmap is not installed on clients output from mount command on client appears correct: Export list for vmappp04: Directories on vmappp04: All mount points on vmappp04: All mount points on 192.168.1.16: I've tried all kinds of permutations on the server and client side. Unsure how to proceed, please advise; much obliged for any assistance. |
Mysql 5.5 is not installed in CentOS 5.7 Posted: 19 May 2022 05:03 AM PDT I am using CentOS 5.7 with 64 bit. In my machine already have MySQL 5.0.88 version. Now I want to upgrade MySQL to 5.5 version. I followed this link to start my installation process. When i give " When I run It seems link 5.0 is the latest. Please help me how to upgrade MySQL 5.0 to 5.5 |
IKE Phase 1 Aggressive Mode exchange does not complete Posted: 19 May 2022 08:03 AM PDT I've configured a 3G IP Gateway of mine to connect using IKE Phase 1 Aggressive Mode with PSK to my openswan installation running on Ubuntu server 12.04. I've configured openswan as follows: /etc/ipsec.conf: /etc/ipsec.secrets: Note that both left and right are NAT'd, with dynamic public IP's. My left ISP gives my router a public IP, but my right ISP gives me a shared dynamic public IP and dynamic private IP. I have dynamic dns for the public ip on the left side. Here is what I see when I sniff the ISAKMP protocol: However, my 3G Gateway (on the right) doesn't respond, and I don't know why. I think left's response is indeed getting through to my gateway, because in another question, I was trying to set up a similar scenario with Main Mode IKE, and in that case it looks as though at least one of the three 2-way main mode exchanges succeeded. What other explanation for the failure is there? (The 3G Gateway I'm using on the right is a Moxa G3150, by the way.) |
How to return multiline from remote SSH command Posted: 19 May 2022 07:14 AM PDT I have a script that backs-up remote systems, and want it to display disk space on the remote backup device prior and post running backup script. Thanks to another post have learnt how to run remote commands via SSH such as (SSH keys have been setup for auto login). However, how can I get a multi line response that comes from a command such as Response just shows the last line of output from df |
How can I mount a remote volume with 777 permissions for all users? Posted: 19 May 2022 05:14 AM PDT I want users to be able to upload files to a central file server via my PHP script. I mounted the file server's shared volume using this command: Whilst I could I may need to create a new directory or move the uploaded file to an existing directory. Is there anything I can do to make this share writeable by any user? The only other solution I can think of is to have Apache run as root. I won't be doing that. |
What are the functional differences between .profile .bash_profile and .bashrc Posted: 19 May 2022 08:14 AM PDT What are the functional differences between the |
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