Recent Questions - Server Fault |
- Unable to send emails to outside domain. I can receive but can't send
- Create sudo rules on freeipa using script
- Access Denied when mounting Kerberised NFS v4 Share
- An I/O error occurred while reading from the JWK Set source: PKIX path building failed: unable to find valid certification path to requested target
- Windows clients slowly lose access to network resources until I give them a new MAC address
- SIGSEV when starting Opendkim on raspberry PI
- Teams meeting screen is frozen: ,,CallingCalendarFromConversation: Prerequisite failed, invalid conversationid or feature flag is off"
- Migrating OpenLDAP data from 2.4 to 2.5
- Unable to add Domain user to SharePoint Farm Administrator
- Routing traffic via proxy to a specific adapter?
- What could be the cause of this Chkdsk mid-message deadlock?
- why don't DHCP discover/ARP messages amplify and reverberate in WANs?
- Connect SSH Tunnel with the Java Desktop program (.jar) to remote server
- Simple solution for PDF storage
- Can't connect to mysql docker when using phpmyadmin docker
- Two PDCs, two ADs, two domains - how to replicate one domain/AD to the other?
- Sinatra + Thin + Nginx connect() failed (111: Connection refused) while connecting to upstream
- How to determine why a static external IP address changed in GCP?
- linux bridge two NICs with multiple VLANs and assign virtual IP
- Ingress nginx-controller - failed for volume “webhook-cert”
- Docker without sudo in Ubuntu 20.04?
- Kubernetes Pod OOMKilled Issue
- [alert]: fastcgi request record is too big -Fastcgi receives an error message that the get request is too long
- Exchange 2010: Disable meeting requests on Room Mailbox
- How to list users with role cluster-admin in OpenShift?
- Powershell Set/Get-GPPermission missing from Group Policy on Windows 10
- Load balancing between two (or more) GRE tunnels
- Freebsd change default Internet channel route
- svn: Too many arguments to import command
- How to monitor mysql slow log and send mail to alert?
Unable to send emails to outside domain. I can receive but can't send Posted: 15 Dec 2021 09:07 AM PST I am able to send and receive emails to my own domain email id's but can't send those to outside domains. There is no error and I can receive emails from anyone & also see emails in the sent folder but the recipient does not get those. |
Create sudo rules on freeipa using script Posted: 15 Dec 2021 08:44 AM PST I need a script who create sudo rules on freeipa using csv file. Can someone help me with this script. Thank you |
Access Denied when mounting Kerberised NFS v4 Share Posted: 15 Dec 2021 08:37 AM PST I want to mount an NFS4 share, but with Kerberos security enabled. This is my setup:
So as I'm still struggling with Kerberos, that is how I tried to archieve my goal: Chapter I: Setup 1- Put both machines in the same Realm/Domain (This has already been set up by others and works) 2- Created two users (users, not computers!) per machine: nfs-nfsv4client, host-nfsv4client, nfs-nfsv4test and host-nfsv4test After the creation I enabled AES256 Bit encryption for all of the accounts. 3- Set a service principal for the users, but with all 3 notations to cover all cases: I did this for all 4 users/principals. 3- Created the keytabs on the Windows KDC: So after that I had 4 keytabs. 4- Merged the keytabs on the server (and client): The file has 640 permissions. 5- Exported the directories on the server; this has already worked without kerberos. With Kerberos enabled, the export file looks like this: Running exportfs -rav works: ...and on the client I can view the mounts on the server: 6a- the krb5.conf has the default config for the enviroment it's was set up for and I havn't changed anything: 6- Then I set up my sssd.conf like this, but I havn't really understood what's going on here: 7- idmap.conf on both machines: 8- And /etc/default/nfs-common on both machines: 9- Last but not least, nfs-kernel-server on the server: 10- Then, after rebooting both server and client, I tried to mount the share (as root user): But sadly, the mount doesn't work. I don't get access. On the first try, it takes quite long and this is the output: Chapter II: Debugging For a more detailed log, I ran on the server but I don't get really that much logs. However, when trying to mount, syslog tells me that: As this didn't really help me at all, I recorded the traffic with tcpdump, which gives me this: (I redacted the real ip addresses) So the interesting part here is the Auth Bogus (Seal broken)? Is there really something bad or is it just the error which appears when something is wrong? I couldn't find anything helpful about this error on the web. So to come back to Kerberos itself, the keytab seems to be ok: On this page it's stated that the keytab file can be tested with which equals to on my machine, but that doesn't work at all: So I what I don't get is why the keytab has no mapping to a user, or to the wrong user? That's a point where I'm completely lost. Chapter III: The question The principals are there in the keytab. So when the client asks the server about the NFS share and tries to access it, both should have the keys to interact with each other. But for some reason it doesn't work. May it be because of the assignment of the principals to the user accounts? How can I get this to work? How do I get better infos when debugging? Sorry for the wall of china of text. PS. I mainly followed this tutorial. It seemed like a perfect match for my enviroment.. |
Posted: 15 Dec 2021 08:31 AM PST I am trying to test my spring boot application in my local with http://localhost:8294/test but keep getting the certificate error. It was working until last week and all of sudden stopped working. I am able to hit application on remote servers with no issues. Also, I am able to hit Actuator with /actuator which doesn't need any token. My /test end point secured by Oauth2 and I am passing Bearer token as well. I wonder why http end point complaining of certificate missing. Please help. |
Windows clients slowly lose access to network resources until I give them a new MAC address Posted: 15 Dec 2021 07:41 AM PST One of my clients has their domain controllers running as 2 VMs on VMware ESXi 5.5 at their head office, and there are 4 other branch offices. All the offices connect back to the Head Office via site-to-site VPN using Sophos XG/XGS firewalls. DHCP for each office is handled by it's local Sophos Firewall. All Branch Offices have distinct network IDs (192.168.x.1). Branch offices A, B and C have no issues connecting to all domain resources at the Head Office. E.g. domain authentication, network file shares. Branch office D, however, has fundamental issues. When a new client is first set up at Branch Office D, it works fine. It is able to authenticate and join the domain ad well as access network file shares. However, within a month or two, domain connectivity almost completely stops working. The first symptom is that network file shares stop responding. Whenever you try to access a network mapped drive, the green progress bar starts moving across slowly until it errors out or just displays an empty explorer window. Domain authentication is the next thing to stop working. Logging into the same PC/server with a domain account becomes impossible because the domain controller cannot be reached. I had set up an RODC at Branch Office D and it barely stayed online properly for one weekend. Thereafter, every logon attempt ended with "RPC failed" on the lock screen. While doing some on-site troubleshooting the other day on a critical PC that lost network file share access, I decided to partition the hard drive and install a fresh copy of Windows 10 and try to access the same location and determine whether the issues were a result of an issue specific to that Windows instance. However, the test still failed. I then plugged that same network cable into my field laptop and I was able to access the said network shares by providing valid domain credentials. I had earlier tried new IP addresses on affected PCs with no success, so I began to suspect that the MAC address was getting blocked. I looked up how to manually set a custom MAC address within the Network Card Advanced properties page, and once each PC was granted network access by the firewall, all connectivity was fully restored, including domain traffic and internet access. I did lots of further testing involving MAC addresses and IP addresses and discovered that only a new combination of a new MAC and a new IP address was being allowed through the firewall properly and completely. Trouble is that I feel like I will have to assign a new combination of MAC and IP sooner rather than later, once network access goes down again. I am a very new Sophos user, but I would like to understand what might be going on here? Are there any flood mitigation or anti-spoofing settings or rules that might be causing this? Branch Offices A, B, and C have the same firewall config and vendor, but none of these issues. Any and all help will be greatly appreciated! |
SIGSEV when starting Opendkim on raspberry PI Posted: 15 Dec 2021 07:38 AM PST on an old Raspbian (debian on raspberry) starting OpenDKIM by hand, I get a segmentation fault. Obviously, it seems related to /dev/urandom, or any task occuring just after. Did anybody had any clue on that? I know the architecture is not so common, but raspi is a good candidate for a local SMTP host :) |
Posted: 15 Dec 2021 07:04 AM PST the screen of our employee is during a teams meeting frozen if he share his screen in the meeting. He said he starts the meeting from the teams calender and in the log file I found the error message: ,,..CallingCalendarFromConversation: Prerequisite failed, invalid conversationid or feature flag is off..". What does the error mean and what can I do that the screen is in future not frozen? I told him that he should start the meeting from the link or outlook not from teams calender. I would be very grateful for any help. Regards, Hakikat |
Migrating OpenLDAP data from 2.4 to 2.5 Posted: 15 Dec 2021 06:54 AM PST I have gone through documentation online and on some forums but I am stuck on importing data from ldap 2.4 to 2.5 (Migrating to a new server as well). Here are the steps I did and the error I am receiving. (There were multiple other errors but that is fixed now Installation that I performed for 2.5: Slaptest my slapd.conf file : After this is completed there is some content under /etc/openldap/slapd.d, and I changed the permission to the ldap user. The content: ##Now I want to import my data file with slapadd. With -u (dryrun) there are no errors but without it I am receiving the following: Any suggestions please?. Thanks |
Unable to add Domain user to SharePoint Farm Administrator Posted: 15 Dec 2021 06:41 AM PST We have SharePoint 2019, Installed on a domain client machine when we tried to add domain user it is not showing in result, only local users and group are showing. any clue? |
Routing traffic via proxy to a specific adapter? Posted: 15 Dec 2021 08:54 AM PST I am using squid proxy running on 127.0.0.1:3128, I am trying to route all traffic that is going through my proxy server, to use a specific network adapter. Command: I have tried the following with no luck,
I'm trying to use |
What could be the cause of this Chkdsk mid-message deadlock? Posted: 15 Dec 2021 05:55 AM PST What could cause the following chkdsk result: This is normal when trying to check the system drive (you're asked to re-schedule it for the next reboot). The message normally continues with but the third line in my case is missing. Chkdsk never prints it and won't respond to user input, so I can't schedule the custom scan. Chkdsk appears to be stuck in a deadlock. It's not waiting on any resources, CPU usage is 0%, memory usage only 920KiB. And here's one for the main thread: |
why don't DHCP discover/ARP messages amplify and reverberate in WANs? Posted: 15 Dec 2021 06:17 AM PST I don't understand how the ISP can assign Public IPs to routers that newly join their network, without having DHCP or ARP messages amplified millionfold. As far as I know, for a L3 router to join a network at all, the joining entity has to talk with the DHCP server to get an IP address. DHCP discover messages are broadcast with MAC FF:FF:FF:FF:FF:FF, and to the whole subnet. And so, if the router is newly connected to a WAN with thousands, if not ~100000s of other routers, I would imagine the result to be a DHCP discover message that reverberates and amplifies until its TTL expires - which is certain to either a) fail to reach target or b) cause millions, not if billions, of other messages. And, facing the same direction, I can apply the same argument to ARPs. ARP messages are broadcast as well around the network, just like the DHCP discover, and so the same set of problems would arise. I can probably apply the same argument to messages used by the Network layer to coordinate its routers with distance-vector algorithm, unless the routers are somehow organized in a tree or graph-like manner, but I digress. Where have I gone wrong? |
Connect SSH Tunnel with the Java Desktop program (.jar) to remote server Posted: 15 Dec 2021 07:45 AM PST I developed a JavaFx Desktop program the employees of the company. Now, they want to use the program in their houses with their own personal computers. The program has MySQL and FTP services. I need to use SSH Tunnel or VPN so that the program can connect from outside to the remote server in the office(port forwarding for FTP and MySQL). If I want to use SSH Tunnel I have to install(or copy/paste) the certificates in the own employees' computers and I think that this option is dangerous because of the certificates can be engaged to attacks of their computers. Sometimes I have thought to create one certificate for each employee (100 people) to control better who is connected in each time, but it's too much laborious to maintain. I would like to use SSH Tunnel but I don't know if the best option in this situation. What other options can I use to connect my program to remote server securely? |
Simple solution for PDF storage Posted: 15 Dec 2021 05:47 AM PST I'm trying to make a PDF storage that can be accessed by anyone who has the URL to the specific PDF file. Basically I want to be able to hand out just a URL to a person and that leads to the PDF file. I'm looking for simple and efficient solution to this. I have 2 VPS server each running on Ubuntu. (Each PDF file needs to be accessed by URL) |
Can't connect to mysql docker when using phpmyadmin docker Posted: 15 Dec 2021 09:16 AM PST I'm just getting started in docker and maybe I'm starting of a little big but I found an article that explained out to get a coldfusion install (run by commandbox) up with mysql. This docker compose works just fine. I had the idea of adding in phpmyadmin so that I can us that to connect to mysql. For reference the original article is here: https://cfswarm.inleague.io/part3-docker-in-development/part3-running-docker So I modified the docker compose yml pull in the phpmyadmin So right at line 63 I added in the pull for phpymyadmin which appears to work, it does answer on port 8082 but it gives me an error: MySQL said: Documentation The one thing that I could not get to work was adding in the network of cfswarm-simple. When I tried to add the line right under ports (line 72) I would get an error when trying to start the docker compose. Right now, I'd like to be able to connect to the mysql docker with the docker of phpmyadmin. TIA |
Two PDCs, two ADs, two domains - how to replicate one domain/AD to the other? Posted: 15 Dec 2021 07:37 AM PST Here's the history: SERVER2 was a 2016 Essentials Edition server, standalone with no other DCs. The OS became corrupted in a few areas, and so a decision was made to replace it. A standalone clean install wasn't an option, as applications running on member servers rely heavily on AD user SIDs. So a second DC was introduced, SERVER3, and the domain/AD/DNS/PDC/fsmo were replicated from SERVER2 to SERVER3. Metadata cleanup was performed on SERVER3 to rid it of any old references to SERVER2. SERVER2 has now been taken permanently offline. A brand new SERVER2 Essentials Edition has been configured, and it has its own domain/AD/DNS/PDC/fsmo. The display names of the two domains are the same, but the underlying ADs are of course different. How do I make the new SERVER2 a BDC for SERVER3, replicate everything from SERVER3 to the new SERVER2, and then promote the new SERVER2 to be PDC? I had some expert assistance to get this far, but unfortunately the tech has been called away. I'm now on my own, mid-project. Please advise. --EDIT-- I found this guidance, but it doesn't seem to take into account that I have two PDCs on separate existing domains. |
Sinatra + Thin + Nginx connect() failed (111: Connection refused) while connecting to upstream Posted: 15 Dec 2021 06:14 AM PST I have a Sinatra app that is running on Thin with Nginx as a reverse proxy and receives a lot of traffic. My users are reporting 502 errors and looking at the Nginx logs i see a lot of these: If i look at the logs from the Sinatra app i see no errors. I am starting Thin server with the following: I have set the following for Ninx: The host file for the Sinatra app: Why is this happening? Too much traffic? What's the solution? Do I keep increasing the The output of Any insight/advice? EDIT While i don't see any errors in the Sinatra log or |
How to determine why a static external IP address changed in GCP? Posted: 15 Dec 2021 07:49 AM PST I noticed that a static external IP address changed in GCP in our project. I'm trying to determine why and when, and i'm not finding any useful information in the google console. Is there any way to view history of a external IP? Creation date, deletion date, etc? Has anyone heard or experienced Google changing a static external IP address? If so, what were the circumstances? Edit: To clarify, yes this is a reserved static ip address. I'm thinking that some piece of automation deleted it and re-created it at some point, hence the question about any history that google keeps around these addresses. We are just having trouble tracking down what happened, so that we can ensure it doesn't happen again. The only other possibility i can think of is a bug on google's side, hence the question about anyone hearing about this happening. It had sat unused for a while, which would allow the possibility of either of those things. |
linux bridge two NICs with multiple VLANs and assign virtual IP Posted: 15 Dec 2021 07:53 AM PST I'm trying to do some testing of linux bridging. I have a server with two NICs (eth1/eth2) and i want to bridge together, use multiple VLAN tags and assign an IP to a virtual interface in each VLAN for me to ping. I have this so far: The bridge looks ok to me But now i want to put something i can ping into vlan 1000 and vlan1001 to test Was trying to do this with a dummy interface but can't seem to make that work Any tips? I believe the bridge config is good. We're expecting everything to be tagged |
Ingress nginx-controller - failed for volume “webhook-cert” Posted: 15 Dec 2021 08:54 AM PST I runed kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.48.1/deploy/static/provider/aws/deploy.yaml But it didn't run. logs... I tried changing the deployment's --ingress-class=nginx to --ingress-class=nginx2, or installing v0.35, or i've tried kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx /controller-v0.48.1/deploy/static/provider/baremetal/deploy.yaml But the same error repeats. Environment: kubeadm version : v1.22.0 docker version : 20.10.7 os : ubuntu I am using aws ec2 instance. |
Docker without sudo in Ubuntu 20.04? Posted: 15 Dec 2021 08:01 AM PST I've just installed docker on Ubuntu 20.04 and noticed that docker must be run as sudo. Found this tutorial and tried to follow it Step 2 — Executing the Docker Command Without Sudo (Optional) https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 It seems to be fine here. However, when I open another terminal, it doesn't work anymore. I'm getting similar error as above. |
Kubernetes Pod OOMKilled Issue Posted: 15 Dec 2021 09:01 AM PST The scenario is we run some web sites based on an nginx image in kubernetes cluster. When we had our cluster setup with nodes of 2cores and 4GB RAM each. The pods had the following configurations, cpu: 40m and memory: 100MiB. Later, we upgraded our cluster with nodes of 4cores and 8GB RAM each. But kept on getting OOMKilled in every pod. So we increased memory on every pods to around 300MiB and then every thing seems to be working fine. My question is why does this happen and how do I solve it. P.S. if we revert back to each node being 2cores and 4GB RAM, the pods work just fine with decreased resources of 100MiB. |
Posted: 15 Dec 2021 08:04 AM PST
System:linux CentOS7 nginx:1.14.0 php:7.2.0 Apache solution:
Nginx solution:
|
Exchange 2010: Disable meeting requests on Room Mailbox Posted: 15 Dec 2021 07:07 AM PST In Exchange we would like that only the persons who have permissions to book (meeting)requests. Without permissions, users cannot add a meeting but they can still send a meeting request, this should be disabled. If also possible, users without permissions should not be able to add the room. At this very moment, everyone can add the room and send a meeting request. This shows up in the room as "Temporary". Only accounts who have got the "create items" enabled in permissions should be able to see and add meetings to the room. Enabling or disabling In- or out-policy meeting requests does not do the trick. |
How to list users with role cluster-admin in OpenShift? Posted: 15 Dec 2021 06:10 AM PST I can add users to the cluster-role "cluster-admin" with: But how can I list all users with the role cluster-admin? Environment: OpenShift 3.x |
Powershell Set/Get-GPPermission missing from Group Policy on Windows 10 Posted: 15 Dec 2021 08:04 AM PST Recently updated from windows 7 enterprise to windows 10 enterprise and went to run a script that has a call to Get-GPPermision and it errored out as missing that command. Edit: Set-GPPermission is also missing. checking for commands inside the group policy cmdlet shows that yes it is missing: Here's the version table: The latest (posted last month) I can find shows the command stil there: https://technet.microsoft.com/itpro/powershell/windows/group-policy/index Note: it appears that Microsoft has broken backwards compatibility since the calls were named Get-GPPermissions and Set-GPPermissions in group policy with powershell 4, now they droped the 's' and are both named singular Get-GPPermission and Set-GPPermission. Anyone know how I can re-install the module? Edit: module re-install was easy it was just a case of uninstalling RSAT and then re-installing that. Sadly the command is still not showing up so my question should now be how to regain the missing commands. |
Load balancing between two (or more) GRE tunnels Posted: 15 Dec 2021 07:07 AM PST I have a hosted service (think zScaler™) that is having me send my traffic to it via GRE tunnels. I am given two appliances and want to load balance my traffic between the two tunnels. I could always statically carve out the network but I would rather not do that. My proposed solution is that I could create two equal cost routes between the two tunnels but wouldn't this balance on a per-packet basis. Therefore some of the stream would go through one tunnel and some through another. I want to avoid this since it makes troubleshooting difficult, will cause issues with the appliances tracking connections, and will likely caues issues with SSL inspection. Is there a way, either appliance based or otherwise (I own the security equipment and can stand a load balancer up in front of it) to balance GRE tunnels based on the source IP of the originating client? Therefore client X always goes through GRE tunnel A and client Y goes through GRE tunnel B. My networking equipment is standard Cisco L3 Switches and ASAs. |
Freebsd change default Internet channel route Posted: 15 Dec 2021 09:01 AM PST I have two Internet channel and Gateway on freebsd. When I switch channel with the command Example: BUT All works if I run the following combination:
|
svn: Too many arguments to import command Posted: 15 Dec 2021 06:05 AM PST Having a problem with the --message flag to the svn import command. On some servers it works, but on others it gets confused if the message contains spaces, even if you single or double quote the message string thus: When it fails, I get the error: If I limit the message to one without any spaces, it succeeds everytime. Clearly the problem is with the command failing to recognise a quoted string, but why? Differences between whether it succeeds or not seems to be down to the particular OS/Shell combination I'm using. The command works on SUSE 10.3 with Ksh Version M 93s+ 2008-01-31, but fails on RHEL 5.6 with Ksh Version AJM 93t+ 2010-02-02. Or perhaps that's a red herring, and the real problem is something else differing between environments? |
How to monitor mysql slow log and send mail to alert? Posted: 15 Dec 2021 06:05 AM PST I have enabled mysql slow query log on Ubuntu server. I prefer to get the email alert with the slow sql when any slow query appeared so I can optimize the sql. I need a lightweight solution. |
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