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 |
|---|---|---|---|---|---|---|---|---|---|---|
984,249 | Added DFSR to Domain controller, non domain admins can not create shares | My situation is I deployed a couple of domain controllers at some locations. My boss didn't want to spend money on servers, so I reused some servers we were not using. I installed them as domain controllers and added DFSR replication to them. Everything is working fine, I am having no problems at all, it has been worki... | Ok. So after more research I figured out that I should have made these read only domain controllers. I’m just going to demote them and then add them back as rodc. | 1 | 0 | 88 | 2019-09-14T18:48:10.710 | database_errors | serverfault.com | |
29,047 | How to Update same table on deletion in MYSQL? | In my Database I have a table : [CODE] with recursive association, an employee can be boss of other employee. Following is query I used to create table: [CODE] And I could successfully create my table: [CODE] Then I inserted some tuple in Employee table using following query. [CODE] Now I have following hierarchical re... | The easiest way to delete [CODE] is to do the following: Have [CODE] inherit [CODE] and [CODE] , putting them on the same level as [CODE] . Delete [CODE] First, I'll load your sample data [CODE] View all current relationships [CODE] With this [CODE] query [CODE] let's elevate [CODE] and [CODE] to the same level as [COD... | 4 | 2 | 2,424 | 2012-11-21T11:16:46.957 | database_errors | dba.stackexchange.com | |
33,652 | How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot? | I have plotted the following map of Philippines according to the population in its regions, using [CODE] in Python 3: As can be seen, there's one province (in red) that is an outlier. When looking at the data, it is clear: [CODE] This is making the plot "unattractive" - there would have been a lot more contrasting colo... | I would recommend two simple but effective methods: Outliers like that are usually easy to discover by calculating the mean and std of the values and possibly you could set your interval of colors between: $[\mu-\sigma,\mu+\sigma]$ . This would 'clip' the outliers toward a generic maximum. Binning - Instead of giving a... | 2 | 1 | 1,370 | 2018-06-26T05:04:14.123 | data_quality | datascience.stackexchange.com | |
802,355 | RAID 6 array rebuild with hotspare | I have an 11-disk (D0 - D10) RAID6 array with a hotspare (D11) - a 12 disk array total. Disk D3 failed earlier today and the hotspare is now being rebuilt (presumably, turning itself into a datacopy of D3). I want to replace the dead D3 with a working disk. The controller is running LSI MegaRAID Storage Manager (v13.04... | I strongly suggest to first let the controller rebuild the array, then remove the broken disk. After that, when replacing D3 with a working disk, the array should reconstruct D3, restoring D11 to its original hotspare role. Anyway, please consult your controller manual to be sure what to expect. | 0 | 1 | 970 | 2016-09-11T01:30:50.127 | infrastructure | serverfault.com | |
32,908 | Making predictions from keras with SciKit | Ive been thinking about combining some processes between keras and Sci-kit Learn and am looking to the this group to either validate my process or tell Im crazy. Im creating a simple Regression problem using 17 inputs like this: Creating test/train here: [CODE] Building the network here: [CODE] compiling the model with... | This seems about right. You can use SciKit learn quite easily, as the predictions and test results you have should all be in NumPy arrays anyway. Take a look at the regression metrics . The metrics you have named are shown in the documentation to take lists, but here is an example showing they work just as well with Nu... | 1 | 0 | 564 | 2018-06-10T16:40:41.540 | data_quality | datascience.stackexchange.com | |
241,152 | Is this method pure? | I have the following extension method: [CODE] It just applies an action to each item of the sequence before returning it. I was wondering if I should apply the [CODE] attribute (from Resharper annotations) to this method, and I can see arguments for and against it. Pros: strictly speaking, it is pure; just calling it o... | No it is not pure, because it has side effect. Concretely it is calling [CODE] on each item. Also, it is not threadsafe. The major property of pure functions is that it can be called any number of times and it never does anything else than return same value. Which is not your case. Also, being pure means you don't use ... | 10 | 15 | 5,494 | 2014-05-26T19:23:18.013 | api_errors | softwareengineering.stackexchange.com | |
691,547 | Puppet - mysql module not pulling "my.cnf" from fileserver | Trying to deploy mySQL puppet. Using "Puppetlabs-MySQL" module. My puppetmaster'd pp has [CODE] and fileserver.conf has [CODE] But agent is still not pulling "my.cnf" from puppet master with errors: [CODE] | You define the mount point, say /etc/storage, for what you are going to use on pp. Put three /// in front of the mount point you define. (fileserver.conf) [CODE] (nodes.pp) [CODE] | 0 | 0 | 432 | 2015-05-12T20:08:01.277 | database_errors | serverfault.com | |
136,468 | Connecting to MySQL VM remotely (Azure Resource Manager) | I have a VM setup in Azure (running Windows Server 2012 R2) with MySQL 5.7 installed. I am trying to access this using MySQL Workbench - which when running on the server works perfectly. However, trying to use Workbench from my own PC is giving me there error "10060": I have also tried doing this using a PHP file in an... | After a bit of head banging I have found that changing the [CODE] on mysql to the ip address of the node connecting to mysql makes [CODE] refuse to [CODE] So instead set the [CODE] Then let the firewall and mysql handle allowing the hsot. Create a firewall rule on the mysql node like below: Then create a remote mysql u... | 3 | 1 | 2,345 | 2016-04-25T14:40:37.817 | database_errors | dba.stackexchange.com | |
557,626 | Is there a way to escape spaces in file names in vsftpd's config file? | I am generating user config files for vsftpd on Debian Linux. The config files are simple in nature, but I am running into one issue. Is there a way to escape a space in the file name(s) for the [CODE] or [CODE] configuration settings? Example - can I escape the space in [CODE] ? [CODE] | I'm using this sub regular expression, [CODE] Note: it's only applied on the last child of the path Working example: /not_applied/not_applied/applied.here | 0 | 1 | 1,351 | 2013-11-26T19:05:35.637 | infrastructure | serverfault.com | |
128,157 | MySQL 5.7 not accepting values of innodb_buffer_pool_instances greater than 1 | I've been tweaking the values of the buffer pool size ( [CODE] ) and the number of buffer pool instances ( [CODE] ) in the my.ini initialization file to optimize heavy load handling with MySQL. I can successfully change the buffer pool size, both dynamically and with the my.ini file, but no matter what I change the [CO... | Fixed it. I just reinstalled MySQL and now the variable updates just like it should. Don't know why it wasn't working, but I don't really care since it works now. | 0 | 0 | 566 | 2016-02-03T15:02:16.507 | database_errors | dba.stackexchange.com | |
95,276 | Why does InnoDB allow a 772 byte unique constraint? | I've defined a unique constraint for two columns: A bigint and a VARCHAR(256) COLLATE utf8mb4_unicode_ci Then this error occured (which I'm already familiar with): [CODE] I then tried to set the length of the VARCHAR column as high as possible without getting an error. What suprised me was that MySQL allowed me to chan... | Revised math: 8 bytes for BIGINT -- Do you really need more than 4 billion values? Consider INT UNSIGNED at only 4 bytes. 2 byte length of VARCHAR 764 bytes for 191 characters (potentially 4 bytes per utf8mb4 character) 2+764 8+2+764 Edit The reference manual has some complicated limits on indexes. Generally you will b... | 1 | 4 | 694 | 2015-03-14T15:09:53.507 | database_errors | dba.stackexchange.com | |
333,604 | Merging old backup in current database mysql | I have a backup database that contains data up to the specific date 27-11-2023. Currently, I have the latest version of the database with updated records. However, the issue arises when I consider importing my backup database because it would overwrite my current database, which already includes data up to 27-11-2023 a... | There is a solution to this, but you may not be able to employ it. The solution is to use the binary logs, which contain serial events that updated data. The idea is that you would restore your backup, then use the [CODE] tool to convert the binary log into a serial of SQL statements. The crucial step is to know which ... | 0 | 0 | 53 | 2023-11-30T11:50:05.830 | database_errors | dba.stackexchange.com | |
569,059 | Improve system performance with all my extra RAM? | I have a massive amount of RAM on my home server (32 Gig). Is there something I can do to make my Linux system extremely fast with it, such as put the root FS in a RAM disk at boot somehow? | You are confusing disk space and RAM. This is totally different, both exist for different purposes. To answer your question: If you mount the root fs in a ram disk the write operations won't be reflected so that's a bit pointless. If you use your system intensively enough, Linux will naturally fill up the system cache ... | -3 | 3 | 76 | 2014-01-22T14:37:38.307 | infrastructure | serverfault.com | |
271,787 | Is it safe to have Mongo replicas on single server? | I am planning a minimum setup for a low traffic discussion forum. Everybody says to use replicas because otherwise I am in a risk of data loss. I see an advantage that I can add new more powerful node without a downtime. While I was reading Mongo performance best practices , I noticed this sentence: With appropriate si... | Replication is a risk mitigation strategy, amongst other purposes. If you understand those risks, and the consequences should they eventuate, and that's all acceptable in your context then by all means run multiple replicas on the same hardware. For a dev environment I can imagine this would be OK. A hardware failure w... | 2 | 3 | 90 | 2020-07-28T13:44:59.603 | database_errors | dba.stackexchange.com | |
62,628 | Cannot fig out error in my gradient function implementation in python | Im trying to implement following gradient descent function in Python for logistic regression: $∇θ(−logL)=−X^T (y−e^{Xθ})$ This is my python implementation: [CODE] [CODE] is a dataframe of size: (2458, 31), [CODE] is a dataframe of size: (2458, 1) [CODE] is dataframe of size: (2458,1) when i pass values to my gradient d... | Check your [CODE] dimensions. Most likely, your [CODE] dimensions indicate you have [CODE] training samples per iteration with each having [CODE] features. Hence, your [CODE] should be a matrix of shape [CODE] . With [CODE] having shape [CODE] and if [CODE] has shape [CODE] , [CODE] will have dimensions [CODE] , same a... | 0 | 1 | 170 | 2019-11-04T05:10:24.970 | data_quality | datascience.stackexchange.com | |
106,306 | Migrating Subversion repository but svnadmin load results in out of memory error | We have a Subversion repository on Windows Server 2003 and would like to move it to a new server running Server 2008 R2 64 bit. The new server has 8 gb of ram. I was hoping to dump and load the entire repository since it's currently in a pre 1.5 format. The repository has just over 20,000 revisions. On revision 12900 t... | Using the 32-bit version of svn on a 64-bit Windows means svn can only allocate 2GB of memory. Get a 64-bit build of subversion. I no longer remember the algorithm for svn's stream load, but it may think you have 8GB available and terminates when it itself cannot manage more than 2GB. | 0 | 1 | 1,373 | 2010-01-26T06:17:26.407 | infrastructure | serverfault.com | |
811,901 | Server 2016 Standalone RDS Gateway | In Server 2012 R2 it was possible to manually install the RDS Gateway role without needing an entire RDS deployment. In 2016, the Gateway component is missing - as can be verified by running Get-WindowsFeature in a Powershell prompt. It seems the only way to add the component is to do so after completing a RDS deployme... | In Server 2016 RDS Gateway is a role service of RDS role and it can be easily installed as such either via Server Manager: Or via PowerShell: So it should not be a problem to add just this Role Service. This is actually exactly the same situation we have in Server 2012 R2. I'm not sure what can cause missing RDS Gatewa... | 2 | 4 | 5,451 | 2016-10-28T15:28:19.663 | pipeline_ops | serverfault.com | |
252,684 | The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION | Below is an excerpt of an 800 line stored procedure that is failing with this error now. I say now because this is not new code. This script is scheduled to run every few minutes and has worked for a year. [CODE] | Some errors automatically rollback the transaction. See generally Error and Transaction Handling in SQL Server And if your error already rolled back the transaction, the first line of your catch block will throw this error. So replace [CODE] with [CODE] (Remove the 'REALLOCATE' label because this will NOT roll back onl... | 0 | 4 | 5,710 | 2019-11-06T17:31:15.340 | database_errors | dba.stackexchange.com | |
257,531 | calling scalar function to assign value to local variable | In a SQL Server stored procedure, if we declare a local variable and assign the value by calling a scalar function [CODE] . Would it have any impact on overall performance of SP as in general using scalar function directly into script has performance downgrade most of the times? Thanks! | Two big problems with using functions in a query are that cardinalities are not accurate and that the function code is called once per row. When setting a variable neither of these are a concern. So I would think, generally speaking, there would be no measurable performance impact. | 2 | 2 | 1,232 | 2020-01-16T10:14:08.063 | database_errors | dba.stackexchange.com | |
280,213 | Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out | I deployed my GWT app, that uses SpringSecurity, and have a problem. After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I give correct ones it just goes back to the login screen. (So mysql connection works) My set up is like this: Apache 2 fro... | I dealt with this same issue for a bit myself in the past. Had some configurations work in 1 browser and not another. However, I found the fix to be that you should not be using http and port 8080 in your apache httpd configuration. You should be using ajp and port 8009 (which tomcat has on by default). The required pa... | 0 | 0 | 451 | 2011-06-14T09:01:43.087 | database_errors | serverfault.com | |
267,824 | Amazon ELB not loadbalancing between two servers | I'm just set up a small load balanced architecture in AWS using two Large EC2 instances in the same availability zone with a non-sticky ELB in front. Amazon reports that both instances are health and I see the healthchecks returning 200 on both servers, yet all traffic is being routed to one of the servers. If I pull t... | Is there a stickiness policy for the ELB? Check in the AWS Console, EC2 > Load Balancers > [your ELB] > Description. Under Port Configuration it should say "Stickiness: Disabled". | 2 | 1 | 655 | 2011-05-09T17:18:37.447 | database_errors | serverfault.com | |
1,065,879 | Timeouts on Cloud SQL and other external services when using NAT + IP Masquerade on GKE | I have to configure a static IP in one of my PODs because a remote service (outside of my cluster) requires trusted IP whitelisting. I followed the documentation provided by Google: https://cloud.google.com/nat/docs/overview?hl=es-419 https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent But when t... | Finally we were able to diagnose the problem. Our cluster was created some time ago when GCP didn't supported private clusters so our clusted is public. Each node have a public ephemeral IP thus the NAT rules are being ignored. The solution was setting a node with a static IP and not ephemeral and configuring the workl... | 1 | 0 | 572 | 2021-06-06T14:29:59.497 | pipeline_ops | serverfault.com | |
212,907 | Problem with a complex query | I've facing problem with my MySQL database. I know how to process when I want to do many conditions on one same column. Example of a table : [CODE] Typically, if I want to show the 'No' that has Letter a AND Letter b AND Letter C, this query works well : [CODE] But what happens, if in the query, I want to subdivide eac... | I want to subdivide each letter into many occurences and find the 'No' that could have one occurence of GROUP A(a,x,y,z) AND one occurence of GROUP B(b,w,l) AND one occurence of GROUP C(c,k,j) Because of a [CODE] and [CODE] values are treated as [CODE] and [CODE] respectively in the number context, the construction of ... | 0 | 1 | 60 | 2018-07-22T17:43:12.597 | database_errors | dba.stackexchange.com | |
172,145 | Why is PostgreSQL very slow when I execute a SELECT query with OR in WHERE clause? | The query is like: [CODE] but when I rewrite it as UNION it works. What is the problem of this query? | This is a common issue - PostgreSQL planner cannot use indexes (it's not able to optimize [CODE] , when [CODE] is used for subselects) and rewriting with [CODE] helps. Last year Tom Lane wrote a patch, but as far as I know, this patch was not merged yet. | 1 | 2 | 218 | 2017-04-27T11:22:28.970 | database_errors | dba.stackexchange.com | |
1,107,453 | Access wireguard using hardware Authentication like yubikey | At our company we use wireguard vpn to access our cluster. In our server, we install wireguard which will add a network interface that acts as a tunnel interface. The access with this tunnel will be encrypted via private/public keys association between the server and the client. The below is sample config Server : [COD... | Don't put the entire WireGuard config in your password store -- just the WireGuard private key. If you have multiple WireGuard configs, store the private key for each in a different password entry, like say this: [CODE] (You can then calculate the public key for a private key like this: [CODE] .) Keep the WireGuard con... | 1 | 1 | 3,780 | 2022-08-05T07:47:02.803 | data_quality | serverfault.com | |
394,767 | Is bad idea to utilize helper functions on integration tests? | In my job I have a small disagreement on whether we should utilize helper functions for making datasets especially in [CODE] framework. A sample for the test is: [CODE] The argument that my supervisor says is that using the [CODE] method even though makes the code DRY it does not aid the readability of the test. Also h... | I think your supervisor is off track, and I think creating helper functions for integration tests is a perfect way to use OO and DRY principles in your test case design. I've made a career of developing integration tests and integration test frameworks, and do this same sort of thing and much more at every job I do. To... | 2 | 1 | 606 | 2019-07-16T18:16:56.163 | api_errors | softwareengineering.stackexchange.com | |
171,979 | What is a scalable replacement for Windows Home Server backup technology? | We are up to three Windows Home Servers on site. They happily sit unassumingly in the corner of the server room each backing up a combination of 10 computers/servers. Benefits of WHS. Daily incremental image based backups of each machine. Saves disk space by consolidating duplicate bits across images. Easy access to fi... | I use this: http://backuppc.sourceforge.net/ And I think it is the coolest backup technology ever. It is linux, so you may have to deal with some issues, but I think it works well. It is file based however, I don't know about Windows Home Server, but backuppc doesn't do images. | 5 | 1 | 788 | 2010-08-18T17:51:38.467 | database_errors | serverfault.com | |
398,016 | How to sysprep SQL Server Express? | We plan to deploy Hyper-V VHD with Windows Server 2008 R2 and SQL Server 2012 Express installed to multiple hosts. From my understanding, the correct way to do this is to install SQL Server in prepartion mode, sysprep Windows, then complete SQL Server installation when the VHD is deployed. I mostly followed the process... | Turned out it was caused by the SQL Server setup. After the "prepare" stage, a shortcut to the "complete" stage will be added to the Start Menu. However, for some reason the shortcut links to the SQL Server Enterprise setup. To complete a SQL Server Express prepared instance, the setup must be launched from the SQL Ser... | 4 | 7 | 5,292 | 2012-06-12T17:56:10.653 | database_errors | serverfault.com | |
53,792 | Sequence prediction with unlimited predictions | I have a special kind of prediction problem. I have observed $M$ sequences $X_m = [x_1, x_2, ..., x_N]$ where the distance $d$ between $x_n$ and $x_{n+1}$ is drawn from the same normal distribution, eg $d \sim N(\mu, \sigma^2)$ . I can learn the parameters $\mu, \sigma$ . Now I need to predict/generate a whole sequence... | Your biggest issue with the evaluation scheme you have - "success" means within tolerance, "failure" means outside tolerance, plus your constraint on model outputs needing to vary per time step - is that it will be hard to extract gradients in order to train the prediction model directly. This rules out many simple and... | 2 | 1 | 88 | 2019-06-14T12:25:49.220 | data_quality | datascience.stackexchange.com | |
16,040 | Mod lines in Java code | Often in C code (and some other languages as well) I have seen a section in the top-level comments for mod lines. These include the date a modification to the file was made, the user who made the modification, and a brief description of what was changed. I have not yet seen an equivalent of this in Java. I think this i... | I see no reason to have those useless comments in any source file. Its just reinventing version control extremely poorly. | 1 | 10 | 330 | 2010-11-01T15:04:05.357 | api_errors | softwareengineering.stackexchange.com | |
214,323 | SSIS Transfer Login Task Error | I have created an SSIS Transfer Logins Task. I have selected the [CODE] and [CODE] and both valid and active. I have selected certain Windows group accounts to transfer from source to destination databases. [CODE] is set to [CODE] and [CODE] is [CODE] . When I run the task I get the following error: SSIS package "F:\SQ... | Instead of going through the rabbit hole of finding a fix for the error, I would highly suggest you use dbatools Copy-DbaLogin This command migrates logins from source to destination SQL Servers. Supports SQL Server versions 2000 and above. Migrates logins with SIDs passwords defaultdb server roles & securables databas... | 0 | 2 | 793 | 2018-08-07T19:00:18.353 | database_errors | dba.stackexchange.com | |
361,076 | Load average is 50 while CPU Utilization is %60 | We use EC2 Auto Scaling and recently decided to change Instance type from m2.2xlarge to c1.xlarge (High Memory to High CPU) because average amount of used RAM per Instance is 2G, thus we don't need 34G provided by m2.2xlarge, and having more CPU power of c1.xlarge for the same price would be good idea. But after switch... | Please add [CODE] output. I suppose a number of context switches per second is killing your performance, because there are much more processes running than available processors. I think context switches on a virtual machine are expensive. If it's true, then there are some kernel tunables that can help you lower number ... | 2 | 5 | 6,073 | 2012-02-17T03:09:56.840 | infrastructure | serverfault.com | |
15,017 | Installing Oracle XE 11gR2 on Fedora 15 - linux group permission deadlock | During installation of Oracle XE 11gR2 on Fedora 15, I am presented with: The install cannot proceed because ORACLE_BASE directory (/u01/app/oracle) is not owned by "dba" group. You must change the ownership of ORACLE_BASE directory to "dba" group and retry the installation. This is frustrating because I have set [CODE... | You've got the distinction between users and groups mixed up. Putting the dba user in the oinstall group will not mean that the dba group will also have permission to write to /u01/app/oracle when the owning group is oinstall - this is because the dba user and the dba group are completely separate entities. The Oracle ... | 2 | 2 | 3,517 | 2012-03-14T18:07:06.850 | database_errors | dba.stackexchange.com | |
267,435 | Installing Private and Public Key Certificates On IIS7 | I'm not an expert on IIS but every year I really struggle getting a certificate onto an IIS7 server that hosts our ecommerce website. I buy my certificates via 123-reg and I get a GlobalSign private key and a public key sent to me for the certificate. The 123-reg help pages are useless and it never works following thei... | Personally, I tend to use OpenSSL for this type of work: http://www.openssl.org/ If you're not dealing with certificates everyday, however, try something along the lines of: http://www.edwinbush.com/my-tools-page/pfx-generator which will combine your Private Key and the Certificate hashes into a PFX file that you can i... | 0 | 2 | 3,577 | 2011-05-08T08:48:39.667 | infrastructure | serverfault.com | |
307,169 | Creating sample multi-TB databases with Postgresql | For reasons I won't go into I need to do some tests with sample terabyte-sized databases in Postgres. Those tests are not your typical SQL-level benchmark tests, more like tests of how quickly I can back the database up, restore it, etc, so while test DBs should have some structure, it's not really important what those... | It will take a long time to create a 15 TB database (I found this article useful for estimating the database size). If you left the database at default settings, I am not surprised if it takes a long time. To speed up [CODE] , set [CODE] and [CODE] high (but it will still take a long time). | 0 | 1 | 800 | 2022-02-08T14:42:16.983 | database_errors | dba.stackexchange.com | |
233,995 | How to configure multi domain nameservers in resolv.conf? | I have a server that has 2 domains pointing to it [CODE] and [CODE] . They both use the same name servers: [CODE] and [CODE] . When I run [CODE] This is its contents: [CODE] What should actually be in here? EDIT I asked this question They told me to look at my [CODE] and that it was probably because my resolv.conf was ... | Check that you have a fully qualified name (dev-kranichs.domain.something) for 127.0.0.1 in your /etc/hosts. You should have a line looking similar to [CODE] could be enough. | 1 | 2 | 2,439 | 2011-02-10T18:05:21.220 | infrastructure | serverfault.com | |
125,010 | Suitability of column store formats like Parquet for table data | I'm new to the data analytics world, but perhaps my question could help others, we all start somewhere. We have a process that extracts data from an SQL database and stores it in temp files as CSV format. A second process reads the CSV data and saves to Parquet format (to an s3 bucket). The CSV to Parquet step is a ver... | Your question raises issues of both low-level storage format and high-level retention policy. tl;dr: Yes, keep using parquet. storage format Parquet offers several attractive features: binary compressed columnar You are currently taking advantage of the first two, and you should keep doing so. They shrink the size of y... | 4 | 5 | 63 | 2023-12-11T15:27:01.753 | warehouse_errors | datascience.stackexchange.com | |
205,670 | Async function iterated calls | I'm new to using async calls in ajax. My problem is that I have two server "tasks": one that just checks if session is set (fast), and another that sets the session (slower). I want to check if the session is set and if not, set it. And I want to try X number of times (I'm unsure if I really need to but that, but that ... | Why not just use one call [CODE] , which either returns the current session if it's already set, or creates a new session and returns that. Yes it's marginally slower to send your session data across the wire on every call, but it's much much faster than running both calls synchronously almost every time. It also means... | 0 | 1 | 259 | 2013-07-22T14:24:23.823 | api_errors | softwareengineering.stackexchange.com | |
257,223 | Unable to Join phpMyAdmin Using MySQL Defined User | I can login to mysql via the command line just fine, but when I try to log on to phpMyAdmin with the same password that worked in the cli, it won't allow me to connect and gives me: [CODE] . I can login using the control user for note. Here's a copy of my config: [CODE] | When you connect from the command line client, run the [CODE] command and note the connection type. When connecting to host 'localhost', phpMyAdmin uses the socket connection type; it seems likely that your user is created with a different host field (probably [CODE] ) and your command line client is connecting via TCP... | 0 | 0 | 273 | 2020-01-12T23:26:17.360 | database_errors | dba.stackexchange.com | |
151,892 | How do I find the creation date of a user in MongoDB? | How do I find the creation date of a user in MongoDB? As background, I'm used to doing this in relational databases like Oracle or MSSQL. I've checked the admin.system.users table, as I thought I might be able to decode the [CODE] in case it were a generated [CODE] , but no luck there, as it uses the {db}.{username} as... | As at MongoDB 3.2, you are correct that the [CODE] collection does not maintain metadata such as created or modified timestamps. You can add metadata manually using [CODE] , but as you noted this requires coordination with any applications or tools that are allowed to create users in your MongoDB deployment: [CODE] Ide... | 0 | 2 | 3,459 | 2016-10-10T17:46:38.917 | database_errors | dba.stackexchange.com | |
1,023,019 | installation gone awfully wrong? | I have installed the platform using the .run script Two dirs appeared in /opt/ejabberd and /opt/ejabberd-20... I started the services registered users and connected played along fine Pidgin also sent a file from one member to another. BUT I noticed no offline messages were stored and sent later. I started digging with ... | I noticed no offline messages were stored and sent later. Well, check in ejabberd.yml configuration file that mod_offline is enabled... Maybe that module is not enabled in the default configuration of the ejabberd version you installed. If the module is listed in that file, and that file is read by ejabberd, then check... | 0 | 0 | 93 | 2020-06-26T12:06:29.693 | infrastructure | serverfault.com | |
536,771 | Pass unlock credentials to powershell script | I have a powershell script that is run as a scheduled task and is triggered to run "On workstation unlock". The script is programmed to reconnect an SSTP VPN connection if the connection becomes disconnected during the time the workstation is locked. I would like to pass the username and password to the script so that ... | AFAIK, there's no way from a standard user-mode process (like Powershell) to get the current user's clear text password. And that's a good thing. If there were, it would be a pretty large security vulnerability. While it might be possibly to write a Windows Credential Provider that can hook into the WinLogon APIs and u... | 1 | 0 | 991 | 2013-09-05T21:11:21.243 | infrastructure | serverfault.com | |
137,122 | Configure POP3 Connector for SBS 2008 (Exchange 2007) | I have a client which has all his mail on server outside of his company. Right now his exchange server (on SBS 2008 is configured using POP3 connector but problem is mail gets deleted from server when downloaded by connector. Is there a way to make pop3 connector leave emails on server (external one) and download them ... | The POP3 pull in SBS has no setting to leave messages on the server as Outlook provides in email polling. You can however setup Outlook to pull with POP3 and store the email into your Exchange profile (local OST). This way you can test Exchange while leaving email on the mail server for later. The only issue is, you ne... | 1 | 1 | 2,817 | 2010-04-29T18:02:08.823 | infrastructure | serverfault.com | |
632,118 | HP 570SFP+ (718904-B21) support for 1000Base-T? | I'm writing low-latency HFT application, so I want to use fast netwrok card which allows me to by-pass network stack. However 10 GB connection on Stock Exchange is too expensive that's why I want to use 1000Base-T (much cheaper) So I want to connect HP 570SFP+ to 1000Base-T, but in the spec I can't find support for the... | If HP 570SFP+ supports 1000Base-T? If can I use SFN6122F instead of HP-branded HP 570SFP+, will it work properly, if "pure" Solarflare card is fully compatible with HP DL360p Gen8? If someone succeed connecting HP 570SFP+ (718904-B21) to 1000Base-T ? Sure (with a copper ethernet adapter). Yes. Yes (with a copper ethern... | -1 | 5 | 308 | 2014-09-29T15:06:08.880 | infrastructure | serverfault.com | |
506,709 | NTP can't synchronise or find a suitable server | The problem I'm trying to solve is that NTP won't synchronize: [CODE] Edit: Here's some ntpq output: [CODE] I have the default RHEL6 /etc/ntp.conf configuration. Servers bit: [CODE] When I stop ntpd and try to run ntpdate manually, I get a "no server suitable for synchronization found" for all of those servers. Here's ... | Make sure there isn't an external firewall between the machine and the rest of the internet. If there is, request that the people administering the firewall open port 123. | 3 | 5 | 15,639 | 2013-05-10T14:20:15.050 | infrastructure | serverfault.com | |
331,962 | In Mongo 2.6, how can I tell if there are any IP based restrictions? | I have a mongo v2.6.12 cluster that I can't connect to from a new windows machine. Using TNC I've confirmed that port 27017 is accessible from the source -> destination. How can I tell if there are mongo-level restrictions, similar to how mysql would grant privileges to a user from a specific host? I tried using this: ... | Try to select the collection directly: [CODE] | 0 | 0 | 21 | 2023-10-06T17:57:29.087 | database_errors | dba.stackexchange.com | |
427,592 | IPv6 6to4 on Windows Server | I'm looking for a relatively simple guide to setting up an IPv6 tunnel properly. This network currently has a server (Windows Server 2008R2) running RRAS that establishes connectivity to the internet using a demand-dial PPPoE connection and handles the NAT. It also hosts a DNS server and DHCP. My ISP does not support I... | I cannot test with Server 2008, but the following should work: To add a tunnel from command line, run [CODE] and type: interface ipv6 add v6v4tunnel Tunnelbroker localaddr= remoteaddr= add address Tunnelbroker address= add address Tunnelbroker address= :1 add route ::/0 interface=Tunnelbroker publish=yes add route /64 ... | 0 | 2 | 2,009 | 2012-09-13T12:43:41.687 | data_quality | serverfault.com | |
1,129,795 | how to run next.js using NODE and react.js at the same time on apache server | I have to run 2 different apps on the same domain at the same time. I want to forward all requests to localhost:3000, if url contains /presscenter, if not, default should be my react.js application. I found this one here for apache virtual host: [CODE] but at the same time, if I want my react.js application to work pro... | I'm assuming you have already enabled/configured mod_proxy (and related modules) in the server config. Try the following instead: [CODE] I've simplified some of the regex, eg. [CODE] is the same as [CODE] - whether that is really the intention or not it's not clear. (Although I suspect you probably intended it to match... | 1 | 1 | 985 | 2023-04-27T06:58:53.763 | infrastructure | serverfault.com | |
215,065 | Can anyone explain representation of float in memory? | Can anyone help me in understanding how float values are stored in the memory . My doubt is here float values contain ' [CODE] (for example [CODE] ) how the [CODE] will be represented in the memory? Can anyone please clarify me with a diagram? | The decimal point is not explicitly stored anywhere; that's a display issue. The following explanation is a simplification; I'm leaving out a lot of important details and my examples aren't meant to represent any real-world platform. It should give you a flavor of how floating-point values are represented in memory and... | 34 | 57 | 85,534 | 2013-10-21T06:37:37.910 | api_errors | softwareengineering.stackexchange.com | |
330,643 | Optimizing PostgreSQL Query Using Composite Index and GIN Index | I have a PostgreSQL query that involves multiple conditions and joins. While I've created a composite index to speed up some of the filtering, I'm still experiencing extra rows being fetched due to the tags filter. Additionally, PostgreSQL doesn't seem to be effectively combining my composite index with the [CODE] inde... | Using the Bitmap would mean it can no longer rely on the rows being retrieved already ordered by [CODE] . Apparently the planner believes that the ordering without a sort is more important than the extra filtering. But in this case I don't think that that is it. It thinks it will only find one row from the subquery, an... | 0 | 1 | 128 | 2023-08-26T11:36:52.803 | database_errors | dba.stackexchange.com | |
1,013,171 | How to upgrade RAM of current Google cloud server | I want to upgrade the RAM from 8 GB to 16 or 32 GB of my current Google cloud server without facing any IP and long down time issue. | As per the comments, ultimately you will need to shutdown the VM before you can change the machine type to increase the RAM. Two things to take into account to minimise downtime and ensure you don't have IP issues. First, IP issues. You need to ensure your VM has a static IP, that way it will retain its IP across resta... | -4 | 1 | 1,392 | 2020-04-20T09:49:02.537 | infrastructure | serverfault.com | |
856,086 | Exchange receive connectors throttling- does it enforced for local connection? | Probably lame question but I'm not very well familiar with Exchange email flow (2010/13/16).I know there are throttling policies we can configure on receive connector level, in particular MaxMessageRate limit. I recently was trying to reproduce a scenario where app which does email sending through Exchange gets throttl... | There is no concept of "local" connections within Exchange 2010 and higher. Due to the architecture of Exchange the hub transport role is separate from the other roles and all email is subject to any restrictions applied at that level. After making a throttling change, did you restart the MS Exchange Transport service? | 0 | 1 | 409 | 2017-06-15T21:14:53.623 | api_errors | serverfault.com | |
289,193 | Supervisorctl successfully starts, but cannot stop | When I start supervisorctl, it runs fine without issue. However, when I try to stop it or run status, I get this error: [CODE] How can I fix this? | Install a stable version of supervisord, instead of an unstable alpha release. | 1 | 1 | 1,768 | 2011-07-11T20:52:45.957 | infrastructure | serverfault.com | |
326,471 | Is it possible to multipath across FC and iSCSI? | Perhaps a silly question this one, but I was wondering if it were possible to multipath a storage array across a FC connection and an iSCSI connection? Given that the main point of multipathing seems to be to increase resiliancy in the face of hardware failure, it seems logical that providing a storage pathway that dep... | theoretically, if device-mapper-multipath detected the same LUN over an iSCSI link it would add it to the available paths, and then it's up to you to make sure you set the failover and IO directions to the right priorities. I do however doubt you will see the same presentation of the LUN, because I haven't seen any arr... | 4 | 4 | 2,037 | 2011-10-31T21:13:57.837 | infrastructure | serverfault.com | |
100,874 | Connection problem different errors .net application | We have a SQL Server with some relational databases. We have another webserver with applications which communicate with the databases. We have an issue with one of our customers. We get some errors every night, and we have a problem identifying what the problem is. There is a web/wcf service. We have traced the databas... | I think you may be experiencing TCP Port Exhaustion on the Web Server. Avoiding TCP/IP Port Exhaustion is a good starting place for understanding the issue. This is generally an application design/implementation issue. https://msdn.microsoft.com/en-us/library/aa560610%28v=bts.20%29.aspx?f=255&MSPPError=-2147217396 | 1 | 1 | 11,124 | 2015-05-07T14:51:28.963 | database_errors | dba.stackexchange.com | |
179,210 | what will EcmaScript 6 bring to the table for us | Our company ported moderate chunks of business logic to JavaScript. We compile the code with a minifier, which further improves performance. Since the language is dynamically typed, it lends itself well to obfuscation, which occurs as a byproduct of minification. We went to great efforts to ensure it positively screams... | what impact will the language advances ultimately have on our existing, well-written, well-performing code base? Hardly any. One of the reasons that the progress of ECMAScript specs is slow (compared to languages like python, ruby etc.) is they care very (and I mean very ) much about the tons of existing code out there... | 4 | 1 | 471 | 2012-12-12T20:35:57.910 | api_errors | softwareengineering.stackexchange.com | |
393,438 | Can't ping a DNS zone on windows server 2008 R2 | I´ve just configured a windows server 2008 r2, but got a lot of problems on DNS role. Let me talk about the server configuration: name : fdserver IP address: 192.168.0.10 I have a DNS zone called "fd.local". This is my domain and it´s working ok. I´ve created a zone called fdserver, and inside this zone a record (A) wi... | If you have local DNS names (which you do), generally you'd want to set your DNS and AD server to use only itself as a DNS server. You want all your other servers and client workstations to do the same. It's the closest thing to you, and public DNS servers don't carry your local domains. The standard doesn't require th... | 1 | 1 | 2,284 | 2012-05-29T00:32:32.960 | infrastructure | serverfault.com | |
447,740 | APACHE httpd.conf error | I have recently installed the latest Apache. It is working fine through [CODE] and through [CODE] , but I can't connect through [CODE] . I have forwarded ports correctly, but I don't know if it has something to do with the httpd.conf file. So here is a link to my httpd.conf file . | Ensure that your apache is listening on every address: get this in your conf: [CODE] check it from console: [CODE] I would change ServerName to the IP (I'm not an expert, but I think it gives better results with external IPs): [CODE] Then, visit the internal ip of the server 10.0.0.51:80 and ensure it's showing ok. Now... | -1 | 0 | 490 | 2012-11-11T09:52:51.547 | infrastructure | serverfault.com | |
213,265 | What program sent which packet to the network | I would like to have a tcpdump like program that shows which program sent a specific packet, instead of just getting the port number. This is a generic problem I've had on and off sometimes when you have and old tcpdump file lying around you have no way to find what program was sending that data.. The solution in how i... | information about the process sending a packet (even when it origininated from the local machine) is not available to tcpdump because it's not provided by the kernel's packet capture interface... seach for "DLT_LINUX_SLL" on http://www.tcpdump.org/pcap3_man.html changing this is surely a rather complex kernel hacking t... | 4 | 4 | 8,158 | 2010-12-16T12:23:05.217 | infrastructure | serverfault.com | |
55,194 | Weird SQL Server instance crash on casting to numeric | While working with C# Entity Framework I noticed a crash of my SQL Server instance. I was able to track it down to this statement: [CODE] The table looks like this: [CODE] The crash occurs every time I start the query. If I reduce the number of values within the [CODE] clause, it works. (It returns no rows, of course.)... | I was able to repro on 2008 R1 SP3 10.00.5512 but installing the latest CU (14) fixed it. Reviewing the bugs fixed in the intervening versions it looks as though you need to upgrade to a build that includes the following fix. Access violation when you run a query that contains many constant values in an IN clause in SQ... | 20 | 20 | 580 | 2013-12-17T17:06:27.577 | database_errors | dba.stackexchange.com | |
809,602 | Visual Studio 2015 Deployment via SCCM 2012 R2 | I'm looking to create a deployment for Visual Studio 2015 using SCCM 2012 R2. I'm an experienced SCCM Admin, so I'm pretty good on that territory, but I'm running in to a snag with Visual Studio itself. I'm struggling with creating the XML Admin File. An excerpt from MSDN ( https://msdn.microsoft.com/en-us/library/ee22... | As is typical in life I have immediately found the answer after asking the question. Haha. While I have no idea why the previous two iterations failed, I have found the correct way to run this. [CODE] This command correctly created the XML file on both machines. | 2 | 1 | 1,427 | 2016-10-17T20:05:07.550 | pipeline_ops | serverfault.com | |
131,054 | How do you get a count for an aggregated row? | I am getting sums for a set of rows, There is an id from each row that relates to 0 to many rows in another table. I am having trouble getting that number into the dataset. So here is what I have which works as I need it to: [CODE] I need to count how many times i.inquiryId appears in another table, per returned row. I... | [CODE] Notes: By not having a JOIN, the counts are more likely to be correct. [CODE] simply count how many non-nulls there are Boolean expressions evaluate in [CODE] as 0 or 1, thereby obviating the [CODE] . In your [CODE] , you probably included an extra day. [CODE] needs [CODE] I assume you are using InnoDB and [CODE... | 0 | 1 | 64 | 2016-03-02T17:25:01.330 | warehouse_errors | dba.stackexchange.com | |
850,093 | ssh, agent forwarding stops working after a few days ... | I've been facing an interesting issue for a few weeks now. Part of our fleet is only reachable via a jump-host. In the past I had no issues w/ logging into the jump-host from my workstation using ssh -A and maintain a session for extended periods of time [yes, I know that's bad practice, not here for a lecture on a fou... | When using agent forwarding, [CODE] actually forwards the UNIX socket to a directory in [CODE] and the sets [CODE] to point to it. Effectively, thus means that only a new remote shell will inherit [CODE] . Older sessions, will keep pointing to a socket that no longer exists. You could just [CODE] it again if you don't ... | 0 | 2 | 470 | 2017-05-15T03:28:56.467 | infrastructure | serverfault.com | |
660,533 | Mesos kills container when requests increase | I deploy Docker containers on Mesos(0.21) and Marathon(0.7.6) on Google Cloud Engine (Ubuntu 14.04). I use JMeter to test a REST service that run on Marathon. When the concurrent requests are less than 10, it works normal, but when the concurrent requests are over 50, the container is killed and Mesos start another con... | refs: https://issues.apache.org/jira/browse/MESOS-1837 [CODE] it will resolve your question. | 1 | 1 | 737 | 2015-01-19T04:15:15.273 | pipeline_ops | serverfault.com | |
283,054 | Upgrading PHP from 5.1 to 5.2 on CentOS 5.4 | i'm trying to upgrade php 5.1 to 5.2 on a CentOS 5.4 I use: [CODE] The result is this (check out the last part): [CODE] What are the consequences of using --skip-broken? Any recommendations? | Your version of php-eaccelerator is tied to your current version of PHP. Normally, this would be updated automatically but I would guess that this package was either installed manually without using a repository, or the repository just doesn't have a version that will work with the newer PHP you want to install. If you... | 1 | 3 | 1,265 | 2011-06-22T15:12:47.807 | infrastructure | serverfault.com | |
1,091,570 | Cannot transfer data from one specific system (MTU issue?) | Summary The default MTU value prevents data transfer for one system. Reducing it manually enables the data transfer once more, but this manual adjustment is unnecessary on an adjacent system. Background I have a Backups Server. I have two Raspberry Pi systems in remote locations: one in the UK and one in Albania. Along... | It looks like Path MTU Discovery is broken between the "Albania Pi" and "Central Backups Server" systems. This is often a result of misguidedly blocking ICMP packets in routers, firewalls or [CODE] settings of involved systems. In your case, since "Albania QNAP" system appears to work fine, the prime suspect is the "Al... | 0 | 1 | 98 | 2022-01-29T15:09:17.477 | database_errors | serverfault.com | |
554,869 | MySQL Startup Error - Root element missing | I have had MySQL installed for about 2 months on Windows Server 2003 R2. On start up we get presented with an error that says "High Severity Error - root element missing" followed by another high severity error that displays "Log file path must be defined before calling the WriteToLog method". Any help with this would ... | This might be a problem with MySQL notifier config file. As described here , there is something wrong with your config file. You just have to remove it (or rename it to something else) and launch the MySQL notifier again - config file will be recreated automatically. In my case, the config file was in the [CODE] path. ... | 17 | 21 | 43,592 | 2013-11-13T22:48:25.893 | database_errors | serverfault.com | |
312,303 | Why storing a payroll in XML type field would be good or bad | We have a PAYROLL issues by the client to make it dynamic i.e. to make the whole process computerized. It includes: Employees Allowances (Scale wise, which could change yearly or monthly or anytime) Incentives Some Allowances based on experience and districts Some allowances are calculated by applying 45% to the basic ... | The challenge you face is that payroll calculation is complex and subject to changing rules. You do not solve this problem by uploading excel sheets or storing data as XML - rather it will just add an additional layer of complexity and fragility. | 0 | 2 | 95 | 2016-03-10T10:53:19.260 | database_errors | softwareengineering.stackexchange.com | |
229,589 | SMTP server for centOS, other than Postfix? | Possible Duplicate: SMTP server for centOS, other than Postfix? Hello friends, I want to install an smtp server on CentOS, but I don't want use Postfix. Can you suggest some other smtp servers? I'm very new to the Linux environment, so I will probably need step-by-step installation instructions. | QmailToaster is rather good, and it works well with CentOS. But this isn't the place to ask this sort of question! | 2 | 0 | 171 | 2011-02-01T10:08:55.327 | data_quality | serverfault.com | |
419,909 | wampserver VirtualHost | I have problem about setting new project. I just installed wamp 2.2E. I am using windows XP. In folder /www I created folder /example. In WINDOWS/system32/drivers/etc/hosts I added [CODE] and in G:\wamp\bin\apache\apache2.2.22\conf\extra\httpd-vhosts.conf added at the end [CODE] The problem is when I go to dev.example.... | May be you did not restart your apache server after that changes ? so here is one of my own vhost : at first you need to add, in the httpd-vhosts.conf, in the beginning of the file : [CODE] then the vhost definition itself : [CODE] nota : in your httpd.conf you should have this line to make the httpd-vhosts.conf works ... | -1 | 1 | 1,415 | 2012-08-20T12:41:38.517 | infrastructure | serverfault.com | |
466,669 | Virtual box linux routing | Sorry for the basic question but I cant figure this one out. I want to set up a small network of linux servers for testing purposes. So I have a host server running virtual box with the following interface: [CODE] Then a guest vm with the following networking set up: [CODE] And a second vm guest set up as follows: [COD... | I've only ever done this with a windows host, and Linux Guests, but the principle should be the same. Check the following link, specifically on Host-only networking http://www.virtualbox.org/manual/ch06.html#networkingmodes I didn't need to edit the routes at all with this method. Another route you might want to explor... | 2 | 0 | 2,449 | 2013-01-13T19:02:35.940 | infrastructure | serverfault.com | |
619,299 | Amazon EC2 - httpd error on start port 80 - (98)Address already in use: make_sock | I'm unable to get httpd running on my AWS linux instance. I keep getting the following error whenever I try to start the service. [CODE] I tried everything I can think of. -checked port 80, but don't show any running processes [CODE] -checked to see if I had any other entries listening for port 80 [CODE] -tried uninsta... | Your [CODE] command clearly shows that you have a service already listening on port 80 : [CODE] Identify this service by running : [CODE] Then, Kill/Stop that service and restart [CODE] . | 1 | 2 | 7,795 | 2014-08-09T22:44:47.973 | infrastructure | serverfault.com | |
412,606 | Simple circular dependency between three classes | I have this basic design with a circular dependency. Is there any solution for this? The problem is that a [CODE] cannot be created if a [CODE] for that [CODE] has been submitted. | Design From a design point of view, circular dependencies are usual business: A [CODE] works with [CODE] to build or test [CODE] . There is an ambiguity since [CODE] is not defined in the UML notation. It suggests a multiplicity of either [CODE] or [CODE] . Conversely, every [CODE] is build/tested based on a single [CO... | -2 | 2 | 1,818 | 2020-07-11T16:31:13.313 | api_errors | softwareengineering.stackexchange.com | |
150,624 | Bug fixing approach | I have been working on a database project, and I recently received a bug report for the remote execution of some queries. Usually, you try to find out the actual cause for the bug to occur and then fix it. But sometimes what I do when I'm fed up of doing some research (and can't find suitable information on the interne... | In my head this raises alarmbells. Granted, I am not a database programmer. My work is not nearly as security critical for example. But when you say But sometimes what I do is fed up of doing some research (cant find suitable information on the internet) I just change the logic which takes me much less time as compared... | 5 | 14 | 1,343 | 2012-05-29T09:46:44.063 | api_errors | softwareengineering.stackexchange.com | |
817,427 | mysql_upgrade failing at Event Scheduler after replacing mySQL 5.7 with MariaDB 10.0 | I replaced mySQL 5.7 with MariaDB 10.0 on my Ubuntu 16.04 server. I backed up the databases before installation using mysqldump. During the MariaDB install it said a "flag file" present meant the DBs weren't binary compatible, so I restored the backup post-install. MariaDB doesn't like my privilege tables, so I tried t... | I was unable to resolve this. I did get to where I wanted to be, though: I started the server with [CODE] , backed up each database I wanted to keep, then removed the data folder and ran [CODE] to create a fresh copy of the system tables. I set permissions up again, and then re-imported the databases. All OK now. | 1 | 0 | 2,502 | 2016-11-28T10:29:37.460 | database_errors | serverfault.com | |
590,289 | Hyper-V Reporting Wrong Uptime | I am having an issue whereby Hyper-V Manager does not report the correct uptime for some of our Virtual Machines. I had started all the Virtual machines minutes apart but on the Hyper-V Manager there are a few which report different uptime. [CODE] So far I have already done the following: Checked through Event Logs for... | I believe I have found my issue. We currently using Veeam to run backups on each Virtual machine. I decided to watch the backups run naturally at 2am. I noticed within the Hyper-V Manager window when the Backup started on a particular VM the Uptime had paused while Veeam backup was being carried out. There is no save o... | 3 | 2 | 5,354 | 2014-04-21T08:31:03.040 | database_errors | serverfault.com | |
278,812 | ASP.Net Webapp no performance improvement with huge server update | i am running an ASP.Net webapp on a dedicated server and recently made a significant update to the server hardware. To my surprise there is absolutely no performance increase. old server: single xeon x3220 2 gigs of ram Windows 2003 IIs6 database running on separate server, older xeon. new server: 32 gigs of ram raid 1... | First of all we need to clarify what you mean by no improvement. The key thing to remember with performance optimisations is to measure. If your pages were only taking milliseconds to load before then they are probably taking 1 or 2 milliseconds less now. Just because it isn't noticeable to the human eye doesn't mean i... | 1 | 0 | 372 | 2011-06-09T16:15:53.627 | infrastructure | serverfault.com | |
665,643 | Apache 500 error with no entries in error.log | This is on a brand new Ubuntu 14.04 Server running a standard WAMP install with Apache DAV_SVN (using LDAP Authentication) added on top of it (mapped to [CODE] ). I was able to get everything working correctly, and tested accessing subversion via HTTP and authenticating via LDAP and had no issues. Then, I went into /et... | Just want to follow up and post what the issue and resolution was. Basically the issue was that I didn't assign a local DNS server when I setup the static IP, so it wasn't resolving the LDAP server hostname. When it was setup for DHCP it was using DNS assigned by the DHCP just fine. The solution was just to add the loc... | 1 | 0 | 14,315 | 2015-02-06T17:27:18.517 | api_errors | serverfault.com | |
808,292 | Linux server very slow though it's idle | I have a linux Ubuntu 16.04 box that has been slow for a couple of days now though there's almost no load. It's not underpowered for what it has to do: file server with Owncloud (two users), git server with Gogs. Hardware : Intel Atom dual core @ 1,7GHz, 4GB DDR3 & 1TB HDD. When I say slow, it means that everything tak... | Based on what you provided issues with disk seem likely. I recommend running SMART tests such as smartctl -t short /dev/sda and seeing the result. Should the results include many bad sectors and errors, that should be a give away. If your smart test does not yield any answers within a short timeframe it is either under... | 2 | 2 | 1,481 | 2016-10-11T08:27:04.617 | api_errors | serverfault.com | |
478,636 | tcpdump: out.pcap: Permission denied | [CODE] Why I get error?? What should I do? | i tried on Centos 5, still the same even on tmp or root folder. from the tcpdump man page, privileges are dropped when used with -Z option (enabled by default) before opening first savefile. because you specified "-C 1", the permission denied occur because of the file size already reached 1, and when create new file it... | 23 | 30 | 69,810 | 2013-02-14T02:25:42.447 | infrastructure | serverfault.com | |
173,701 | How to avoid sendmail relay domains spoofing | I have a bunch of domains as [CODE] at my [CODE] config, i noticed that some dirty botnet is using dns spoof to be able to send emails using those [CODE] . How it works: a domain zzz.xxx.tld resolves back to 127.0.0.1 , when my server tries to resolve zzz.xxx.tld it falls back to 127.0.0.1 spoof ! Is there anyway to fi... | Do you need to have a hosts entry pointing to 127.0.0.1? Perhaps you could point the hosts to your external IP instead and only allow relaying from localhost. | 1 | 0 | 893 | 2010-08-23T21:13:52.197 | infrastructure | serverfault.com | |
348,921 | Event Driven Microservice Race Condition | Say we have 4 services, A through D, which communicate (for the most part) through some sort of asynchronous event-driven system. When a new entity is created in A, B & C receive that event. B creates an entity of its own based on that event, and C makes a synchronous call to D to perform an action. Finally D receives ... | Think of your situation as data and processes that depend on it. What results is this: Service [CODE] creates entity [CODE] Service [CODE] creates entity [CODE] Service [CODE] performs a process [CODE] which depends on [CODE] and [CODE] The decision on when [CODE] should happen is made by service [CODE] [CODE] has to d... | 4 | 2 | 3,462 | 2017-05-13T22:21:53.960 | api_errors | softwareengineering.stackexchange.com | |
13,462 | How to consolidate multiple servers for CPU and Memory with Kubernetes | Setup : I have 10 Photovoltaics based setup where IOT Gateway get data from sensors, devices and send to Kubernetes Cluster. K8S cluster exposed its ActiveMQ broker with NodePort. Observation : AMQ has been scheduled on Node2 and i observed that CPU usage of this node is around 75%, As we are collecting lot of messages... | Since Pod is running on single node it can use resources from this node only. And CPU/MEM can't be shared here. At least without special software for distributed computation. In your case you should consider using ActiveMQ Clustering ( https://activemq.apache.org/clustering ). In that way you will be able to spread loa... | 0 | 1 | 201 | 2021-03-02T12:53:23.153 | airflow_errors | devops.stackexchange.com | |
108,829 | How to deal with "Ergänzungsstrichen" and "Bindestrichen" in German NLP? | Problem In German, the phrase "Haupt- und Nebensatz" has exactly the same meaning as "Hauptsatz und Nebensatz". However, when transforming both phrases using e.g. spacy's [CODE] pipeline, the cosine similarity of the resulting vectors differs significantly: token1 token2 similarity Haupt- Hauptsatz 0.07 und und 0.67 Ne... | Tested bert-base-german-cased from huggingface today. The results are still different, but much more similar. Also, the tokenizer splits words in a desired way. This might already work for my use case, so marking the question as answered. token1 token2 cos-similarity [CLS] [CLS] 0.982 Haupt Haupt 0.933 - ##satz 0.824 u... | 1 | 0 | 113 | 2022-03-07T08:06:20.497 | pipeline_ops | datascience.stackexchange.com | |
151,253 | Non-integer primary key considerations | Context I'm designing a database (on PostgreSQL 9.6) which will store data from a distributed application. Due to the application's distributed nature, I can not use auto-increment integers ( [CODE] ) as my primary key because of potential race-conditions. The natural solution is to use an UUID, or a globally unique id... | Using [CODE] If IPV6 works, great. It doesn't support "ACC". [CODE] does. A label path is a sequence of zero or more labels separated by dots, for example L1.L2.L3, representing a path from the root of a hierarchical tree to a particular node. The length of a label path must be less than 65kB, but keeping it under 2kB ... | 21 | 5 | 8,800 | 2016-10-02T12:18:04.457 | database_errors | dba.stackexchange.com | |
296,214 | Authentication relying on mysql_native_password seems to also check for Linux user? | I have a mariaDB 10.3 install. The mysql.table states that 'root' login relies on mysql_native_password plugin, with no password set. If my linux user is root, I am able to connect to mysql using; [CODE] If I login as a non privileged Linux user, when I try to connect to mysql, I get the following error: [CODE] Usually... | Correct. Only the [CODE] account on most Linux-based systems can connect to MariaDB (and MySQL) as the [CODE] account. This is to prevent poor authentication practices as have been witnessed time and again where a WordPress (or any other CMS) installation uses the [CODE] database account, gets compromised, and gives th... | 2 | 3 | 2,099 | 2021-07-27T06:31:27.910 | database_errors | dba.stackexchange.com | |
233,354 | PostgreSQL poor performing order_by ASC | I have a situation where I prepare a list of buffers to process by a task queue. Currently my buffer table contains over 350.000 rows. Every estimated 30 seconds the following query is ran to check what buffers to run: [CODE] With the following index: [CODE] This query takes over [CODE] , whereas changing the [CODE] in... | The problem is that your buffers which have low created_date are selectively depleted in things which match your WHERE clause. So it needs to walk more and more of the index before it accumulates 10 rows which match the WHERE. Presumably the reason it is selectively depleted is that once you get the results of your que... | 0 | 1 | 48 | 2019-03-28T09:49:24.530 | database_errors | dba.stackexchange.com | |
23,626 | Safely promoting master to slave | Previously I've asked the similar question MySql Switching Masters During Failover with log-slave-updates . Let's say this is our current replication In addition, I have few application servers. Every app server connects to Master 1 directly in order to INSERT and UPDATE and to Slave[1-3] in order to SELECT. My questio... | When you shifted the IP within your application, any DB Connections that were open at the moment were totally unaware of the move. A quick [CODE] would reveal that on Master1 . You would be better off doing the cutover of the IP as follows: On Master1 [CODE] [CODE] Change the IP in the App On all web servers, [CODE] In... | 4 | 2 | 1,193 | 2012-09-04T13:00:54.013 | data_quality | dba.stackexchange.com | |
423,313 | Apache vhosts config: Host Name instead of IP Address | I have a domain ( [CODE] ) hosted at an external provider. I directed the subdomain [CODE] to my ubuntu server (12.04 with apache2). On my ubuntu server I have a vhost setup like this. The rest of the config is basically apache 2 standard: [CODE] When I enter [CODE] in my browser my application shows up fine. But the d... | Following DTest's tip I figured out that there was just a redirect from my domain provider. My domain provider did just a redirect instead of a real DNS A record entry to sub.example.com. Added the DNS A record and now "It works!". Thanks guys! | 1 | 1 | 5,912 | 2012-08-31T15:20:00.240 | infrastructure | serverfault.com | |
138,365 | Centos 7 install MySQL5..5 | Install MySQL5.5 in CentOS7 by following instructions on this page: A Quick Guide to Using the MySQL Yum Repository After that start the service: [CODE] This returns the error: [CODE] Below is the mysqld log file: [CODE] My question is: what causes this? How can i fix it? | The main problem you are hitting is the one on line 8: [CODE] You can run the command [CODE] to create the missing table. | 2 | 1 | 3,579 | 2016-05-12T16:19:32.413 | database_errors | dba.stackexchange.com | |
893,764 | Check Point: ISP Redundancy Link Interface Cannot Be Created | While setting up ISP Redundancy on a Check Point cluster I ran into an issue preventing me from proceeding with my configuration. I was eventually able to resolve this and felt that I would share with you and my future self the steps taken. What is ISP Redundancy ISP Redundancy enables reliable Internet connectivity by... | Resolution Steps Taken: Discovered that the the interfaces in the topology tab did not have the same name on the vip (Virtual IP), so I changed to name so that all interfaces were matching. After introducing the changes to the interface name of the vip, I retried the setup for ISP Redundancy and the issue resolved. I s... | 0 | 0 | 1,175 | 2018-01-23T21:08:04.010 | data_quality | serverfault.com | |
1,047,244 | Exchange Server Cannot Receive External Email From Postfix Relay | Server A = Exchange Server (mail.example.com) Server B = SMTP Server on VPS (smtp.example.com) I use 2 separate servers to build my Mail Server because of my ISP block Server A port 25 So the configuration is Server B(Postfix) as my Relay SMTP Then Server A connected to Server B through Smarthost Now i already can Send... | Have you added the relay server IP to the receive connector in exchange server? If not, follow these guidance: Receive connectors and How to Configure a Relay Connector for Exchange Server 2010 In addition, a similar thread for your reference as well. Sorry for that I'm not familiar with Postfix, but i have done some r... | 0 | 0 | 216 | 2020-12-22T20:17:13.360 | infrastructure | serverfault.com | |
145,677 | What is the minumum code/operations to have in a separate thread? | I understand that threading is needed to get the maximum performance out of today's multicore processors but starting a thread is rather costly so you can't put every single calculation that can be done in parallel in an own thread. For example [CODE] will run much slower than the simple single-threaded [CODE] but if p... | when parallelizing there are 3 different timings to take into consideration the serial time: this is the time spent doing stuff that cannot be parallelized and where you cannot get below (getting the input, writing the output) the parallel time: this is the part where you can parallelize, this you can get down to 0 by ... | 4 | 4 | 408 | 2012-04-23T18:50:19.213 | api_errors | softwareengineering.stackexchange.com | |
397,047 | Design of dropdown lists to handle optional selection | Consider the following example in a CRUD application. A user can select their favourite food from a dropdown list ("Burgers", "Pies", "Chips"). This is an optional field i.e. not mandatory. Thus a user can leave it unselected, or also update their data to unselect any choice. Since the field is optional there are a num... | Keeping all of the elements in the dropdown feels like the right approach. You mention that having an extra dropdown option feels untidy but I guarantee having an extra checkbox the user has to click is going to feel much more untidy. Advantages to putting everything in the dropdown is that you can address a few differ... | 2 | 2 | 321 | 2019-09-06T13:11:01.907 | api_errors | softwareengineering.stackexchange.com | |
234,817 | Understanding Plan Choice When Query Store Doesn't Respect Forced Plan | I'm trying to figure out a situation that I encountered last week where, in an attempt to temporarily fix a plan regression during an incident, I forced an execution plan using Query Store, but found it didn't work as expected. I have read Andrew Kelly's article on how forced doesn't always mean forced and think this m... | Could anyone help me understand why the plan wasn't forced Looking through the plan XML, plan id 6194 was compiled on version 15.0. 700.539 of SQL Server, while plan id 13449 was compiled on version 15.0. 900.210 . The only differences of note (other than cardinality estimates) between the two plans are these: The comp... | 7 | 4 | 677 | 2019-04-15T11:20:57.180 | database_errors | dba.stackexchange.com | |
810,327 | Connecting to Meraki Client VPN from Ubuntu w strongswan and xl2tpd | I have a virtual appliance running Ubuntu 14 that I would like to connect to a remote network via Meraki Client VPN. I have found instructions for installing and configuring strongswan and xl2tpd on Ubuntu 16 which get me most of the way there, but after establishing the VPN I cannot seem to establish a route. The goal... | You need to disable xl2tpd sometimes as it runs and hogs port 1701 while the VPN client will normally start a service on 1701 only as needed. I discovered this while I followed this answer quoted below and the blog post mentioned in it to get a connection working to Meraki from Ubuntu 16.04. A PPA exists for network-ma... | 5 | 1 | 3,109 | 2016-10-20T19:43:03.823 | infrastructure | serverfault.com | |
229,017 | Difficulties for functional managers in Scrum | I am a Test/QA manager in an organization that gradually moves to Scrum. I don't appear in daily Scrum meetings because I don't want to interfere with the self-organization of the team. The problem with this is that I am becoming too disconnected with what the 5 testers who report to me do in the day to day. How can I ... | What are the responsibilities of a Functional Manager to the project teams? This varies a lot from company to company. Therefore, you've got to exploit the opportunities you get to interact with the project team to improve your awareness of team members performance. Go and see for yourself (in Kanban the principle of "... | 2 | 5 | 351 | 2014-02-14T19:16:30.770 | api_errors | softwareengineering.stackexchange.com | |
66,876 | How can I approach this problem? | Let's say I have a dataset with pricing information for the same flight during the past year. So, for a flight departing on day D, I have the available price from D-130 up to D (departure day). Then the same for flights on the other 365 days of the year for the same departing time every day. Does this make sense? I wan... | You certainly need to add at least one other variable representing the time of year, because from your graph it's clear that the fare can't be predicted accurately using only the time until departure: for the same day you can have many points representing different fares. That makes sense, since the fares are going to ... | 3 | 0 | 102 | 2020-01-22T13:57:45.083 | data_quality | datascience.stackexchange.com | |
84,154 | $addToset do not work in update if record not exists | I am trying to use following query [CODE] The reason is if a record exists and a new article id comes it will be added to the set and count will be updated but if the record does not exists then it should store a record. But it gives me an error that while storage [CODE] and [CODE] are not valid modifier. | I resolved the issue. I made an error in the update statement. The correct version is: [CODE] | 2 | 2 | 6,048 | 2014-12-03T06:52:17.123 | warehouse_errors | dba.stackexchange.com | |
375,498 | How to configure Transparent IP Address Sharing (TAS) on a Mediatrix 4102 with DGW 2.0 firmware? | I am making the switch to VoIP. I chose voip.ms as my service provider and Mediatrix 4102 as my ATA. One reason why I chose the Mediatrix over other popular consumer ATAs is that it's supposed to be easy to place it in front of the router, so it can give priority to its own upstream traffic over the home network's upst... | From now, TAS is not supported by the Dgw 2.0 application. Yes, you can probably downgrade to Sip 5.0 application, but I do not recommend this approach No, you can also put the 4102 directly on the internet connection and configure the local firewall and dhcp server. You can then connect your time capsule behind the 41... | 0 | 2 | 735 | 2012-03-31T14:26:06.923 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.