Recent Questions - Server Fault |
- Postfix LDAP aliases - user unknown
- Nginx + Apache Max web apps possible
- Getting could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432
- midnight commanger hide dir changes from internal history
- Can I add "firewall rules" to an AWS VPN connection?
- Why can push mp4 into a rtmp stream instead of rtsp stream?
- Bash cripts in samba domain during login
- Why might an end-user IP address be different when accessing different but co-hosted websites?
- Chromium based browsers do not remember cookies on a domain joined server
- Can't install squid on debian: Job for squid.service failed because a timeout was exceeded
- cannot read clients from nas table in freeradius only from clients.conf
- Using FirstLogonCommands in an Unattend.xml file
- Zevenet Load Balancer - SSL Certificate
- Kafka compatible with Zookeeper 3.5 feature 'Rebalancing Client Connections'
- NTP offset warning when no NTP server is defined and NTP not running?
- Deploying an SSIS Package - TNS:could not resolve the connect identifier specified
- `mysql_upgrade` is failing with no real reason given
- Varnish not showing custom headers
- IIS 7 virtual directory 404 error
- Templating with Linux in a Shell Script?
Postfix LDAP aliases - user unknown Posted: 06 May 2022 12:07 AM PDT I have server POSTFIX + DOVECOT with LDAP (ActiveDirectory) authorization. /etc/postfix/ldap_virtual_mailbox_maps.cf /etc/postfix/ldap_virtual_alias_maps.cf /etc/dovecot/dovecot-ldap.conf.ext The email specified in the attribute "mail" works (users can send and receive messages). I specify an alias in the attribute "othermailbox" (for example - s15@domain.com). When I send an email to this address (s15@domain.com) then get "Undelivered Mail Returned to Sender"
What am I doing wrong ? I will be grateful for comments. |
Nginx + Apache Max web apps possible Posted: 05 May 2022 11:54 PM PDT I am going to provide hosting to a lot of companies, but these sites will be short lived, mostly used for temporary site creation purposes. So I will be hosting almost 200 websites on a single 2 vCPU + 4 GB RAM type of server. The stack is nginx + apache with PHP + MySQL based web apps. My question is : how many websites such setup can handle theoretically and does it depend on the size of the server, lets say if I increase the size of the server (CPU & RAM) can I host more websites? |
Posted: 06 May 2022 12:24 AM PDT I have Postgres 13 and pgAdmin installed on my Windows machine. It worked for like ~six month, until I hat do restart my machine. After restarting the computer (which I had not done because there was an update), I am trying to connect to Postgres via pgAdmin as always and I get this
Some answeres suggest, to edit the Why is that? It feels like postgres is not starting? Although this is a wild guess... I went to and then I get System Error 5. Access Denied. This is driving me nuts... |
midnight commanger hide dir changes from internal history Posted: 05 May 2022 11:40 PM PDT I have a small gripe with So the question is: can I hide these somehow from Cheers |
Can I add "firewall rules" to an AWS VPN connection? Posted: 05 May 2022 10:53 PM PDT i need to connect a couple of customers to an AWS VPC via VPN. requirements:
my question is - is this possible with an AWS VPN gateway & VPN connection? and if yes, how? cause i read a ton of stuff now and google quite a lot, and i did not find any way to assign security groups (or something alike) to an AWS VPN connection. in my book that means "any site-2-site connection allows all traffic", which is the opposite of what i need. can anybody help me here? thanks in advance for any information! :) |
Why can push mp4 into a rtmp stream instead of rtsp stream? Posted: 05 May 2022 10:47 PM PDT I build stream server with nginx,and can push the mp4 into a rtmp stream with : Now i want to push it with rtsp format: Error info encoutered: [tcp @ 0x55c7d6a157c0] Connection to tcp://127.0.0.1:554?timeout=0 failed: Connection refused Could not write header for output file #0 (incorrect codec parameters ?): Connection refused Error initializing output stream 0:0 -- [aac @ 0x55c7d65b6500] Qavg: nan [aac @ 0x55c7d65b6500] 1 frames left in the queue on closing Conversion failed! |
Bash cripts in samba domain during login Posted: 05 May 2022 10:08 PM PDT I have samba as pdc with linux machines clients. i created logond script and modified samba config but when logging on nothing happens please help me in google there is only examples of logon scripts with .cmd and .bat ... smb.conf modifications [general] logon script = script.sh and in /va/samba i created script.sh [netlogon] path = /var/calculate/server-data/samba/netlogon browseable = no read only = yes root preexec = /usr/lib/calculate/calculate-server/bin/execserv -s --makedir %U is this enought? |
Why might an end-user IP address be different when accessing different but co-hosted websites? Posted: 05 May 2022 11:46 PM PDT I am trying to understand the following observation. We have two domain names, domain1.example and domain2.example. At a DNS level, there's an A record to an anycast address. Both domains resolve to the same address. When the same user makes an HTTPS Web request to domain1.example and domain2.example, the user's IP address (per access log) is not consistent across the two domains but is consistent for each domain. In most cases, other users have identical IP addresses in both logs. From a pure networking point of view, the packets should be routed using the same entry in the routing table since they are going to the same IP address. It seems something higher-level in the OSI stack is domain-aware and able to alter the pathway. What might be interfering here? |
Chromium based browsers do not remember cookies on a domain joined server Posted: 06 May 2022 12:40 AM PDT We have a problem that Chromium based browsers do not remember cookies on a domain joined server. Can any one point us in the right direction? What did we do: We freshly installed the server (2019 or 2022) from VLSC iso. Create a local user and immediately login as that user. Setup proxy in the browser and see if it remembers cookies when we browse to a site. Cookies are stored and we do not get an annoying popup for cookie preferences when we visit a site. ^^^so this step is wanted behavior. In AD we create a new Test OU with no policies and disable inheritance. We put the computername in the Test OU. Installed RDS role. We make the server member of AD and it is in the Test OU. We check the server with "gpresult /h /test.html" and RSOP.msc if any policies are loaded and this is not the case. We login to the server with a domain account (regular or DA does not matter for end result) and browse to the same site we used as a local test user. We get a popup to set our cookie preferences. When we close the browser and go back to the site we get the prompt again. <-- unwanted behavior When we check if the cookies file is changed this is not the case. It is 20KB and does not change. If we remove the file and start the browser the file is recreated and has the same size but it is never updated after. Cookie location: C:\Users<username>\AppData\Local\Microsoft\Edge\User Data\Default\Network We have tested and can replicate this behavior in Chromium based browsers: Chrome Enterprise, Edge Firefox is ok. |
Can't install squid on debian: Job for squid.service failed because a timeout was exceeded Posted: 05 May 2022 10:08 PM PDT I'm trying to install squid but apt can't finish installation, and returns these errors: I don't find what to do. |
cannot read clients from nas table in freeradius only from clients.conf Posted: 06 May 2022 01:05 AM PDT I have installed freeradius on Centos. The MySQL database is populated with some data for testing, and the freeradiusd.conf and sql.conf are configured. The RADIUS server is able to connect with the MySQL database, and I can authenticate users from it. I also have a remote RADIUS client configured that is working with my captive portal and RADIUS server, however, it only works when I have the client's IP address configured in In other words, freeradius does not seem to be querying my nas table from the MySQL database. In my In my nas table I have following: ... where xx.xx.xx.xx is the correct IP address of my RADIUS client. When I try to log in via the captive portal, with freeradius running in debug mode, I get the following: I noticed in the debug output that the data in nas are being loaded Any help would be greatly apprciated! PS: I tried changing the shortname in the nas table the same as the ip but it still didn't work |
Using FirstLogonCommands in an Unattend.xml file Posted: 06 May 2022 12:02 AM PDT I apologize ahead of time for what is probably a stupid question, but I'm having a hard time figuring this out from the Microsoft Documentation (https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-firstlogoncommands): If I populate my Unattend.xml file with the 'FirstLogonCommands' setting at the oobeSystem pass, will the commands run once for the first user that logs into the machine, or will the command run once for each user that logs into the machine? |
Zevenet Load Balancer - SSL Certificate Posted: 05 May 2022 11:46 PM PDT I am really new to this so please be nice :) I am wondering if anyone has any experience with Zevenet Load Balancers. I have setup the community version (V4). I have 2 web servers with replicated content, I have a virtual IP setup in the system which points to the 2 IP addresses of the web servers. The load balancer works for HTTP and HTTPS traffic correctly but shows an cert error when trying to get to the servers via HTTPS. I want to combat this by adding a certificate to the load balancer. To do this I have followed the these steps: https://www.zevenet.com/knowledge-base/howtos/manage-certificates-with-zen-load-balancer/ (ignoring the bit about purchasing a cert from SofIntel as we use JISC for our Certs) Basically I created a certificate in the load balancer, generated the CSR, purchased a certificate from JISC by uploading the CSR generated from the load balancer. I then downloaded the ZIP file from JISC which contains the crt for the domain, as well as the root certificates required also in the ZIP. I tried uploading the ZIP to the load balancer and it pops up an error showing that the certificate needs to be created in a PEM format. I then found this here: https://www.zevenet.com/knowledge-base/howtos/create-certificates-pem-format/ I am not really sure what this is asking me to do....does this mean the original CSR that I generated is irrelevant now? The instructions on the above link say that the PEM file needs to be the following: -----BEGIN RSA PRIVATE KEY----- Private Key (without passphrase) -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- Certificate (CN=www.mydomain.com) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- Intermediate (Intermediate CA, if exists) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- Root (ROOT CA, who signs the Certificate) -----END CERTIFICATE----- Essentially I already have the domain certificate, the intermediate and the root all from JISC now. But is there any way can go about getting the Private key from the load balancer so that I can just create the PEM file manually. Sorry if this seems like a really stupid question, pretty new to cert stuff, not sure why it wont just let me upload the zip file. |
Kafka compatible with Zookeeper 3.5 feature 'Rebalancing Client Connections' Posted: 05 May 2022 10:08 PM PDT In this document https://zookeeper.apache.org/doc/trunk/zookeeperReconfig.html dynamic configuration functionality is described for Zookeeper 3.5. There are 2 important points in this document:
This all seems really promising, because at the moment (Kafka 2.12 and Zookeeper 3.4.9), both Zookeeper and Kafka configurations are static, and when a Zookeeper node needs to get replaced, config changes need to be made on each Zookeeper instance in the ensemble and on each Kafka broker, and all participants need to be restarted to reload configs. My question is, provided that you go with Zookeeper 3.5 and it's new dynamic reconfiguration, is there a Kafka version that is compatible with this, which will update it's own zookeeper.connect configuration when the Zookeeper ensemble gets reconfigured? |
NTP offset warning when no NTP server is defined and NTP not running? Posted: 05 May 2022 11:03 PM PDT I just want to preface by saying that I am still learning linux and don't have too much experience with it. My job requires me to monitor an alert system for our clients hosts that are running our product. I just received an alert regarding NTP that confused me a bit so I was hoping someone here can help me clarify it. The alert was for the NTP offset of a particular host. That's fine, just go and resync to the NTP server. However, turns out that there is no NTP server defined in the config file and is not even running when I go to stop it: However, this check has been running for a while and only alerted today. So my question is, if there is no NTP server defined for that host and NTP is not even running, what triggered the alert? I mean, if the alert is only supposed to go off when the offset is large, how can there be an offset if there is no server defined to be compared to? The alert even specifies an exact time in seconds, and it's updating. So It's comparing itself to something, right? I've tried to look online for an answer but nothing is clicking with me. Any help would be great. |
Deploying an SSIS Package - TNS:could not resolve the connect identifier specified Posted: 05 May 2022 11:03 PM PDT I have an SSIS package which has 4 connections - a WebService, 2 SQL Server connections (across 2 domains), and 1 connection to an Oracle DB. When the package is run from Visual Studio from a laptop, it runs OK. When I deploy it to the server, I'm getting 'TNS:could not resolve the connect identifier specified'. Results of tnsping's: 64 Bit Version of TNSPing 32 Bit Version of TNSPing Now a similar experiment using DTSWizard.exe. Using Oracle Provider for OLE DB. Get same results with Microsoft OLE DB Provider for Oracle. Please see this image - I've not enough rep to post the image here..! (I've also tried using C:\PROGRAM~2\Microsoft SQL Server\110\DTS\Binn\DTSWizard.exe - no joy.) The laptop is 64-bit, and has Oracle 11.2.0 installed. My understanding is that SQL Server Management Studio is 32-bit only - could this be where the problem lies? Could anybody suggest where I could go from here? I've tried various connectors, none of which seem to make a blind bit of difference. The only other option I can think of is taking the drivers from the server, putting them on the Laptop, re-configuring the SSIS package to work with those, and then deploy it again -- but, I'm hoping to avoid that, if there's an easier way? |
`mysql_upgrade` is failing with no real reason given Posted: 06 May 2022 01:00 AM PDT I'm upgrading from MySQL 5.1 to 5.5, running Any ideas on where to look for what's happening (or, not happening?) so I can fix whatever is wrong and actually run Thanks! More output: After shutting down MySQL log during start up via As I understand it, all the table structure/existence issues (as it relates to mysql system tables) should be corrected by running |
Varnish not showing custom headers Posted: 06 May 2022 12:02 AM PDT In my Varnish 3 configuration (default.vcl) I configured the following to pass along information via the response headers: And yet the only thing I can see is It doesn't show any headers that we have added inside the EDIT: This is my vcl_fetch method: Anyone got an idea how to solve this as NO custom headers are included in the response headers... As you can see above in my |
IIS 7 virtual directory 404 error Posted: 06 May 2022 01:05 AM PDT I have set up a virtual directory called application under the default website. Inside this, i have a web applcation running. When i browse 80 from IIS and log into the homepage is fine, but then when i click onto go to another menu (subdirectory) i keep getting 404. I have created the necessary virtual directories and checked permissions on the folder and app pool. the iis log shows the following Its the last line thats the problem. |
Templating with Linux in a Shell Script? Posted: 06 May 2022 12:32 AM PDT what I want to acomplish is: 1.) Having a config file as template, with variables like $version $path (for example apache config) 2.) Having a shell script that "fills in" the variables of the template and writes the generated file to disk. Is this possible with a shell script. I would be very thankfull if you can name some commands/tools I can accomplish this or some good links. |
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