question_id
int64
1
1.16M
title
stringlengths
10
191
question_body
stringlengths
6
2k
answer_body
stringlengths
0
2.5k
tags
stringclasses
73 values
question_score
int64
-15
1.65k
answer_score
int64
0
2.91k
view_count
int64
4
1.24M
creation_date
stringdate
2008-08-01 18:45:00
2025-06-19 04:44:02
category
stringclasses
12 values
source_site
stringclasses
8 values
1,057,616
Bareos (Bacula) FileSet not updated on change/reload/restart
Problem After building a Proof-of-Concept setup of Bareos, I can add and update various components like Clients, Devices, etc. But when modifying a FileSet, those changes are not reflected in the running Bareos config. Details and research PoC is built on Bareos 20.0.1, installed on a CentOS Linux 8.3 box. Till now all...
After testing different situations I've found a solution/workaround. I'm not exactly sure if the current behaviour is intended or bugging, because I can not find anything about it in documentation. And I'm not skilled enough to verify it in source code. Workaround Modify the FileSet config file (i.e. filesets/FileSet.c...
2
0
764
2021-03-19T14:23:05.823
database_errors
serverfault.com
54,918
Restore data from an HP StorageWorks MSA crash
I have an HP StorageWorks (MSA 2012fc) and it has been used for production for a while. I used parted to set up three 0x83 partitions on it. After a power off, my Linux box attached to the MSA via fiber channel become enable to see any partitions. And when i do dmesg i get that there are only a volume named as sda ? Al...
No, I can't tell you what happened but you can look for clues yourself, look at your logs - sounds like something reinitialised the volumes - I know that model of MSA and even if it did 'die' and damage your disks it wouldn't delete three partitions and create a new linux-format one for you, it would be all or nothing....
0
1
655
2009-08-17T10:07:07.363
database_errors
serverfault.com
913,243
Apache 2.4: Users autenthication in Active Directory
Thanks in advance! I need help with Apache configuration to enable login through Active directory. I want allow login if a user is member of a group contained in other group. Now I have this: [CODE] And Can´t login. If I put: require valid-user it´s go well. [CODE] What is I doing bad? THANKS!
It sounds like your DN syntax is incorrect. Your logs show you're using [CODE] in your DN, is it in your config file or you've replaced it before posting it ?
0
0
901
2018-05-22T12:20:30.510
infrastructure
serverfault.com
996,159
Prometheus: scrape interval is 1m, but resolution is still 15s
tl;dr: My scrape interval is 1m, yet I have a 15s resolution. Why? My prometheus configuration includes a job to scrape kong metrics: [CODE] Consequently, when on the [CODE] tab in the HTML interface, we can see that kong is scraped roughly every minute, as expected. However, when I query that data, for example [CODE] ...
The resolution there is the resolution of the graph, which is automatically determined by the width of the graph and the time period it covers. It bears no relation to the scrape interval. If you want to make it lower, either zoom out or set it manually in the res textbox.
3
2
6,960
2019-12-19T13:00:20.017
pipeline_ops
serverfault.com
758,936
Configuring a private vlan for a test lab, but still access the internet
I have been looking around and trying to find ideas on how to isolate a test lab from our main network whilst still allowing the test lab access out to the internet. At the moment, our main network is on a 10.11.23.x subnet. To this we have added a Cisco Catalyst WS2960 on 10.11.23.245. I have created vlan23 on this sw...
If you've got a firewall between the test VLAN and the main gateway, try making a rule that allows access to "not 192.168.0.0/16, 172.16.0.0/16, 10.0.0.0/8". This should amount to " allow access to everything not on a private network", which is the internet. I'm no expert but I've got a VLAN of isolated servers at home...
1
0
287
2016-02-22T13:58:46.127
infrastructure
serverfault.com
827,489
HP Proliant server DL180 g6 smart array p410 fatal error
I HAVE ONE HP PROLIANT SERVER DL 180 G6. THIS SERVER RESTART SUDDENLY, SOME TIME TWO OR THREE TIME IN A DAY SOME TIME AFTER 2 DAYS OR AFTER 7 DAYS. ( Reboot screenshot ) I have run the hp smart storage administrator tool ( see screenshot ). [CODE]
There is not better why tahn to call HP support to request a tech Last time I remember the Tech guy replaced the Smart Array/raid controller Regards
-1
0
863
2017-01-20T09:22:43.643
infrastructure
serverfault.com
55,526
How to connect through a proxy using Remote Desktop?
So I've got a home server running Windows Server 2003. I use a dual network card setup and Routing and Remote Access to link the internal, private network to the external connection. The external connection hooks directly to my cable modem (so no routers or other devices sitting between). The problem I'm having is that...
You mentioned that you cannot access your server " from a location outside the house ". Does it mean that you cannot access your home server from any location, or just from work? If you cannot establish an RDP session to your server from any location, and assuming that everything is properly configured, I'd suggest swi...
3
5
23,970
2009-08-18T13:25:39.680
infrastructure
serverfault.com
327,638
Custom Operator Class for BigInt Using Bloom Indexes Not Working in PostgreSQL
I'm currently dealing with a large PostgreSQL table containing approximately 350 million rows. For performance optimization, I'm trying to create Bloom indexes on some bigint columns in my table. Since PostgreSQL doesn't natively support Bloom indexes for bigint, I've created a custom operator class using the following...
The extensible indexes are very fussy about their data types. While [CODE] will work for built-in index access methods, for bloom you would have to write it as [CODE]
1
1
115
2023-05-29T06:56:13.883
database_errors
dba.stackexchange.com
315,759
Citrix Receiver for Windows 3.0
I've had a solid PresentationServer 4.0 working for 4 years. This new receiver is causing massive issues. I am getting this error on multiple machines now. The network connection to your application was interrupted. Try to access your application later, or contact your help desk The "Tw2CachePower" registry edit does n...
We're having the same issue. In testing I found that setting SSPIEnabled = Off in the wfclient.ini as described here helped. However I still get the error if I try to launch the Application again without logging off/on. I haven't left the setting as off as I'm not sure of the security implications; the setting relates ...
2
2
2,787
2011-09-01T15:51:52.377
infrastructure
serverfault.com
62,048
Postgresql: When using SSH tunnel, I receive the fe_sendauth: no password supplied error
I am SSH Tunneling to my postgreql server. I have previously successfully configured 9 + win XP dev PCs to connect to this postgresql server, those PCs still connect successfully. I am now setting up a Windows 7 64bit Dev PC, using all the same putty configurations for the connection, the same version of pgAdmin, howev...
Your Windows 7 PC supports IPv6 natively. I'd say your [CODE] is set to require [CODE] on connections from [CODE] but not on [CODE] . This works on your XP machines because they won't connect over IPv6. On Win 7, they'll happily use IPv6 (and PuTTY will happily tunnel IPv6), so they probably appear to have the origin a...
1
2
1,892
2014-03-29T07:19:36.913
database_errors
dba.stackexchange.com
318,010
SSL Not being served by Apache
I am running multiple virtual hosts on my apache and I want one virtual host to server ssl. I have followed the instructions given to me from where I purchased my certificate. Whenever I visit my site using https, I get an "Unable to connect error" in Firefox. My ssl.conf which is included by httpd.conf looks like this...
Was able to solve this problem by restarting the iptables [CODE]
1
0
263
2011-10-03T15:08:49.290
infrastructure
serverfault.com
474,850
Apache2 mod-jk and VirtualHosts
I have an apache2 server with few virtual host. Two of those Virtual Hosts is using modJK to handle pages generated by Glassfish. I have global configuration for modJK and JkMount directives used only in VirtualHost sections. Generally this configuration works, but sometimes (quite often) I get 503 error when I'm tryin...
I think modJK is outdated and not reliable. I messed with it a time ago and would recommend to just use apaches [CODE] , which is really easy to configure and just works. Uninstall [CODE] and install [CODE] , the put something like the following in your vhost configuration file: [CODE] assuming that your glassfish's aq...
2
1
224
2013-02-02T21:37:09.467
infrastructure
serverfault.com
119,563
Mail Server setup under Mac OS X Server Snow Leopard (10.6)
I'm currently setting up a number of new Xserve boxes running Mac OS X Server Snow Leopard. One of these machines will be replacing our current (ageing) Linux mail server. The Linux box is running an (older) version of Dovecot, and of course under the hood OS X Server is also running Dovecot. However the Linux version ...
I realize this is a really old post but it's also been viewed quite a number of times. This really just works. There's absolutely no need for users to have a home folder on the server, never has been. I recommend you do the initial configuration via Server Admin, and then go the way of command line, and think of it as ...
2
1
1,632
2010-03-05T15:36:43.747
infrastructure
serverfault.com
396,719
How do I upgrade the BIOS to boot the motherboard when the CPU is not suported?
So I have a Tyan S8225 motherboard with a Valencia (Opteron 4200) CPU. Two of us have tried everything. We have even swapped the whole motherboard, Power supply, memory, even a different CPU (still Valencia). We even tried it without any memory installed and with only a single CPU. There are no beep codes as I suspect ...
SImply sad with a VERY modern motherboard. I have ONE here - damn new ASUS LGA 2011 board - that can read the Bios from a USB stick WITHOUT processor. For everything older - get a processor that works, sorry.
0
1
2,824
2012-06-08T02:46:36.987
infrastructure
serverfault.com
989,911
Active Directory forest, root domain controller died
I have the following active directory structure: [CODE] DC1 died a long time ago without any backup and was the only domain controller for Domain1.example.com I think we transferred all of the FSMO roles to DC2 before DC1 died All of the company users & computers are on domain2.example.com I tried to add a new domain c...
Upgrade the forest functional level . Change to DFS replication for SYSVOL. 2008 R2 as an interim step just came up on on Server Fault again yesterday. Add additional domain controllers with an OS with more life left, Server 2019. Verify replication. You now have multiple servers for AD DS. Remove all pre 2019 domain c...
2
1
237
2019-10-30T11:05:42.140
database_errors
serverfault.com
52,268
Sql server - Rebuilding Indexes - Does it affect foreign keys?
i am looking at speeding up the performance of my database, and thought that Rebuilding some indexes might help. My question is, will this invalidate Foreign Keys from other tables pointing to the table I am rebuilding, or will the links be preserved?
will this invalidate Foreign Keys from other tables pointing to the table I am rebuilding, or will the links be preserved? No it wont invalidate foreign keys. Rebuilding an index drops and re-creates the index thereby removing fragmentation and it reclaims disk space by compacting the pages based on the specified or ex...
2
2
1,837
2013-10-26T16:39:01.483
database_errors
dba.stackexchange.com
23,911
Error restoring backup in sql server. Old server version
When trying to restore a backup file ( [CODE] ) to SQL Server installed on my machine, I get the following error (steps that I follow to restore are: Right Click Database ---> Tasks ---> Restore) Error message: The database was backed up on a server running version 10.50.2500. That version is incompatible with this ser...
While you may have SQL Server 2008 R2 on your machine (or at least the management studio), that doesn't stop you having or connecting to a SQL 2008 Server - which it seems you are. [CODE] will tell you the server version and its number. 10.50.2500 is SQL 2008 R2 SP1 10.0.2573 is SQL 2008 SP1 NB - SQL 2008 SP2 (Service ...
0
1
2,084
2012-09-07T17:33:39.330
api_errors
dba.stackexchange.com
234,560
How to turn iptables stateless?
I'm running a Linux server that - from time to time - faces heavy load and the conntrack table overflows. Since it's iptables firewall ruleset is very simple I'd like to turn it to stateless mode. I know that iptables can operate in stateful connection tracking mode and in a stateless mode. My firewall rules are all in...
You need to specify some iptables rules to prevent packets to be conntracked : [CODE]
20
23
19,787
2011-02-11T21:27:54.983
infrastructure
serverfault.com
1,063,166
kube-proxy won't start in Minikube because of permission denied issue with /proc/sys/net/netfilter/nf_conntrack_max
After updating Arch Linux (sudo pacman -Syu) and restarting the system, Minikube fails to start because of kube-proxy. The logs show it was trying to modify [CODE] but it ran into a permission denied issue. I tried to run [CODE] but the system didn't allow me. I also removed [CODE] and started again, but it still refus...
change [CODE] to 0 in [CODE] of [CODE] to leave the limit as-is and ignore conntrack-min
9
9
8,050
2021-05-11T05:25:57.380
infrastructure
serverfault.com
15,677
ntbackup fails to save to NAS under windows sbs 2003
I created a backup plan to backup to a NAS via UNC (\\192.168.x.y\backup\pdc) on our Windows 2003 SBS, which stops after 1 sec with this error: "The operation was not performed because the specified media cannot be found." I think this has something to do with the user running the ntbackup script itself. When I execute...
It maybe had something to do with a recent change to the administrative account's password. I deleted all "planned tasks" related to the backup process, and recreated them with the "add planned task" wizard. By using the backup wizard then provided, i was able to set up everything as i wanted it through the ntbackup in...
0
0
3,629
2009-05-30T16:35:38.193
database_errors
serverfault.com
180,432
Having a domain name use nameservers of the same domain
I want to create a nameserver called ns1-ns3.example.com. I want to create these nameservers on a VPS I recently rented. Now the domain example.com does now have nameservers ns1-ns2.masterdomain.com. And this domain is hosted on a small package that does not allow me to create nameservers. Now I want to know how move t...
The specifics of how you do this will depend on who you registered the domain with, but you want to look into how to set the "glue" records for your domain.
0
3
1,424
2010-09-12T20:46:31.200
infrastructure
serverfault.com
154,596
Why I can't calculate the distance between a fixed point and a geometry field of a MySql table using this distance function?
I am not so into database and GIS and I have the following problem. I have defined this function that return the distance between 2 points in the space represented by 2 point fields: [CODE] It works pretty fine, I tryied passing to it 2 point defined by: [CODE] The problem is that I want to use this fucntion into a que...
That error is just complaining because there is no [CODE] function, it's just [CODE] (preferred) or [CODE] (older crap)
2
2
479
2016-11-08T13:42:51.187
database_errors
dba.stackexchange.com
64,608
k-fold cross validation with RNNs
is it a good idea to use k-fold cross-validation in the recurrent neural network (RNN) to alleviate overfitting? A potential solution could be [CODE] but it might kill RNN performance as discussed here . This solution can affect the ability of RNNs to learn and retain information for longer time. My dataset is strictly...
TL;DR Use Stacked Cross-Validation instead of traditional K-Fold Cross-Validation. Stacked Cross-Validation In Sckit-learn, this is called [CODE] ( docs ). The ideas that instead of randomly shuffling all your data points and losing their order, like you suggested, you split them in order (or in batches). Belows is a p...
3
3
4,216
2019-12-11T05:20:27.027
data_quality
datascience.stackexchange.com
4,146
Simplest way to constrain an SSIS Execute Process Task
We have some complex SSIS packages, currently in SSIS 2005, that use Execute Process Task in order to call out to do some business logic. Some of these called programs are not as stable as one could wish for. What is the simplest way, therefore, to constrain the execution in time, or other metric? For example, nine tim...
Use TimeOut Specify the number of seconds that the process can run. A value of 0 indicates that no time-out value is used, and the process runs until it is completed or until an error occurs. TerminateProcessAfterTimeOut Indicate whether the process is forced to end after the time-out period specified by the TimeOut op...
3
5
2,444
2011-07-27T13:17:10.287
warehouse_errors
dba.stackexchange.com
1,137,104
Session Continually Times out when Accessing SuperMicro IPMI via Cloudflare Tunnel
I have a SuperMicro X12dpi-N6 motherboard system that is currently running Ubuntu 22.04 Server. In order to support remote maintenance, I configured a cloudflare tunnel that would allow me to access the [CODE] site remotely (we do not use the default credentials). [CODE] is running on a separate machine and has not giv...
Not sure if it applies for your case as well, but for me it helped to unset the [CODE] HTTP header on the reverse proxy. Any frontend authentication must not be passed to the SuperMicro IPMI, otherwise it seems to confuse the IPMI firmware. Note that I don't know what Cloudflare does or does not do, nor how to configur...
1
0
723
2023-07-13T22:30:10.847
infrastructure
serverfault.com
8,339
dragAndDropBy() function Encountering Exception
I am a beginner in Selenium and m trying to automate the drag and drop functionality. But everytime I am trying to execute the dragAndDrop() functionality, Eclipse is Giving off Exception. PF the code and the Exceptions below. Code: [CODE] Exception: [CODE] I tried the Above code using different types of locators like ...
Coincidentally I was working on the same url, trying my hands at handling the Jquery pop-up and kept getting the same error you are. I was just messing around with the source code of the page and accidentally found the solution. In our haste to handle the pop-ups we missed a simple thing. The website uses an iframe. Ju...
0
2
247
2014-04-21T11:40:37.077
data_quality
sqa.stackexchange.com
411,101
How to handle manual corrections to data in ETL pipeline
We receive product data from vendors on a regular basis to be incorporated into our catalog. The data looks like this: [CODE] There will often be typos, so before writing to the database, we want to make the correction from "SUMER" to "Summer". The problem with simply making the change on our end in the database is tha...
The solution to this is quite simple: once you identified the typos manually, automate the correction in some program or script and make it part of the "Transform" step in your ETL pipeline. Think of what you would do manually: lets say you have learned the collection field can contain names of seasons like Summer, Win...
1
3
272
2020-06-05T21:11:42.533
pipeline_ops
softwareengineering.stackexchange.com
337,612
Application service layer calling database functions. Bad architecture?
Scenario: Stack: Java, Spring, Hibernate. Model: Client-Server Application. Pattern: Model-View-Controller (MVC). The Service Layer classes has three behaviors: Some services have the business rule within the methods and delegate the persistence to the application. Like: EntityManager.save(entity); Some services simply...
Is there any problem in having application services call - directly - database functions? Is not this considered bad practice? I think there is. You are placing a knowledge about the database internals to the application service. Changing database in any way (changing storage engine or even renaming a field or creating...
11
7
3,805
2016-12-06T13:05:23.967
api_errors
softwareengineering.stackexchange.com
137,779
DSE Cassandra decimal type
I generated solrschema with [CODE] on a table name [CODE] (its key is composed by [CODE] , [CODE] ; two decimal field). These fields are defined as [CODE] but they are numeric valued (I have to execute range selection). I tried to change schema defining these fields as: [CODE] but I receive this error: [cassandra@bigda...
Since you're using Datastax Enterprise search nodes, solr is integrated with cassandra. What has happened here is that when you changed your solr schema, you did not change the associated cassandra schema. The error message is telling you that there is a mismatch between your new solr schema and the cassandra schema fo...
2
1
214
2016-05-06T14:41:32.123
data_quality
dba.stackexchange.com
1,041,603
How do I debug error 'GnuTLS: Handshake Failed (-87) 'No supported cipher suites have been found.' after Ubuntu 20.04 upgrade?
After upgrading a (working) Ubuntu 18.04 webserver to 20.04, I get the following error in the log when making a simple curl request: [CODE] curl output on the client: [CODE] GnuTLS configuration is as follows: [CODE] Both client and server are up-to-date Ubuntu 20.04 hosts. I've increased the [CODE] to "debug" which sh...
I had the same error "No supported cipher suites have been found". The solution was much easy than I expect (I tried to use different TLS clients, checked that my server and clients really have common cipher suites). But when I simply run gnutls-serv with cert file and key file parameters and choose a path for them all...
1
1
4,594
2020-11-06T23:18:35.820
infrastructure
serverfault.com
417,357
Nginx appends the path given in the URI
I'm trying to configure phpMyAdmin so I've set the flowing location in Nginx however it apends the "pma" to the root directory: [CODE] Config: [CODE] [CODE]
I'm trying to configure phpMyAdmin so I've set the flowing location in Nginx however it apends the "pma" to the root directory Because it is... the way [CODE] directive works. If you want to use [CODE] directive inside the [CODE] block, you must specify an URI same as the directory name and strip it off from the [CODE]...
9
9
14,882
2012-08-14T13:09:06.347
infrastructure
serverfault.com
968,712
Tomcat behind nginx proxy provides new jsessionids for each request
I have a ReactJS based web app being served by nginx on /. This web app contacts a web service running on Tomcat which is running on port 8443 on the same machine. I have set up a proxy_pass on nginx to pass any request received on /APIServer to the Tomcat server. The proxy pass sends the requests on /APIServer success...
Ok, I am a klutz. The reason this wasn't working was because I wasn't using SSL on nginx while Tomcat was using SSL. I set up SSL in nginx and now it works as expected.
0
0
940
2019-05-24T13:55:03.310
infrastructure
serverfault.com
718,983
Can a wildcard ssl certificate be used on a desktop development machine with a self-reported domain name?
We have a wildcard certificate for *.mycompany.com for our server cluster. I'd like to set up a development environment on my desktop that replicates our server, https and all so I can test some APIs. If my desktop self-reports its host/domain name, will there be a problem using our certifcate on this machine, let's sa...
Technically nothing is wrong with that. But I suggest not to use that production certificate as-is --- I guess your certificate authority signs for your company this certificate for use on production servers only. You may create your own root CA, with common name say "adapt-dev-testing", and trust this CA only on your ...
0
3
109
2015-09-04T00:21:46.347
api_errors
serverfault.com
705,794
How to find unnecessary loaded modules in Apache?
I'm trying to find out which Apache modules I really need to run Magento. Is there a easy way to find out which modules I need, of all these loaded modules? The server is using the following modules (as far as I know): [CODE] Right now we have all these loaded: [CODE]
I'd suggest using mod_info to see the complete Apache configuration on one page. Then scroll down the server-info page and you'll start seeing directives grouped by module name. If a module doesn't have anything in its "Current Configuration" section, I'm pretty sure that means you aren't using it. Take note however th...
1
1
519
2015-07-14T10:22:13.987
infrastructure
serverfault.com
258,359
debian boot hide all messages
I am trying to configure a debian Lenny server to hide all technical messages on screen during boot, up until the invite to login (in CLI, no X server). As a bonus, it would be great if I can add some ascii art. First I configured my grub with [CODE] , and I uncommented the line [CODE] in [CODE] . That was better, but ...
Consider installing plymouth, it is a graphical boot menu, hiding all details, requires kms though
2
1
5,461
2011-04-11T15:54:14.903
infrastructure
serverfault.com
323,034
Extraordinarily inconsistent behavior from Sql Server regarding cached table definitions
Pre-warning: This question may not make sense at first blush, hopefully though anyone can play along by trying this out on their local Sql Server instance. With all that in mind, consider two scripts: [CODE] : [CODE] And the oddness that is [CODE] (a script where I'm basically rebuilding the table and renaming column [...
The reason that the following succeeds (if you comment out Insert 2)... [CODE] Is because [CODE] does not exist when the batch is compiled so the statement is subject to deferred compile. By the time the statement is recompiled (just before execution) the column exists in [CODE] so there is no problem. For statements l...
3
4
256
2023-02-03T23:59:32.303
bi_errors
dba.stackexchange.com
934,990
How to save scheduled XenServer VM backups to external drive
Server: XenServer 7.1 Management: XenCenter Goal: Have a Scheduled Snapshot saved to an external drive connected to the server via USB Issue: The server recognizes the external drive as a removable storage repository but I'm unable to find where to set it as a default location for snapshots.
So here is the code I've created. This runs every day at 4am via the cron of the SUDO [CODE] Enjoy! :)
1
1
1,180
2018-10-11T09:31:21.390
database_errors
serverfault.com
148,302
Enabled Network Discovery on Server, and now VNC and Squeezebox clients don't work
I've recently setup a Windows Server 2008. It's running an email server , Squeezebox server, MS SQL Server, etc. I'm doing remote maintenance with UltraVNC. I had everything working fine. Then the server needed to access a network share on another machine, and I was prompted to turn on network discovery, which I did. I...
I've determined some more details which changes the focus of this question, so I've posted a new one .
0
0
732
2010-06-04T18:18:24.677
database_errors
serverfault.com
984,840
regex rewrite in nginx to match year in the URL
I am trying to write an nginx rewrite directive that redirects a URL like [CODE] to [CODE] (removing the [CODE] in the end). I cannot just do a match for [CODE] because I do not want to redirect [CODE] . I've created this regex that matches all posts with /feed/ in the end, which appears to work: https://www.regexteste...
Not sure if Nginx supports [CODE] , but you only need to use [CODE] (without a backslash). You do not need to specify [CODE] in the replacement URI if the value remains unchanged. See this document for details. In the example in your question, two values are captured ( [CODE] and [CODE] ), but only one is used in the r...
1
1
856
2019-09-19T11:35:10.027
infrastructure
serverfault.com
85,979
Recommender System for mostly unique user and items
I am trying to develop a recommender system for a job matching problem. My data consists of past matched candidate profiles and job profiles as well as if there was a success such that both, candidate and employer, accepted the offer. Now, what I want is to build a recommendation system for future candidate and jobs wh...
There are a lot of different ways you could approach this problem. Sort of depends on what kind of results you're hoping to get for your particular situation. I'm going to break up my answer into sections, as this will be a longer reply because I want to provide as much context as possible to the problems you will face...
1
0
107
2020-11-26T11:48:51.437
data_quality
datascience.stackexchange.com
850,650
IIS 502 - Web server received an invalid response while acting as a gateway or proxy server
Good day all, i am a newbie in windows server environment forgive me for any technical jargon. I created a php web application in an enterprise environment i.e following the 3 tier architecture(db ,application and web server) . The issue i have is that whenever i upload a large file(100mb) in the web server i get this ...
After thorough research, i had to increase the proxy server timeout on the web server from 30 secs to 120 secs
0
1
7,071
2017-05-17T09:50:15.343
infrastructure
serverfault.com
113,902
Val loss initially decreases, then increases
I've created an LSTM model to predict 1 output value from 8 features. My loss constantly decreases and my val loss also decreases from the start, however it begins to increase after so many epochs. Here's a picture of what's going on. Also here is my code: [CODE] I do get much better results when I use [CODE] and shuff...
The point where the validation loss starts to grow is where the training starts to overfit the model, i.e. it is memorizing your training data and getting worse at generalizing to new data. There are multiple things that can be done to combat overfitting, among them: early stopping , i.e. checking when the validation l...
0
1
76
2022-08-28T04:35:34.397
data_quality
datascience.stackexchange.com
325,729
Centos/Windows apache network lag
I'm running a local centOS machine; GLAMP. Recently I've started running into an issue with LAG. Details: Everything is SSL Local Windows Server 2008 is DNS [for clients to reach centOS box] every 2-3 requests >5s wait on request to response [on dynamic content as well as with static text] does not seem to occur with u...
It is Chrome behaving badly... As it turns out, it wasn't Chrome's fault (duh). There is another machine that acts as sql server to which the apache box speaks. They are connected only to each other and on a separate subnet from everything else. Sometimes, for some reason I couldn't find, the sql box would be trying to...
0
0
353
2011-10-28T14:40:48.087
infrastructure
serverfault.com
310,972
Practical way of finding last update/insert/delete of any table in a database?
OS: W10. This question is specifically about what's possible in MariaDB, specially version "Ver 10.16 Distrib 10.2.11-MariaDB" . Edit In light of the answer by Rick James I have now upgraded to "Ver 15.1 Distrib 10.7.3-MariaDB" . I want to implement a way of having a "last modified" timestamp for a database, i.e. which...
I think I may have found an answer for my purposes. As explained, the use case is a recurrent script to check whether a dump (e.g. using mysqldump) of one or more database(s) is needed, for backup purposes. I was considering the following: make a new table called "dbase_last_modified" with one column, "last_modified" o...
0
0
2,690
2022-04-14T14:47:19.737
database_errors
dba.stackexchange.com
255,562
Simple unicode application?
I want to create simple language learning applications to help friends in learning languages. A simple Java console application would do the trick, but the Windows console does not seem to handle Unicode (and I need my software to work with all kinds of special letters at once). Googling it, I get the idea there might ...
Dynamic Language Python is probably a better choice than Java for such an application, given its relative simplicity and less need for boilerplate code and operational middleware. I don't know about the IDLE console for Python 2, but IDLE for Python 3.4 handles Unicode characters well (I just tested it), as does Python...
0
1
332
2014-09-06T13:37:52.360
api_errors
softwareengineering.stackexchange.com
159,519
Oracle SQL Developer Textcursor disappearing
In the Oracle SQL Developer on my manjaro Linux, the blinking cursor in the editor area won't show anymore. I deleted everything of local config files (~/.sqldeveloper/) and reloads the program. At first, the cursor is visible again but after i pressed the "excute script (F5)"-Button, it will get lost and there seems n...
Adding [CODE] to [CODE] fixed it for me.
9
5
9,540
2016-12-29T21:24:40.123
database_errors
dba.stackexchange.com
294,606
SQL Server to PostgreSQL equivalent
I need some help in converting or equivalent of below in postgreSQL.. From MSSQL code to postgreSQL:- [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] Please help..
I have no idea what the [CODE] parts are supposed to do, but I am trying to guess(!) what the intention [CODE] (that can't be valid SQL Server code) is trying to achieve. As documented in the manual [CODE] needs two arguments: the value to be formatted (e.g. a [CODE] or [CODE] value) and the "format mask". To extract t...
-4
0
167
2021-06-21T16:10:52.693
database_errors
dba.stackexchange.com
487,321
Terminate EC2 instance and not root EBS (Attached root EBS to new instance)
I have created an instance running ubuntu os. Now I need to change the OS from ubuntu to cent OS. For that I need set the " deleteOn Termination " flag as false to attach it to the new instance. I used the following command but it tells -> " Only one instance ID may be specified. (-h for usage) " ec2-modify-instance-at...
I am not sure how you can do this, but I can help you with the problem. For this, first take the snapshot of the volume you want, and then simply create a new Volume out of it, and then attach it to the new instance. Should work for your scenario.
0
0
98
2013-03-13T07:21:52.660
infrastructure
serverfault.com
314,272
How to work with "fn_dblog" in SQL-server 2019
In my previous question , I asked about how to know about what happened in my SQL-Server 2019 database. After a while, I found out that there is some kind of table, called [CODE] , which gives some interesting information, but I still have some questions (literally copied from that previous question): [CODE] ... where ...
The most important thing is that [CODE] is undocumented . There is no official support from Microsoft; it can be changed or removed at any point, and you shouldn't rely on it. Since it's undocumented, you can't get an official answer to the questions about the columns. Secondly, it's not the right tool for the job. You...
1
4
3,926
2022-07-11T13:55:59.480
database_errors
dba.stackexchange.com
270,841
How fast should I expect postgresql to be?
I'm assessing postgresql performance for a time-series application, particularly for inserts. I'm running the speed test script from [CODE] at https://docs.sqlalchemy.org/en/13/faq/performance.html#i-m-inserting-400-000-rows-with-the-orm-and-it-s-really-slow . You can ignore the ORM stuff, it's the penultimate "core" l...
The trick to getting good performance out of PostgreSQL for inserts using SQLAlchemy is, as @LaurenzAlb hinted at, better management of transactions. SQLAlchemy can, but doesn't by default, use psycopg2's [CODE] helpers for PostgreSQL. Turning these on transforms performance for multiple inserts into the same table. He...
2
5
8,894
2020-07-13T11:50:42.487
pipeline_ops
dba.stackexchange.com
504,925
How do I set a PHP-FPM variable inside a nginx location block?
For some reason our website has one [CODE] file that needs to be handed to the PHP-FPM. However, access will be denied because by default PHP-FPM only allows an extension of [CODE] . This can be solved by adding the following to [CODE] [CODE] But I only want to do this for a particular server location in the Nginx conf...
I don't think it's possible to do exactly what you're asking for. The PHP-FPM config file doesn't support dynamic variables in it - everything is configured once to a set value and then the PHP-FPM pool is created with those values set. However there are a couple of ways of solving your problem. Create a new PHP-FPM po...
0
2
2,004
2013-05-03T21:55:13.147
infrastructure
serverfault.com
984,941
cisco license install tftp no response from tftp server
I am trying to install a license through tftp in the CLI of a Cisco 2504 controller. My computer is a Mac Pro running Mojave version 10.14.6. I have enable the tftp server on my mac. When I do [CODE] I see the following: [CODE] My computer has the ip address 10.0.11.156 on the network. I have installed the license in t...
No reply from the TFTP server means communication from the TFTP server back is not working. Make sure the correct port is open. If you say you can make transfers from another PC this may be fine, but check anyway. Make sure you do not have multiple WAN/network connections on the computer you use because routing may mes...
0
1
1,709
2019-09-19T21:46:52.393
infrastructure
serverfault.com
826,903
Nginx With Dokku and Flask
The Big Picture I have a Flask site which-- previously-- was running successfully on Ubuntu on Linode. I bootstrapped it with Yeoman, and as a result, I did not need to figure out the difference between nginx, wsgi/Werkzeug, and gunicorn. However, that is biting me in the butt now that I'm trying to migrate it to my fi...
What is your nginx configuration and nginx logs? Is this nginx instance running natively on the host and managed with systemd? What does [CODE] on the server say? Do you see port 5000 from the container forwarded to a port on the host computer? (check [CODE] for this information)
0
0
942
2017-01-18T00:22:40.553
api_errors
serverfault.com
830,576
Setting up HTTPS with Amazon AWS for dummies
I run an Amazon AWS setup for a web page I host. It uses a single EC2 instance, and works fine over HTTP. But recently I have a need to also offer up HTTPS. And this is where I'm totally confused. The EC2 instance is running Apache, PHP, and MySQL on a Linux I somewhat get (in the abstract) how HTTPS works in the non-A...
Firstly, don't feel as if you have to go down the Amazon Certificate Manager (ACM)/Load Balancer route. It is a good solution, but it is designed for situations where you have a few servers behind load balancers, rather than a single stand alone instance. Another potentially cheaper option could be to use Cloudfront in...
2
3
1,574
2017-02-04T14:47:11.907
database_errors
serverfault.com
848,964
Google cloud storage public object cached on the server side
I have a Google bucket with read permission for [CODE] , but it's not configured as a website (and no archiving). I experience an object caching even when I send requests with [CODE] control: [CODE] I have run the [CODE] after the object removal several times. It has sometimes returned the cached [CODE] file, sometimes...
You are correct. Google Cloud Storage currently ignores anonymous client requests to skip the cache. You can get around this by explicitly setting a different cache-control policy on the object, by requesting a specific generation of an object, or by making authorized requests.
2
3
1,848
2017-05-09T06:51:29.713
infrastructure
serverfault.com
458,896
smartctl not actually running self tests?
I want to run the smartctl self tests to check the health of the drives in my RAID array (PERC 5/i). The array is on sda and comprises six drives. I can check the status using [CODE] And I see that SMART is available and enabled on all the drives. I have tried to run self tests using [CODE] and [CODE] I have also tried...
This is a Dell Perc 5/i hardware array controller. Let it do its thing . If you don't have red or amber lights on the disks, why are you concerned with running your own S.M.A.R.T. tests? The array controller uses S.M.A.R.T. in addition to other features/test to determine drive health. Running your own analysis is unnec...
4
1
2,848
2012-12-18T00:51:13.280
infrastructure
serverfault.com
801,396
forward all mails from one machine to postfix mailserver
I am running some servers which generate some mails because of cron jobs or other problems. At the moment, one of them acts as my mailserver (postfix/dovecot) and accepts mails for "abc.com" and "def.com". I am now trying to redirect all mails from other servers to one mail account on my procution mailserver: ALL (!) m...
You have to add [CODE] router to the [CODE] 's config: [CODE] Sure you have to configure [CODE] to process mail for [CODE] . Messages will be delivered with their original senders - root@, www@ etc so you can filter them by sender's address/domain. If you want to catch all the mail in the one mailbox, you can use anoth...
0
0
64
2016-09-06T18:04:44.327
infrastructure
serverfault.com
768,884
Apache ignoring Server Alias and going to first virtual host
I'm having problems getting my ServerAlias domains to work correctly. apache2ctl -S gives: [CODE] I've followed the guidance here and added the ServerName into the virtual host declaration e.g. [CODE] and I have restarted Apache. I tried to add NameVirtualHost *:80 but was told it was not necessary and was going to be ...
Ok, so I sussed this out in the end. First I needed to heed the advice from VirtualHost ignores ServerName and ServerAlias and put the domain as listed in my main apache.conf file as global ServerName first in the virtual hosts file. Main host goes away If you are adding virtual hosts to an existing web server, you mus...
1
0
2,360
2016-04-07T18:37:57.927
infrastructure
serverfault.com
106,896
Hostname error on my Slicehost Ubuntu server
Like many folks who upgraded to Rails 2.2, I got an exception raised when sending an email. This version of Rails or later does require using tls for sending emails. The message in the production log file says: [CODE] I did a whole lot of research and work on this and did everything I could. I changed my slice's hostna...
ohlalaweb.com is a domain name, not a host name, at least it shouldn't be. A hostname would be something like 'mail' in 'mail.ohlalaweb.com'. The certificate validation is failing because the servers name does not match what is in the CommonName field of the certificate. The easiest solution is to change your server's ...
2
2
410
2010-01-27T17:23:22.930
infrastructure
serverfault.com
1,052,329
"fatal: unknown service: smtp/tcp" from postfix in docker using `start-fg`
I'm trying to get postfix working in a docker container on a raspberry pi. The following works [CODE] But if I instead use the following, which is meant to run postfix in the foreground (according to the documentation , and linked from serverfault ) [CODE] then it starts up, but any attempt to send mail results in [COD...
Sorry I'm pretty new to this but i'll give a shot: when you use [CODE] that will start the postfix process in chroot environment. Postfix needs access to some files in [CODE] (like one you mentioned is [CODE] ). Based on postfix documentation: Note that a chrooted daemon resolves all filenames relative to the Postfix q...
0
1
526
2021-02-03T23:52:09.873
pipeline_ops
serverfault.com
229,935
Problem with Windows 2008 GPO policies: cannot apply to single user
I have been trying to setup a GPO policy for a single user ( administrator ) in Windows Server 2008. I have aprox. 50 users using Terminal Service in this server and need to make a different configuration of timeout for administrator user. So, I: 1) Created two GPOs: TS-NoTimeout and TS-Timeout. 2) Assigned them. 3) Ch...
When you say "timeout" I suspect you're talking about one or more of the following settings: Set time limit for disconnected sessions Set time limit for active but idle Terminal Services sessions Set time limit for active Terminal Services sessions These settings can be specified on a per-user or per-computer basis, de...
1
0
606
2011-02-02T02:06:26.817
infrastructure
serverfault.com
158,089
Unrolling a self-referencing table referred to by another table...?
What's a proper way to "unroll" a self-referencing table with a variable depth and concatenate the levels with an associated value from another table? table 1: FILENAME [CODE] table 2: FOLDERS [CODE] Desired output: [CODE] Have tried (and failed) using while loops, ctes, and cursors. Seems relatively straight forward, ...
Use a recursive CTE to expand the folder names to full paths: [CODE] For your example, the CTE will produce this output: folder_id folder_name parent_folder_id folder_path --------- ----------- ---------------- ------------------ 1 temp 0 temp 2 subdir1 1 temp\subdir1 4 subdir2 1 temp\subdir2 3 subsubdir 2 subdir1\subs...
4
3
180
2016-12-14T00:00:26.840
database_errors
dba.stackexchange.com
9,331
Does a Sneakernet make sense as a backup strategy?
Like many of you I am "the guy who takes care of backup" in the company. Luckily we are a software shop and most of the mission critical data are kept in a bunch of mercurial repositories. This makes it extremely easy for backup - all you need a script to update a remote copies and clone new repos. There are things tha...
Ultimately, after all the various electronic methods, most major corporations have their backup tapes/disks taken by hand off-site for long-term storage. I myself rotate a bunch of firewire-connected hard disks that I backup my various machines to into and out of a safety deposit box every few weeks. So yes, 'sneakerne...
3
6
904
2009-05-18T09:38:53.883
database_errors
serverfault.com
404,390
Is this a good design for wrapping asynchronous API calls into a RESTful interface?
I'm working with an API that has many asynchronous calls and handlers. I'd like to extend these with a RESTful interface and endpoints in spring. I'm imagining the usual Controller and Service layers, where the Service probably wraps these async handlers. I've read several articles about CompletableFuture, @Async, and ...
I'll admit some ignorance regarding Java's implementation of [CODE] , but in general you may introduce the threat of deadlock due to hidden synchronization calls. That particular problem is definitely evident in C# [CODE] and [CODE] task synchronization. Hidden within your [CODE] method is a synchronization call that i...
4
2
669
2020-01-28T15:48:25.377
api_errors
softwareengineering.stackexchange.com
566
Named Entity Recognition: NLTK using Regular Expression
Many times Named Entity Recognition (NER) doesn't tag consecutive NNPs as one NE. I think editing the NER to use RegexpTagger also can improve the NER. For example, consider the following input: "Barack Obama is a great person." And the output: [CODE] where as for the input: 'Former Vice President Dick Cheney told cons...
You have a great idea going, and it might work for your specific project. However there are a few considerations you should take into account: In your first sentence, Obama in incorrectly classified as an organization, instead of a person. This is because the training model used my NLTK probably does not have enough da...
6
1
1,991
2014-06-24T17:06:10.310
data_quality
datascience.stackexchange.com
991,792
Fail2Ban Regex Does Not Match
I am unable to get my fail2ban fail regex to get to match to the log entries. The following is a sample log entry: [CODE] This is my configuration: [CODE] Fail2ban does not return a match while running or when testing with fail2ban-regex as follows. [CODE]
It seems that your log file does not begin with timestamps. Based on the Manual , In order for a log line to match your failregex, it actually has to match in two parts: the beginning of the line has to match a timestamp pattern or regex , and the remainder of the line has to match your failregex. If the failregex is a...
1
0
1,255
2019-11-14T09:30:56.070
infrastructure
serverfault.com
62,170
ORA-00942: table or view does not exist
I have application / service which connects to Oracle database (11g) which shows me "ORA-00942: table or view does not exist" in its log file without any indication of particular table/view with which it has problem. And there is no way on app side to increase log details to include this data. I have direct access to t...
If you enable tracing for this specific error, a session trace file will be generated whenever it occurs. This will allow you to view the SQL that causes the error. You will probably need the cooperation of your DBA to do this, as it's likely only they will be able to activate the trace and access the trace dump direct...
1
1
2,198
2014-03-31T15:45:59.007
database_errors
dba.stackexchange.com
247,801
Production and test environment systems on a single physical server
We have a mid range box with quad-core CPU and 8GB of RAM running several production systems on Red Hat Linux for a light traffic website. Those systems include an Oracle DB, LDAP, Documentum Content Repository and an Apache Tomcat server running the main Liferay-based website and a couple of additional Documentum-rela...
You should really consider new hardware for this - Separating Dev and Production physically is the only way to ensure that a problem in one won't interfere with the other. Your best solution if you ABSOLUTELY MUST use the same hardware is to install VMWare (ESXi) or similar on the bare metal and virtualize both test & ...
1
2
1,394
2011-03-15T20:22:04.400
database_errors
serverfault.com
692,896
Find minimal policies in AWS that user needs
I try to use AWS EC2. There is a command [CODE] That answers: A client error (UnauthorizedOperation) occurred when calling the DescribeInstances operation: You are not authorized to perform this operation. But what are exact minimal policies https://console.aws.amazon.com/iam/home?#policies that should be allowed for U...
But what are exact minimal policies https://console.aws.amazon.com/iam/home?#policies that should be allowed for User for this (or any another specific) command? There is not a single "minimal" policy such as you ask with the exception of the "AdministratorAccess" policy which gives you the ability to do all commands. ...
0
1
894
2015-05-19T00:18:10.733
infrastructure
serverfault.com
563,185
Mount NTFS volume on two different servers
We mounted an NTFS volume on two Windows 2008R2 servers. This volume is on a MD Dell storage array, connected to servers with Fiber Chanel. It worked a while, but now we get some errors like "corrupted filesystem" etc. On one server we can browse all folders (but we can't create any new file), and on the other server, ...
Q: Can we (safely) mount a NTFS volume on two servers? A: No you cannot. You need to use a clustered file system if you want to mount the volume on multiple simultaneous clients. If you do not want to use a clustered file system then you can mount the volume on one client (server) and create shared folders on it that o...
1
3
2,081
2013-12-23T16:02:59.700
data_quality
serverfault.com
489,023
How can I determine the process failing windows authentication?
In a nutshell: Is it possible to determine the specific process/exe that locks out an A/D account? We periodically receive account lockouts for a service account in use on a Windows application server. The domain controller reports when the failed login attempts result in the lockout but does not provide any other info...
Nah, you're out of luck. It's a horrible, horrible pain to track at the best of times, and without the ability to increase the logging level or run apps with administrative privileges ( [CODE] and [CODE] come to mind immediately), there's not a lot you can do, aside from trail and error and digging through your scripts...
-1
0
1,845
2013-03-18T20:36:59.633
api_errors
serverfault.com
203,505
Optimize performance
[CODE] Above query takes around 30 mins to execute. I want to reduce this time. [CODE] contains 100 000 records [CODE] contains 4 000 records Both [CODE] and [CODE] are [CODE] columns. temp2.mdx is a formula like [CODE] and this can be upto any length. temp1.mdx contains a part of that formula. I want get all rows of #...
This type of query will never perform well: [CODE] But you can make it perform better if you understand why it won't perform well. SQL Server has three options to physically implement that join: hash join, merge join, and loop join. Both hash join and merge join require at least one equality condition in the join that ...
-3
6
229
2018-04-10T13:56:45.723
warehouse_errors
dba.stackexchange.com
25,924
apache2 logging with script
I have a need to analyze logs generated by Apache2 webserver. I'm considering either piping the log to a script that will just wait on the stdin for input, or analyzing the logs nightly with a batch job. One of my requirements involve writing some of the information to a database (ie, execution time, size, URI, remote ...
I would recommand to don't use a pipe because foreach request you will lost a lot of time in apache to pipe to the script and wait the end of the script to free apache ressource. So, if for a reason, you database become very slow to do INSERT, you could have all apache threads/process to be waiting for your script to f...
1
2
263
2009-06-15T14:54:53.307
infrastructure
serverfault.com
1,125,139
Does nftables flowtable software/hardware offloading conflict with other nftables rules?
According to https://wiki.nftables.org/wiki-nftables/index.php/Flowtables , flowtables reside in the ingress hook. So, does that mean if connection is picked up by the flowtable, it will not be processed by any other rules in prerouting, input, etc.?
As said in the nftables wiki, you will only offload established connections. So yes, no further rule will be applied. Although, since you are offloading established rules, it is only offloaded once the flow has been accepted, natted, marked, and so on.
0
1
410
2023-03-02T15:16:43.673
infrastructure
serverfault.com
436,524
/usr/bin/ld: cannot find -lc
[CODE] What does that mean? Do I need to yum install something?
Try the following [CODE]
2
3
2,102
2012-10-09T17:46:08.240
infrastructure
serverfault.com
28,965
Secure Storage of Test User Passwords?
Is there a best practice for securely storing test users' passwords used in automated test? Is it better to connect to a DB and query for each user's credentials as needed? Then where should I store the DB connection credentials? Still on my same repo? That won't stop an unwanted person from getting the passwords, once...
First of all, you should definitely avoid storing user credentials in the code repository. What we are currently doing for our test automation setup is: reading user credentials and access keys (in our case, for browserstack) from environment variables when running tests on the Jenkins CI, we are using the Credentials ...
3
3
2,318
2017-08-07T14:11:11.367
data_quality
sqa.stackexchange.com
153,908
Create materialized view no refresh from existing view with index
I've already got a working db view : [CODE] Since the user/location data doesn't change often, and it's heavily relied upon from other views and part of the app, I want to try to cache to see if I can get more performance from it. Not being an oracle person, I m reading that materialized views might just do this. How c...
[CODE] is not valid syntax, it is [CODE] . But I guess you want to refresh the mview occassionally, so [CODE] is a better option. This alone is not enough, you also need to set the parameter [CODE] to [CODE] : [CODE] You also mentioned using an index, yes, you can create indexes on materialized views. Your query is rea...
-1
3
3,796
2016-11-01T16:33:17.323
database_errors
dba.stackexchange.com
1,054,747
Sometimes drive mappings don't connect at logon
I have this strange problem at all our clients. Sometimes, when u user logs on, a drive-mapping is missing. So for example, the user needs 2 drive-mappings, but gets only one. We are deploying drive-mappings through GPO. I am aware of these issues: Set Group Policy to always run synchronously (explained here: https://s...
This problem is almost completely solved after we changed the following registry-entry on the client: [CODE] Set to 86400 (default is 600 seconds). More info on https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drive-connection-to-network-share-lost
2
0
353
2021-02-23T15:33:59.120
infrastructure
serverfault.com
108,511
How to migrate Windows print queues
I have a Windows 2003 print server that I need to retire, but I need to migrate the print queues off of it first onto another Win2k3 server. I have found some information on migrating, but it all seems to have to do with duplicating the print queue settings. I want to figure out the most transparent way to deploy the n...
GPO editing can be kind of funky some times. Edit the GPO that you want to use to push out the changes. Navigate to Global Settings > User Configuration > Preferences > Control Panel Settings > Printers. Right click on Printers, select New, then Shared Printer. Change the Action to Delete. In the Share Path box select ...
2
2
3,600
2010-02-01T21:58:25.963
infrastructure
serverfault.com
436,194
I can't really tell the difference between Hexagonal and Layered Architecture
So, in the hexagonal architecture layer , the application layer has incoming ports (use cases) that are called from incoming adapters, implemented by services, that use outcoming ports that are implemented by outgoing adapters. Is it really different than the layered architecture ? Other than calling outcoming adapters...
The key difference is about dependency management: Layered architectures are intended to reduce dependencies by stacking layers: every component in one layer may depend on components of the layer below (in principle, immediately below, although "open layers" can be bypassed). There are many variants, but for example: [...
32
22
14,417
2022-01-23T11:21:43.387
api_errors
softwareengineering.stackexchange.com
235,680
Virtual email addresses with a DOT in postfix
am using POSTFIX on ubuntu , i created some virtual emails but the following fails ! : [CODE] . maybe because it has a DOT in the name ? how can i make a virtual email with a dot ?
There are no issues with having a dot and you don't need to escape it... how are you doing this, by using an aliases file or a virtual alias maps?
1
1
1,747
2011-02-15T13:06:52.290
infrastructure
serverfault.com
694,920
RDS Login for additional RDS-Host not possible
Following Situation: Server 2012 R2 (Name: TS) - RDS Gateway, Broker, Host - In LAN - Self created certificate "rds.example.com" Server 2012 R2 (Name: TS1) - RDS Host - In LAN - Self created certificate "rds.example.com" (Change by Power Shell to use this certificate) Server 2012 R2 (Name: Lic) - RDS License Server - I...
From external I can only Login to the RDS-Host which is installed on the Gateway/Broker Server. The error message I get is: Cannot connect to Remote Desktop Server, please check if Remote Desktop is activated Do you mean you cant connect externally using the RD Gateway? If so, did you expose and forward port 443 to the...
0
0
91
2015-05-28T07:38:19.343
api_errors
serverfault.com
22,706
Anomaly detection in time series
The use case : Everyday, we have metrics that are established daily to check that our systems are doing fine. From time to times, bugs occur in the workflow building these metrics, and I have to build an algorithm that will alert us when it seems there is a problem, so that we can check where it is coming from. What I'...
I suggest you try to remove the trend (growing) from your data then try to model it. Then difference with model could be your outlier and alarm see this: https://anomaly.io/seasonal-trend-decomposition-in-r/
6
1
983
2017-08-30T10:03:49.240
data_quality
datascience.stackexchange.com
747,496
how to configure sendmail with multiple ssl certificates for multiple domains
I need to configure a server to host multiple email domains on a single IP, and thus install multiple ssl certificates. Miraculously, I have been able to get apache and dovecot to work with multiple certificates/domains on a single IP, but I can't find any recent info on sendmail. So I can receive emails on the second ...
Not a real answer but too long for a comment... 1 IP-address, multiple certificates --> that sounds like you want support for server name indication and I can't find any conclusive evidence that sendmail supports that (or not for that matter). If indeed you can only configure a single certificate and you can't invest i...
4
5
1,214
2016-01-07T21:36:08.907
api_errors
serverfault.com
90,683
What method/algorithm for constrained multi-target regression
I am working with three dimensional measurement data and want to model them using a multivariate linear regression . I have already implemented a simple gradient descent algorithm to solve the classic regression problem $y = \beta_0 + \beta_1x_1 + \beta_2x_2 + \beta_3x_3.$ However my ultimate goal is to fit three targe...
After some further research and inspiration I have figured out the following method: I am using the vector notation of my problem with $\underline{y}=\begin{pmatrix}y_1\\y_2\\y_3\end{pmatrix},~\underline{x}=\begin{pmatrix}1\\x_1\\x_2\\x_3\end{pmatrix},~\underline{\underline{B}}=\begin{pmatrix}\beta_{10}&\beta_{11}&\bet...
2
1
167
2021-03-15T14:07:44.167
data_quality
datascience.stackexchange.com
164,463
Effect on execution plans when a table variable has a primary key
Having read a great deal about the differences between temporary tables and table variables in SQL Server, I am experimenting with switching from mostly using temporary tables to mostly using table variables. (They seem to be a better fit for the types of queries I usually work with.) In these queries, the tables hold ...
Since declaring a PRIMARY KEY on a table variable implicitly creates an index for the key columns (and in fact is the only way to index a table variable prior to SQL Server 2014), its presence will definitely have an effect on the resulting query plans. The optimizer will make use of that primary key index where approp...
4
6
1,774
2017-02-15T20:39:42.310
data_quality
dba.stackexchange.com
335,776
idle_in_transaction_session_timeout Parameter changing
I should change the parameter "idle_in_transaction_session_timeout" in my RDS postgresql. As I know with set command("SET idle_in_transaction_session_timeout=5s") I will change it only in session level. But I need to change it permanently on all databases. I can not find command to do so.
After connecting to the server with the superuser user, you can proceed with the configuration as follows. This parameter does not require a restart. [CODE] To pass this parameter specific to only one user, you can use it as follows. [CODE]
0
0
47
2024-02-08T13:38:08.153
database_errors
dba.stackexchange.com
882,238
Mikrotik - Changing/removing a master-port disconnects from a router
I have a Mikrotik router with 5 ports. By default ether2-master is a master port for the ports 3-5. If I try to change it - I'm disconnected from the router, so I have to reset it to get the connection back. So far I've tried: to remove everywhere a master port setting; to set ether4 as a master port; ..no luck. In the...
There is a safe mode in Winbox although I never use it and I'm not sure exactly how it functions. Personally I always set up a management port first, remove every firewall rule and make sure I can get in on my management port. (In your case you could probably just put a temporary IP on port 1). Once you're in on a port...
1
1
13,745
2017-11-07T10:47:06.097
infrastructure
serverfault.com
739,829
Unbound stub-host option not resolving using /etc/hosts
I have unbound running as an validating, caching, recursive dns server and nsd3 running as an authoritative nameserver. It seems like every aspect of both work correctly until I attempt to resolve an address that should be forwarded to nsd3. I've narrowed the problem down to the stub-zone that forwards from unbound to ...
Unbound does not use /etc/hosts . Unbound can only resolve the stub-name [CODE] by forwarding upstream. You will need to setup [CODE] and [CODE] to reflect the contents of your /hosts , or use an IP for the stub. To ease migration, the source tarball has a perl script, [CODE] that generates an include file. Local-zone ...
4
0
4,198
2015-11-30T19:20:36.097
pipeline_ops
serverfault.com
242,056
IIS serving static content gives 503 at random
We're having a few issues with our image server. It's a Win 2008 running IIS 7.5 and it only serves static content: images. It has run without issues for quite a while, until recently when we disabled Output Caching, as we noticed having it enabled meant it sent no-cache host-headers to the clients (forcing them to fet...
We finally solved the issue. It was apparently caused by IIS checking for web.config changes in subdirectories. By setting allowSubDirConfig="false" in our applicationhost.config file, the problem stopped. This is somewhat weird though, as we haven't got any more than 1 web.config file, and it's in the root of the proj...
3
0
2,005
2011-03-02T05:55:22.100
infrastructure
serverfault.com
614,781
php script can't access /tmp folder
I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned by http (user for nginx and php) and readable by everyone. [CODE] is working but anything inside a php script does not (l...
I found off why, well, someone gave me the global hint. It's neither the fault of php or tmpfs. The culprit was systemd and his security system [CODE] . For those who get in the same issue that I did, the service php (and probably some others) have the [CODE] option to [CODE] in the systemd script ( [CODE] ). In that c...
23
44
32,264
2014-07-23T09:49:50.353
infrastructure
serverfault.com
330,496
rsync + Permission denied
I want to copy the [CODE] using rsync to my machine (red hat 5.3) from other linux server also (red hat 5.3) Is it possible to copy the file without to get "Permission denied." ? Remark - the login and password on 130.146.120.11 machine is: login=root password=moon [CODE]
It looks like you need to supply a password to access your remote system. You can do this by using the [CODE] . [CODE] Make sure that the permissions on [CODE] ( [CODE] ) otherwise you may leave ypur root password on view.
1
1
3,816
2011-11-13T08:35:09.253
infrastructure
serverfault.com
996
Developing Unit Tests While Refactoring Legacy Code?
I have a big code library that I need to refactor in order for it to fit more nicely together (one big problem is there aren't clear enough boundaries between each component). Since there will be some regression testing necessary to validate any refactoring, would it make sense to: Create a unit test for a particular p...
There are 2 books I recommend reading as they will help with moving legacy code to TDD: Working Effectively with Legacy Code and Brownfield Application Development in .Net (newer book, but .NET based). Since I'm writing unit tests AFTER the code, should I first refactor, do my own regression tests, then continue using ...
32
31
1,797
2011-06-06T22:06:37.797
data_quality
sqa.stackexchange.com
308,196
"Who" should handle side tasks for events?
I'm currently on the process of creating a website/webapp. My application is based on Node JS with the express framework. My core backend concept consists of routers: handle http request. Like [CODE] controllers: business logic behind routers model: interface between database and controller I'm not sure if this follows...
This is typically the responsability of an event bus or command bus . You would raise events from somewhere within your application and hand these off to a command bus. The bus then resolves the appropriate event handlers or command handlers for the event that was raised and hands the event off for processing. You can ...
1
1
147
2016-01-24T07:43:42.940
api_errors
softwareengineering.stackexchange.com
539,566
Network Load Balancing cluster for DFSR hub servers?
I have one DFSR hub server with about 80 connections to 80 remote offices. I want to add another hub server for load balancing and redundancy, but I don't want to split the connections between the two hub servers. I don't like the idea of having to maintain\administer two different blocks of connections across two serv...
This cannot be done. Since the DFS-R topology is stored in Active Directory, there is no way to configure replication group members to use the NLB cluster name/address or any other type of load balancer for that matter. If you need a custom replication topology like you describe with a dual-hub for performance reasons,...
2
1
929
2013-09-17T14:09:12.653
database_errors
serverfault.com
1,116,199
"Unknown token received from SQL Server" errors since recent Windows Updates
I posted a question to Stack Overflow about this error when it started occurring for our older Delphi 7 applications on Windows 10 . It is now happening on Windows Server 2012 R2 systems that had these recent updates: KB5020690 KB5019958 KB5020023 KB5020010 KB5020680 We uninstalled KB5019958 , thinking it was the most ...
Sorry not answer, but not enough rep to comment. Same issue here. Affected a 2012R2 RDS deployment to a legacy app that uses ODBC's SQL Driver. All this is related to https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-41048 Microsoft ODBC Driver Remote Code Execution Vulnerability. Rollback helped.
0
2
2,463
2022-11-21T00:03:29.683
database_errors
serverfault.com
40,107
Can I use xgboost on a dataset with 1000 rows for classification problem?
I have used all types of classification algorithms on my dataset yet I couldn't improve my score no matter how I try. So I've read about Xgboost classifier. So I was wondering is it practical to use xgboost on a dataset with around 1000 rows. Please let me know.
Yes, XGBoost is famous for having been demonstrated to attain very good results using small datasets often with less than 1000 instances. Of course when choosing a machine learning model to fit your data, the number of instances is important and is related to the number of model parameters you will need to fit. The gre...
3
3
4,226
2018-10-23T19:15:35.483
data_quality
datascience.stackexchange.com
305,649
Is a unique index required for a sequential (autoincrementing) id?
If a sequential AUTO_INCREMENT column is not also the primary key of a MySQL table, does it have to have its own UNIQUE index to ensure long-term data integrity? I'm working on reindexing a particular MySQL table to speed up certain very common WHERE clauses. The table is from the WordPress CMS. Its out-of-the-distro d...
You want to change the [CODE] from [CODE] to [CODE] This is allowed in InnoDB engine but it requires that you have an index (not necessarily [CODE] on [CODE] or an index with more columns and [CODE] as the first column. So, to answer the last question: Or can I omit that index to save a little space and UPDATE / INSERT...
2
2
1,327
2022-01-05T12:20:11.063
data_quality
dba.stackexchange.com
222,777
Fully Stable, In-Place Unique Algorithm in O(n)
Is there an algorithm that, given a sorted array, swaps all the first unique elements to the beginning of the array and the duplicates to the end, while remaining stable for both the unique subarray and the duplicate subarray, and that runs in [CODE] swaps (and preferably one pass)? It should return the length of the u...
I'm not sure, but I think you need to drop the "preferably one-pass" from your description. You can do it in three passes by using the following algorithm: Take a pass over the array, counting the number of unique items as [CODE] Allocate a new temporary array with size [CODE] Take a second pass over the array, shiftin...
4
6
1,277
2013-12-31T19:04:05.503
data_quality
softwareengineering.stackexchange.com
312,408
OpenVPN server cannot ping client IPs
I have flashed a router at two separate sites with DD-WRT firmware and setup OpenVPN on both. once connected the client can ping computers on the servers LAN however the server cannot ping IPs on the clients lan. I am executing the ping command in the shell for the routers (so i don't have to remote into local machines...
You need to remove one of your "push" statements. The server needs to push the announcement of its own subnets to the client so the client knows to route all 192.168.4.0 traffice through the VPN tunnel. But you are also telling the client "if you see packets destined for 192.168.2.0, send them over the VPN". This will ...
5
1
7,494
2011-09-16T23:19:10.490
infrastructure
serverfault.com