Recent Questions - Server Fault |
- LDAP users and groups schema
- Can find RSA private key for uploading my SSL certificate to Google App Engine
- How can I use bindfs with macfuse to create a bind mount on MacOS? (or any other way of presenting a tree at another path on the filesystem)
- iptables -> ip6tables (convert)
- chmod or cd to a directory is not working
- How does servers work? [closed]
- How to make constructor data public
- Simulate some process IO with fio or other tool
- Technically how do curl, ping and other tools get around an NGINX front facing reverse proxy server?
- AWS Glacier and Ransomware
- ssh_config host not connecting, connects otherwise, why?
- AKS Kubernetes NGINX ingress - 308 Permanent Redirect
- netsystemsresearch.com on my internal network
- Office 365 In-Place Hold preventing me from deleting user
- Linux SSSD with two AD Domains
- Forward Between interfaces On Mikrotik
- xl2tp + strongswan ipsec -- xl2tp timeout
- Windows 10 Pro: RDP disconnecting every 10 - 30 seconds
- Disable VM Autostart - XenServer
- How to reset ufw without disabling it?
- ERR_CONNECTION_TIMED_OUT (unless I'm using a proxy)
- Windows Service "System error 5 has occurred. starting service"
- Why do my Snort logs appear to be empty?
- Apache2 reverse proxy connections staying persistent, filling ssh channels
- Samba group doesn't appear on Network Neighborhood
- Automate mounting a persistant CIFS drive natively on Windows.
- MySQL Memory Limit Windows Server 2003
- How to create a very simple external FastCGI configuration in apache?
- How do I get the current Unix time in milliseconds in Bash?
- Remove 1 Disk From 4 Disk RAID 5 Array
Posted: 08 May 2021 09:37 PM PDT I'm trying to integrate my company software with LDAP so i setup an OpenLDAP instance so as to test. Have some questions regarding the LDAP data i've loaded so wondering if anyone can help guide. below is the entries in LDAP, my question is: henryaccount has primary group id 7101, but i wanna add this account to other groups so i added memberUid to the other group i have. i have an app connecting to LDAP trying to authenticate. it seems like the user is found but they cant associate any roles/group with it. is my schema wrong? |
Can find RSA private key for uploading my SSL certificate to Google App Engine Posted: 08 May 2021 09:23 PM PDT Right now I am trying to upload a SSL certificate from GoDaddy so That I am able to enable HTTPS for my custom domain name for the website hosted on the app. Whenever, I try to upload the SSL certificate I am able to use the PEM file that came with the certificate bundle works well enough, but I don't seem to have the RSA private key I can use that came with the bundle. I tried to generate a RSA private key using Open SSL but it didn't seem to generate a key I can add to the app. I just need to if I need to get an RSA private key or is there a work around to this problem? |
Posted: 08 May 2021 09:10 PM PDT I'm attempting to replicate a linux file tree for the MacOS systems on my network. I've come across macFuse to expose bindfs, but I'm unclear on what I would need to do for this to work, since it errors as if the target path doesn't exist. Here are my steps so far... I also tried to bind to a folder in my home dir with a similar result... Thanks if you have any pointers that might allow |
iptables -> ip6tables (convert) Posted: 08 May 2021 08:46 PM PDT I have the following iptables (ipv4) and need the same on ip6tables (ipv6) for an openVPN-Server: How these command must be look like? I am not familiar with iptables, used ufw in the past, but an openVPN-Server ufw is not very practicable. Thanks in advance for any help. |
chmod or cd to a directory is not working Posted: 08 May 2021 08:38 PM PDT I have a file in a directory with root root permissions. But even with root user I am not able to change the permission or cd to that directory, even not able to change the permissions. |
How does servers work? [closed] Posted: 08 May 2021 07:35 PM PDT I am very new with the concept of servers of the type here. The only servers I really heard of is SQL Servers, and I don't have an idea how they function. I want to use some someday, but I want to know the basic info first. So how do those servers actually work? |
How to make constructor data public Posted: 08 May 2021 05:15 PM PDT Looking for some help in getting the data from the "if (munuOption == 1) { " arrays to the "if (munuOption == 3) { " If the users selects option 3 I would like display the current set of employees already created However I get an error saying employee cannot be resolved, which I understand why, what I cannot figure out since 8am this morning is how to get that same data from option 1 to option 3. Output: Code: } |
Simulate some process IO with fio or other tool Posted: 08 May 2021 03:37 PM PDT Is there any way to track specific process and get stats for disk IO such as queue death, total reading/writing threads, percent of reads/writes and so on? Main goal is to use all that information to emulate IO activity with fio tool. Of course testing is the best option, but not fully available for me, I cannot buy all possible hardware. |
Technically how do curl, ping and other tools get around an NGINX front facing reverse proxy server? Posted: 08 May 2021 05:52 PM PDT I'm having trouble understanding how communication occurs on a linux box if a front facing server like NGINX has been installed. For example this is my setup. AWS / EC2 linux based instance NGINX - front facing server Node.js / Express - upstream server In this setup I have no problem communicating past NGINX with In this common setup why don't I have to set up |
Posted: 08 May 2021 02:33 PM PDT I'm trying to understand the structure of how AWS Glacier works because I have a problem. Problem: I have a NAS that backs up to Glacier about once a week. About two weeks ago the NAS got infected with ransomeware so if I retrieved the data now I would just be obtaining useless encrypted files. Question: Is it possible to download folders/data from a archive/inventory that occurred a few weeks ago as opposed to the latest inventory version? Thanks for any help given. |
ssh_config host not connecting, connects otherwise, why? Posted: 08 May 2021 02:25 PM PDT So I have something like this setup, but when trying to ssh domain-two.com it times out: However doing: works without a hitch. I thought Host was a tag and HostName was what mattered, but for what it's worth domain-two.com doesn't point anywhere and that's the only apparent difference I can tell. |
AKS Kubernetes NGINX ingress - 308 Permanent Redirect Posted: 08 May 2021 02:09 PM PDT I have a simple Flask application deployed on to a Azure Kubernetes cluster, which has different endpoints. On the root 'mysub.mydomain.com/', it should prints out "Hello, I am working". I am using NGINX ingress controller. I want to redirect all http traffic to https. When I try to navigate to my domain via my browser no response at all. When I try to curl my endpoint I got 308 - Permanent redirect. Detailed output with Certs for my domain are valid, checked them. Certs are valid for the *.mydomain.com. My ingress.yaml file looks like the following: When I curl the service in front of my deployment directly, My pod is listening on port 8000, and running Running After running To test the certificates I ran Any ideas what causes the problem? UPDATE If I remove the TLS part from my Ingress rule, everything works as expected. |
netsystemsresearch.com on my internal network Posted: 08 May 2021 06:41 PM PDT It first started happening with the local network enabled printer. It printed out that netsystemsresearch.com was doing a search of all public networks. I stopped that by disabling outside connections from the printer. Yesterday I had an expressjs server running locally on my machine (on port 3000), and I got a ping from netsystemsresearch.com again with the same message. Anybody has experienced something like that? I tried looking up netsystemsresearch.com but didn't find anything useful. |
Office 365 In-Place Hold preventing me from deleting user Posted: 08 May 2021 06:06 PM PDT I am using AD Connect to synchronize my on-premises Active Directory to our Office 365 tenant. I tried disabling a user from on-premises and then synchronizing to O365. However, it seems to have broken everything because nothing is synchronizing any longer and the user still exists in O365. When I open the user properties in O365 admin, I see the following error:
If I try to run
I can't find any In-Place Hold policy active and I can't seem to be able to delete this user. I even tried running
|
Linux SSSD with two AD Domains Posted: 08 May 2021 03:06 PM PDT I Joined my Centos Box to a Windows Active Directory Domain with Without any Problems. The Domain hast a one-way Trust relationship to Dom1. Our Windows Users can:
On our Linux Boxes (in Dom2), only Dom2/Users can Log in. I found some evidence online, that sssd can be configured with two Domains, so i added a Block in the sssd config: Now if i try to log in with a Dom2 User i get the following: Has someone succefully configured two AD Domains with sssd? Or any Idea how to do that? Edit1: With getent passwd i can see all users from both domains, and both: work as well. |
Forward Between interfaces On Mikrotik Posted: 08 May 2021 07:02 PM PDT im having a trouble ive a mikrotik router with 2 interfaces up ( let's call lan1 and lan2 ) Lan 1 has the IP 192.168.100.1 lan 2 192.168.0.32 Lan1 the other side of the wire goes to a cisco wich IP is 192.168.100.20 , and beside that cisco its another network with IP 10.94/16 if i test over the mikrotik with winbox y can reach the cisco AND the other network itself, now in my network we have the range 192.168.0.0/16 i can ping the lan2 of the mikrotik, but cant reach lan1 or cisco or 10.94 network, could anyone help me wich filter rules and nat rules should i create to forward the requestest from 192.168.0.0/23 and reach 10.94.0.0/16 ? or the whole traffic coming for LAN2 forward to LAN1? |
xl2tp + strongswan ipsec -- xl2tp timeout Posted: 08 May 2021 03:06 PM PDT I'm trying to connect to a ipsec/l2tp vpn from a private network behind a nat-router. It works from different windows clients, but from my linux machine (openSuSE 12.3, stronswan 5.1.3, xl2tp 1.3.0) I don't manage to connect. First problem was, that the server seems to handle just IKE v1 protocol. "keyexchange = ikev1" in ipsec.conf solved this issue. Now "ipsec statusall" shows: So everything seems fine on the side of ipsec When starting the l2tp protocol with "echo "c connection_name" > /var/run/xl2tpd/l2tp-control" I just see some timeouts in the systemlog: Watching the traffic with
shows only the following: repeatet 5 times and later 3 times: Obviously there is no answer from the server to the l2tp packages. But as said before, it works with several windows clients What could be wrong? What can I do, to get more information about the l2tp connection? I switched on all debugging option in the xl2tp.conf already. Here are my conf-files: ipsec.conf xl2tp.conf |
Windows 10 Pro: RDP disconnecting every 10 - 30 seconds Posted: 08 May 2021 09:05 PM PDT Just looking for some brainstorming help. I have a (fully updated) Windows 10 Pro desktop which I regularly connect to using RDP from a Mac running Microsoft Remote Desktop (latest version). The Windows 10 Pro machine is using a static IP on 192.168.1.0/24 network. When the Mac is on 192.168.1.0/24 as well, I can stay connected to the Windows 10 Pro machine for hours with no problem. Sometimes I work from another site on 192.168.2.0/24 network. There is a wireless link between both sites. The network path is something like this: Internet <- NAT <- Site1: 192.168.1.0/24 -> NAT -> 192.168.3.0/29 <- NAT <- Site2: 192.168.2.0/24 Whenever I try to connect to the Win10 PC at Site1 from the Mac at Site2, I can easily and quickly establish an RDP connection, and I can even use the connection just fine for anywhere from 10 - 60 seconds, and then the screen freezes and I get disconnected from the Win10 PC. You might say, well maybe I have a problem with my wireless link, but a continuous ping from Site2 to Site1 shows no problems with the connection. Even more telling, I have another RDP server running on a Win10 Pro machine, but it is completely offsite and I access it through the Internet at Site1. In other words, from Site2 through Site1 and then out the Internet, I am accessing another RDP server also running Win10, and I can stay connected to that machine for hours on end. So what is changing from Site1 to Site2 that is causing me lose RDP connection every time I connect? Is it a NAT problem? The weird thing I really don't understand: if I had some critical configuration or network problem, I shouldn't be able to connect to RDP at all - why is it letting me connect without problems, function without problems for about 30 seconds, and then suddenly disconnect me seemingly without reason? It doesn't make sense. |
Disable VM Autostart - XenServer Posted: 08 May 2021 02:00 PM PDT After running updates in XenServer 6.5 I noticed that some virtual machines that were recently turned off started turning on again automatically after the server I applied updates to restarted. When I go to apply updates through xen center I get the following notification and have to disable before I can proceed: I'd like to disable this altogether. I've also disabled high availability temporarily hoping this would do the trick but it has not. Any suggestions/assistance would be greatly appreciated. |
How to reset ufw without disabling it? Posted: 08 May 2021 04:01 PM PDT I'd like to reset the
So it appears that I know that I can muck around with the ufw config files directly and then |
ERR_CONNECTION_TIMED_OUT (unless I'm using a proxy) Posted: 08 May 2021 06:06 PM PDT I run my own online business as well as managing over a dozen self hosted sites for other people using the wordpress.org. platform. They're all hosted by a small company in the UK and if I do experience any problems the company are usually quick to sort them out. However... Right now, using Chrome or Safari (on an iMac and on a PC) I'm getting the message ERR_CONNECTION_TIMED_OUT when attempting to login to the wp-admin; or even if I just want to view the sites. It's not the first time this has happened, and I've done all the usual things - cleared the browser cache, double checked the wi-fi connection, used a 'is it down or is it just me' site etc. etc. Btw, the sites are accessible from elsewhere (but this doesn't help me, I live and work out in the sticks.) I've done pings and traceroutes and copied my hosting provider into these (no reply, yet.) I can access the sites using a proxy (e.g. anonymouse) but can't edit them in this way of course. Anyway, this wouldn't be a great solution, I want to be able to use Chrome or Safari. Anyone any ideas? |
Windows Service "System error 5 has occurred. starting service" Posted: 08 May 2021 05:01 PM PDT I have a Windows 2012 R2 server which has been happily running a windows service for roughly 3-4 months with various build revisions going into the software. The server configuration hasn't changed at all, however I have just started seeing the following error when manually trying to start the windows service and doing it from our build system. The event log is pretty fruitless too: As mentioned above the accounts used for this have not changed. I have checked that the service folder has full permissions on it and have even tried running the service under a local account and administrator account. Both of these produce exactly the same error. Is there any way for me to obtain more information about the problem? Nothing else on the server seems affected. |
Why do my Snort logs appear to be empty? Posted: 08 May 2021 09:05 PM PDT So I was following this guide on how to install Snort, Barnyard 2 and the like. I've set up Snort so it would run automatically, by editing the rc.local file: And I then restarted the computer. Snort was able to run and detect the attack, but the log files (including barnyard2.waldo) remained blank, even if a new log entry was created for each attack. I'm not sure what went wrong here, since it's supposed to log any attacks and store it in the log directory, right? Then, I tried changing the parameter to: And when I checked the log file, there are two log files, one in u2 and another in tcpdump format, but they're both blank and is approximately 0 bytes. So I thought I'd run it from the console to see if it would work from there, using this command: and I then checked the log file to see if it would log the attack, and it still doesn't. |
Apache2 reverse proxy connections staying persistent, filling ssh channels Posted: 08 May 2021 05:01 PM PDT I have a webserver (Amazon Linux EC2 instance running Apache2), let's call it "server A", on which I have set up reverse proxy using: Where This setup works well and runs for a while, but after some time server A doesn't send any new requests to the proxied server. The server connections to the proxied server are staying up: I believe this is "using up" all the channels on the ssh tunnel and I want server A to behave in a way that it sends http requests to the proxied server as necessary, but then clears the connections. Initially I suspected this was due to Apache on the proxied server doing persistent connections, so I updated the config there to include: I haven't tried setting Is Apache config the correct place to solve this? Is it instead part of the ssh config for the tunnel? (config for that can be provided if needed). |
Samba group doesn't appear on Network Neighborhood Posted: 08 May 2021 08:02 PM PDT I have a samba server (Samba version 3.6.9-151.el6). My ip server has multiple ip address, and it uses dns proxy for name resolution. I have 2 problem:
My dns works and I'm able to make name resolution on all my ip address. Only pc on network 192.168.1.0/24 see samba shared folder, the pc on network 192.168.168.0 and 172.16.0.0 don't see shared folder. Below is the smb.conf about my request related part: |
Automate mounting a persistant CIFS drive natively on Windows. Posted: 08 May 2021 04:01 PM PDT Trying to create a script to automate mounting CIFS shares as drives on windows 2008/2012 server. The share requires a login (Unfortunately, AD can not be used) and needs to be mounted as a persistent drive that survives reboots. Windows allows below However above won't save credential for next boot. We need to use But this cmd only accepts the login details via a prompt and difficult to call from the script. Not sure if default windows server install has a native tool like 'Expect' to automate this. I like to avoid installing a third party utility. NOTE: You can not combine /USER and /SAVECRED. This apparently was supported in some older version of windows though. The other commonly suggested solutions is to put the cmd into startup folder. But I don't want to expose the password in plain text. Can anyone recommend a native solution ? |
MySQL Memory Limit Windows Server 2003 Posted: 08 May 2021 07:02 PM PDT I am running MySQL 5.0.51a on Windows Server 2003 Standard Edition on an HP DL580 G4 with 3GB installed. One of my database tables has grown to 5.3 GB with an index file of 2.5 GB, which I believe is causing MySQL to be slow due to having to constantly load and unload the index file when updates are made to the table. The server itself seems to be performing OK because MySQL is only using about 500MB of memory (there are other apps running on the system, but MySQL uses the most memory). The table is fairly active with new records getting adding all during day but no deletes, ever. The MySQL server has up to 600 connections allowed, but only small number (10 or 20) would actually be writing to this table. I increased the memory limits in MySQL but since the max connections is so high I don't think I can give each connection 1GB without risking a problem. Is there some tuning that would let just certain connections get a lot of memory? So I have started to look for alternatives to avert the crisis I know is coming soon. Some of the options I have:
If anybody has suggestions for things to do in the meantime, opinions on which way to go, or other things that I have overlooked I would appreciate the help. Thanks |
How to create a very simple external FastCGI configuration in apache? Posted: 08 May 2021 08:02 PM PDT I have an externally started FastCGI application that listens on socket '/tmp/foo.sock' and a directory of static files in '/srv/static'. Apache has all needed permissions on the socket and the directories. What I need : All requests starting with '/static' should be handled by apache using the contents of '/srv/static'. All other requests should be handled by the FastCGI application. Here is my current virtual host configuration: Even though this seems simple, its giving me quite the headache. According to http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer the first parameter to 'FastCgiExternalServer' should be a 'filename' that when matched will cause apache to delegate the request to the external FastCGI app. What am I missing here? |
How do I get the current Unix time in milliseconds in Bash? Posted: 08 May 2021 04:24 PM PDT How do I get the current Unix time in milliseconds (i.e number of milliseconds since Unix epoch January 1 1970)? |
Remove 1 Disk From 4 Disk RAID 5 Array Posted: 08 May 2021 08:24 PM PDT Im using a PERC 3/DC controller to run a RAID 5 array using 4 hard disks. I am hoping to change this to 3 disks in the array and 1 hot spare. Is it possible to remove 1 disk from the array, reconfigure it as a hot spare, then reconfigure the RAID 5 array to use 3 disks WITHOUT loosing any data? I have backups but I would rather just reconfigure it without going through the hassle of restoring data. Thanks! |
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