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 |
|---|---|---|---|---|---|---|---|---|---|---|
449,506 | Cenros 6.3 install php-imap cross-repo fails | I am trying to install php-imap support on Centos 6.3 [CODE] Installation failed due to repos has different php versions: [CODE] Trying to installed it with --skip-broken key have this result: [CODE] My question is: How could I install it from the remi repo directly without checking any versions. Thank you in advance! | You need to enable the remi repository in order to install the matching packages from it. I presume you had previously enabled it by some means, in order to get its version of PHP in the first place. Edit [CODE] and make sure that [CODE] is set in the [CODE] section. (If it isn't present, make sure you installed [CODE]... | 1 | 1 | 1,442 | 2012-11-16T17:01:28.223 | infrastructure | serverfault.com | |
89,787 | How to prevent or notice automatic connection retry in SQL Server and OLE DB | I have a c++ application that connects to SQL Server 2005 using OLE DB / Native client. If the connection gets broken or for example the session is killed from the database something causes the connection to do an automatic reconnect. The problem is that in that case for example all temporary tables created previous co... | You can check if the temporary object exists using this: [CODE] Another thing you could do is check the connection time for the current connection: [CODE] However, I'm having a hard time believing that the client disconnects without throwing errors. I would try to catch those errors first. | 0 | 1 | 1,874 | 2015-01-21T09:35:21.463 | database_errors | dba.stackexchange.com | |
963,628 | Line breaks in PHP's stack trace in nginx error logs disturbing logstash analysis | I am using nginx with PHP-FPM and ELK as log file analysis. When a PHP script causes an error the interpreter the error will be send back to nginx and nginx puts the error into the error.log file. Problem is: Sometimes those error logs contains line breaks which logstash cannot handle, because line breaks are considere... | Kudos to @USD-Matt thanks to his hint I now know where to look at and that's the solution: There is a multiline feature in the ELK stack. But as I am using the filebeat module to postprocess the logs, I cannot just activate the multiline feature in logstash as mentioned above. I have to enable it in filebeat itself ( /... | 1 | 2 | 2,268 | 2019-04-18T08:11:57.320 | infrastructure | serverfault.com | |
189,005 | Index independent character comparison within text blocks | I have the following task: developing a program where there is a block of sample text which should be typed by user. Any typos the user does during the test are registered. Basically, I can compare each typed char with the sample char based on caret index position of the input, but there is one significant flaw in such... | It sounds like what you need is equivalent to doing a 'diff' on two files. There are many ways to do this, but I'd look into Google's diff-match-patch algorithm. | 6 | 1 | 270 | 2013-03-02T17:48:54.073 | api_errors | softwareengineering.stackexchange.com | |
192,526 | What is a "Partial Matching Index"? | I'm trying to learn more about the "foreign key references check" query plan operator introduced in SQL Server 2016. There's not a lot of information about it out there. Microsoft announced it here and I blogged about it here . The new operator can be seen by deleting a row from a parent table with 254 or more incoming... | I spoke to people much smarter than I and we will be documenting this soon™. The actual definition of this, in the interim is: PartialMatchingIndexCount reflects the number of references that could be checked using index seeks, but the index key does not cover all the columns being checked. For example, the correspondi... | 28 | 13 | 2,564 | 2017-12-06T13:24:53.503 | database_errors | dba.stackexchange.com | |
54,890 | Dataset columns throwing KeyError | For some reason, the columns in my dataset are throwing the following KeyError: [CODE] I couldn't decipher what the error was about. It gave the exact same error on other columns as well so it wasn't just [CODE] . I double checked the spelling so it isn't that either. This is my code: [CODE] | It's FireplaceQu not FirePlaceQu . A KeyError means it doesn't find the column in the dataset. to simply check the spelling you can print all the columns: [CODE] or check if your spelling of a column is correct: [CODE] | 0 | 3 | 10,269 | 2019-07-02T07:18:18.210 | data_quality | datascience.stackexchange.com | |
307,550 | Cannot Login to RDP on Server 2003 r2 | I just installed Windows Server 2003 (64bit) Because the Administrator password was blank I went to cmd > "net user Administrator newpass" The command completed successfully. Logged out, Logged back in. Also rebooted. I go to control panel > system > remote > enabled remote desktop on this computer Apply. Go to Select ... | [HKEY_USERS.DEFAULT\Keyboard Layout\Preload] Switched 1 & 2 1 = 809 (UK) 2 = 409 (US) | 5 | 1 | 744 | 2011-09-02T11:26:06.207 | infrastructure | serverfault.com | |
47,014 | How to verify the page load opened in a new tab with a redirection? | I am testing a website that redirects the user to another website for buying stuff. Once I click on the Buy Now button a new browser tab opens and another website is launched displaying the product. The objective is to test that the new website (which opens in a new tab) opens successfully (200 OK) without any error. T... | Seems your switching tab is not working properly. Please check that new tab handler is okay. [CODE] Please use wait() method properly as new tab loading may require extra time. For more help, you can check how to switch on active tab | 1 | 1 | 2,445 | 2021-03-06T17:44:25.607 | data_quality | sqa.stackexchange.com | |
354,523 | ASA Static NAT Understanding | I have an ASA configured as follows; Inside: 192.168.0.254/24 Outside: 10.0.0.1/29 (This is routed to the ASA) [CODE] As you can see, there is a default NAT rule to NAT clients to the external IP on their way out. There is also a specific rule to map internal host 192.168.0.50/32 to 10.0.0.2, a different external IP. F... | The static command works both ways: traffic coming for 10.0.0.2 is translated to 192.168.0.5 and traffic from 192.168.0.5 is translated from 10.0.0.2 . You can not map 192.168.0.5 to another address on the outside interface, such as 10.0.0.2 . You can use the nat command with acl in order to forward specific ports on s... | 2 | 3 | 2,779 | 2012-01-28T10:34:17.957 | infrastructure | serverfault.com | |
321,674 | Server port still open after force close? | I have a server running on a local server. Every once in a while it will freeze up, and I'll need to use a Ctrl+Z to cancel out of it. The issue is that the port it uses is still open to it after I force close it, and it can't reclaim that port when I restart the program. So then I need to restart the entire server. Is... | ctrl-z is a suspend. You probably want ctrl-c. You can also send a signal to the individual PID. For example, if I wanted to close port 80, I could first query open files with lsof: [CODE] httpd 24579 root 3u IPv6 142712111 TCP *:http (LISTEN) Then send a kill signal: [CODE] | 1 | 1 | 1,912 | 2011-10-15T02:05:23.220 | infrastructure | serverfault.com | |
154,271 | migrate logins and password from sql 2000 to sql2005 | transfer logins from sql 2000 to 2005/2008: http://support.microsoft.com/kb/246133 (method2) works pretty good, however it doesn't transfer login's status (i.e. denied) nor the server level role membership, is there a script that covers these things? What's the best way to verify a sql authenticated login's password on... | The code in Method 2 should do the trick, provided that you pass in the @include_db and @include_role parameters of the sp_help_revlogin_2000_to_2005 procedure to 1. When it creates the output are you seeing the dynamic SQL which calls the sp_addsrvrolemember? To have NT logins created as a DENY you'll need to remove t... | 3 | 1 | 127 | 2010-06-24T01:07:07.943 | infrastructure | serverfault.com | |
154,007 | SQL trace events list | This german msdn article contains a list of trace events . This question sql-server-concise-list-of-trace-flags has a similar scope but differ from as the german msdn article. Below you can find a german list of trace events from the msdn article. What is missing I am looking for a complete list of trace events and the... | Try this list from Microsoft: sp_trace_setevent (Transact-SQL) You can also query the [CODE] catalog view, which returns [CODE] , but no description. | 0 | 1 | 205 | 2016-11-02T10:31:25.417 | database_errors | dba.stackexchange.com | |
985,284 | Ansible (V2.8) Fine Grained Control To Limit Playbook Execution To a Subset of Nodes | I have a fairly complex set of Playbooks and imported Roles building an application platform. Everything is defined in a single [CODE] file, and extensive use is being made of groups to identify specialist server roles: web, database, search, etc. However the overall platform supports two distinct instances of the appl... | Try using: [CODE] | 1 | 0 | 1,011 | 2019-09-23T12:29:43.000 | data_quality | serverfault.com | |
766,854 | Slow shared NAS storage for VM cluster | I have a problem with a very slow virtual machines. I have two HP DL380 G6 servers in the cluster that are connected to the Synology NAS 2416+. Everything is connected via the HP 1620 Switch. On the server I configured 3x 1Gbps NIC teaming with LACP. The same configuration and on the NAS device and the switch. NAS box ... | On the server I configured 3x 1Gbps NIC teaming with LACP. The same configuration and on the NAS device and the switch. NAS box has 4 x 2TB WD Red drive in RAID 10 field and 60GB SSD as a read cache. I set the iSCSI targets and set up all the instructions from the Internet. iSCSI and LACP don't mix well. https://slog.s... | 1 | 3 | 390 | 2016-03-29T19:20:48.933 | infrastructure | serverfault.com | |
610,963 | Windows Server 2012 - What type of memory do I have? | My Windows Server is running on 3gb of memory right now, and I would like to upgrade to 16gb. However, I don't know what type of memory to buy. I know that the notches in the physical RAM are different depending on the memory type. Is there a way in Windows Server 2012 to detect the type of memory so I get the correct ... | No, there is no way that Windows can guess what RAM is supported. You need to consult the hardware documentation of your server for that | -2 | 2 | 1,461 | 2014-07-08T14:29:07.973 | infrastructure | serverfault.com | |
610,841 | Replace wildcard certificate on multiple sites at once (using command line) on IIS 7.5 | I have 3 websites: [CODE] , [CODE] and [CODE] all using a single wildcard certificate [CODE] on IIS 7.5 Windows Server 2008R2 64-bit. That certificate expires in a month and I have a new wildcard certificate [CODE] on my server ready. I want all those domains to use the new wildcard certificate without noticeable downt... | The context of the answer is that IIS 7 doesn't actually care about the certificate binding. IIS 7 only ties websites to one or more sockets. Each socket being a combination of IP + port. Source: IIS7 add certificate to site from command line So, what we want to do is do certificate re-binding on the OS layer. The OS l... | 7 | 12 | 9,102 | 2014-07-08T06:59:18.860 | infrastructure | serverfault.com | |
419,735 | Best way to code lazy loading outside the model in vanilla c# | I have to implement a LazyLoading on the properties of my Entites Class. I can't use any framework and external dll (nugets package are forbiden, I can't use Entity Framework or Castle Dynamic Proxy Interceptors). My actual solution is to use decorators that override the properties and do the lazy loading. [CODE] Do yo... | Your implementation is correct, but it's a wheel that did not need to be reinvented. There's a [CODE] class that already provides this functionality. MSDN link [CODE] The method you pass into the lazy object's constructor will be executed the first time you try to access its [CODE] . After that, the object just caches ... | 0 | 4 | 513 | 2020-12-07T08:52:11.987 | api_errors | softwareengineering.stackexchange.com | |
132,589 | eth0:0 is configured but not listed in ifconfig output | I have the following problem: My server was given two IPs from [b]different[/b] subnets. Now I am trying to configure the system to work properly. I have created [CODE] But both after "service network restart" and after "reboot" [CODE] Device eth0:0 is not shown as active. If I try [CODE] It is shown as up and running,... | [CODE] and [CODE] are the same interface. Use [CODE] for an alias. Could it be that [CODE] should actually be [CODE] ? | 2 | 7 | 7,474 | 2010-04-15T06:33:42.480 | infrastructure | serverfault.com | |
65,932 | Handling the Outlook 2007 AutoArchive PST file | We encourage our users to enable AutoArchive in Outlook 2007 as a way to manage their mailbox sizes. However, we frequently end up running in to problems with the archive.pst file that is generated. The two main problems we have are: The archive.pst file is located in the user's local profile directory and is never bac... | Through the use of GPOs, you can manage what happens to .pst files. We auto-archive ours to the network where they're backed up regularly and it's easy enough to bypass them being saved to the local disk. Archiving email is no panacea for problems endemic to users. That is their need to save everything . You have to pr... | 3 | 2 | 3,071 | 2009-09-16T15:01:38.480 | data_quality | serverfault.com | |
705,264 | simple nginx alias not working while trying to serve files other than document root | i am trying to serve images which are stored in different location other than document root. [CODE] i have added above code block in the [CODE] file and did [CODE] and when i tried to access [CODE] it gives me 404 not found error . how can i fix this ? i have specified document root at the top of [CODE] file like this ... | The [CODE] block you use works like this: The url [CODE] is served from [CODE] . This is because [CODE] refers to the directory where the file is served from. If you want to serve [CODE] on that URL, you can use this location block: [CODE] Also, I would use a location like this for PHP execution prevention: [CODE] | 2 | 1 | 7,658 | 2015-07-13T07:40:51.890 | infrastructure | serverfault.com | |
161,129 | How to upgrade PostgreSQL from 9.5 to 9.6.1 without losing data? | When I tried to run [CODE] , I got [CODE] and when I checked [CODE] , I saw: [CODE] I tried to follow this tutorial (from 9.4 to 9.5) for upgrading 9.6.1, but keep getting this error message [CODE] after running [CODE] Does anyone have any idea what I am missing/doing wrong? Thanks! System: MacOS 10.12.2 PostgreSQL ins... | If your database size is not large, you can use pg_dump and pg_dumpall to take database structure and data dump in the form of sql queries from posgtres 9.5 and restore the same in postgres 9.6.1. If the database size is too large, then go for pg_upgrade. By looking at the error, it seems the user does not have permiss... | 6 | 2 | 10,870 | 2017-01-15T15:14:53.410 | database_errors | dba.stackexchange.com | |
147,501 | Will modules installed by insmod command persist after rebooting? | There is how the book I'm reading describe the [CODE] utility: The program loads the module code and data into the kernel, which, in turn, performs a function similar to that of ld, in that it links any unresolved symbol in the module to the symbol table of the kernel. Unlike the linker, however, the kernel doesn’t mod... | No, they won't. After rebooting, you begin from scratch. Normally, for modules that you want loaded after every reboot, there's a configuration file listing modules to be auto-loaded at boot time. Look at [CODE] . [CODE] : [CODE] | 3 | 6 | 11,956 | 2010-06-02T15:45:10.783 | infrastructure | serverfault.com | |
261,798 | Designing a system to archive databases with referential integrity | I have a very large Oracle database, with many many tables and millions of rows. I need to delete some of the rows end-to-end. By end-to-end, I mean, if I want to delete a row from a table then I must delete all the corresponding records in child tables first and ensure that deletion happens without any constraint viol... | Moving the data to archive tables will reduce the amount of data in the "live tables", but it won't reduce your overall database size. So if that is your goal, use files, which can be compressed easily if necessary. However, if you want to be able to query your archive data later on, and database size is not really you... | 3 | 2 | 2,436 | 2014-11-05T06:40:42.227 | data_quality | softwareengineering.stackexchange.com | |
933,661 | GPO applying on 2k12 but not on 2k8R2 | I have a 2k12 Datacenter running as DC and a 2k8R2 as RD Host. On 2k12, everything works fine as soon as I configure it. Same goes to 2k8R2, RemoteApp is running since day one and authentication is perfect. However, I just made a GPO and it won't apply on 2k8R2. Loopback is not enabled, the link is created and I have a... | Make sure your group policy is readable by going to the Delegation tab of the Group Policy Management Control and assign Read permissions to both [CODE] and [CODE] by pressing the Advanced button and using the permissions dialog. | 1 | 1 | 78 | 2018-10-02T18:13:07.627 | api_errors | serverfault.com | |
29,988 | MySQL user defined rollback procedure | I'm attempting to write my own mini-rollback procedure. I have a table that tracks any updates or deletes to another table using a trigger. I am attempting to make it possible to restore one or more of these tracked changes through the use of a procedure. However, I'm receiving a syntax error with the following: [CODE]... | The syntax error comes from the INSERT statement. The statement INSERT...VALUES does not support WHERE clause. Possible you want this - [CODE] | 1 | 2 | 378 | 2012-12-07T12:20:12.983 | database_errors | dba.stackexchange.com | |
311,281 | File permission ACEs showing as SIDs after NTBACKUP restore | I have restored a backup to our Windows 2003 SBS domain controller. All the permissions for folders seem to be set correctly for groups BUT when looking at folders that had permissions set for specific users they are appearing as a SID i.e [CODE] . I am not really sure where to go to correct this issue. Any idea what i... | That string is a Security Identifier , aka SID. Every security principal in Active Directory (users, computers, groups, etc.) has one, Under normal circumstances, Windows will contact a DC to query the name for the SID when you view permission ACLs, and you would see the username, e.g. YOURDOMAIN\username. Typical caus... | 2 | 1 | 766 | 2011-09-14T12:30:56.800 | database_errors | serverfault.com | |
292,166 | Postgres Query Array Column with Array | I have a postgres view "people_codes" that has a column that is an ARRAY_AGG of intergers. I am trying to query on the view with an array of integers for all rows that may have one of these codes [CODE] I can successfully query the view with only one integer for the query [CODE] And this returns the row that I need: [C... | As documented in the manual there are two ways to specify an array constant On is to use the [CODE] notation: [CODE] Alternatively use a string that uses [CODE] [CODE] I prefer the first one, as that also doesn't have problems when the data type itself requires quoting e.g. for [CODE] arrays. | 0 | 3 | 5,830 | 2021-05-24T16:38:11.317 | warehouse_errors | dba.stackexchange.com | |
172,687 | MySQL mapping fields | I have a table where I put tons of unique numbers from 1 to 9999999 In order. It has 3 fields. idnum,username,t I set t to 1 when I use an idnum so that no one else can have that for a member id number. I want to put username as the only place we put the username because we made it where people can change their usernam... | Yes, it's common to keep the username in one table, and then reference it by the id associated with that username. Then the idnum stays the same in all your tables, and you can change the username in one place. You need to add idnum to each table where you store username. [CODE] The idnum will be NULL by default after ... | 0 | 0 | 150 | 2017-05-04T01:57:43.350 | database_errors | dba.stackexchange.com | |
278,186 | When making a fix to an earlier commit, should I rebase or add a separate fix up commit? | A common scenario in software development is code reviewing somebody else's code. A common tool for doing this is opening a Pull Request. My question is, when issues are found in the review, should the changes be committed separately (new commit) or should the existing commit be modified (assuming nobody is branching f... | You assume the fix does not introduce any new issues and fixes the old ones complete. But lots of fixes are worth a review on their own - and that is probably much easier when the incremental changes can be reviewed separately. | 12 | 24 | 767 | 2015-04-03T16:23:44.887 | api_errors | softwareengineering.stackexchange.com | |
164,546 | Full text search over multiple related tables: indices and performance | We have the following database structure [CODE] The user enters a whitespace-separated list of words (search terms, basically) and we have to search for tasks, that satisfy the following: the task is a "match" if each search term occurs at least once in concatenation of task's description, the name and address of its a... | Optimization You're going down the right track. You either need to Denormalize Cache Caching the results What you probably want is a [CODE] . This is easy and works reasonably well. [CODE] Then just [CODE] Denormalizing the table This can take a lot of forms, you've got this right though.. Redesign Searching everything... | 13 | 12 | 13,950 | 2017-02-16T14:23:37.023 | data_quality | dba.stackexchange.com | |
24,244 | Can I partially invalidate the MySQL table cache? | I want to set a fairly large table to MyISAM mode to keep it cached proactively. The table file is approximately 3GB. After several hours, MySQL invalidates the entire table from cache, while Sometimes we need to do ±100,000 [CODE] statements very quickly, which causes a cache stampede. When cached, very nice. When not... | The only thing that is definitively cached for MyISAM is an index. The key_buffer_size variables sets up how large the MyISAM Key Cache will be. There are two suggestions I can offer SUGGESTION #1 : Use a Dedicated Key Cache for the Table Did you know you could create a keycache dedicated to one or more MyISAM tables ?... | 4 | 3 | 3,346 | 2012-09-13T09:52:03.793 | database_errors | dba.stackexchange.com | |
309,721 | Managing a project on github in different repos or one? | An app I am working on (iOS) is being distributed to different businesses and each business needs a few customizations to said app before it is distributed to users on the app store. Most files will stay the same but quite a few will change based off the businesses needs. Should the app be built in a way that booleans ... | One solution I can think of is to use [CODE] to create a tag for each business, then specify in the build process as a variable ( [CODE] ) to change the customisations. You could even try and automate that so it looks for the business name in the tag. This avoids having to create N number of branches per business, and ... | 0 | 0 | 96 | 2016-02-10T02:48:47.227 | api_errors | softwareengineering.stackexchange.com | |
260,182 | mysqldump interrupts always with same file size | [CODE] I try it on ubuntu 18.04, mysql 5.7.29. And the file is always 141.8MB. Data just aborted always at the same point. It is innodb table. There is also longtext field. 18 rows, table size is 132MiB. Tried also with [CODE] - same result( No errors, only output is: [CODE] max_allowed_packet in my.cnf: [CODE] For mys... | You have two problems on your my.cnf variables: First, As you can read in https://dev.mysql.com/doc/refman/5.7/en/program-variables.html For variables that take a numeric value, the value can be given with a suffix of K, M, or G (either uppercase or lowercase) to indicate a multiplier of 1024, 10242 or 10243. (For exam... | 1 | 1 | 241 | 2020-02-20T18:52:15.593 | database_errors | dba.stackexchange.com | |
367,958 | How to define sound playing function? one single function for all sounds? or each sound has its own function? | After many years, I still unable to determine the correct way to define a class/function to play sound. Suppose my app may need to play some sounds, for example: button click, error popup,... How should I define the function? ** Method 1: one single function for all sounds** [CODE] ** Method 2: one function for each so... | Each method has its strengths and weaknesses. However if your program doesn't stand to benefit from the strengths, the added complexity is still a weakness. Method 2 Method 2 for instance will simplify your code. Rather than pass the proper parameter, you need only call the proper function. However this also means that... | 1 | 3 | 323 | 2018-03-20T06:27:51.233 | api_errors | softwareengineering.stackexchange.com | |
669,944 | Unable to port phone numbers | I have some limited experience in telco, and have done number porting in a business environment before. I have a fairly large number of DIDs with a local telco provider that we use for inbound faxes. I am considering outsourcing to one of the various third party fax providers, but have been told that the numbers are no... | Taking the leap your in the US the actual regulations are for local number portability so if your new provider doesn't have a local presence you may not be able to transfer a number to them. From the FCC Website Keeping Your Telephone Number When Changing Service Providers Under the Federal Communications Commission's ... | 1 | 1 | 64 | 2015-02-19T18:09:28.640 | infrastructure | serverfault.com | |
1,110,290 | File transfer between servers seems slow | I have two servers both running Rocky Linux v8.4, one hosts a raid drive that I use to back up a (very) large raid drive mounted on Server A as /home. Server A (with the large raid of 70TB mounted as /home that needs to be backed up) nfs mounts the backup drive from Server B. The servers are connected via a switch with... | Apparently my biggest issue was NOT the mount options like I thought, it was just tons and tons of write operations on an NFS drive. I found this excellent question/answer here about trying to optimize the transfer of a huge amount of data: How to copy a large number of files quickly between two servers It turns out if... | 0 | 0 | 1,638 | 2022-09-08T21:31:28.237 | database_errors | serverfault.com | |
810,121 | IIS slow in loading Report Viewer | We are running IIS & SSRS on the same production server and have two types of reports - one running through Report Viewer, connecting to SSRS (remote mode) and the other calling the SSRS web service to generate PDFs. For both of the report types, it becomes very slow when loading the page, taking upwards of 20 seconds.... | Are the reports you're running on IIS, server reports (RDL) or a local report (RDLC)? RDLC's can be affected by the local app pool which can be offset in web.config setting [CODE] This unfortunately, means other things like SignalR can stop working as well. RDL's running on SSRS shouldn't be negatively affected running... | 1 | 0 | 843 | 2016-10-20T01:52:04.023 | bi_errors | serverfault.com | |
1,026,182 | Nginx refuses custom error pages | I am able to see nginx error pages, but not my own. proxy_inter_errors properly redirects. I made a custom 404 and 500 error page with my logo. It will only show the nginx default error pages, not my custom html. I want to see a picture of the dog on the html, not the default nginx 502 Bad Gateway nginx/1.14.0 (Ubuntu)... | I was able to solve this by moving [CODE] Inside the location block and adding [CODE] I made sure proxy_intercept_errors off; was there as noted by Michael Hampton | 1 | 0 | 556 | 2020-07-21T20:01:40.207 | api_errors | serverfault.com | |
90,360 | Rely on .pgpass in CREATE USER MAPPING | I am trying to create a script which creates a postgres-fdw connection between two postgres 9.4 databases. The script (which is checked in under version control), has been relying on pgpass to do other things. Is there any option I can use to request that the password be looked up in pgpass? ... in general, where is th... | EDIT: As of PostgreSQL 13 this is now possible with [CODE] , see documentation It may not fully answer your question, but: If you specify a user mapping for a [CODE] for [CODE] you can specify it without a password. It will then rely on the [CODE] from the server. By using a mapping for a [CODE] you will however need t... | 5 | 7 | 2,924 | 2015-01-28T03:04:12.790 | warehouse_errors | dba.stackexchange.com | |
591,837 | How does Chrome/webRTC select which TURN server to use if multiple options are given? | When passing multiple TURN options to RTCPeerConnection, and assuming that several of them are technically usable, how is the actual server selected? Does network performance play a role at all? | ICE RFC doesn't specify what happens when multiple TURN servers are available: This specification only considers usage of a single STUN or TURN server. When there are multiple choices for that single STUN or TURN server (when, for example, they are learned through DNS records and multiple results are returned), an agen... | 4 | 3 | 2,751 | 2014-04-28T19:17:38.480 | infrastructure | serverfault.com | |
1,078,428 | Deploy control plane without master node registration using kubeadm | I'd like to set up the Kubernetes cluster and hide the control plane components for all clients (some kind of a managed cluster). [CODE] uses Kubelet and static pods to run this components which lead to registering Node and Pod resources into the API Server so any user with [CODE] can list and manage the master nodes a... | Can I run the control plane out of the Kubernetes cluster using kubeadm Short answer: No, it is not possible. should I use my own instruments in that case Yes, that will be the solution to this situation. If you find your own solution, feel free to write it as an answer. As a workaround, you can try to create a separat... | 1 | 1 | 1,303 | 2021-09-23T13:08:16.687 | pipeline_ops | serverfault.com | |
239,370 | Select * from View takes 4 minutes | I am running in to an issue where when I run a query against a view it takes 4+ minutes. However, when I run the guts of the query it finishes in like 1 second. The only thing I am not sure about is the tables being joined are both temporal tables. Ad hoc query plan: https://www.brentozar.com/pastetheplan/?id=BykohB2p4... | The main performance differences The main differences here are that the better performing query is pushing down the seek predicate on [CODE] on all 4 tables (2 temporal tables (actual & history)) where the select on the view appears to not do that until the end (filter operator) . TL DR; The issue is due to to paramete... | 11 | 19 | 514 | 2019-05-29T18:19:33.280 | database_errors | dba.stackexchange.com | |
335,151 | Linux: System analysis tool | I have a server performing multiple tasks over traffic coming to it. Lately the server has been stuttering. When the system chokes, it reboots - this leaves me with little meaningful information as for the pathology of the choke (this is definitely not a violent crash). What tool in your experience assisted you in pres... | Install SAR, it provides snapshot of data every 10 minutes by default, but you can change the rate of infomation using the cron job. It will provide lots of useful data, such as memory, load cpu usage and disk I/O stats. | 2 | 4 | 344 | 2011-11-27T10:17:44.743 | infrastructure | serverfault.com | |
999,190 | How to Change Cloud API access scopes on GCP Compute Engine with out stopping the Instance | I'm using [CODE] inside Google Compute Engine. I mounted a folder with cloud storage bucket but, unable to create any file inside of it: [CODE] with an error: [CODE] Solution for the issue is to give Cloud API access scope: storage : read/write How to Change Cloud API access scopes on GCP Compute Engine with out stoppi... | It looks like you have insufficient GCS permissions. Have a look at the documentation for [CODE] . If you're using a service account on a GCE VM make sure to set up the VM with the [CODE] access scope. You can try to fix it in this way: create a service account (more information here ) create a key for the service acco... | 1 | 1 | 740 | 2020-01-16T09:48:44.480 | infrastructure | serverfault.com | |
9,191 | Mitigating Docker Compliance Issues - Can I put everything in the `daemon.json`? | I am going through compliance tasks to harden our Docker setup and I am seeing many things like Favor using [CODE] with [CODE] to prevent forkbombs Favor using [CODE] with [CODE] to be safe etc... I want to know if I can apply these settings across the board by, say, putting [CODE] in [CODE] I prefer to just have a har... | Check out the dockerd options . This will apply to all containers managed by the Docker Daemon. Docker also has quite a bit of documentation on how to enforce different standards and compliance here . | 1 | 1 | 264 | 2019-09-17T19:12:29.990 | pipeline_ops | devops.stackexchange.com | |
688,424 | How to blacklist or whitelist lots or few ip ranges with ipset and iptables + fail2ban | EDIT: It's astonishing how the urge to find a solution sometimes is sufficient to slowly but steadily lead one towards a solution. Also, the more often I reread my question in order to clarify it, I realize that this "question" rather exceeds the scope of a 'simple' question or the idea of getting things answered by th... | Looks awfully complicated.... I think you may find great value in security and performance by just moving [CODE] and [CODE] to different ports. Running those services on ports that do not match the default will quell most of the brute force/dos traffic. Fail2ban should be able to pick up any outliers after that. By mov... | 6 | 1 | 3,820 | 2015-05-04T11:30:05.960 | infrastructure | serverfault.com | |
286,898 | Are there any problems with defining a single-source "module" in C using conditional compilation to separate the "header" from "source" | I'm writing a project that I want to keep small in the sense of being very densely-coded and a single source file. But it's growing large enough that navigating the file is becoming tiresome, so I want to break it up into several parts. But I think I can keep the number of files small by not having a separate header fi... | Compilation dependencies are from file to file. By separating the declarations into a separate header file, you are free to change the source without causing a recompilation of other code that depends on the header. | 3 | 4 | 119 | 2015-06-16T02:39:06.737 | api_errors | softwareengineering.stackexchange.com | |
406,038 | Server suddenly running out of entropy | Since a reboot yesterday, one of our virtual servers (Debian Lenny, virtualized with Xen) is constantly running out of entropy, leading to timeouts etc. when trying to connect over SSH / TLS-enabled protocols. Is there any way to check which process(es) is(/are) eating up all the entropy? Edit: What I tried: Adding add... | With [CODE] out as a source of diagnostic utility, would setting up something using audit work? There's no way to deplete the entropy pool without opening [CODE] , so if you audit on processing opening [CODE] , the culprit (or at least the set of candidates for further examination) should drop out fairly rapidly. | 5 | 4 | 4,996 | 2012-07-09T13:40:33.167 | infrastructure | serverfault.com | |
946,542 | Apply Computer Policy changes at login / Apply Computer Policy for specific users | I have an request to apply computer policy changes to a specific set of users. For example, I want a specific windows feature (Allow Cortana) available to members of a security group (CortanaUsers). My first internet search showed me examples of how to set up an OU and attach a group policy object that only applied to ... | It’s not very clear what you’re asking. The policy you reference, “allow Cortana” is a computer policy. The description is: This policy setting specifies whether Cortana is allowed on the device. If you enable or don’t configure this setting, Cortana will be allowed on the device. If you disable this setting, Cortana w... | 1 | 2 | 514 | 2018-12-25T01:38:21.740 | infrastructure | serverfault.com | |
325,335 | What is a debug port | I want to explore code paths in Cassandra database, so after getting the code from git and explore it a bit I noticed that it starts a daemon process when I run it from Eclipse. I supposed that when this happens, I can no longer use the IDE to follow where the code is. Due to another problem I created this question and... | The debug port on the Wikipedia page refers to a physical i/o port-- for example, when you are doing Windows kernel hacking, you might connect the debugger to the target machine through a serial port. The debug port in the question you reference is a different but related concept. You can start a Java virtual machine s... | 1 | 4 | 4,630 | 2016-07-20T19:35:21.860 | database_errors | softwareengineering.stackexchange.com | |
94,772 | Is reliance on parametrized queries the only way to protect against SQL injection? | All I have seen on SQL injection attacks seems to suggest that parametrized queries, particularly ones in stored procedures, are the only way to protect against such attacks. While I was working (back in the Dark Ages) stored procedures were viewed as poor practice, mainly because they were seen as less maintainable; l... | Stored procs don't automatically protect against injection. What about this [CODE] Using parameterised queries will protect you against injection, whether they are in procs or not. | 13 | 25 | 954 | 2011-07-21T10:21:46.723 | database_errors | softwareengineering.stackexchange.com | |
82,986 | Can knockd be run on vmware host or guest? | I'm trying to add port-knocking to my home network setup so that I can hide a couple of services from the world (ssh being the most important one). I came across knockd which seems like a perfect solution, except that it is flat-out not working for me. My plan is to run an instance of knockd on a server machine that is... | I used to use knockd - and can't see any reason it wouldn't run alongside vmware server, or on a virtual machine - other than perhaps a conflict within your iptables setup. You should not need to set up a separate box for this. However, if you have a separate box to use, it might be worthwhile setting up a dedicated se... | 1 | 0 | 493 | 2009-11-09T18:11:45.007 | infrastructure | serverfault.com | |
126,388 | Update all rows when sort/ordering value is changed for single row? | I am in the process of creating a GIS application with multiple layers and many pieces of content shapes on each layer. Currently each layer/shape is drawn in the order that it was returned from the database, but I want to give the user some control over the ordering. So the user should be able to drag and drop layers/... | I've never handled anything like this before but why not do a combination of the +1 and the decimal versions. Do the decimal versioning while they are editing .. then at the end of an editing session (when they do a final save) go ahead and re-write all of the values as integers. Presumably in any given editing period ... | 1 | 1 | 115 | 2016-01-15T17:40:16.220 | warehouse_errors | dba.stackexchange.com | |
778,174 | Samba/CIFS Ubuntu 14.04 mount error(112) | I'm trying to mount a samba network share on an Ubuntu 14.04 using cifs. On the server, I've got the share running. I can already map it as a drive in Windows. The share has a username and password. On the ubuntu machine, i've got [CODE] where the credentials are saved. I also have the directory where I would mount the... | There are at least three different versions of SMB around. The problem is, when you are just mounting SMB with no further option on the Linux kernel and SMBv1 is disabled on the server, then the server will send a TCP RST packet to the client and this results in the error you mentioned. Add this option to your entry in... | 4 | 5 | 4,536 | 2016-05-21T10:16:02.030 | infrastructure | serverfault.com | |
690,622 | CentOS - Nginx logs got deleted - unrecognized system restart, why? How to prevent? | I am using CentOS Linux release 7.0.1406 (Core). The last time I logged in to SSH of the server was on April 20. Everything was working fine. Today I logged in once again to check if anything new in the error.log of my websites. I do it periodically. But today there was a surprise: [CODE] As you can see, the .log files... | Gzipping depends on the log rotator¹. Though this link is for Ubuntu, /etc/logrotate.d/nginx also applies to CentOS. To see what's probably handling logging: [CODE] One of the processes that appear is likely what you want (for example rsyslogd). What happened? Led by your comments, vendor restart. To confirm: Login inf... | 0 | 0 | 1,169 | 2015-05-08T14:01:24.347 | infrastructure | serverfault.com | |
1,018,287 | On-Prem AD to Azure AD Sync with existing users in both | I have an on-prem active directory domain called xyzcorp.com. I also have an Azure AD domain called xyzcorp.com. The two are not synchronized at the moment. What I want to be able to do is enable directory synchronization between on-prem and Azure AD. This brings me to the issue at hand. I have a user called admin@xyzc... | Azure AD Connect won't synchronize an on premises user account to an Azure AD user account that is a Global Admin. Azure AD Connect will not synchronize an on premises user account to Azure AD where the isCriticalSystemObject attribute of the on premises user account is set to True. When you synchronize your on premise... | 0 | 0 | 378 | 2020-05-22T20:24:17.970 | infrastructure | serverfault.com | |
825,537 | Ubuntu memory consumption | I've got the following output of the free -m command screenshot So as far as I understand, 6501MB is available for using. The problem is that I have a cron job executing some SQL and I've noticed that if the job takes more memory then the "free" value in the first line (1154 mb), the sql server crashes. Why does that h... | Create one img file (equal or 1.5 of total physical mem) and foramt as swap file system and mount it. Then try to run the job once again. | 0 | 1 | 115 | 2017-01-11T10:50:46.567 | database_errors | serverfault.com | |
217,258 | What are industry standards and professional best practices in network hosts naming? | Possible Duplicate: Naming convention for computers It seems an important and difficult dilemma for me how to name network hosts (routers, servers (while a server can be a router and host diverse services at the same time), virtual machines (while they host important services and can migrate), workstations and notebook... | Only these as far as I know: https://www.rfc-editor.org/rfc/rfc952 https://www.rfc-editor.org/rfc/rfc1123 https://www.rfc-editor.org/rfc/rfc273 https://www.rfc-editor.org/rfc/rfc236 Any other conventions are linked to particular limitations like for mainframes | 0 | 2 | 4,703 | 2010-12-30T00:25:01.490 | data_quality | serverfault.com | |
53,256 | How can I keep two databases on different sites in sync? | I'm working on a web application that exists at two sites. Each system is hosted on it's own LAMP stack, with access restricted to specific users on the network. When content is updated via user input on one side, an XML is transferred from that system to the other to update it, so both systems match. These files are t... | Replication was made for small changes, so you're on the right track. To keep the systems in sync, at the database level, you will need to setup a mysql master-master replication scenario. I've used the tutorial from this linke ( http://howtodba.com/how-to-build-a-cheap-web-cluster-with-replicated-storage-and-mysql-mas... | 0 | 1 | 1,283 | 2013-11-13T14:47:18.237 | database_errors | dba.stackexchange.com | |
262,333 | Property column in sys.col$ in Oracle | I would like to ask what are the number presenting in Property column in sys.col$ table? When I count distinct, it returns 39 rows. And base on my own research, I know for sure that the property = 0, it means that column uses Byte semantic and property = 8388608, it uses Char semantic. Below is a query that I found on ... | Does it really matter? It is an undocumented internal dictionary table. It is a number representing some flags set. Just have a look at the definition of views such as [CODE] . [CODE] There you can find stuff like below, example: [CODE] | 0 | 1 | 663 | 2020-03-19T23:17:56.443 | database_errors | dba.stackexchange.com | |
60,760 | How to store subset of columns from a csv file? | I need to create a table in [CODE] (or [CODE] ) by reading from a [CODE] file (named file.csv ), the problem is that this [CODE] file could have a different number of columns each time I read it. The only thing I am sure of is that it will always have three columns called A , B , and C . For example, the first [CODE] I... | Hive's RegexSerDe which is often used to process logs could be used in your use case. You could use the regex to extract the first 3 columns from a line [CODE] The regex included is using pattern groups (\w+) to extract the first 3 columns and the last group (.*) is anything else which may be in the line See more detai... | 1 | 1 | 160 | 2019-09-25T15:46:30.883 | warehouse_errors | datascience.stackexchange.com | |
122,403 | Funny looking learning curve | I am training an XGBoost for binary classification. I am getting a very odd-looking learning curve. Any idea what is going on and how I might fix this? Thanks | My first guess is that you are working on a dataset for which accuracy is inadequate, for example, in an imbalanced target dataset. So It may happen just by chance that you have few positive cases in the specific set of 90,000 samples. So you have a few options: Change the metric for PR-AUC Redifine your code to strati... | 1 | 0 | 180 | 2023-06-26T12:04:05.933 | data_quality | datascience.stackexchange.com | |
162,539 | Entity set that has a relationship with itself | I have this ER model that I am having difficulty understanding, since there is an entity set that has a relationship with itself. I am trying to understand two questions: 1) Can a child be born before the parent? 2) Can a person to be a child of themselves? For 1) I don't think this is possible, because the parentID fi... | There's nothing in the ERD to constrain the model either way. Without suitable constraints, a child could be recorded as being born before his/her parent, a person could be their own child or parent, and cycles over any number of generations could exist. For example, assuming the ERD is implemented as: [CODE] we could ... | 4 | 5 | 12,233 | 2017-01-29T01:58:24.197 | warehouse_errors | dba.stackexchange.com | |
452,603 | Mails marked as SPAM on some machine but not on all on outlook 2010 | Possible Duplicate: How to send emails and avoid them being classified as spam iam using wordpress and contact form 7 plugin with wp-mail-smtp . When i send mails through my application on some machines on outlook 2010 the mails go to JUNK folder while on some machines on outlook 2010 the mails come to INBOX. Iam unabl... | My first suggestion is to add the sender of those messages to your safe senders list. That way emails from that address will never end up in the junk folder. Beyond that, Microsoft purposely keeps Outlook's junk classification methods undocumented. No one knows what they are exactly. Therefore, it is impossible to tell... | -3 | 0 | 101 | 2012-11-27T14:36:35.727 | data_quality | serverfault.com | |
594,746 | How to stop/prevent SSH bruteforce | I'm very new to network administration, so please regard that I'm not that experienced yet. I have a Ubuntu root server with plesk panel. Yesterday my friends and I noticed that the quality of speech on our TS3 got very bad. I sent some pings to the server and there was a very high packet loss. After that i googled a b... | How to gain access? It's not clear why you can't access your account. If your machine is under attack or high load, you should talk to your provider about restricting access (IP Restrictions) or taking the server offline (disconnect from the Internet). You might also require out of band access which your provider may b... | 27 | 43 | 89,536 | 2014-05-13T11:02:48.470 | infrastructure | serverfault.com | |
173,418 | Pressing backspace with root gives weired character in putty | I am using putty to make ssh connection with my server. I use up and down arrow button to go through history commands. but now when i press backspace instead of deleting the character , some weired chacater appear like [CODE] why is that , everything was ok before | You can reset the key while logged in by entering [CODE] That will set the backspace to whatever character you are sending as backspace for that terminal session. tylerl's response is a better long-term fix. | 4 | 2 | 15,576 | 2010-08-23T05:30:54.120 | infrastructure | serverfault.com | |
52,445 | Oracle DBMS_MVIEW.REFRESH debugging output? | Is there any way to see what DBMS_MVIEW.REFRESH is actually doing? I want to investigate partition change tracking (PCT) and verify that it is indeed only updating modified partitions. | Enable event 10046 at level 4 (bind values output) and then manually fire off a refresh. When you analyze the trace file (preferable using something like Orasrp), it will show you all the fun things that happen in the refresh. make sure you that in your session. [CODE] Then analyze tracefile using orasrp (since it show... | 0 | 0 | 399 | 2013-10-29T20:07:46.533 | database_errors | dba.stackexchange.com | |
782,829 | Get-ADUser over multiple OUs and filter results | This script is supposed to grab users from several OUs and assign the users to one variable, then it takes the users from that variable and filters through each one based on last logon dates over 30 days of age. Then it exports to a CSV with some info I'd like. The problem is , when I get to the foreach part, it search... | There are a few recommendations I'd make with your current script. First off, a single large query is almost always going to perform better than many smaller queries. So rather than running [CODE] separately for each target OU, I would combine them into a single call using a higher level common OU as the search base. O... | 2 | 5 | 22,298 | 2016-06-08T23:57:57.293 | infrastructure | serverfault.com | |
269,755 | Solaris ethernet ports: nge2 and nge3 are missing | There is a Sun X4100 with an interface [CODE] which is configured and working. The server has a group of 4 network jacks in the back and [CODE] corresponds to ethernet port 0. I tried enabling ethernet port 3 with [CODE] and I received the output [CODE] But I am able to configure [CODE] no problem. Here is the output o... | Based on your prtconf information you have 2 nge interfaces ( nge0 and nge1 ), and two e1000g interfaces ( e1000g0 and e1000g1 ). Try to plumb them and they should work. [CODE] On a side note, if you have Solaris 10 it is easier to check for network interfaces with [CODE] | 4 | 3 | 645 | 2011-05-14T15:37:33.063 | infrastructure | serverfault.com | |
673,120 | Remote desktop connection to WinPE 8.0 | I'm trying to find the way to configure WinPE (Windows Preinstallation Environment) 8.0 for RDP (Remote Desktop Protocol) connection. Actually I need to connect over RDP to running WinPE based on Windows 8. Thanks for any help! | Unfortunately, if you're only willing to accept RDP/Terminal services, you're out of luck. Microsoft says : Windows PE cannot act as a file server or terminal server. (Remote Desktop is unsupported.) A former minion of mine once experimented with embedding VNC into PE as part of debugging Altiris client imaging. TechNe... | 0 | 0 | 12,491 | 2015-03-04T22:06:23.137 | infrastructure | serverfault.com | |
36,008 | Error 1044 Access denied to user | This is driving me crazy. When I try to create a few tables from my Workbench model I get this [CODE] . I've been trying to find a solution but nothing works for me. Curiously when I run [CODE] I get two versions of the same user. One is [CODE] and the other is [CODE] . Access is denied to both at one point or another.... | Please keep in mind that when you run [CODE] USER() reports how you attempted to authenticate in mysqld CURRENT_USER() reports how you were allowed to authenticate by mysqld This means you should run this query [CODE] or just [CODE] to actually see your credentials. If you run, [CODE] you may not see credentials if the... | 1 | 2 | 16,360 | 2013-03-05T18:59:08.590 | database_errors | dba.stackexchange.com | |
471,896 | FcgidMaxProcesses not respected | I'm using FastCGI (fcgi). I'm having a problem where more PHP processes are being spawned than what should be, which is eating up my RAM. I'm using WHM, and so have set the following PHP settings via WHM web interface > Apache Configuration > Include Editor > Pre VirtualHost Include: [CODE] (Usually these settings woul... | I believe the following may be the right approach to addressing this in cPanel: http://www.ray.45press.com/configure-mpm-apache-xcache-fcgid-in-cpanel/ In particular it has to do with editing [CODE] to include the following lines: [CODE] But be sure that [CODE] matches the [CODE] from the Apache config. Further you wan... | 2 | 1 | 1,368 | 2013-01-23T23:01:12.927 | database_errors | serverfault.com | |
55,867 | Can I run a mongos without any config servers? | I just want to use mongos as a tool to scale up the number of connections I can open to mongo. So can I run the mongos without any config servers? Has any one done this before? | You cannot run a mongos without a config server, but you shouldn't have to in order to "scale up" your connections in any case - all you would be doing is adding an unnecessary layer between the driver you are using and the replica set. Unless you are using sharding, having that layer is not necessary, and can introduc... | 2 | 2 | 2,619 | 2013-12-30T21:42:10.777 | database_errors | dba.stackexchange.com | |
414,208 | Does the MTA (Postfix, Exim, etc.) get installed seperate from the mail server | I'm new to mail servers and still trying to understand all the components. What I read is that there are many MTAs, but the 4 common ones are qmail, Postfix, Sendmail, and Exim. I also found this list of mail servers. http://en.wikipedia.org/wiki/List_of_mail_servers What's confusing me is that mail servers like Zimbra... | The problem you're having is that "mail server" is an imprecise term. Some people take it to mean "MTA" (because that's all you need to have a server that handles mail), whilst others take it to mean a server that receives mail and stores it for users to manipulate, while still other people have other definitions entir... | 6 | 7 | 369 | 2012-08-04T05:25:10.977 | infrastructure | serverfault.com | |
595,278 | How to import MySQL dump which is encoded with quoted printable? | I got a MySQL DDL file [CODE] which I would like to import. It starts like this: [CODE] I think it is a kind of quoted printable encoding. When I try to import this via [CODE] I get the following error: [CODE] Is there a way MySQL can read this kind of files? Or do I have to convert it first? Any ideas how? | Solution was to decode the file with [CODE] before importing. | 1 | 0 | 428 | 2014-05-15T10:14:57.043 | database_errors | serverfault.com | |
609,715 | Xen Server 6.2 Upgrade to SP1 | I installed Xen server 6.2 and I am currently playing around with it. I managed to install 1 vm, and I have applied all hotfixes available up to the Service Pack 1. That specific patch gives me an error. The command [CODE] shows the following: [CODE] This is the version of the installation: [CODE] When I run [CODE] , I... | FWIW, I deleted the one VM I had running and tried the update again to no avail. I asked for help on the Citrix forums but the solutions they gave me did not help so I performed a clean install of Xen Server 6.2 and applied the SP1 hotfix right away. That worked. From there on I could install the rest of the fixes that... | 0 | 0 | 2,127 | 2014-07-02T23:40:11.133 | infrastructure | serverfault.com | |
88,967 | Semantic segmentation of an image with multiple labels per pixel | I am building a model for a multiclass sematic segmentation of a skin disease. At a moment I am using U-Net for binary classifications. In this multiclass problem I have the following cases. There are four types of skin damage. There are four degrees of damage for each skin damage type: healthy, mild, moderate, severe.... | Three separate models (one per channel) will easily learn to predict the >channel category, but it will never output r0g1b2 and r2g3b0 classes in 64 class model because it have never seen these classes. How to overcome this problem? The only way to solve this problem is to use channels (one for each skin damage type) f... | 0 | 1 | 1,057 | 2021-02-05T09:25:19.040 | data_quality | datascience.stackexchange.com | |
27,475 | SCVMM V2V conversions stopped working - BITS timeout | I set up System Center Virtual Machine Manager some time ago. We barely use it, except to do conversions from VMWare to Hyper-V. When I initially set it up, it worked fine for this purpose. Now, when I try to do a V2V conversion, the job fails during the transfer of data over BITS; it says that the connection timed out... | I found the problem. I was using FTP to transfer the files (the VMWare host is in the DMZ, my SCVMM machine is in the LAN, and FTP is our preferred means of transferring data between the two zones). When we transferred the files with an external USB drive, it worked like a charm. My only possible explanation is that ma... | 1 | 0 | 2,060 | 2009-06-17T17:59:16.907 | api_errors | serverfault.com | |
238,660 | Documentation on Windows Hex Error Codes | I was kind of surprised when I saw this that the guy knew the break down of the hex error codes. Maybe I am showing my inexperience, but does someone know a MSDN or Technet document that breaks down the entire formation of hex error codes in Windows? I would be interested to read it. | There are Windows system specific error codes which are documented here , but other API's and technologies will have their own lists of result codes. The one in your example is an ADSI error code. ADSI Error Codes (on MSDN) That error code specifically is a Win32 related error thrown by ADSI. Win32 Error Codes for ADSI... | 4 | 4 | 4,097 | 2011-02-22T14:23:43.633 | infrastructure | serverfault.com | |
202,741 | MySQL query suddenly slow down | (MySQL Version 5.5.58) I have two tables [CODE] and [CODE] . [CODE] has 1K rows, while [CODE] has 100K rows: [CODE] I have a "select" query from those tables: [CODE] This query will finish in ~100ms normally. However, after 2~3 days of uptime, the query time will suddenly increase to about 200 seconds. This will usuall... | The InnoDB buffer pool is essentially a huge cache. (A variant of LRU - 'Least Recently Used'). If your working set data fits into that cache, then [CODE] queries will usually be relatively fast. On the other hand, if the working set data doesn't fit into that cache, then MySQL will have to retrieve some of the data fr... | 1 | 1 | 7,556 | 2018-03-31T15:30:06.720 | database_errors | dba.stackexchange.com | |
107,456 | dump files maxing C drive with corrupt mdf | I have some databases with corrupt mdf and my C dive on the SQL server is getting maxed out with error dump files, I am not asking how to troubleshoot why these files are being created, I already know what the problem is, why they are being created and what I need to do to correct the underlying issue. what I would lik... | You should limit your error log size. According to support , you can accomplish this by executing on the target instance the following script: [CODE] Another thing you might want to check is where you have your TempDB stored. If it's on C drive, than perhaps you should move it to another drive. If you'te getting memory... | 2 | 0 | 143 | 2015-07-18T20:51:07.717 | data_quality | dba.stackexchange.com | |
655,461 | apache mod proxy_wstunnel invalid utf8 during websocket upgrade | I am experiencing an intermittent problem when connecting the jetty web-socket client to the server. The good people at Jetty assure me it is not a problem with Jetty. On the server side I have apache with mod proxy_wstunnel proxying to tomcat 7. When I take apache out of the picture and connect the client directly to ... | I had to compile the latest version of apache on my server and that seemed to solve the issue. I created this question and answer to document that process: https://serverfault.com/questions/655722/how-do-i-compile-the-latest-apache2-on-ubuntu-using-the-original-layout-configu | 0 | 0 | 1,629 | 2014-12-30T19:05:12.807 | api_errors | serverfault.com | |
1,052,504 | Unable to hit websites with Self-Signed Certificates after NSS upgrade with any application | We recently upgraded NSS from version 3.44 ( [CODE] ) to version 3.53 ( [CODE] ). After this upgrade, any calls out to our internal website that uses a self-signed certificate fail. We see the following error when curling it or trying to access with any applications like GIT - [CODE] When downgrading back to NSS 3.44, ... | I opened a ticket with Redhat about this issue. We use FIPS on our systems which was killing the connections. They replied with the following article giving more information - [CODE] The short version is that the Cipher suite that the website you are connecting to is trying to use an algorithm that does not comply with... | 1 | 0 | 855 | 2021-02-05T13:08:53.820 | infrastructure | serverfault.com | |
292,169 | Unable to SELECT data that is definitely there | This is truly strange. I'm connecting to an Oracle Docker container (epiclabs/docker-oracle-xe-11g) and performing the following operations: [CODE] [CODE] [CODE] [CODE] [CODE] 5 times. Verify that [CODE] returns [CODE] . So far so good. Open a second connection to the same database. [CODE] This query returns 0 rows. Th... | Global temporary table was just a guess, because you had not posted the actual statement for table creation, and already said you used explicit commit. Using the information you gave us, we can only guess. But here it is, works as expected: [CODE] Test from other machine: [CODE] | 0 | 2 | 58 | 2021-05-24T17:09:23.453 | pipeline_ops | dba.stackexchange.com | |
77,220 | How do i increase the total MyISAM indexes? | I have just made a check for my server with mysqltuner. [CODE] Please advise me a way to increase total MyISAM indexes (96K) to an effect number. Thanks. | Your key_buffer_size is way too big. Since your MyISAM indexes is that small, set it to 128K. You need to open my.cnf and add this under the [CODE] group header [CODE] You don't need to restart mysql. Just run this [CODE] Give it a Try !!! Based on the mysqltuner output, you can drop the innodb_buffer_pool_size to 3G. ... | 1 | 0 | 833 | 2014-09-22T03:57:31.623 | database_errors | dba.stackexchange.com | |
31,257 | Keras custom loss using multiple input | I have a model in keras with a custom loss. this loss is calculated using actual and predicted labels(or values) and is also based on some input value . (an example would be to define loss based on reward or advantage as in a policy gradient method in reinforcement learning context ) example code: note: the input value... | When you are in the inference phase, there is no loss to be calculated unless you are using a validation set to fine tune your model on. Using two models with shared layers in between is fine yet I suggest to start training the model and don't waste your time writing perfect code. | 2 | 1 | 3,722 | 2018-05-03T21:52:25.323 | data_quality | datascience.stackexchange.com | |
10,534 | Index fragmentation increase as more row being deleted | I have a table that contains more than 18 million records. I have a process that clears data out of that table everyday. Index fragmentation was low. This table has high transaction throughput. Every second it stores about 3 to 5 new records, so we know that clearing old records for this table needs to be fast. The del... | This isn't fragmentation. Fragmentation is generated of course, but deletes will simply create "islands" of remaining pages, which is less evil then GUID/clustered key INSERT fragmentation. If you're PK is an IDENTITY, then [CODE] should roughly track this so you're actually deleting chunks of contiguous rows anyway. D... | 4 | 6 | 2,283 | 2012-01-11T19:15:25.680 | api_errors | dba.stackexchange.com | |
7,441 | Has any faced issue when automating auto suggest text box using selenium webdriver | I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this never happens when I try manually. I am using latest version of Selenium WebDriver in .net C# and executing the tests o... | A little hacky, but might work: You do the SendKeys(), and then wait with a WebDriverWait. I don't really know the C# syntax, but should be similar: [CODE] This would throw a TimeoutException after 10 seconds of not finding the dropdown. Having wrapped all the process in a method, you can do a try/catch where, if you c... | 3 | 2 | 11,013 | 2014-01-01T09:33:00.177 | data_quality | sqa.stackexchange.com | |
321,711 | How does SQL Server handle simulataneous read/write requests? | Background: We have an application which uses an SQL Server 2008 database heavily. We are trying to optimize this application. It was single threaded, and we noticed through logging/ profiling of the app that the largest bottleneck was db reads/writes. Some calls were taking up to 100ms, which is far too long for us to... | SQL Server is a multi-user database. It's primarily intended to handle multiple simultaneous requests. Ideally, two queries that take A + B when executed serially will take MAX(A, B) when executed simultaneously. In order to prevent corrupt data from being read or written, SQL Server uses Transactions and Locking . In ... | 5 | 3 | 23,353 | 2011-10-14T13:21:04.923 | database_errors | serverfault.com | |
358,055 | 7.2K Near Line SAS with Large RAID Controller Cache vs 10/15K SAS | I'm working on an application to capture a lot (10 million +) of really small blocks of data (16 bytes) every day. The data is not sequential (i.e lots of seeking about to write) and it's not a constant stream (there are periods of quiet). The app has caching servers in front of it so reads are less of an issue and I a... | I'm not sure you're going to get a useful answer here. I'd be performing benchmarks with the application and the prospective hardware to get an idea of how it performed because I suspect there is enough complexity that attempting to model it "back of the envelope" is likely too simplistic. In general the on-controller ... | 1 | 5 | 672 | 2012-02-08T16:14:29.857 | infrastructure | serverfault.com | |
95,977 | Maximum Partitioning PostgreSQL | I have 400,000 records I need to partition. The records will increase 100,000 per year and those new records might need to have 1000 new partitions added. Here are some of my concerns: How many partitions are too many Is having small partitions bad (could have less than 150 records per partition) Large partitions will ... | You need one partition for that many records. Not 1000. Certainly not 1000/year. This is not a problem that requires partitioning. It looks to me like you've decided on the solution before fully stating and analysing the problem. Reading between the lines, it sounds like you're implementing a mulit-tenant system and ha... | 1 | 7 | 2,023 | 2015-03-23T14:05:23.663 | database_errors | dba.stackexchange.com | |
363,691 | Remote desktop user cannot login | Im playing with active directory on windows server 2003. I created domain user, added him to Remote Desktop Users group, but still he cannot login using rdp. He is getting message that his account need to be added to Remote Desktop Users group. What's wrong? Administrator can login without problems. | You need to give rights to logon locally to the Domain Controller. Here is the MS article on how to do that. Permit users to log on locally to a domain controller | -1 | 5 | 3,759 | 2012-02-25T11:30:55.120 | infrastructure | serverfault.com | |
133,272 | Passing data between concrete states? | I have a state machine pattern implementation that's pretty straightforward, but I've got a design problem I don't know an elegant solution to. Here's some partly pseudo code to illustrate. [CODE] Basically, the event triggering the state change also is providing data that belongs in the new state, and I don't know if ... | I think you may be getting a little bogged down in the English meaning of state, when compared to the State Pattern (or Finite-State Machine, which is really a diagrammatic representation of a State Pattern). Both are appropriate here, but they shouldn't be confused. The State Pattern is something which should, given v... | 7 | 6 | 5,119 | 2012-02-04T08:39:17.610 | api_errors | softwareengineering.stackexchange.com | |
161,380 | Odd behavior with SSRS 2016 drop down parameter list | I have a report that is "working" fine except for an issue. I have four dropdown list parameters where I am getting the values from queries. When I select a value from a dropdown list, it selects the next value below what I wanted to select, and "removes" the first value as an option. For instance, one of the dropdowns... | After desperately trying everything from restarting and updating SSRS, to clicking my heels three times and throwing salt over my shoulder, the solution is to not use the Microsoft Edge browser. When I switch to using Chrome/Firefox to run my SSRS reports, the behavior is removed. Microsoft Edge version: 38.14393.0.0 | 4 | 3 | 1,765 | 2017-01-17T23:25:08.717 | bi_errors | dba.stackexchange.com | |
340,019 | What is the importance of the vision document and how it helps development? | I'm a developer that works alone, and recently, searching for what kinds of documents I still could benefit, even though I don't require anything formal, I've read that one document that still is highly recomended to write is the project vision document. I found it described as a short document (a page and a half or tw... | Considering you are working alone the vision document would be less useful for you than most as it's mostly a communication tool . More importantly however, the vision document is a reference point , something you can look back to and determine whether or not your efforts are going to the right place. Even as a solo de... | 8 | 6 | 2,137 | 2017-01-12T00:11:26.943 | api_errors | softwareengineering.stackexchange.com | |
1,068,525 | Failed to map guest I/O buffer for write access with status 0xC0000044 Hyper-V-StorageVSP Event ID 8 | Full Error information: Error 8/9/2021 10:35:11 AM Hyper-V-StorageVSP 8 None Failed to map guest I/O buffer for write access with status 0xC0000044. Device name = d:\vms\servername\virtual hard disks\servername.vhdx This error is switching between different vhdx files on the same Cluster Shared Volume. Some days it rep... | This issue was resolved when we did two things (Wish I had done them on different dates to know which on solved the issue.) Removed Cylance antivirus from the environment. Powered down the core aruba switch the SAN and Servers connect to. All other components had been power cycled before and the issue persisted. | 0 | 0 | 7,384 | 2021-07-02T21:24:23.367 | database_errors | serverfault.com | |
81,709 | Composite Foreign key to single primary key | How do I create a composite foreign key to a table with a single primary key? For example suppose I have the following tables: [CODE] I'm trying to add the following constraint, but it won't allow me: [CODE] I keep getting the error: There are no primary or candidate keys in the referenced table 'Expectations' that mat... | The answer is a little bit like the old joke: "Doctor, doctor! It hurts when I do this ." If you want a foreign key to an entity then that entity needs to have a unique key defined to be referenced. The fact that your [CODE] table has a unique candidate key in [CODE] should not prevent you from defining another candida... | 2 | 4 | 1,993 | 2014-11-03T04:43:11.720 | data_quality | dba.stackexchange.com | |
418,289 | Storing failed states locally | I’m currently developing a web application and am struggling to think of a design for the front-end. In the front-end the user can input 1-n values and it will be split up into 1-n API calls. The api does some processing for 2-10 seconds and stores it in the database if it is successful. Right now I just have it so tha... | I see you doubt it is a good idea to come up with your own special "state-caching local-storage" solution to the problem that has already been solved by others a 100 times, and you are right. It is better for you to go with what is the best practice for the tech-stack you are using. If you dont know how its done with t... | -1 | 0 | 61 | 2020-10-23T22:22:19.130 | api_errors | softwareengineering.stackexchange.com | |
297,395 | Problem to run website in IIS 7.5 | I have downloaded a web site project and its an ASP.NET web site use for sending SMS. I am using Windows 7. I've configured IIS 7.5 with 3.5 .NET Framework. After configuring IIS 7.5 when I use IIS Manager with command ( [CODE] ) to add virtual directory and website with the path in my computer [CODE] (web is virtual d... | This simply means your virtual-directory has directory-listing disabled and no default page - you could either: Navigate to a certain page directly Enable Directory-Listing Set a default page for the current virtual-directory | 1 | 4 | 412 | 2011-07-31T07:06:52.130 | infrastructure | serverfault.com | |
647,772 | Unable to correct dependencies Update Debian 6 to 7 | I tried updating debian 6 to 7 and getting trouble while running apt-get dist-upgrade. What I have done is: edit source.list, changed squeeze to whezzy [CODE] running [CODE] Fixing this with apt-get install -f fails and aptitude safe-upgrade --full-resolver is not able to resolve conflicts. [CODE] Any ideas how to fix ... | Between [CODE] and [CODE] , there is no need to an [CODE] , although it shouldn't kill so many things. You should check with a [CODE] if every package was installed okay on the system. If not, then you should fix these problems first. I am waiting your [CODE] output. In such cases, there are many things which can be do... | 0 | 1 | 3,380 | 2014-11-28T12:54:44.490 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.