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 |
|---|---|---|---|---|---|---|---|---|---|---|
35,922 | How to calculate precision and recall in an unsupervised ranking method in order to be compared with a supervised one? | I am working on an ML supervised learning project for Key-phrase extraction. The evaluation dataset (different from training-validation datasets) contains around 200 phrases labeled as key or not key. The problem is that I want to compare the results obtained (in terms of precision, recall and f1) via different classif... | You first need to decide what your "label" is, and this label will apply to both your supervised and unsupervised models. Obviously, in a supervised world, knowing your label make training the model and evaluating it easy, so I won't go into that because it seems like you have a good handle. In the unsupervised world, ... | 1 | 2 | 1,637 | 2018-07-23T15:13:20.753 | data_quality | datascience.stackexchange.com | |
176,172 | CouchDB like replication for MySQL? | Is it possible to setup CouchDB like replication for MySQL? Replication to be initiated from an web application. Replication should be a two way process. i.e. Synchronization If there is a failure in network connection, replication should take over where it left. Schronization should be incremental. The kind of data st... | You can configure MySQL in Master-Master mode in an active-passive configuration. One server will serve as the master while the other one stays in sync as a slave of the master (plain MySQL Replication is asynchronous in nature, btw). The secondary acts as the master of the primary, but since it's not being written to,... | 2 | 1 | 1,322 | 2010-08-30T18:10:19.080 | database_errors | serverfault.com | |
199,469 | Should we centralize databases or have a database with each application? | My company develops different web applications for different clients. For each new client (or important project), we use a new server with a new MySQL database. This way, an application can access its database only and the database is directly linked with the project (as it is in the same server so basically in the sam... | What you have read (even though it's oldish) is still very relevant! Your problem is called multi-tenancy - to do it or not - the consensus appears to be "not", but there is a wide divergence of views on this issue - you can "partially multi-tenant" - i.e. keep virtually unchanging reference tables in common for exampl... | 2 | 4 | 3,523 | 2018-03-06T11:04:09.757 | database_errors | dba.stackexchange.com | |
246,750 | Issue migrating oracle package to postgres using ora2pg | I was migrating an oracle(12c) package to postgres(Enterprise db 10.5) using ora2pg. The migration run successfully for most of the functions. However, one function referenced multiple times in the package is causing errors. I am giving both versions of the code below: oracle [CODE] ora2pg [CODE] An example of the refe... | Since [CODE] is a function in PostgreSQL, you have to call it using [CODE] in PL/pgSQL: [CODE] But there are other problems in your code. At least the [CODE] in the finction definition will cause an error. You may have to redesign and rewrite your code. | 0 | 0 | 404 | 2019-09-02T10:03:15.277 | database_errors | dba.stackexchange.com | |
767,539 | What is the best way to do this site redirection | Have a site in which we are pointing some links to [CODE] . Recently [CODE] changed to [CODE] . Now if we access [CODE] it will automatically redirect [CODE] . In [CODE] still it point to [CODE] . How its working now is... [CODE] > [CODE] > [CODE] > [CODE] . In our site all links are hard coded. Question ? What is the ... | Redirections should almost always only be used during transition and should be removed after a set period of time. Ideally, you should not be using absolute links in your application. This page provides a pretty good explanation: Absolute vs. Relative Paths/Links | -3 | 0 | 48 | 2016-04-01T11:33:04.107 | infrastructure | serverfault.com | |
716,310 | Linux mysql server will not start, or restart | Intro Im running MariaDB and Apache on my linux machine and today I ran into some problems. I connect to the server via SSH and here are some of the issues Im facing. I have absolutely no idea what Im dooing here. What I am doing Step 1: [CODE] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/va... | This is the reason it isn't starting: [CODE] Double-check permissions on /var/lib/mysql. Also, check your system log to see if SE-Linux or Apparmor are interfering. | 5 | 3 | 47,571 | 2015-08-24T13:10:02.077 | database_errors | serverfault.com | |
338,163 | How to detect thin extrusions from a polygon? | I want to create a minimal polygon which approximates the boundary of an arbitrary (semi-random) shape. By "minimal" I mean, "as few points as possible". The original shape (to be bounded) is in bitmap format, with simple coloring. The complication is that the shape may have lines (i.e. long thin areas/shapes) coming o... | How about this general approach? (Assuming your starting-point is the black outline as shown) Create a mask by: Filling the outline with black. (store as 8-bit greyscale) Putting the filled shape through a low-pass (blur) filter. (convolution) Creating a bitmap of every pixel lower than a threshold value in the blurred... | 1 | 1 | 307 | 2016-12-15T00:27:04.237 | api_errors | softwareengineering.stackexchange.com | |
186,781 | Apache2 logging to file that contains server ip address | We are working towards load balancing our amazon ec2 web servers running apache2. Until we get a better log system in place, we would like to have each instance simply write their server logs to a shared volume (shared using sshfs atm) The problem we ran into is that if two instances are writing to the same shared log ... | This actually seems to work, are there any downsides? [CODE] | 1 | 1 | 216 | 2010-10-01T22:42:56.260 | infrastructure | serverfault.com | |
646,612 | How to have a limited set of users on Office365/Google Apps and balance on vanilla Postfix | As the mail heading suggests, we have about 100 mail users, we would like to move about 15 users on to one of the cloud based services Office 365 or Google Mail. Balance we would like them to continue with the current e-mail infrastructure which is a Postfix based mail server. The domain name must be the same. Is there... | There's actually a pretty straightforward walkthrough for this. The nomenclature here is "SMTP namespace sharing" and Exchange Online (Office 365) can do this. Typically the idea is to "test out" Office 365, but it will still work long term as well if you so desire. The full walkthrough can be found here: Pilot Office ... | 0 | 2 | 272 | 2014-11-24T11:35:53.430 | infrastructure | serverfault.com | |
751,281 | Exchange 2007 - Sending spam from MY domain but invalid, random users | I'm running Server 2003. Exchange 2007. I've got something on the system sending out tons of spam, and now mostly blocked from the outside world. (We can receive, but not send because we're on spamlists.) This is a server I have zero experience with, with no maintenance records or anyone to ask for help. I'm going in b... | Don't waste your time trying to find the source. It will be another victim. The spammer will have a network of compromised machines they are using. The first thing you should do is apply a password policy and force everyone to change their passwords. Make sure that you change the administrator password as well, as that... | 0 | 1 | 183 | 2016-01-23T20:34:57.773 | infrastructure | serverfault.com | |
290,186 | Can I GRANT SELECT on all schemas in a database? | I need to create role users of which can only read (select) data. I can do it for a particular schema. But I need it to work with all existing and future schemas (existing at least). How can I do it? I've tried [CODE] But it says that I can't: 0LP01 invalid_grant_operation p.s: I need to grant rights on select to all s... | You can wait for PostgsqlSQL v14 and its [CODE] system role. Other than that, you will have to grant [CODE] on all schemas and [CODE] on all tables individually. [CODE] will make that job much easier. My recommendation is to issue all these grants not to the end user role, but to an intermediate role that you then gran... | 4 | 6 | 7,594 | 2021-04-21T08:46:42.153 | warehouse_errors | dba.stackexchange.com | |
1,023,999 | Why aren't my PHP-FPM children transitioning back to idle as soon as the request is complete? | I'm trying to debug server lockups when running a Laravel application on K8s. I've got 2 pods each with 100 static children and I'm running a load test. As expected, as the load is applied the children pick up the requests (the request is a simple homepage page load - I'm using a fresh Laravel app to rule out any app l... | For anyone that encounters the same problem, it was due to my Redis connection. By moving to [CODE] drivers for session and cache the FPM processes are closing as expected. I'm unsure why the Redis driver was keeping connections open but I unfortunately don't have the capacity to debug it at the minute. | 0 | 0 | 425 | 2020-07-04T13:28:32.317 | pipeline_ops | serverfault.com | |
828,668 | IPFW denies ssl connections | I'm having an issues loading https websites (google, facebook, amazon) through my PHP scripts using functions like [CODE] , [CODE] . Operation is being timed out. So I started looking through my system settings and noticed that when ipfw service is being stopped, it works like a charm. So this is an issue definately re... | I do not use IPv6, but I notice from [CODE] and [CODE] that ICMP has a different symbolic name for IPv6 which is [CODE] . If you need to pass IPv6 ICMP packets, you may want to add a new rule: [CODE] I do not understand your existing rules, and you may have separated [CODE] and [CODE] rules for diagnostics purposes, bu... | 1 | 2 | 237 | 2017-01-26T01:29:13.073 | infrastructure | serverfault.com | |
76,021 | INSERT takes over 5 hours, when inserting more than specific number of rows | When inserting less then about 1,350,000 rows to the table it all takes about 2 minutes, however when number of inserted rows is bigger, then the time needed to insert data grows to about 5 hours. The problem is not connected with query or indexes, because everything has been working fine for a long time and nothing ha... | My guess would be - if you are not actually being blocked - that you are hitting a threshold above which the data file (and/or log file) has to grow, and that your configuration is not optimized to support this growth. Ensure that: Your data file growth rate is reasonable, and is a fixed size (not %!) large enough to a... | 8 | 15 | 15,292 | 2014-09-08T19:17:56.297 | warehouse_errors | dba.stackexchange.com | |
979,742 | how to get 2 internet connections working | It's either I have a fundamental misunderstanding on how interfaces are suppose to work or I've done something oddly wrong. I have two interfaces: [CODE] [CODE] If I unplug one cable and reboot, regardless of cable, it will have internet. However, if I have them both plugged in, only one interface works (defaults to [C... | You only have one default gateway, thus outgoing packets will only be sent through that one; if you want to be able to use both connections, you need to manually add another default gateway (i.e. a route to [CODE] ) using the other interface's gateway. But please note that this will not use both connections at the same... | 0 | 4 | 638 | 2019-08-18T21:22:21.957 | infrastructure | serverfault.com | |
539,627 | Running svnsync on a repository with group suid/sgid set fails to execute a hook | I have a Linux server that I am attempting to run [CODE] against a list of repositories to mirror / back up. I created a folder [CODE] and set it to have the group gsid of [CODE] , using [CODE] so that any item or folder created in this directory preserves the adm group ownership. failure I then: create a repository [C... | Solved - mount partition without [CODE] option Make sure you've mounted the directory without the [CODE] option! I don't know what made me look in [CODE] (or why I didn't think of that sooner) but [CODE] is a separate partition and I had declared it with the [CODE] option. This prevented the hook from running; removing... | 1 | 1 | 1,069 | 2013-09-17T17:14:54.983 | database_errors | serverfault.com | |
135,534 | Force everyone to use snapshot isolation | I have a scenario in which I don't want any readers to block writers. I don't want users using table hints or isolation levels to issue shared locks, which might block writers. Is there a way for SQL Server to force everyone to use snapshot isolation or remove the explicit hints they added? I have read Can I force a us... | Is there a way for SQL Server to force everyone to use snapshot isolation or remove the explicit hints they added? There is no way to do that ! If you enable RCSI using alter database then DML statements against objects stored in that database start generating row versions even when no transaction uses snapshot isolati... | 3 | 3 | 776 | 2016-04-16T23:55:37.447 | database_errors | dba.stackexchange.com | |
16,563 | handling missing data in pandas python | I have to impute missing values in the column named [CODE] with the mean of the nearest available values above and below in the column [CODE] . If the [CODE] column had values in order [CODE] After imputation, column should look like [CODE] I know about filling value with mean, mode, or median forward filling, backward... | IIUC you can simply use Pandas Series.interpolate() method: Data: [CODE] Solution: [CODE] if you need rounded integers: [CODE] | 1 | 5 | 1,421 | 2017-01-26T18:29:03.823 | data_quality | datascience.stackexchange.com | |
255,385 | MongoDB Atlas M0 (Free Tier) BI capabilities | I'm using MongoDB in my server and developed BI tool using cube-js & mongosqld, which worked when mongo was running locally, however after I moved to Atlas using M0 tier I could not connect to it anymore using mongosqld, this is the error I get: unable to load MongoDB information: failed to create admin session for loa... | Your BI Connector links are from different documentation contexts (Atlas vs On-Prem). For an overview of deployment variations, see About the MongoDB Connector for BI . Checking the documentation again I realized BI Connector is not supported in M0: https://docs.atlas.mongodb.com/bi-connection/#bi-connection The MongoD... | 0 | 1 | 1,397 | 2019-12-11T09:04:20.053 | api_errors | dba.stackexchange.com | |
168,055 | Query not working is it issue with VS 2015 Community ASP.Net Core WebAPI or SQL Server 2016 | I am experiencing an issue, which is beyond my understanding in trying to figure out, I am not sure if it is some glitch with Visual Studio, or something wrong with my SQL Server DB. I originally thought I just broke my code in an WebAPI I was creating, hence my question on SO . But on further evaluation it could be so... | From looking at the stack trace you posted it seems as though the error is raised when Entity Framework tries to convert the results from the query to an instance of your model. Usually, the error you are encountering is raised when there is a problem with the model binding - in your case the ability of your properties... | 2 | 2 | 222 | 2017-03-24T04:05:22.483 | database_errors | dba.stackexchange.com | |
192,081 | Poor SSRS Rendering performance in SharePoint 2010 | Compared to running reports locally (in Visual Studio) or in a Native installation of Reporting Services (SQL Server 2012 SP3) we are experiencing very frustrating performance issues when rendering reports in a SharePoint 2010 web-part. In SharePoint we are using the SQL Server 2012 SP3 Reporting Services Add-In. We ha... | This was related to two things: The web servers of the SharePoint farm had no external web access, so the root certificate revocation was failing (adding a delay of 15-20 seconds to paging and activity) - This was resolved by giving them access to the external web via a proxy. The issue with extra overheads when using ... | 0 | 0 | 325 | 2017-11-30T14:56:59.097 | bi_errors | dba.stackexchange.com | |
410,542 | How to check whether module or class is network interface, socket? | Background Simplifying, assume I want to write some tool for code-analysis, which tell me which files - class/module - are/have some kind of network interface(s). No matter if it's REST Controller, DB connection, RPC or simple socket. Restrictions I want to achive this automatically. What do I mean by that? I don't wan... | This is impossible. Take a PHP webapp, for example. If I run this PHP webapp on Apache using the [CODE] module, there will be a directly-linked path from the application code down to the socket handling code in Apache. If I run the exact same PHP webapp on Apache using CGI, the webapp runs in a separate process. The on... | -1 | 0 | 45 | 2020-05-24T12:52:47.300 | hadoop_errors | softwareengineering.stackexchange.com | |
689,920 | Dovecot not working with added public namespace | we're running Dovecot 2.2.5 under OS X Server 4.1 (under 10.10.3). I'm trying to add a public namespace with some public folders without success. doveconf -n: [CODE] The bit I added was: [CODE] After I restart it and try to log in , it states an internal error occurred: [CODE] However, there is really nothing in the lo... | OK, worked this out. There were two simple issues: The reason I wasn't seen anything in the debug log, is that error messages were going to a different log. I assumed the debug log would contain ALL messages. I was wrong. Once I had realised that, and started looking in mail-err.log, I observed the error, which was [CO... | 2 | 4 | 3,176 | 2015-05-06T06:53:58.103 | infrastructure | serverfault.com | |
120,507 | Return type of statement | What is the return datatype of this statement : [CODE] | Rows_affected is set Errors could occur But there is no "datatype" being returned. [CODE] return resultsets; writes do not. | 1 | 1 | 49 | 2015-11-09T14:24:26.307 | warehouse_errors | dba.stackexchange.com | |
952,703 | Monitoring reports incorrect CPU usage on GCP | I currently administer a website hosted on Google Cloud Platform using Kubernetes Engine. Yesterday I noticed the CPU% feed on the GKE node drop dramatically to just north of 0. After investigating it was clear there was nothing wrong---the site is still live and checking CPU usage directly via SSH showed normal load l... | The CPU usage of main Dashboard of the GCP differs from that of an instance's individual CPU usage. The CPU usage shown in Google Developers Console is not that of the instance, but the CPU usage of the container managing the instance. This container is in charge of providing the virtualization services to the instance... | 2 | 3 | 1,224 | 2019-02-07T00:45:31.373 | database_errors | serverfault.com | |
73,478 | SSIS Failed to start project | I've created sereral SSIS packages in Visual Studio 2012 and they can be executed without any problems. For a project I'm working on I generate packages using BIML. In my BIML script I create a package for each databaseview in two defines databaseschemas. For example: [crm].[contact] [crm].[account] [navision].[vendor]... | When troubleshooting the error I've searched the internet for possible solutions. The main solution to this error is the 32bit / 64bit excecution of SSIS. Because I can run other packages without any problems all posible solutions I found regarding configuration of packages, SSIS and Visual Studio didn't apply. Maybe I... | 1 | 3 | 9,786 | 2014-08-08T07:37:33.760 | warehouse_errors | dba.stackexchange.com | |
666,904 | Removing files takes too long | Short version : [CODE] , with [CODE] (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information : Most of the files being deleted are hard links to files in other directories (the directory being deleted is actually the oldest backup made by [CODE] ; the [CODE] command i... | Well this is still an Btrfs issue, that's well known that deleting many small files does take quite long time compared to other file systems. If you dislike it, you can either wait until upstream has fixed it or move on to another file system which does it better. Your main error though is using an ancient kernel (3.16... | 13 | 4 | 16,642 | 2015-02-11T20:50:43.970 | database_errors | serverfault.com | |
155,075 | Access articles from a table if user belongs to qualified group | The tables below are [CODE] & [CODE] , where each user has membership to 1 or more groups via an M2M table [CODE] . The articles are accessible by users if one of the condition is satisfied 1) article belongs to an [CODE] group 2) article belongs to a group of which the user is a member Here's me query to select an art... | So, as I understand, the input to the query is: a group name; a user name. And the output should be the list of all the articles belonging to the given group provided either of the following is true: the group is open; the given user belongs to the group. If that is correct, I believe the missing condition could be imp... | 1 | 1 | 50 | 2016-11-12T14:32:48.563 | database_errors | dba.stackexchange.com | |
136,263 | Can we have Linked Servers when using NTLM? | I don't have access to the Active Directory settings, nor do I have access to change anything on the linked server. From everything I've read, it seems like this means I cannot use Kerberos - which is a big problem, because I don't know how to use a linked server without it. Is there any way to connect to a linked serv... | This is indeed a case of constrained delegation (ie .'double hop'). There is no setting you can change which would make this work. If one would exist, it would be by definition a bug, as it would break the domain policy on constraining delegation only to trusted accounts. So unless you make the AD change to mark the SQ... | 1 | 4 | 5,489 | 2010-04-27T14:31:49.267 | api_errors | serverfault.com | |
1,022,517 | DFS Replication 25000 Event 4308 per minute | TL;DR in bold Hello, I have set up a new DFS Namespace and Replication for a software and user share from an older 2012R2 server to a newer 2019 server that we wish to migrate to. I've left the servers running for several days now but there does not appear to be any progress in the replication. Running [CODE] shows "No... | TL;DR: looks like the corruption on the drives was causing the issue. After performing the [CODE] on reboot on the drives, I still saw errors with chkdsk. After performing [CODE] with a force dismount and then confirming there were no more errors with [CODE] and [CODE] , the DFS-R started working. It took a while to re... | 3 | 2 | 507 | 2020-06-22T20:39:02.190 | hadoop_errors | serverfault.com | |
660,444 | ISPconfig / Dovecot - Mysql went down = Mails gone? | So im running ISPconfig with Dovecot as mail-server (storing mails via mysql). Yesterday i made some changes to the mysql-config. I wanted the server to answer also External Requests. The Problem is, with "bind-address" activated to the external server-ip, Dovecot couldnt connect to Mysql as localhost anymore. "postfix... | If your smtp server (ISPConfig seems to use postfix) wasn't able to accept those mails (i.e., if it needs the mysql connection to store them), it will have answered the requests from the foreign mail servers with an error - you should check your mail server logs as already suggested. In this case the sending mail serve... | 0 | 1 | 681 | 2015-01-18T17:43:47.983 | database_errors | serverfault.com | |
354,517 | Provisioning System for Enterprise | In our companie we have a lot of systems: CRM, ERP, payroll system, etc.. The problem is that NONE of these systems are integrated with our Active Directory. From a admin and security perspective this is painful. We don't just want to integrate the systems with the AD login, we think of more... for example: having a ce... | As already commented by MDMarra, you should look for an identity management system that suits your needs. how usually the applications integrate with the IdM? It really depends on your implementation, but the basic idea goes as follows: You have a single "meta"-directory which is meant to have authoritative information... | 0 | 1 | 114 | 2012-01-28T09:57:18.283 | infrastructure | serverfault.com | |
81,184 | Is the reason why everyone complains about flash app performance due to the fact that most flash apps are built with the flex framework? | Do you think flash performance is bad mainly due to the fact that most people build flash applications using the flex framework? As opposed to the problem having everything to do with the lower level flash system. What percent of flash apps are built with flex? | Most of the Flash applets that I see do not use Flex. At least, they don't look like they do. | 0 | 2 | 215 | 2011-06-03T03:13:31.290 | api_errors | softwareengineering.stackexchange.com | |
145,105 | AlwaysOn Failover - SQL Server 2014 | I have two SQL Servers 2014 in AlwaysOn AG setup (OS - WSFC2012R2) with secondary acting as a synchronous replica. I'm facing an issue in the role switchover on daily basis. Every day morning around 7 or 8AM, due to some reason Primary fails over to the secondary. Ideally, this happens due to network glitch. But i'm un... | The cluster log, SQL Server Error Log and the application log in Event Viewer should give you the reason. It sounds like quorum is not setup properly. Without a 3rd resource to act as the witness, a network glitch will cause a failover. Setup a witness, such as a file share on another server, or a witness disk. Some pe... | 1 | 4 | 244 | 2016-07-27T15:26:14.017 | database_errors | dba.stackexchange.com | |
878,678 | How to break AWS certificate to public/private keys and intermediate certificate? | I've issued a wildcard certificate in AWS to install on the company's website (which is stored in a CloudFront distribution). There's a customer support service which the company uses and when you browse to support.company.com it takes you to that service site. Up until today, the access to the support site has been do... | So when you create a certificate using AWS Cert Manager, you cannot pull out the key for the certificate chain. You can only use it for AWS services like ELB/ALB/Cloudfront So in short, you can't pull the key out to use it in your own infrastructure like apache or nginx. | 1 | 6 | 139 | 2017-10-16T11:45:37.553 | infrastructure | serverfault.com | |
816,664 | Make assigning SNAT be fixed/consistent by each specific IP souce | i want to every source ip (i have many) will be always the same SNAT (i have two. which for me can assigned randomaly the first time). for example: [CODE] ect. It is possible? | Apparently [CODE] works only for a src/dst pair so when connecting to different destinations there's no guarantee that the same source will be used. Instead, from [CODE] : u32 U32 tests whether quantities of up to 4 bytes extracted from a packet have specified values. The specification of what to extract is general eno... | 3 | 2 | 178 | 2016-11-23T16:18:55.170 | infrastructure | serverfault.com | |
312,555 | Autocomplete using Postgres Optimization | I'm trying to build an autocomplete feature using postgres. Here's the steps that I followed: Since the autocomplete is to be done on fields across 2 fields from different tables, I created a materialized view where I merged the two fields on which I'm searching. Created pg_trgm extension. Created a gin index on the ne... | Autocompletion is usually for things which complete the prefix, not for proposing things kind of similar to the entire phrase. That is a different use case and is usually done differently (e.g. waiting for the person to submit, rather than doing it as they type). And both of those are usually for words and short phrase... | 1 | 1 | 1,535 | 2022-05-25T08:14:07.863 | database_errors | dba.stackexchange.com | |
107,606 | bring the output into single column from a table as vertical order | [CODE] I need Output as [CODE] | There is a similar question here . You can achieve this using [CODE] with [CODE] : [CODE] As pointed out by @Andriy M it could be also written like this: [CODE] For more detail see here . The above query does not guarrantee any particular order of records in the resultset - to get a particular order of records in a res... | -9 | 2 | 649 | 2015-07-21T09:39:15.770 | warehouse_errors | dba.stackexchange.com | |
199,593 | Passing variable as parameter to json_query function | I am getting error: The argument 2 of the "JSON_VALUE or JSON_QUERY" must be a string literal ...while trying to pass variable as parameter to [CODE] function. Please help me to resolve it. [CODE] Sample data: [CODE] | It is possible in SQL Server 2017. From JSON_QUERY (Transact-SQL) In SQL Server 2017 and in Azure SQL Database, you can provide a variable as the value of path. In SQL Server 2016 you have to build the query dynamically. | 6 | 9 | 10,526 | 2018-03-07T12:51:53.747 | warehouse_errors | dba.stackexchange.com | |
37,496 | Python Dryscrape - how to select child element? | I'm working on a project with www.NJMLS.com . I'm trying to extract email of agent name "Edward An": [CODE] How to get email of "Edward An"? If I try: [CODE] I am not getting any response. What's wrong with my script? [CODE] This is also not working. Still there is no error and no response. | Have a look at the example here - https://dryscrape.readthedocs.io/en/latest/usage.html Looks like you need to start the session object by giving it a base url [CODE] and then when you call visit give in the URI [CODE] your if statement seems unlikely to work as its implying that X is is a string when its likely to be ... | 0 | 0 | 221 | 2019-01-28T11:18:28.520 | data_quality | sqa.stackexchange.com | |
331,232 | Check if special messages received from data stream | I'm receiving continuously data streams of log messages. In each data stream there are some special messages representing states. Now I want to track if all states reached until the data stream ends. And if not, which state reached at last. I don't know how to implement that efficiently. I was thinking to use two lists... | (Focusing on your performance concern) I am not sure if I understood your problem constraints, but despite the fact this is obviously implying an online algorithm, there is this assumption that can help a lot towards a simple and efficient implementation: the assumption is you know upfront the set of all possible disti... | 2 | 1 | 135 | 2016-09-16T11:50:25.597 | api_errors | softwareengineering.stackexchange.com | |
1,070,320 | NGINX setup for REST API returning default configuration | I've hired a VPS to play with some personal projects. To get started, I'm trying to set it up to host a REST API using Node.js, as I've only ever used Spring Boot for that. I've implemented the solutions by adapting from the following guides: https://www.robinwieruch.de/node-express-server-rest-api (most of the API cod... | I'm assuming you just stubbed out the proxy-related machinations to be handled at a later time in your warehouse API file, but that actually won't work, as you found out. [CODE] Compare that one line in charge of URI routing against the version in the example you linked. [CODE] The reason for why the example works but ... | 0 | 1 | 5,783 | 2021-07-22T14:12:52.483 | pipeline_ops | serverfault.com | |
529,579 | Error enabling DIH on SOLR4 | I'm a bit stuck here. I had Solr4.4 working without too many issues. I wanted to enable the DIH so I firstly added these lines to the solrconfig.xml: [CODE] Restarted and everything was fine. Then I added these lines to the config as well which broke Solr: [CODE] This is the error it gives me: [CODE] Is anyone please a... | It looks like you may not have put the data-config.xml where it expects to look for it. ( [CODE] ) See Step 2 in http://wiki.apache.org/solr/DIHQuickStart iI you're no longer using collection1 as your core (which example-DIH doesn't) a system restart could help - it worked for a similar issue I was having. I imagine th... | 0 | 0 | 910 | 2013-08-08T12:58:13.327 | infrastructure | serverfault.com | |
343,710 | Use empty string, null or remove empty property in API request/response | When transferring object through an API, as in schemaless JSON format, what is the ideal way to return non-existent string property? I know that there are different ways of doing this as in examples in the listed links below. Avoid null Return null Remove empty property I'm sure I have used null in the past but don't h... | TLDR; Remove null properties The first thing to bear in mind is that applications at their edges are not object-oriented (nor functional if programming in that paradigm). The JSON that you receive is not an object and should not be treated as such. It's just structured data which may (or may not) convert into an object... | 41 | 36 | 153,207 | 2017-03-08T10:07:47.913 | api_errors | softwareengineering.stackexchange.com | |
11,543 | Dummy coding a column in R with multiple levels | I have a dependent variable measuring the net revenue. One of the major predictor affecting this is "product" i.e. the product sold to the customer. My randomly sampled dataset contains 1.4 million entries. Products are assigned a specific categorical value. I feel that using dummy variables to represent the products w... | You can use either sparse matrices or feature hashing. Sparse Matrix I suppose that using a sparse matrix is the only choice. I suspect that this line of code will work. This uses the Matrix package. [CODE] Take my example: [CODE] each column represents a different factor, this will yield: [CODE] alternatively you can ... | 6 | 3 | 4,160 | 2016-05-02T11:27:55.597 | data_quality | datascience.stackexchange.com | |
208,778 | How to create a table with columns from other 4 tables(they don't have primary/foreign key relations)? | how can I create a SQL statement to create a table that has columns from 4 tables? So in my new created table I would like to extract the Id, Product Title, Items in cart(number) (from these 4 tables so it will be 4 columns with Items in cart (number)), Link. These tables have 3024 rows so how can I extract these infor... | Create a table with an extra column to distinguish where it came from Do something like ... [CODE] | 0 | 0 | 34 | 2018-06-05T10:22:39.670 | warehouse_errors | dba.stackexchange.com | |
277,973 | Making a database and related operators using files and JSON in java | I'm trying to write a program that reads operations from a file. these operators look like below : [CODE] then the program will have a parser that translates these lines and makes a database to do the operations. after parsing and execution of each line ;a log will be made in a another file: [CODE] as for the assignmen... | Should write and read parts be methods in a same class? I would disagree with this because reading and writing are two separate responsibilities and if you want to follow good practices such as Single Responsibility Principle , I would separate them out into two classes. It might seem like an overkill but you will see ... | 0 | 1 | 819 | 2015-04-01T12:40:10.370 | api_errors | softwareengineering.stackexchange.com | |
772,861 | PostgreSQL 9.5 via puppet module fails to install on Ubuntu Trusty | Attempting to use Puppet to install PostgreSQL 9.5 on an Ubuntu Trusty, using all the documentation I could find , with the following simple class structure: [CODE] I encounter the following fatal error: [CODE] I have tried Adding [CODE] to [CODE] , to no avail. In an act of desperation, even: [CODE] I noticed that [CO... | Turns out it was due to a wildly-outdated [CODE] puppet module. Updating the module to apt 2.2.2 to match postgresql 4.7.1 (which I already had) worked as per the documentation. | 0 | 2 | 297 | 2016-04-25T22:04:11.507 | database_errors | serverfault.com | |
644,487 | Ubuntu server becomes unresponsive on hard disk issues despite raid setup | I am running a server on Ubuntu 10.04.4 LTS (Linux xxxx 2.6.32-67-server #134-Ubuntu SMP Wed Sep 24 18:55:00 UTC 2014 x86_64 GNU/Linux) with two hard discs in a software raid 1. I repeatedly had the issue that the system became completely unresponsive for significant amounts of time (>1 hour), effectively taking down t... | You're using software RAID. You don't have a "RAID controller" to "kick the disk from the array". Instead, you've got the kernel managing the ATA controllers, and when the disks don't respond (because they're having media errors, in this case) the kernel waits. This type of situation doesn't always create visible sympt... | 1 | 2 | 257 | 2014-11-14T21:28:57.673 | infrastructure | serverfault.com | |
365,239 | How to chroot VirtualHosts on a Apache server? | I have a FreeBSD server (company's OS of choice). Currently we run several websites on each of the webservers. Websites are in PHP which is run in Apache Module mode. At the Apache is not chrooted so Apache and PHP have access to the whole filesystem. For my private websites I use a shared hosting service. It seems tha... | #1) Chrooting virtual hosts individually is not supported. The "Context" for the ChrootDir directive is "server config," and thus... "This means that the directive may be used in the server configuration files (e.g., httpd.conf), but not within any [CODE] or [CODE] containers. It is not allowed in .htaccess files at al... | 2 | 3 | 7,636 | 2012-03-01T10:52:07.177 | infrastructure | serverfault.com | |
658 | Bottom of blog for home improvement | The blog on the bottom of the home improvement page: http://diy.blogoverflow.com/ States: Stack Exchange © 2011 Can we fix that to be some sort of label that takes the current year, you then avoid having to update the page with the current year every time. | A fix for this has been pushed out and should be applied by the next build. Now there should be a simple current year added there. | bug,status-completed,blog | 3 | 3 | 58 | 2012-08-10T18:07:40.317 | other | diy.meta.stackexchange.com |
39,733 | Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server | I have an instance of an application running in the cloud on an Amazon EC2 instance, and I need to connect to it from my local Ubuntu. It works fine on one local ubuntu and also laptop. I got this message, [CODE] , when trying to SSH to EC2 from a different local Ubuntu. I'm thinking there may be problems with security... | The first thing to do in this situation is to use the [CODE] option to [CODE] , so you can see what types of authentication is tried and what the result is. Does that help enlighten the situation? In your update to your question, you mention "on another local Ubuntu". Have you copied over the ssh private key to the oth... | 228 | 150 | 722,647 | 2009-07-13T07:38:23.533 | infrastructure | serverfault.com | |
949,926 | Hyper-v 2016 won't connect remotely | It worked perfectly before I changed my password because the password has expired. Now I get this alert message when I try to connect to my VM server. I can't figure out why it is problem now. | If hyper-v services are up and running there are some possible solutions: 1- you are in a domain environment and using local user, when you have changed your local user password it does not match your domain user password any more. explanation: Let us say you have two users user1@domain.com (domain user) and user1@loca... | 0 | 1 | 51 | 2019-01-20T08:28:08.003 | infrastructure | serverfault.com | |
30,439 | Changing the shape of the input layer in tensorflow | I have a convolutional network which consists of multiple CNN layers (which could work with any size) and a fully connected layer at the end which can only work with fixed input size. I have trained the network for certain image size and the fully connected layer can only work for those input sizes. I don't want to ret... | Actually, if you change the input the input size, nothing goes wrong with the convolutional layers but the outputs of these layers increases and that will cause to the increased number of inputs to the dense layers 1 . Consequently, you will have to have extra weights and you have to train them. That is why it is bette... | 2 | 2 | 1,984 | 2018-04-17T17:28:45.820 | data_quality | datascience.stackexchange.com | |
724,529 | iSCSI Volume shown as two partitions on disk manager and need to merge/extend | I've just created a LUN and Target on my NAS, the from windows server, used iSCSI initiator to mount it. Disk appears in disk manager Disabled. Using [CODE] i remove readonly attrib and created partition for the size of the disk (unalloc) diskpart threw an exception: [CODE] And still went on to split the drive. [CODE] ... | Sorry, found a solution [CODE] MBR default 2TB limit. Thanks | 0 | 0 | 1,164 | 2015-09-24T11:49:13.357 | infrastructure | serverfault.com | |
140,883 | TDE - Encryption on a large database | I'm in the process of researching TDE implementation on a VLDB and would like to know if anyone has real world experience with enabling encryption on a production server. What kind of problems (if any) can I expect? My testing shows very little impact in a test environment, but I'm concerned about how long this is goin... | We have recently implemented TDE along with AlwaysON in Production running SQL Server 2014. In our application, we noticed a slight (1-3%) increase in CPU utilization . Your environment is different, so do a thorough load testing with some realistic PROD datasize. Takeaways from embracing TDE : Backup compression and T... | 9 | 12 | 2,645 | 2016-06-09T19:30:34.103 | database_errors | dba.stackexchange.com | |
463,721 | two domains, one LAN, two DNS server, 3 problems | Background : we have 150 users using AD on domain ABC. Windows 2003. that serverDC1 has a DNS, DHCP roles, and there is serverDC2 which is its live DNS backup. logs seem healthy. then we chose to upgrade to new server (Windows 2008) while keeping the old while we transition groups of users to the new domain called ABCN... | There are a couple of ways that I might configure this. First way is to add conditional forwarders. In the DNS on the old domain, you'd have a forwarder for the new domain pointing at the new DC/DNS. On the new domain, you'd have a forwarder for the old domain pointing to the old DC/DNS. Your DHCP options would have bo... | 2 | 1 | 5,360 | 2013-01-07T16:09:56.480 | database_errors | serverfault.com | |
814,765 | How does TCP session works in a DSR Load Balancer (L4) solution? | Let's imagine a client [CODE] watching a live stream (which translates to a bunch of HTTP requests) with [CODE] header on. [CODE] Is it possible that this DSR (direct server return) Load Balancer (L4) offers [CODE] method? If it's yes, how does the [CODE] manage to work with TCP sequence number? (and also to [CODE] the... | If you are using DSR then the load-balancer is not proxying the TCP connection, and so must not alter sequence or acknowledgement numbers. It's not fashionable these days as it's limited in functionality, and needs to be coupled to the farm at layer 2 which does not lend itself to hosting multiple services or load-bala... | 0 | 1 | 943 | 2016-11-14T11:16:29.490 | infrastructure | serverfault.com | |
767,132 | Recovering KVM VMs when booting from mirrored host OS | Im running KVM on a Ubunutu 14.05 server. The server has 2 1.2TB drives which will each have 1 VM (elastic search nodes). I did a dd to clone the main OS and can boot from either disk without issue. In the event that the primary OS drive goes down and I boot from the back up, will I have to do anything special to have ... | As long as you have the VM disk images available and have the VM definitions in place, it will work. Make sure you stay with the same distribution, because the way VMs get defined in different distros might vary. | 1 | 1 | 109 | 2016-03-30T19:41:40.777 | database_errors | serverfault.com | |
91,903 | When does creating a .sql backup with mysqldump become too large? | Is there a limit to how large a database can be when executing a .sql backup using mysqldump, or will you run into server problems before that - will the server not be able to take such a large backup file? I'm thinking in the levels of: 1 - 10GB 10 - 100GB 100 - 500GB | I can only think of three(3) things that can cause a mysqldump to be too large PROBLEM #1 : Disabling Extended Inserts Extended Inserts ( --extended-insert ) is on by default via the --opt option . If you issue [CODE] or [CODE] , every INSERT command will quickly become hundreds or every thousands. Such a mysqldump can... | 3 | 7 | 1,607 | 2015-02-13T16:00:15.630 | api_errors | dba.stackexchange.com | |
1,128,105 | OpenVPN changes DNS settings in Windows Server | On my Windows Server 2022 Standard, I have two network adapters. The physical network card, which has IP 10.0.22.10/24 The OpenVPN virtual WinTun adapter, which has IP 10.0.30.1/24 Note that I am using the netmask 255.255.255.0, not 255.0.0.0. Beside OpenVPN, the server has the roles DHCP, DNS, and ActiveDirectory. As ... | I found the answer here: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/unwanted-nic-registered-dns-mulithomed-dc Under Network Connections Properties: On the unwanted NIC TCP/IP Properties, select Advanced > DNS, and then unselect Register this connections Address in DNS. Open the DNS server ... | -1 | 0 | 224 | 2023-04-06T20:48:09.853 | infrastructure | serverfault.com | |
1,049,590 | Kubernetes - kubeadm join - Connection refused after new control plane joined | Issue I am trying to join a second control-plane node to a K8S cluster. The first node has a IP of 10.1.50.4 where the second node has a IP of 10.1.50.5. There is a load balancer Virtual IP for the control-plane nodes of 10.1.50.250. K8S Version: 1.20.1-00 Command [CODE] Output [CODE] Network Tests - 10.1.50.4 [CODE] 1... | Command [CODE] Response [CODE] This question is more qeared towards your issue. Kubernetes OCI runtime exec failed - starting container process caused "exec: \"etcdctl\": executable file not found in $PATH": unknown | 2 | 1 | 5,025 | 2021-01-12T19:05:29.883 | api_errors | serverfault.com | |
407,827 | Reliable file transfer over slow or flaky network link | I need to transfer a number of files files over a low-quality broadband link to a server. The files are large, and take approximately 30 minutes to transfer per file. I use scp, but it sometimes hangs -- the transfer doesn't fail with an error, it keeps running, but no further data is transferred. So, I'm looking for a... | You can use rsync to copy your file from one computer to the other. rsync can use ssh as its underlying transport. Combine [CODE] with a script such as this one to try again in case of network failure, and you should be able to move your files even in the face of network errors. Another way to do it would be to mount t... | 12 | 16 | 10,230 | 2012-07-15T01:41:42.593 | infrastructure | serverfault.com | |
415,327 | How do I PXE boot multiple Windows 7 desktops off the same image? | Some years ago at my university, I recall that the labs there booted Windows NT over the network. There was a shared drive for your own stuff and other than that any changes you did to the running OS were reset when you restarted the machine. Now I'd like to be able to do the same thing with Windows 7. I have found som... | To answer my own question. It is possible using iPXE and iSCSI or AoE. The idea is to either replace the network card option ROM with iPXE or to chainload ipxe and then do a sanboot. iSCSI is the easier of the two san protocols because you can actually install Windows 7 directly to an iSCSI target. This is because iSCS... | 17 | 6 | 37,454 | 2012-08-08T02:29:06.377 | infrastructure | serverfault.com | |
163,549 | How to resolve TNS error in Oracle 11g when connect with Navicate) | I want to connect Oracle11g with Navicate, but when I make a connection he display a error Ora-12514: TNS: Listener does not currently know of service requested in connect descriptor. | Today i solve my problem connection error oracle 11g with navicate i just change the port number and my TESTDB is connected. so if any body have same issue kindly check your DB port. | 1 | 0 | 727 | 2017-02-08T05:42:45.797 | database_errors | dba.stackexchange.com | |
7,764 | PostgreSQL archive_command on Windows | What is the best method for WAL log transfer on Windows? I have two servers with Windows Server 2008, PostgreSQL 9.0 64bit. Servers do not have any shared SAN disk, they are on different hosts, different subnets. Files from the first server must be transferred in reliable way to the second server. Archive location must... | Have you considered Robocopy ? It is able to copy NTFS ACLs . I guess you might need to have postgres running under the same Domain Account on source and target if possible but I'm probably out of my depth talking about such things. | 3 | 1 | 1,136 | 2011-11-11T10:25:34.393 | database_errors | dba.stackexchange.com | |
384,596 | Postfix looping back to itself for a relay domain | I cannot send email to anyone at a certain domain, except to a particular recipient. Here is what I am seeing in the quarantine/cache logs for an email sent by Maia (a quarantine program) to a user for a new account: [CODE] I'm not sure what is happening or why mail is constantly going back and forth. My server hostnam... | With the formatting of that log straightened out a little, you can now easily see that the loop contains 3 relays, 4 IP addresses and 3 different MTAs and it loops through them in this order: 127.0.0.1 -> unknown IP (Maiad -> Postfix) 10.5.1.2 -> 10.5.1.10 (Postfix -> Microsoft SMTP) 10.5.1.100 -> 127.0.0.1 (Microsoft ... | 1 | 2 | 723 | 2012-04-30T15:58:28.927 | infrastructure | serverfault.com | |
523,260 | Obtaining scans from HP LaserJet CM2320mf via email | I am trying, since I purchased the laser printer, to use the scan to email functionality, so far to no success and no lack of trying. The printer does not support sending emails via authentication. HP requires that it sends out emails via unauthenticated SMTP. My email domain requires authenticated SMTP. I even agree w... | Having a printer/scanner with a non-authenticating SMTP client is quite usual. The equally usual approach to this is to set up mail server as a relay, which accepts unauthenticated mail from the local network and forwards it to another mail server, if necessary with authentication. Using a "fake domain" is not a good a... | 2 | 5 | 1,528 | 2013-07-14T21:15:54.187 | api_errors | serverfault.com | |
1,147,735 | Cannot access keycloak UI using other hostname besides localhost on port: 8089, using other ports is Ok | I am trying to run keycloak in 8089 port, if I start the docker container in that port I can access the keycloak ui from: http://localhost:8089/ but I cannot access it using the keycloak hostname ( http://keycloak:8089/ ) or using http:// 127.0.0.1 :8089. If I use another port I am able to access the UI using keycloak ... | The issue was that port 8089 was being used by a source control (plastic SCM), and docker was not showing any warning about that | 0 | 0 | 460 | 2023-11-12T20:36:16.167 | pipeline_ops | serverfault.com | |
403,101 | Terminal Server 2008 Login: Access Denied on RDP Attempt | When I try to RDP into a Server 2008 Terminal Server, I get a message that says "Access Denied" and an OK button. I setup the licensing mode correctly (per user) and also have setup to allow all remote connections. I get the following in the security event log: [CODE] Any ideas? | This was the solution: http://blog.danielcosta.pt/?p=371 The remote desktop service is running using “LocalSystem” account. If you compare this registry key with other working server, you can see that you need to leave this server running with “NT AuthorityNetworkService”. | 0 | 0 | 15,999 | 2012-06-28T15:17:18.310 | infrastructure | serverfault.com | |
1,029,078 | Zabbix active agent can't connect to Zabbix server - connection was forcibly closed by the remote host | I am already using active agents on other servers and everything works really nice. I've performed installation of Zabbix agent on new server and I've set the same config as in other active agents. The problem is my agent can't connect to the server. Logs: [CODE] I am sure that PSK key and ID is set correctly in both a... | This is usually caused by using zabbix agent with bug in TLS / PSK implementation . I advise to check up on known issue section of your zabbix version https://www.zabbix.com/documentation/4.0/manual/installation/known_issues and to use LTS zabbix version if possible. I myself had an issue with 4.0.0 zabbix agent for wi... | 1 | 0 | 7,119 | 2020-08-06T07:38:52.580 | infrastructure | serverfault.com | |
265,744 | Autofs mount nfs issues | I'm having some issues getting autofs to work properly on a new Centos 5.5 installation. Please find Exports from my storage servers: [CODE] On my client my auto.master looks as follows: [CODE] auto.home: [CODE] I'm not wanting to use NIS however my bigger picture is to have a fall over nfs server however at the presen... | lookup(program) means automount thinks your map is an executable, does it have the executable bit set? lookup(file) is what you should be seeing See http://www.squarebox.co.uk/cgi-squarebox/manServer/automount.8 . | 2 | 4 | 5,058 | 2011-05-03T09:20:10.130 | infrastructure | serverfault.com | |
292,595 | Avoid duplicates in PostgreSQL among the rows that are going to be inserted | I have a destination table [CODE] and a set of source tables [CODE] and [CODE] . I'm trying to do an insert to [CODE] from [CODE] and [CODE] , and additionally check if such combination of [CODE] do not already exists in [CODE] : [CODE] Unfortunately there is a small probability that [CODE] and [CODE] may contain sever... | First of all, if you want to check both the [CODE] and the [CODE] rows against [CODE] , you should have a [CODE] clause after each [CODE] . Currently you are checking only the [CODE] rows, because the [CODE] at the end of the query applies to the second [CODE] leg only. Therefore, your query should probably be amended ... | 1 | 3 | 7,432 | 2021-06-01T10:54:16.433 | database_errors | dba.stackexchange.com | |
28,341 | Violates foreign key constraint | I'm trying to implement the below UML and I can't figure out where my mistake is since I have already place a value into the table. [CODE] The error is related to the last portion of the code. ERROR: insert or update on table "container" violates foreign key constraint "container_gobject_fkey" DETAIL: Key (gobject)=(6)... | Basically foreign key constraints are not inherited. If you are working with table inheritance you have a few options. Stop enforcing foreign keys Use constraint triggers to enforce foreign keys In most cases you are better off with a single large table and smaller join tables possibly with deferred foreign keys. Unfor... | 4 | 3 | 11,551 | 2012-11-07T20:13:10.027 | data_quality | dba.stackexchange.com | |
35,699 | Protractor + Jenkins , element not interactable | On my local, I start e2e tests in Protractor and this is good. I have problem when I want start tests on Jenkins job. I pull tests from repo run command [CODE] run command [CODE] My tests start execution and I have problem: [CODE] | Assuming browser launches successfully and test is able to interact with any other element successfully before the element having issues. Use explicit wait for the desired element as below: [CODE] As it seems that element is not ready yet for interaction.Also if you share the code & relevant html snippet as well , then... | 1 | 1 | 4,318 | 2018-09-19T13:55:26.873 | pipeline_ops | sqa.stackexchange.com | |
122,821 | Where to check error log when installation fails in windows? | I'm installing MS visio 2007,it fails every time,but doesn't give any information on what's wrong. How can I check the error log? | You may have to specify an error log file when installing the program. | 1 | 1 | 1,742 | 2010-03-16T04:03:43.867 | infrastructure | serverfault.com | |
177,180 | dhcpd, DISCOVER, "no free leases" | I am attempting to set up a VERY simple DHCP server. I am using Ubuntu 10.04, and I installed the "dhcp3-server" package. The server has one interface (eth0) statically set to 10.0.0.10(/21). I want to hand out IPs from the network 10.255.224.0/19. Doing what I've been told by various online guides, I edit /etc/default... | Are the two subnets 10.0.0.0/255.255.248.0 and 10.255.224.0/255.255.224.0 on the same physical network? If they are, you are going to need to assign an address from the 10.255.224.0/255.255.224.0 to the DHCP server or you need to setup the DHCP relay agent on some device on the 10.255.224.0/255.255.224.0 network. If th... | 0 | 1 | 10,394 | 2010-09-02T00:40:54.887 | infrastructure | serverfault.com | |
1,086,192 | MS Azure AD connect & Exchange hybrid deployment | I have a MS Small Business Server 2010 server with Exchange. We have looking to migrate to O365. I deployed a new Windows 2019 server (the SBS machine's UI was painfully slow) and promoted that to the PDC. I then installed MS Azure Active Directory Connect and started syncing the AD. I did not enable Exchange deploymen... | Agree with what joeqwerty has replied above, here are detailed Installation prerequisites for AAD: Azure AD Connect must be installed on a domain-joined Windows Server 2016 or later. Azure AD Connect can't be installed on Small Business Server or Windows Server Essentials before 2019 (Windows Server Essentials 2019 is ... | 1 | 0 | 550 | 2021-12-13T15:33:40.973 | pipeline_ops | serverfault.com | |
131,417 | IPsec Policy Agent flip-flopping demand start/auto start in Windows Server 2008? | Looking through the event logs on my web server I noticed a strange pattern. The following events have been occurring over and over again, always back to back: The start type of the IPsec Policy Agent service was changed from demand start to auto start. The start type of the IPsec Policy Agent service was changed from ... | So I haven't found the cause of this. But I did find out that the IPsec Policy Agent isn't really needed in my scenario. In fact, it's there for backwards compatibility with older versions of Windows as described here: Note: This service provides compatibility with Internet Protocol security (IPsec) policies used in ea... | 0 | 0 | 1,609 | 2010-04-11T18:23:55.987 | database_errors | serverfault.com | |
435,086 | Apache2 : Xampp is not running | I have apache2 and Xampp both installed in my server now my problem is When i stop apache2 from [CODE] and tried restart xampp like [CODE] i am getting the response [CODE] But i am unable to access mylocalhost when i am trying this [CODE] Each time i am getting [CODE] Please tell me what might wrong with my xampp ? | Open the file [CODE] Search the "Listen 80" and change it to some other port (e.g. Listen 2145) (Line No. 40) Open the file [CODE] Search the "Listen 443" and change it to some other port (e.g. Listen 16443) (Line No. 39) Open the file [CODE] Search for the port "testport 80" and replace it to "testport 2145". Also cha... | -3 | 0 | 16,405 | 2012-10-05T06:18:53.203 | infrastructure | serverfault.com | |
995,925 | Issue with starting nginx after updating site packages | After doing a firmware update on rhel server [CODE] unsure how to troubleshoot polkit, any advice is appreciated edit: nginx log, [CODE] | Internal nginx conflict, yum remove nginx; yum install nginx resolved the issue | 0 | 0 | 841 | 2019-12-17T19:00:07.450 | infrastructure | serverfault.com | |
106,188 | Missing Index Not Displaying In Execution Plan | I recently installed SQL Server Management Studio 2014 (Developer Edition) , and I noticed that I am no longer seeing the missing index feature. What I have done: Ran the workload through Database Engine Tuning Advisor , so I know that the table is missing an index. Found nothing online about enabling the feature Sifte... | Well just while your Tuning Advisor displays a missing index, this won't mean, that your current running query would benefit from this index. The missing index will just be displayed if the current plan would take a benefit from an index. You can also take a look at one of these [CODE] 's, they will display missing ind... | 8 | 10 | 15,026 | 2015-07-07T13:28:59.667 | database_errors | dba.stackexchange.com | |
318,885 | Is it possible to INTERSECT on a subset of columns? | Short version Per the title: would it be possible to have two SELECT statements with different columns, and call INTERSECT considering only the common columns? Long version Keeping the XY problem in mind, a short explanation. Let's say I have a table of interest with the parameters I am interested in, and a number of s... | No, this is not possible in Postgres. There are some DBMS that have implemented a (non-standard) [CODE] operator but this is not part of the standard SQL so unlikely to be added to Postgres. You can use normal [CODE] or [CODE] subqueries for what you want. Examples, using CTE: [CODE] or multiple joins - this is equival... | 2 | 1 | 416 | 2022-10-28T09:48:17.207 | warehouse_errors | dba.stackexchange.com | |
905,180 | Limit number of messages sent by Exchange 2007 | I have a Exchange 2007, it's possible to limit the number of messages sent by a user? When a computer is infected by virus or similar, this user sends a lot of emails (about 100.000 emails in a day). If it's possible to limit, I can delete of queue. Now when I have a issue of emails, domain automatically appears in bla... | Most of the virus/malware will not use your in house Exchange to send the email, most of them create a local SMTP service on the infected computer to send the mass email. As such to limit the impact I would close the port 25 to anything except your Exchange's server IP. I would use another public IP for the outgooing t... | 0 | 0 | 74 | 2018-03-29T12:11:32.960 | infrastructure | serverfault.com | |
697,287 | give permission to Active directory user to enable/disable a device | In my network, one of users uses DOS application and he need the permission to enable and disable his graphic card using [CODE] command . this user is Active directory user . how can i give him a permission to do that ? | Technet says : System Requirements The following are the system requirements for this tool: Windows 2000 Professional, Windows 2000 Server, Windows XP Professional, or Windows Server 2003 To change the properties of device drivers, users must have the following permissions set. Administrators have these permissions. Lo... | 0 | 1 | 784 | 2015-06-08T05:39:35.680 | infrastructure | serverfault.com | |
169,422 | Cannot connect Power BI Desktop to Azure SQL! | I'm trying to connect Power BI Desktop to Azure SQL , but I get " We couldn't authenticate with the credentials provided. Please try again. " it works fine if I try from Microsoft SQL Server Management Studio I can connect with no problems with the same username/password what I'm missing? | To get around this problem, notice that "Windows" is highlighted at the left of the dialog box. I clicked on Database, entered the database credentials, and then it worked. | 6 | 7 | 5,923 | 2017-04-07T09:08:12.447 | database_errors | dba.stackexchange.com | |
21,760 | Which coding language to use for very large datasets? | I have a very large panel data set (contains around 50M observations, size around 3G). I would to run an algorithm on it. The algorithm basically just loops over observations. Ideally, I would like to use functions in numpy, but I guess this would be really slow. Would R or matlab be good for this? Are there any other ... | Python is highly efficient for large scale datasets. Second choince will be R. Try python scikit-learn if you want to solve a machine learning problem. Pandas for manipulating and extracting data. | -3 | 1 | 1,798 | 2017-07-27T16:51:55.287 | data_quality | datascience.stackexchange.com | |
816,919 | mv fails but cp succeeds on nfs mount | I am trying to move a file from a local directory to an nfs mounted directory on a CentOS 7 server. The export is provided by FreeNAS. Both directories are owned by the current user with at least 755 (nfs shows as 777 but I'm not sure I believe it). My fstab looks like this [CODE] I cannot move the file [CODE] However ... | Are your password / group databases in sync between client and server? Do you see any files on nfs mounted directory on nfs client as owned by [CODE] Can you post output of [CODE] from server and client? Hint - when using NFSV4 outputs should match. Most likely you are running into discrepancy between UID / GID on the ... | 4 | 3 | 4,193 | 2016-11-24T19:02:53.343 | infrastructure | serverfault.com | |
335,022 | Row Level Permission on multiple tables in Db2 | If there are 3 tables that have foreign key relationship and I am giving row level permission on 1 table does that permission also apply to the other 2 tables automatically? Or do I need to give row level permission on all the 3 tables separately . for eg Table 1 Asia India Newyork US Table 2 nagpur india orange NJ US ... | If there is 3 tables and having foreign key relationship and I am giving row level permission on 1 table does it applicable to all the other 2 tables automatically Or I need to give row level permission on all the 3 tables seprately . You need to explicitly add Row-Level Security to each table you want locked down. It ... | -1 | 0 | 32 | 2024-01-19T19:20:14.717 | warehouse_errors | dba.stackexchange.com | |
56,621 | Q-learning when minimising a total cost instead of maximising a total reward | I have a decision problem where the results are measured as a cost that I want to minimise. It seems like a good fit to Q-learning, but I am not sure how to adjust it to deal with a cost instead of a reward. Which one is better: Initializing Q-values for all actions with zeros, then getting the agent to learn the actio... | I have a decision problem where the results are measured as a cost that I want to minimise. It seems like a good fit to Q-learning, but I am not sure how to adjust it to deal with a cost instead of a reward. The simplest way to do this, without changing anything else about your learning algorithm, is to notice that $$R... | 1 | 2 | 904 | 2019-07-30T12:14:59.653 | data_quality | datascience.stackexchange.com | |
236,391 | How can I change the default encoding of a tomcat server/container? | I'm having problems with the character encoding of my webapp and would like to know how I can go about changing the default encoding of tomcat on the Linux production server to match the cp 1252 encoding of the dev server on windows (or at least experiment with different encoding until I can find the right one). Thanks | Add this to your catalina.sh script: [CODE] Also in conf/server.xml you want to make this change so the URI encoding is set accordingly: [CODE] | 3 | 5 | 35,680 | 2011-02-16T19:03:39.693 | pipeline_ops | serverfault.com | |
29,170 | How do I access fields within Braintree's Hosted Fields' iframes using selenium | On my application payment gateway is Braintree, I need to automate it and face some difficulties when I am automating it, the major problem is I cannot send credit card details using xpath, I research some tutorial for solve this and not find any good resources, please advise and guide me how I automate payment form us... | To achieve the required automation testing services, you will have to use switchTo frame as mentioned in the link, https://stackoverflow.com/questions/9942928/how-to-handle-iframe-in-selenium-webdriver-using-java Also, for braintree the locators may differ from what you see while using inspection tool , so I will sugge... | 3 | 0 | 697 | 2017-08-22T04:25:42.230 | data_quality | sqa.stackexchange.com | |
26,993 | Combining failover clustering and database mirroring | When you combine failover clustering and database mirroring in SQL Server, you need to change the mirroring partner timeout value so that the local cluster gets a chance to fail over before database mirroring fails over. I'm curious as to what people are doing when combining these technologies - I teach various HA clas... | Paul, 1. Typically a few seconds, up to a couple of minutes depending on ... (you know the rest). Were I to setup auto failover I'd go for several minutes. That way site to site VPN connections would have time to come back up, Cluster could restart, etc. At the minimum I'd probably go with 4 minutes longer than it woul... | 2 | 2 | 2,974 | 2009-06-17T02:59:54.333 | database_errors | serverfault.com | |
22,331 | Per person weighted answers | Hi I'm new to database design but am trying to make sure I get things right first time so as not to pick up bad habits. My question is I have a set of people for which I want to record needs mapped to importance. Needs should be taken from a set to avoid duplicates creeping in. Each person will take a subset of these a... | What you need is a design like this: Keep you list of people in one table. Then keep another table with the list of things that various people might need. Normalizing people and needed things is important for being able to write simple, reliable queries about your data from the perspective of either an individual perso... | 5 | 4 | 103 | 2012-08-12T13:11:17.840 | data_quality | dba.stackexchange.com | |
288,176 | raid5 xor calculation - few questions | I have few questions related to raid5. consider creating a raid5 device, say md0 with three disks. After creation, you start writing into the disk. Here whenever a file size of say 1gb is written , how much of actual data size is written into the three disks.? I understand xor calculation is made while carrying out the... | In addition to what Chopper3 has already written: what you refer to as "pieces" of data is actually called "stripes" or "chunks" in RAID speak. The stripe size is usually a configuration option during volume creation time, typical values are in the range of 32 - 256 KB. I believe md uses 32KB as the default. whether th... | 0 | 2 | 385 | 2011-07-08T06:59:09.273 | infrastructure | serverfault.com | |
173,646 | MySQL 5.7 SELECT and INSERT deadlocking | I'm trying to solve a deadlocking issue that happens with some automated jobs kicked off via an ETL job (through Pentaho) and separately through Looker. As a result, we have some, but not tons of control over the timing and connection settings of the queries. I think I read elsewhere on Stackoverflow about INSERT deadl... | One way to try to avoid deadlocks is to speed up queries. If you don't need [CODE] , remove it. This might provide a more efficient way to handle [CODE] . If the flags are 0/1, then do [CODE] instead of [CODE] ; this may be easier to optimize. What indexes do you have on each table? (Please provide [CODE] .) The most c... | 0 | 1 | 947 | 2017-05-16T00:18:19.520 | database_errors | dba.stackexchange.com | |
789,878 | Ubuntu 12.04 server cannot access anything outside | My Ubuntu 12.04 server was working fine a few days ago. But today I couldn't access anything outside. And i cannot ssh to my server neither. I am directly plugged into the console through my vps provider. I can ping myself, but not resolve any addresses outside. I only know of ifconfig to display the network adapters a... | I was certain I didn't do anything to cause this issue, but it was my VPS provider after all. I just needed to click on the rebuild network button to get it working again. | 0 | 1 | 46 | 2016-07-14T17:09:58.720 | infrastructure | serverfault.com | |
44,184 | How many databases can SQL server express handle | I'm running a SQL EXPRESS 2005 server currently hosting ~50 databases. The databases serve clients' CMS/eCommerce websites. The connections are to a single instance, no user attached instances are being used. Median DB size is 5MB, the largest 20MB. The website are mostly low traffic, the CPU utilization is For now I'm... | According to the SQL Server 2005 Express edition overview : there are no limits to the number of databases that can be attached to the server. So, the limit is how much performance you can utilise of the server. Consider that as the express edition will only use one CPU core, if you have a quad core processor it can no... | 3 | 1 | 20,729 | 2009-07-22T18:14:23.760 | database_errors | serverfault.com | |
326,327 | async methods: are there any concurrency issues the programmer must address | Let's say this [CODE] method can be invoked a few times a second, and that the responses from the remote server can take anywhere from half a second to thirty seconds, depending on the size of the payload. So there will be several concurrent requests pending. Does .NET keep track "behind the scenes" of which response g... | Is there any chance that info could be associated with the wrong response from the remote server? No. When your [CODE] method is executed, the framework signs your Task onto the current thread as a continuation, and returns control of execution flow back to you. So now you're holding a reference to that task. When the ... | 3 | 5 | 259 | 2016-08-01T20:37:19.720 | api_errors | softwareengineering.stackexchange.com | |
869,772 | Redirect http to https but exclude some | I'm using nginx and I want to know if it's possible to do this. Now to manage my vhost, I create them separately in /etc/nginx/sites-available (activate them after) [CODE] So to redirect http to https I create a redirect vhost, that contain : [CODE] mydomain.com and all other subdomain are under https. But the problem ... | Typically you will have one forwarding block for each domain / subdomain. Redirection using the default_server isn't something I've seen done before, though in most cases it's probably ok. So instead of using default server you define a block as follows, either for just the domain in question or for each domain [CODE] ... | 0 | 1 | 491 | 2017-08-21T19:24:04.880 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.