Recent Questions - Server Fault |
- Service account to login to GCP and deploy Compute Image to another GCP tenant
- Routing all SSH traffic through a proxy
- Logs hidden by a mounted disk in the same directory
- How can I run two docker containers in the same network namespace?
- Amazon Elastic File System costs
- Installing O365 via powershell inside an ISO
- High network egress from AMERICAS to EMEA on GCP compute and AWS EC2
- How can I configure port forwarding in an HG8546M router from Huawei
- Unable to access kubernetes dashboard: "error trying to reach service: dial tcp 10.20.20.184:8443: connect: connection timed out"
- wordpress nginx in docker lost css styles, js because embed file hostname in html not updated
- how to add new subnet mask for a private ip configuration in fortigate firewall
- Decission making about cloud usage - Hisatory of IT cloud disasters needed
- Get the potential chauffeur car service New York Now
- Apache: I cannot set full cache header for text/html using htaccess
- apache cannot resolve hostname?
- Create vdisk in PERC H710 Mini
- root login or sudo user for server administration?
- How to set VMWare VM screen resolution on Windows using Ansible
- How to mirror SQL Server databases into Salesforce automatically?
- IIS 8.5 Error while performing operation on web.config
- Windows 10 app provisioned to non-existent user
- HAProxy don't balancing requests between nodes of Galera cluster
- FreeBSD 10.3 SSSD AD integration issues
- nginx reverse stream proxy with multiple ports to the same server
- docker volume permission denied issue for apache running in docker while apache creating files in docroot
- Sendmail's MTA, MDA and SMTP 550 User Unknown forwarded to postmaster
- How do I make html files accessible from OpenShift server running python?
- Rsyslog configuration for changing source interface
- Amazon EC2 Linux AMI: What is the third column of yum list installed?
- IO-intensive processes hang with iowait, but no activity going on
Service account to login to GCP and deploy Compute Image to another GCP tenant Posted: 22 Feb 2022 03:38 AM PST we are trying to deploy a Compute image provided by the vendor in their GCP tenant using a service account which is in another GCP tenant. So, the Compute image is inside a Project in the vendor's tenant and we are trying to access the image using a service account which is in our tenant. The vendor has provided the required permissions to the Service account. Is there a way we can achieve this. I tried searching for relevant articles and found two below mentioned. But the SSO mentioned is within the same tenant. Is there a way to configure OAuth 2.0 to the vendor's tenant so that the service account in our tenant can access the Compute image and deploy it. I am new to GCP, so please excuse if the details are not making sense. Please advice. https://stackoverflow.com/questions/56008250/use-service-account-to-login-to-cloud-console-gui https://support.google.com/cloud/answer/6158849?hl=en#zippy=%2Cservice-accounts Regards, SJ |
Routing all SSH traffic through a proxy Posted: 22 Feb 2022 03:16 AM PST Currently we can route SSH traffic to a specific server through a proxy using ~/.ssh/config But is there a way to route all IPs through a proxy? |
Logs hidden by a mounted disk in the same directory Posted: 22 Feb 2022 03:58 AM PST We have (more than) a linux server on AWS that use a network file system, in our case AWS EFS, mounted on /logs directory. It happens sometimes that:
While debugging the issue a reboot happened and network file system comes back to normal so that my server can mount the disk and starts logging in the correct partition. BUT the logs generated while network file system are still on the main partition, they are NOT accessible since a disk is mounted in the same /logs directory and they use disk space that cannot be reclaimed. Is there any way apart unmount the network file system to access that logs so that I can trash or move them to the correct location avoiding to use precious space in system partition? |
How can I run two docker containers in the same network namespace? Posted: 22 Feb 2022 03:00 AM PST I want to run two docker containers in the same Linux network namespace. My issue is - How do I run the qbittorent docker container inside the openvpn network namespace? Is there some sort of flag when starting a docker container to specify the network namespace to run in? UPDATE SOLUTION |
Amazon Elastic File System costs Posted: 22 Feb 2022 02:58 AM PST Amazon's pricing (estimation) calculator for EFS (Elastic File System) asks to enter the average GB (or TB) of storage used per month. This is directly from their page: I interpret this as what is there each month over a period of time, so I would like a confirmation on my estimation. Let's say I store pictures, every month I produce 1 GB of pictures which I store in EFS. So the first month I have 1GB, the next month I have 2GB in storage and so forth. The monthly average over a period of 12 months: Is this the "monthly average" that I have to enter in the price calculator? I do not see any other answer which will not hurt Bezos :) Edit: I should add that I could not find a price estimation example for an ever growing storage use (or even growing for sometime). That is why I am asking whether my reasoning is sound or not in this case. |
Installing O365 via powershell inside an ISO Posted: 22 Feb 2022 02:38 AM PST I created an Office 365 installer where it does the local installation and dynamically changes the SourcePath, and I need to run it from an ISO file (I normally use USB's, but in VM's I use ISO) Running locally in any directory or USB it works perfectly, but from an ISO it doesn't, the error appears: How do I get this to work also within an ISO? I know an ISO is read-only, but I thought it was strange that he would try to modify something that is not in the ISO but in a temporary directory and he still can't. |
High network egress from AMERICAS to EMEA on GCP compute and AWS EC2 Posted: 22 Feb 2022 01:58 AM PST Setup a 4 node Hadoop cluster (1 master, 3 workers) on both AWS and GCP. However experiencing, quite high Network egress for both platforms. AWS cluster apps: Hadoop, Yarn GCP cluster apps: Hadoop, Yarn, Hive AWS resulted to a 244.027GB($21.96). This was 'pardoned' after explanation to AWS support. However, no info on the traffic to prevent future occurrence was provided. Hence, since there are no credits on AWS, had to put the cluster down. GCP: same issue, but at least with credit limits. Probably related: have received 'potential violation of service' due to DDOS attacks from both AWS and GCP. Recently, received it from GCP while setting up Kerberos on the cluster. So far:
Any help on how to track where traffic is from. |
How can I configure port forwarding in an HG8546M router from Huawei Posted: 22 Feb 2022 01:54 AM PST Has anyone done this successfully? I've read all the documents but keep getting an error that the external source end port is not valid. I don't know what the setting should be. I want to ssh to a home server on port 2222 |
Posted: 22 Feb 2022 01:45 AM PST I have created an AWS EKS cluster. I am able to get services list: I see the kubernetes-dashboard pod: I start the kube proxy using: When I visit the dashboard URL http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#!/login I get the response: I see many similar posts, but they have different contexts, I think. I am suspecting that there is some error in cluster configuration. But I am not sure. What could be wrong with my cluster configuration? How do I go about fixing it? |
wordpress nginx in docker lost css styles, js because embed file hostname in html not updated Posted: 22 Feb 2022 02:13 AM PST We are trying to install wordpress on nginx on docker. The domain pointing to it is ssl enabled and when accessing the website, html is loading well but css, js, images are all lost. The reason is html still using wordpress hostname(which i think only work locally on docker containers) to embed css, js, image files from docker container that running the wordpress image. here where I inspect: https://i.stack.imgur.com/N5YO6.png my nginx config: How can I config nginx, wordpress to resolve this? |
how to add new subnet mask for a private ip configuration in fortigate firewall Posted: 22 Feb 2022 01:27 AM PST I have been using fortigate firewall and the subnet mask is 255.255.224.0. Now, our cloud provider are assigning new subnet mask for the servers. that is 255.255.192.0 . So, How to add this without disturbing the existing environment? |
Decission making about cloud usage - Hisatory of IT cloud disasters needed Posted: 22 Feb 2022 04:00 AM PST in my company the discussion about switching to MS Cloud (Office365) is amplifying. I would need a list / statistics about Cloud outages / offline times / disasters that interrupted the business of it's users. Did anybody knew a link for a comprehensive statistic about that? Thanks a lot. |
Get the potential chauffeur car service New York Now Posted: 22 Feb 2022 01:01 AM PST Hire the best and potential car service new york options from Northwest limousine service and enjoy the ride of LAX or JFK car service with it! |
Apache: I cannot set full cache header for text/html using htaccess Posted: 22 Feb 2022 12:58 AM PST I had a similar problem where I couldn't set the full cache header for JS and CSS files in my htaccess file, and it turned out I couldn't because the cache expiry was being set on the server and I had to add AllowOverride all in the vhost container to get it working, but I still cannot set the full cache header for text/html on a page. I can set the max-age using mod_expires in my htaccess file, but if I try to set a cache header with this: The no-cache, must-revalidate, public doesn't show up. The only thing that shows in cache-control is the max-age. Does anyone know how to fix this so I can set the entire cache header in the htaccess for text/html? Here is what I have after Bob's suggestion and it still doesn't work: I'm trying to set the cache header for the file that is called "/" in the DevTools > Network with initiator "document" and type "html". |
apache cannot resolve hostname? Posted: 22 Feb 2022 02:13 AM PST I'm running a server with CentOS 8 and Apache 2.37 for hosting wordpress site. That website should replace an old one, with the same domain name. In /etc/hosts I put a hostname that I want in a form: 172.16.1.202 somesite.com and I have changed only a few things in configuration files: /etc/httpd/conf/httpd.conf and added digital certificates: /etc/httpd/conf.d/ssl.conf I don't have virtual hosts, so I dont have /etc/httpd/conf.d/somesite.conf as I normally do. I put adresses and names in the dns servers (inside and outside) that we also host and when I type somesite.com I get 172.16.1.202 (and it shows no certificate, probably because it's ip address instead of somesite.com) Apache configtest is ok and dns records are all ok. What could be the issue? I have no idea what to try... Can somebody help me? Thanks! Kind regards. Edit: I tried adding a somesite.com.conf file with this configuration: But it didn't change anything. :( |
Create vdisk in PERC H710 Mini Posted: 22 Feb 2022 02:39 AM PST I have a refurbished Dell R720 server with the PERC H710 Mini raid controller. I can assemble vdisks from physical disk in the BIOS. However, I'd like to create a vdisk without rebooting. I've installed Debian 11 and added the First, I've tried to manage the disks using the I've found the Finally, I've discovered For me it's difficult to tell,
|
root login or sudo user for server administration? Posted: 22 Feb 2022 02:18 AM PST I'm trying to understand the technical arguments/security implications between ssh'ing with root directly, or making an auxiliary sudo user in the context of maintaining a server. To clarify, we're talking about servers owned by a single admin. For multiple people working on the machine, it's obvious that there is the audit trail benefit of having unique users for each actual person and fine-grained permissions. My thought is, if this is a desktop station, it makes sense and is recommended to use a non-root user for daily stuff, but on a server, you usually login to maintain it and 99% of the times all your activities require root permissions. So is there any security benefits in creating a "proxy" user that you're going to sudo to root anyways, instead of directly providing ssh access to root? The only benefit I can think of is security through obscurity i.e. bots would normally try to probe for "root" user. But from how I see it, if a sudoers' user gets compromised, it's the same as compromising the root user, so game over. In addition, most remote administration frameworks, NAS systems, hypervisors, encourage usage of a root user for web login. |
How to set VMWare VM screen resolution on Windows using Ansible Posted: 22 Feb 2022 03:52 AM PST I'm trying to deploy a vSphere Windows VM via Ansible and need to set a specific screen resolution (1024x768). Running However, running this command remotely with Ansible's How can I set the VM screen resolution via Ansible? |
How to mirror SQL Server databases into Salesforce automatically? Posted: 22 Feb 2022 01:04 AM PST I'd like to mirror some SQL Server databases in Salesforce. (Mirror = "keep the data in Salesforce in sync with what's in SQL Server without me having to do anything much".) Does anyone know of a way to do this? I've seen some products out there that come close, but no cigar. |
IIS 8.5 Error while performing operation on web.config Posted: 22 Feb 2022 03:05 AM PST I have a test server and a prod server that host a On the prod server I can publish correctly from Visual Studio, everything is setting like on the test server but I have this when I try to open the website: I have the same configuration on both server, same version of program, web deploy 3.6 and URL rewrite installed. The only visible difference is in the Services where the Web deployement agent Service is not listed on the prod server. However I had checked it in the Webdeploy install process. Interesting thing: When I publish with the "Self-contained" option, the website is displayable so I suspect a missing thing but I don't find what. I tried a lot of thing by searching on forum and microsoft documentation but nothing solve this problem. |
Windows 10 app provisioned to non-existent user Posted: 22 Feb 2022 03:44 AM PST I created an image of Windows 10 1709 and now I want to run sysprep so I can upload to WDS. Sysprep fails:
It shows it exists, but the user it references does not exist, thus I have no way to remove it from that user: The user does not have a profile and I even removed from the registry. I tried to remove with remove-appxpackage but I'm told that the package was not found because the current user doesn't have it installed. There is only the local admin account on the machine, and I did try installing Bing News and then trying sysprep, but the same error appeared. How do I convince Windows of this? |
HAProxy don't balancing requests between nodes of Galera cluster Posted: 22 Feb 2022 02:00 AM PST I stuck with the problem with balancing requests from app server to Galera cluster nodes. The strukture of HA is
Configuration of the Master Keepalived node1
Configuration of the Backup Keepalived node2
Configuration of the Backup Keepalived node3 is the similar with the node2 except priority and router_id. Configuration of the HAProxy is similar on each node **` frontend galera frontend web backend galera backend web Keepalived works. If Master node is down (or keepalived/haproxy is stoped) then next backup node use 10.62.10.254 address. But when Master is alive and I stop only MYSQL on it HAproxy don't send requests to other nodes. When I stop Master keepalived, the Backup node also use only it local MYSQL server for requests. Any suggestions? Thanks for your replies and have a nice day. |
FreeBSD 10.3 SSSD AD integration issues Posted: 22 Feb 2022 02:00 AM PST I'm having a lot of issues with FreeBSD 10.3 I'm finding the binary packages are fairly useless. I've had to build nearly everything to make things "work". I like using the adcli tool to join to a domain (MUCH nicer than samba). But the binary version in pkg doesn't work. Building it from ports with all the obvious stuff enabled makes it work. At this point, I have it to the point where I can successfully do a "getent", but no matter what I try, it won't auth my account. SSH, sudo, even running login directly, and it behaves as if I have a bad password. I'm wondering if I need to use the heimdal krb package instead of MIT? Here are my relevant configs: krb5.conf: nsswitch.conf: sssd.conf: |
nginx reverse stream proxy with multiple ports to the same server Posted: 22 Feb 2022 01:49 AM PST I'm trying to use nginx as a reverse proxy to two different servers. The servers require the use of client-side certificates for authentication, which means nginx is configured as a stream proxy leveraging the This works great for the pair of servers it's hosting now. Both listen on 443 but provide completely different services, but the redirection via SNI is working great. The trouble is that one of the servers also uses port 9997 for communication (TLS) and we need to add more of these into the mix. Currently we're just hard-coding the traffic in nginx to the one server that uses 9997. This wont work as we move forward and have additional servers hosting content on 9997 How can I configure nginx to stream both 443 and 9997 to the box that needs those communications, while also continuing to send 443 to the other server when needed? It needs to be dynamic so that the traffic is sent to the RIGHT server. Here's the config that works now (some info redacted): |
Posted: 22 Feb 2022 03:02 AM PST I have created one docker image having apache in it. While running that image into container apache root process is running as Apache running in container actually rendering data from one of backend http endpoint and caching static assets in apache docroot. But issue is apache is not able to write static assets into the docker volume permission denied issue is coming into the logs and hence all requests are going to backend http endpoint. For resolving this issue, i have followed below approaches, but unfortunately no luck till now:
Need help of experts to resolve this issue. |
Sendmail's MTA, MDA and SMTP 550 User Unknown forwarded to postmaster Posted: 22 Feb 2022 01:00 AM PST I have two boxes running sendmail and configured as:
The MTA doesn't store any emails, it forwards everything to the MDA. So now, let's say that there is an incoming email to a non-existent account
The flow seems reasonable. The email is rejected with error 550 in the original connection and the sender (spammer) is correctly notified about the problem. What bothers me, though, is that MTA is sending each and every rejected email to My initial thought was to accept only specific email addresses, but MTA in order to accept the emails has to be set up to use So now I am thinking about adding to MTA some sendmail rules to accept emails to only specific recipients. I am hoping that if MTA rejects them first it won't bother to send anything to postmaster. What would you do? Can anyone help with the sendmail rules? The MTA config: MTA's access file: The MDA config: MDA's access file: MDA's virtualusertable: MDA's local-host-names: |
How do I make html files accessible from OpenShift server running python? Posted: 22 Feb 2022 01:00 AM PST I have an OpenShift DIY app running Python. However, I cannot reach static files like html. (or run php) If I try accessing: mydomain.rhcloud.com/hello.html, I get: Could you please help how i can make html files accessible? My directories like: |
Rsyslog configuration for changing source interface Posted: 22 Feb 2022 04:02 AM PST I'm working on Is there any configuration in |
Amazon EC2 Linux AMI: What is the third column of yum list installed? Posted: 22 Feb 2022 04:02 AM PST Output of Most of them say What is the meaning of this? It says I'm trying to compile |
IO-intensive processes hang with iowait, but no activity going on Posted: 22 Feb 2022 03:02 AM PST I have a bunch of IO-intensive jobs, and to boost performance, I just installed two SSDs in a compute server, one as a scratch file system, one as swap. After running for some time, all my processes hang in "D" state, consume no CPU, and the system reports 67% idle, and 33% wait. An iostat shows no disk activity going on, and the system is otherwise responsive, including the relevant file systems. Attaching a 'strace' to the processes produce no output. Looking in /proc/(pid)/fd, I discover that all processes are using (reading) one common file. I can't see any reason why this should cause a problem, but I replaced the file, killed the processes, and let everything continue (i.e. new processes will be launced). We'll see if things get stuck on the new file, on a different file, or - ideally - not at all :-) I also found a couple of these in kern.log: Lots of other information, but I don't know how to decipher it - except that it refers to the PID and name of one of my processes. Any idea what is going on here, or how to fix it? This is on Ubuntu 12.04 LTS, Dell-something box with a RocketRaid disk controller and btrfs file system. |
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