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 |
|---|---|---|---|---|---|---|---|---|---|---|
40,706 | How to Allow notification permission for desktop-notifications in Chrome Browser using python scripting | Hi i have been trying to automate a page using Selenium Python. And in one of the page it requires the user to grant permission for mic & cam. I have written the code for the same using the Chrom_Options() even then This dosn't help me in selecting the Allow permission automatically using the script. Below is the code ... | You have to add the following experimental options: "profile.default_content_setting_values.media_stream_mic" "profile.default_content_setting_values.media_stream_camera" "profile.default_content_setting_values.geolocation" "profile.default_content_setting_values.notifications" | 0 | 1 | 2,566 | 2019-09-08T07:58:26.777 | data_quality | sqa.stackexchange.com | |
18,315 | Setup keycloak with mysql via docker compose | I've been trying to get keycloak running for a bit now. I had it going using the legacy tag but it seems like bad practice to get started with a legacy version. So I wanted to get the most recent version running. This is my docker compose config, but somehow It wont work. It has something todo with the database connect... | I think the [CODE] environment variables are supposed to be just [CODE] . If I rewrite your [CODE] like this... [CODE] ...then it starts up without errors and I can connect to the console at http://localhost:8080/keycloak/ . A couple of comments unrelated to your question: Your [CODE] is effectively a no-op, because it... | 0 | 1 | 1,262 | 2023-09-15T06:36:09.403 | database_errors | devops.stackexchange.com | |
94,814 | MySQL distinct string | I have the following sample table. [CODE] So the table looks like [CODE] How can I make the rows have unique fruits? For example, I would like to have the following resulting table. [CODE] Any suggestions would be greatly appreciated. | You came to the right place !!! Hang onto something because you are going to roll on the floor laughing I answered a similar question just like this back on [CODE] involving [CODE] , [CODE] , [CODE] and [CODE] : MySQL group concat not showing distinct values when joined to another table In your case, you need to assemb... | 1 | 1 | 1,093 | 2015-03-09T23:32:54.563 | database_errors | dba.stackexchange.com | |
236,809 | Database Engine and SSISDB architecture advice | I'm seeking some architecture advice involving the database engine and Integration Services components of SQL Server 2017. We have an existing SQL Server environment which is due for an upgrade and has historically been used in a less than ideal way. With an upgrade to a new SQL Server environment now on the horizon, a... | This is a culture change as much as it a process change, so having management support you will be important, and ultimately shield you from some level of technical resistance and aid in broadcasting how this strategic shift will improve the lives of everyone. Before we get into the specific case of the SSIS Catalog, le... | 3 | 3 | 736 | 2019-04-26T17:44:55.273 | database_errors | dba.stackexchange.com | |
1,078,724 | kex_exchange_identification error with Windows10 OpenSSH server | I installed OpenSSH-server on my Windows 10 PC (probably a "home" version, not a Windows server) using the Microsoft guide . I did not change the [CODE] file (although I don't think that's relevant here anyway). I can log to the machine from a terminal on that same machine: I have another machine running on the same LA... | TL;DR: After a little more searching, and trying to reboot like others suggested, I've found a simple workaround: Make Windows start the OpenSSH server on a port that [CODE] does not show as taken by adding the line [CODE] into [CODE] [*] (replacing [CODE] by the chosen port of course). I personally chose port 222, sin... | 1 | 0 | 9,712 | 2021-09-27T02:43:54.757 | infrastructure | serverfault.com | |
282,342 | Fastest query to filter product by countries | I have a large Product table: ProductID ProductName 1 Product 1 2 Product 2 ... ... n Product n whereas n is around 2,000,000. To limit product availability to a certain country, I have a second ProductCountryRestriction table: ProductID CountryCode IncludeExclude 1 USA 0 1 UK 0 2 AUS 1 2 NZ 1 If a product is restricte... | Since wrote you won't mind changing the design... Change the design. Instead of that complicated logic with the flag and implicit inclusions/exclusions, just have a table that maps products to countries. Let's simply call it [CODE] . If, and only if, a record for a country exists for a product in [CODE] the product is ... | 3 | 7 | 825 | 2020-12-30T08:17:34.947 | database_errors | dba.stackexchange.com | |
75,354 | Getting vacuumdb :invalid page header in block error while vacuuming | I am newbie to PostgreSQL and using version 9.2.Disk space for data folder is full causing DB to stop. When i am trying to perform a vacuum to reclaim space, i am getting below error. vacuumdb: vacuuming of database "mcfdb3" failed: ERROR: invalid page header in block 15871 of relation base/17148/30976 Can anybody help... | The error you pasted indicates that there has been corruption in your database. The best approach to dealing with this kind of corruption is to shut down the database, make a complete copy of all of the files, and then restore them to another system where forensics can be performed. If you have a complete copy of your ... | 1 | 1 | 1,944 | 2014-08-30T13:09:39.797 | database_errors | dba.stackexchange.com | |
956,412 | How to upgrade to MySQL 8.0? | I have a Drupal site 8.6.10 on an Ubuntu server 18.04 with MySQL 5.7.25 I want to update MySQL to version 8.0 Here are the steps I followed : 1) I backed up my database. 2) I uninstalled MySQL from my server with the commands : [CODE] 3) I added the repository with the command : [CODE] 4) I installed the package with t... | Well I attempted the above in a test machine, and it sure seems like something is broke in the mysql repository. Specifically the key seems to be expired. [CODE] If you really want to ignore the errors and install you could adjust your mysql.list like below. Keeping in mind this does potentially open you to someone mit... | 4 | 2 | 771 | 2019-03-02T03:04:17.810 | database_errors | serverfault.com | |
788 | Is it a good idea/approach to index a VARCHAR column? | We're using PostgreSQL v8.2.3. There are tables involved: EMPLOYEE and EMAILLIST . [CODE] 2 tables are joined in such a way that if either EMPLOYEE.EMAIL1 or EMPLOYEE.EMAIL2 do not have a matching entry, those rows will be returned. [CODE] Column [CODE] which is varchar(256) of [CODE] table is indexed. Now, the respons... | There's nothing wrong with indexing a varchar column if you're going to be doing queries based on it. However please keep in mind that there a limits to some indexes and how much they can index in a single field. Example you can't index a column that can contain an unlimited amount of text. However you should be able t... | 43 | 34 | 57,209 | 2011-01-22T09:23:30.780 | database_errors | dba.stackexchange.com | |
47,823 | How to get text of <span> based on the <p>? | How do I find the element with text "Jessica" based on "3000" displaying in the web page using xpath? I'm getting ...not a valid xpath error. [CODE] I tried this [CODE] but it shows [CODE] | You should use the [CODE] Xpath option: [CODE] | 0 | 0 | 6,943 | 2021-07-21T10:13:23.350 | data_quality | sqa.stackexchange.com | |
121,596 | Efficiently select rows of matching ID with higher version than in another set | Questions I put my questions first, so that it is easier to understand the question. I have two working queries at the end, but I fear they are not very efficient with data sets larger than what I have at the moment. What are my best options to create an efficient query in the below case? Description I have a MySQL dat... | I ran some tests based on the suggestions I got from you guys, using the [CODE] and [CODE] modules in Python. I created 5 tables: [CODE] , [CODE] , [CODE] , [CODE] and [CODE] . All the databases were given a single table, [CODE] , which contained the following columns. [CODE] The tables in the databases were then fille... | 1 | 2 | 142 | 2015-11-19T16:33:13.370 | database_errors | dba.stackexchange.com | |
1,100,560 | Simple reverse proxy with nginx and docker gives 404 | I have a very simple setup. Three containers in docker that I want to communicate between, nothing else. Attacker (kali with nginx), reverse-proxy (alpine with nginx), and victim (alpine). I'd like to, inside victim, curl reverse-proxy and get attacker's website. So far I can get attacker's website directly by [CODE] a... | As Richard noticed [CODE] is passed to [CODE] which didn't exist, hence the 404. What I needed to do was to use a rewrite to change that. In my case changing [CODE] to [CODE] sufficed. (answer as to why - here ). | 0 | 1 | 4,097 | 2022-05-10T07:52:05.083 | pipeline_ops | serverfault.com | |
13,263 | What happens if my WHS boot disk or other hardware component failes? | I was boasting to some of my co-workers yesterday that my Windows Home Server (WHS) had my entire home network backed up and that is my recovery plan for a failed hard disk on one of the home computers. I was then asked what I'd do if the boot hard disk failed on the (HP MediaSmart) WHS or if some other hardware compon... | As mentioned by Kevin, there is a manual process and an add-in to manage the data for connected PC backups: Backing Up Windows Home Server | 6 | 4 | 1,261 | 2009-05-27T19:20:55.893 | data_quality | serverfault.com | |
1,153,477 | Is there a way to house one MySQL DB in one location and others in another? | Have any existing MySQL 8.0 server installation on a Ubuntu 22.04 machine. Existing works without issue, but looking to import a very large DB but doing so in its current data directory will max out my available HD space. As such, I'd like to import the new large DB to a secondary location (on an external HD) and ideal... | You want to add a new database to an existing mysql instance but using a different path? Are you using innodb? Are you using innodb_file_per_table ? If not (i.e. the default on most installations) then the simplest way to achieve this is to rewrite your import file to specify the DATA DIRECTORY. Alternatively you could... | 0 | 1 | 67 | 2024-02-13T06:04:33.487 | database_errors | serverfault.com | |
89,169 | GPO config problems | I'm administrating an ou. And I have applied a rule for screen saver lockout. Some OU's under my OU have applied the settings and some haven't..., What can be the cause of this? Is there a way to check applied settings on a specific machine? Thanks. | My problem was in the scope settings of the GPO, my users under the OU wheren't configured there. @Trondh is a very nice tool you can run on your users machine to see the result accumulation of all policy's for this user and machine. | 0 | 0 | 109 | 2009-11-29T14:36:15.090 | infrastructure | serverfault.com | |
890,940 | puppet: fact in manifest with dot | I'm using puppet 4.10.9 with facter 3.6.8. I have a question(s) regarding the use of facts in a manifest that I'll ask in a simple form, and a more complex form. First, the simple question. On an agent I can see the following addresses: [CODE] I want to use 'ipaddress_enp0s8.25' (a vlan interface) in a manifest. Yes, I... | Accessing facts has changed in version 4. Try accessing the fact via the $facts hash, $facts['ipaddress_enp0s8.25'], instead of using a top scope variable. You can still use top scope variables to access facts, but they have been deprecated and you should move over to using the $facts hash as soon as possible. In this ... | 1 | 1 | 1,735 | 2018-01-05T21:18:30.990 | pipeline_ops | serverfault.com | |
253,213 | How to ensure the success of processes after a deadlock exception occurs? | No matter the programming language is and whatever the database is, the concept should be the same: I have 2 threads, each locking some database entities and inserting new data in database. Let's suppose the fact that those threads run simultanously may cause deadlock exceptions. Obviously, the main action we can do fi... | Naive solution: Have both threads wait a random amount of time before trying again. Eventually one thread will go before the other (probably sooner rather than later.) | 2 | 3 | 70 | 2014-08-13T18:37:36.440 | database_errors | softwareengineering.stackexchange.com | |
13,039 | What is a 'fixture'? | I've seen the term "fixture" used in a number of different contexts, and I suspect I don't quite understand what is meant by the term, because I see it used to mean things that I didn't think it meant. At a high level, can someone provide a clear, concise definition of the term? | It depends on the context. For instance, in Fitnesse or other BDD frameworks it is the "glue" (an intermediary software layer) that connects test scripts with the system under test (SUT). E.g. translates test commands to SUT API and responses from SUT API back to the test script. My observation is this is also a reason... | 10 | 3 | 1,837 | 2015-05-13T12:08:35.010 | data_quality | sqa.stackexchange.com | |
708,903 | word wrap in ssh session not working with grep | When I ssh to my Linux servers and use grep like this: grep 'timeout exceeded' logfile | less word wrap does not work. However, if I use the same command but use less first, like this: less logfile | grep 'timeout exceeded' the lines wrap. I am not sure what the problem is or if this is normal or not. But it happens re... | When you do [CODE] You can use the right arrow keys to move to the end of the line (left to move back). | 2 | 2 | 1,261 | 2015-07-27T22:12:46.360 | infrastructure | serverfault.com | |
154,104 | Comparing Two Values when one or more could be NULL | I am writing a trigger and want to see if one column has changed could be [CODE] and trying to avoid the following: [CODE] This is postgres 9.5 in a function (stored procedure) | Equivalent and simpler: [CODE] | 2 | 4 | 267 | 2016-11-03T00:13:46.543 | database_errors | dba.stackexchange.com | |
1,070,039 | How is TRIM handled when cloning a disk with dd? | The TRIM command allows an OS to inform an SSD which sectors contain data, and which are free. This allows the disk to re-use free sectors internally and improves wear leveling. Now, if an SSD is cloned to anoher via [CODE] , each single sector is copied to the target disk. However, [CODE] does not know if the content ... | Use fstrim ( man fstrim ) after having cloned the partitions. Example: I've got a system over BTRFS which was cloned to an SSD, so I boot it and run: [CODE] | 5 | 2 | 810 | 2021-07-19T15:50:34.397 | infrastructure | serverfault.com | |
734,026 | Local administrator as default choice when in domain | Some of our users do some basic management of their Windows computers. Their accounts are regular users, and they have a local administrator to perform whatever their like: install some crapware, destroy printer settings, allow viruses to take solid ground, etc (I heard some of them act responsibly, but I think this is... | I think this will answer Case 3 for you. Run the local group policy editor as Administrator on the user's computer. In Group Policy go to Local Computer Policy\Computer Configuration\Admin templates\Windows Components\Credential User interface. Right Click "Enumerate administrator accounts on elevation", click "Edit". ... | 5 | 3 | 1,238 | 2015-11-04T23:26:26.713 | infrastructure | serverfault.com | |
897,160 | Unable to Connect to SQL Server 2014 SP2 using the SQL Native Client 10 | Attempting to connect using the SQL Server Native Client 10.0 Results in the below error: Client Unable to establish connection Shared Memory Provider: No Process is on the other end of the pipe. Forcing the connection to use TCP just changes the error to a TCP error with similar contents Using the SQL Server Native Cl... | I Found the issue for this one, the owners of this server have removed all but TLS 1.2/AES encryption which isn't supported by the SQL Native Client 10.0 I was able to download an on-request hotfix from the below link which resolved the issue for me. https://support.microsoft.com/en-au/help/3135244/tls-1-2-support-for-... | 0 | 1 | 2,364 | 2018-02-14T06:41:24.953 | pipeline_ops | serverfault.com | |
727,401 | Nginx with php-fpm session not working | My php session is to: [CODE] If i make a simple script to test like: [CODE] Well the session is not working. When I list the folder: "/var/lib/php/session" I see it is creating a new file everytime. So If I reload the page 1000 I will have 1000 session files.. Its losing the session and creating a new one. So its has t... | I found my solution. looks like the permission error was in the cookie folder "session.cookie_path" So.. the session folder is ok.. but since cookie was not ok, it didnt know the user session and created a new one all the time. | 1 | 2 | 7,622 | 2015-10-07T17:21:11.817 | infrastructure | serverfault.com | |
59,735 | Hyper-V Server R2 - Disk management MMC returns RPC Server is unavailable | does someone faced error "The RPC server is unavailable" during connecting to Disk management MMC console to Hyper-V Server R2? Servers are in the same AD domain and MMC console is enabled on Hyper-V. Thanks | You need to change the Firewall rules on both machines (NOT only the Hyper-V Server) Run this command on both machines: netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes | 11 | 23 | 53,540 | 2009-08-27T20:03:37.250 | infrastructure | serverfault.com | |
46,258 | How to measure productivity of the test team or of testing in general? | Basically many people know the problem that the project owners would like to see the progress of the test. Technically via test suites, via CI integration possible, reports. But how does it behave when the PO asks (at the end of the year) what the testing, test team has achieved for him? How can I measure in detail how... | When your Product Owner ask a general question on how you QAs performed this year, you need to give three dimensional answer: Estimation that gives the results of entire team (Refer no.1 section in answer) Estimation that gives special efforts from QA (Refer no.2 section in answer) Estimation specific to Test Automatio... | 1 | 1 | 1,055 | 2020-11-25T12:22:25.283 | data_quality | sqa.stackexchange.com | |
81,344 | SQL 2008 Reporting Remote Datasource Windows Authentication | I am trying to use Windows Authentication on a SQL Server 2008 Report Server that connects to a 'remote' SQL Server 2008 Enterprise server. If I store the login credentials with the datasource everything works fine. The reports limit what information can be selected based on the user's account. I need to be able to use... | Definitely sounds like a double-hop issue. You will need to set your environment to use Kerberos authentication between your clients, the report server, and the data server. For Kerberos to work, you'll need the reporting service and SQL database service to be running as domain accounts rather than local accounts (Loca... | 0 | 2 | 606 | 2009-11-04T14:26:58.993 | api_errors | serverfault.com | |
104,524 | Mysql Replication - How it works offline? | i have a mysql server on a local machine but the connection is not got for users outside the local network. I want that database to be available on another server wich can handle way more requests and is more stable than the local server. My question is: What is the best way to replicate the data from the local server ... | Replication sounds like what you need, as long as the slave server you envision will be used as read-only. Connecting a slave (replica) server to a master imposes very little load on the master. If the connection between the two is severed for whatever reason, the slave will continue to answer queries, and normally wil... | 0 | 1 | 2,316 | 2015-06-18T19:42:50.987 | database_errors | dba.stackexchange.com | |
539,657 | What is setgid(2) used for? | I'm having trouble understanding POSIX permissions, specifically setgid(2) . I understand that setuid(2) changes the user ID of the calling process so that it takes on the privileges of the new user. This makes sense, because a user only has a single UID, so a process may only have a single UID as well. What I don't un... | It primarily has to do with the creation of new files and directories. Files by default will be created as the primary group. If you want files, to be created with a different group ID, then you need setgid(). You use setgid() before you create the new file/directory. | 0 | 0 | 189 | 2013-09-17T19:00:31.150 | infrastructure | serverfault.com | |
632,086 | Lightweight webserver with SSPI authentification | I'm looking for a fast, lightweight web server (for example nginx or lighttpd) which supports authentication to a Microsoft Kerberos authentication server (SSPI). This webserver must run under Windows and Linux. There is a nice module for the Apache server (sspi_auth_module), but the performance gain of lightweight web... | but the performance gain of lightweight webservers seems very promising. While nginx is certainly faster than Apache, it ain't that much faster. Web applications usually take up 90%+ of the processing time, meaning the web server is usually the last place you want to go looking for performance if you want to make an ap... | -1 | 1 | 1,650 | 2014-09-29T13:44:33.870 | api_errors | serverfault.com | |
254,376 | High RAM memory usage | I'm currently testing a new MySQL server, but I'm new in this so I'm not sure about my parameters, because the RAM is always above 90% of usage. The server will be setup for a CRM environment of 100 people. Server specs: MySQL version 5.7.28-0ubuntu0.18.04.4-log 16GB of RAM Changes to mysqld.conf: [CODE] What mysqltune... | In general, you want to utilize as much RAM as possible (leaving enough for the O/S, etc), since that means data is in-memory instead of being on disk . For a CRM system serving 100 people, you may find 16GB of RAM dedicated to the server is not enough. My phone has 8GB of RAM, for instance, and it's just a phone . In-... | 0 | 5 | 445 | 2019-11-28T16:00:15.783 | database_errors | dba.stackexchange.com | |
17,799 | What is the best approach for specified optical character recognition? | I have a quite understandable request of extracting information (invoice number, invoice data, due date, total etc.) from scanned invoices (the digital format is image, not PDF), preferably in Python. The good thing is that the necessary information is more or less certain to exist on the page, and the (regexp-like) te... | Optical character recognition is a well-studied problem with many possible solutions ( ressources ). CNNs have proven to work extremely well even for hand-written character recognition. Take a look at this two papers: Backpropagation Applied to Handwritten zip code Comparaison of Classifier Methods: A Case Study in Han... | 4 | 1 | 1,925 | 2017-03-23T08:53:00.907 | data_quality | datascience.stackexchange.com | |
1,076,445 | Connect to SQL server through other server | In the image blow you see the situation of a project i'm working on. On the app server runs Apache for the web app code. The database is an SQL server 2019 which runs on a computer of the client. There is a firewall in the company with a rule. This rule is dat only the IP address of the APP server can connect to the SQ... | You can do this by installing nginx to act as a proxy on the application server. I've used follow configuration: https://dev.to/jordonr/reverse-proxy-ms-sql-with-nginx-3e90 | 0 | 0 | 2,734 | 2021-09-02T16:30:24.667 | database_errors | serverfault.com | |
155,124 | Adding Calculated Columns together to create a Total | I am creating a tracking sheet, based off of multiple tables. I then use a CASE statement to determine the progress of each section. I would like to then take the results of these 3 calculated col and create a Total ? [CODE] Currently the Addition line is not working since the Val1 and Val2 are 'Invalid Column Names' H... | You don't specify any specific RDBMS. A method that should work in all/most would be to use a derived table. [CODE] Probably you are on SQL Server (from the square brackets) in which case you could also use [CODE] depending on the exact expression behind [CODE] and [CODE] (e.g. you can't use this and get correct result... | 0 | 3 | 49 | 2016-11-13T11:11:59.910 | warehouse_errors | dba.stackexchange.com | |
149,868 | nfs mount fails in Ubuntu 10, but not with -v | [CODE] (1) Used to work with Ubuntu 9 and now fails with Ubuntu 10 (2.6.32-21-generic kernel) with the error: [CODE] Strangely, adding -v (verbose) in (2) makes the problem go away. This is currently a blocker for me because the fstab line: [CODE] causes the same error (I don't believe I can specify verbose in fstab). ... | Are NFS versions between boxes the same? I would think Ubuntu 10 would have changed the default to nfsv4. Maybe try specifying nfs3 in the fstab entry, assuming your other node is using nfs3. | 2 | 1 | 2,730 | 2010-06-09T22:55:49.250 | infrastructure | serverfault.com | |
125,958 | OFFSET and LIMIT on complex query | I am doing a pretty complex query in Postgres 9.3.4: [CODE] See here for more details on my Postgres db, and settings, etc. Which is great, unless I try to do some pagination. To see what I mean. When I do a count, with no limit set: [CODE] I get [CODE] , which is the correct number of results. If I want to paginate, I... | For just the two pages, a compromise could be: [CODE] Which will be considerably slower than the first 100 rows, but still much faster than your original query in your previous question . For just 107 rows total in your example, performance will be almost identical. Performance decreases with every later page, obviousl... | 2 | 2 | 1,185 | 2016-01-12T03:39:27.137 | warehouse_errors | dba.stackexchange.com | |
957,964 | Ping not working in network namespace | If I do: [CODE] ping is working but in namespace: [CODE] ping is failing. Why this difference? How to make ping work in namespace? | TL;DR: the issue is not related to network namespaces, nor veth interfaces, but to the local routing between two local IPs going through the lo interface. Here's a simplified version, not requiring a veth interface (nor any interface other than the loopback interface) to reproduce the problem: [CODE] Choosing an entire... | 1 | 1 | 2,776 | 2019-03-12T19:31:53.523 | infrastructure | serverfault.com | |
24,269 | How can I ensure that only one copy of a procedure is running in Oracle? | We have the need to ensure that only one copy of a particular procedure is running in Oracle. If it is already running and a user tries to open another, then it should error. Whats the best method of doing this? | You can do this with [CODE] and an exclusive lock. See the following procedure: [CODE] Test (session 1): [CODE] (Obviously returns when [CODE] returns). Test (session 2): [CODE] Obviously you need to [CODE] . | 11 | 13 | 6,814 | 2012-09-13T14:15:00.183 | database_errors | dba.stackexchange.com | |
801,950 | Nginx Server Inception, where to serve SSL? | I have 3 servers. Server A: Firewall server with nginx that redirects to server B or C according the server_name (Virtual Host), accessible from outside. Server B: Web Server with jwilder/nginx-proxy , a reverse nginx-proxy that serves all docker web containers in that server, accessible through Server A. Server C: Sam... | Configure SSL on every sever. That way the public accessing the two via server A get SSL, and people accessing servers B and C get SSL. You can proxy_pass from server A whether the target is http or https. However internal servers don't always need to be over SSL, in which case you can just secure server A. You can use... | 0 | 0 | 82 | 2016-09-08T19:34:06.713 | pipeline_ops | serverfault.com | |
486,097 | Exchange 2010 Mailbox Replication Service Error | We are repetitively getting: The Microsoft Exchange Mailbox Replication service was unable to process jobs in a mailbox database. Database: DB24 Error: Couldn't find system mailbox 'SystemMailbox{fc55d672-c669-4cb7-bb3b-ef091441ec8c}' in Active Directory. Server's been rebooted, it's already on SP3 and we know the mail... | If the mailbox doesn't exist you can create one: New-Mailbox -Arbitration -Name "SystemMailbox{fc55d672-c669-4cb7-bb3b-ef091441ec8c}" -UserPrincipalName "SystemMailbox{fc55d672-c669-4cb7-bb3b-ef091441ec8c}@yourdomain.com" Make sure to replace [CODE] with your UPN suffix. | 1 | 1 | 2,912 | 2013-03-08T19:14:05.470 | database_errors | serverfault.com | |
1,081,661 | Graylog Email Alert Password Not Working? | I recently changed my gmail password and changed the password in server.conf as well, but now graylog's email alerting fails with: [CODE] Here are the email entries in server.conf: [CODE] The settings are the same in the alert config in the web gui as well. I know the username, email, port, server, and tls options are ... | At the beggining of the configuration file, we can read the following: [CODE] So, double check that each chars in your password are listed in the ISO/IEC 8859-1 code page. Otherwise, you'll have to escape them. When in doubt, escape the char. | 0 | 1 | 618 | 2021-10-25T19:27:34.870 | pipeline_ops | serverfault.com | |
332,974 | Is commit of first insert necessary if second insert has constraint depedent on first insert? | Using MariaDB I am running an insert on one table and then trying to run another insert on second table. Due to a constraint the second insert should only succeed if the first one was successful. If I try to carry out both inserts within one transaction, the second insert fails with an integrity error. If I commit the ... | The solution was to [CODE] rather than [CODE] after the inserts. This way the information needed to fulfil the constraint is available to the session and the third insert succeeds. The whole transaction can then be committed. If, however, an exception occurs, any inserts which were successful can be rolled back. | 0 | 0 | 35 | 2023-11-10T13:19:43.950 | data_quality | dba.stackexchange.com | |
141,063 | zero downtime during database scheme upgrade on SQL 2008 | I have web application on IIS7 with SQL server 2008 as RDBMS. Need get 0 downtime during future upgrades of ASP.NET code and DB schema as well. I need to get right scenario for this. I have 2 web servers and 2 sql servers and one http load balancer whcih allows to switch web backend server for web requests. Main goal i... | This kinda depends on your definition of "Zero Downtime" -- A split->upgrade->fail-over->recovery scenario can be accomplished pretty easily by setting up replication between your two SQL servers, which also gives you the benefit of redundancy. This works very similarly to what you describe above: When you do an upgrad... | 1 | 1 | 731 | 2010-05-12T12:08:08.747 | database_errors | serverfault.com | |
1,043,612 | How to add an Exchange Server with AutoDiscover SCP disabled or hidden by default | I'm building some new Exchange 2019 servers in my environment and do not want clients to immediately use their AutoDiscover service connection points (SCP) that get created in Active Directory during installation. We should be able to update the default InternalUrl/ExternalUrl values and test before these become active... | Looking at the Exchange Team Blog ( Exchange Active Directory Deployment Site ), Microsoft recommend creating a deployment site in Active Directory. Basically, when Outlook searches AD for the list of SCPs, it will look at the keywords attribute for each one; in particular, "Site=MySite" gets a priority of 1, no "Site=... | 1 | 3 | 2,509 | 2020-11-23T16:08:59.670 | infrastructure | serverfault.com | |
621,996 | Crontab not working to send email | I have CentOs 6.5 running on a VPS Host. I installed crontab and email using the below commands [CODE] Now, since I wanted my VPS to send me email, every 5 minutes (for test) about my server status, I found a script (5th example) that does that, or you can see it below: [CODE] I downloaded the script using curl from th... | Is that the entire script? There's no 'shebang' line add [CODE] to the first line if it isn't there already. Also did you mark the file executable? | -1 | 1 | 3,480 | 2014-08-17T13:22:47.823 | infrastructure | serverfault.com | |
31,994 | Selenium -- Unable to click the checkbox, error throws Element not visible | This is my html source: [CODE] absolute xpath from copy xpath receives click: [CODE] My own relative xpath throws error element not visible: [CODE] | As the code isn't clear high level solution would be insert an explicit wait before the operation. And try locating the element. If it is located proceed as usual. If you are unable to locate or somehow not successful try using JavascriptExecutor. Providing a sample below: [CODE] | 0 | 2 | 3,368 | 2018-02-09T07:06:19.520 | data_quality | sqa.stackexchange.com | |
267,722 | How to import values of a JSON to PostgreSQL? | I have a JSON file gugu.json that looks like this: [CODE] I want to put all the contents of the JSON file into the table [CODE] . I already tried many thing like this: [CODE] But as you can see I just don't know how I would get the "second level" of JSON in the table? | You need to unnest the first level, and the second level in two steps: Use [CODE] instead: [CODE] Online example | 0 | 0 | 746 | 2020-05-22T18:13:33.007 | database_errors | dba.stackexchange.com | |
49,619 | Wrong Last Modified Date of .ndf file on SQL Server | I have SQL Server Database and we have many tables. To improve performance, I have created different filegroups with files on different disks just for indexes. I have created new index today in a different file group. However, I still see last modified date of file as 1 month in the past. I have checked file names and ... | Think of the data file as a container, like your fridge. The fridge doesn't tell you when the milk is bad (ok, maybe the Jetsons' fridge does) - you need to check inside. For SQL Server, the timestamp in Windows has nothing to do with the data you are changing inside the file; it has to do with the last time the file i... | -9 | 15 | 2,893 | 2013-09-10T18:22:54.983 | database_errors | dba.stackexchange.com | |
63,231 | Need help to configure MySql-Cluster with two hosts | Thanks for your reply. I need your help to configure MySQL-Clustering server in following manner. I have two hosts as, 1] 192.168.1.107 2] 192.168.1.125 Each hosts have node entries as, On host: 192.168.1.107: ======================= 1] MGMT Node 2] DATA Node 3] MYSQL[API] Node On host: 192.168.1.125: =================... | you have a fundamental problem in your cluster design. Mysql clustering needs 3 servers. Suppose the wire connecting the 2 servers is cut but both machines are still running. If they both continue running they will be getting different data and be out of sync. So with 2 machines they both must shutdown to prevent a spl... | 0 | 2 | 7,128 | 2009-09-08T06:37:07.070 | api_errors | serverfault.com | |
953,795 | Ansible module_stdout: command not found when using sudo on Centos 7 | I am connecting to centos 7 virtual and physical machines using ansible with a user called ansible that has passwordless sudo permissions on all the boxes. On most machines it works, but on one box I get this error: [CODE] I set up passwordless sudo using advice from this link: https://code-maven.com/enable-ansible-pas... | I found this, but at first blush it seemed unrelated to ansible: https://unix.stackexchange.com/questions/192809/sudo-i-returns-an-error It turns out that centos has scl (software collections) that can be enabled. I had devtoolset-7 enabled at boot: https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/ This h... | 2 | 2 | 7,116 | 2019-02-13T19:13:58.957 | pipeline_ops | serverfault.com | |
155,874 | INSERT performance degradation in SQL Server after a certain number of columns | I’m working on an application which has a feature of export of tabular data into a specified database table. The app uses [CODE] statements to export its data to a target database. Insert is done through a batched [CODE] statement with 100 rows per one SQL [CODE] statement (for now I can’t use [CODE] or [CODE] ). I’ve ... | The difference between the repro that you have posted with 10 columns and 100 rows and 11 columns and 100 rows is that the execution plan for the first one uses Simple Parameterization . The actual execution plan for the 10 columns lists parameters from [CODE] to [CODE] . [CODE] is [CODE] . But one thousand seems to be... | 4 | 5 | 822 | 2016-11-21T12:18:48.410 | api_errors | dba.stackexchange.com | |
173,965 | What options are there for security on shared data sources for SSRS? | While trying to automate deployments that include SSRS reports and SSRS shared data sources/data sets we have been trying to configure security appropriately. Particularly the problem is with shared data sources/data sets and automating their deployment across all environments. The only solution that has come up is to ... | We are in the exact same scenario. What you could do here is to deploy the projects into different environments / targets on the report server. For example you could create different "folders" in the reportserver and deploy it multiple times. Then configure the sql login with different passwords there once and prevent ... | 7 | 1 | 661 | 2017-05-18T16:37:54.123 | bi_errors | dba.stackexchange.com | |
8,583 | Seamless Remote Desktop Connection | My employer provides us with the ability to work from home using the Citrix MetaFrame remote desktop software. For the most part, I have no complaints; however, I was wondering if anyone knew if it is possible to do seamless remote desktop connections ? By that, I mean is it possible to utilize this client (or another ... | The real answer here is probably to just give you the right search terms so you can do some product comparison. I think what you're talking about is "application virtualization," "application streaming," or "application sequencing" depending on the product. Some options include XenApp, App-V, SVS, and ThinApp. The only... | 6 | 5 | 2,672 | 2009-05-15T12:11:23.963 | infrastructure | serverfault.com | |
598,522 | ./kernelupdates 100% cpu usage | I have a CENTOS6 server running with some wordpress & tomcat websites. In the last two days it has been crashing continuously. After investigation we found that kernelupdates binary consuming 100% cpu on server. Process is mentioned below. [CODE] But this process seems invalid kernel update. Might be server is compromi... | This process is a Litecoin(an alternative cryptocurrency) miner process. Someone with access to your server is using your server to generate Litecoins( = make money). The [CODE] name is very likely just to confuse you. Before you remove anything I would recommend to make a backup of everything you have and find out, ho... | 5 | 8 | 3,288 | 2014-05-26T06:39:13.353 | database_errors | serverfault.com | |
251,676 | Problem with writing data to MySQL database | We have a problem with peak loading while writing data to database This is example of error [CODE] The table is quite big, 4.5 millions rows, per day at peak we write about 150-200 thousands rows to it. MySQL version is 5.6.39 Table uses InnoDb engine Table structure [CODE] Indexes [CODE] Foreign keys [CODE] MySQL inst... | This is not a complete answer, but I need 50 rep to comment. Check out this similar question - > https://stackoverflow.com/questions/6000336/how-to-debug-lock-wait-timeout-exceeded-on-mysql . The first two answers have some steps you can follow to nail down what query is causing the lock and a possible resolution with ... | 0 | 0 | 246 | 2019-10-22T11:38:55.477 | database_errors | dba.stackexchange.com | |
264,153 | Why does a query becomes extremely slow independently from data amount? | I have a query running usually within few seconds/minutes which becomes extremely slow after a while (about a week) taking then days! to execute. The query just stays in 'Sending data' and CPU use is 100%. The server is a Mariadb 10.4 and the system is performing many other complex queries without problems, only this s... | According to the mysql documentation ( https://dev.mysql.com/doc/refman/5.7/en/controlling-query-plan-evaluation.html ) it seems the wrong query plan can indeed make the difference in such orders of magnitudes as seconds vs days so I assume the problem lies in the wrong query plan being chosen by the optimizer. Why thi... | 0 | 0 | 746 | 2020-04-02T13:37:36.367 | database_errors | dba.stackexchange.com | |
312,436 | Algorithm to generate all sets of m points in n x n x n cubic lattice which are unique under symmetry | I am implementing an algorithm which is going to be quite computationally complex, and want to try to make sure I'm not doing unnecessary work. There is an n x n x n cubic lattice, e.g. if n=2 this consists of (0,0,0), (0,1,0), (1,0,0), (1,1,0), (0,1,1), (0,0,1), (1,0,1), (1,1,1). From this lattice I will be recursivel... | Basic concept: (1) We can view point (0,0,0) simply as 000. Each point in the lattice now falls in a simple sequence. The first point is 000, then 001, then 010 011 100 101 110 and 111. This is the order that you will try adding them to the point-set. (2) Similarly, the set {(0,0,0),(0,0,1),(0,1,0)} can simply be seen ... | 10 | 1 | 557 | 2016-03-11T10:10:04.787 | api_errors | softwareengineering.stackexchange.com | |
56,028 | Even after permissions are updated, I still get the error permission denied for relation users | I'm getting the error [CODE] and have tried to update privileges using both [CODE] [CODE] In the Grants tab of DBVisualizer I can see that the my_user user has the privileges [CODE] , [CODE] , [CODE] , [CODE] , and [CODE] . [CODE] is set to NO for all of these. Yet I still get this error. What is there left to do. | In addition to privileges on the [CODE] , a role needs privileges for the [CODE] and the [CODE] . The most likely candidate is the schema. If so, this additional [CODE] would be the fix: [CODE] Or at least: [CODE] | 6 | 8 | 28,276 | 2014-01-02T21:24:06.107 | warehouse_errors | dba.stackexchange.com | |
29,214 | Selenium / Java: how to handle test case execution on a flaky network connection? | What is the best strategy to handle test case execution when there is a possibility of losing network connectivity during execution? In my case, I have to run 300 test cases which usually take around one hour. It is a waste of time if I find out after an hour that some of my test cases failed due to an intermittent int... | A strategy I use is restarting the test if it fails. Currently we restart tests three times before we deem it as a failed test. There are a list of reasons why a test can possibly fail (Page loaded too slow, too fast, network dropped, server was bumped, ajax not responding as quickly while developing the test, etc..) A... | 4 | 1 | 1,749 | 2017-08-25T14:23:49.350 | data_quality | sqa.stackexchange.com | |
436,747 | How to handle duplicate null checks | I'm working with a legacy codebase that has a lot of functions with a nullcheck on the same object. Example: [CODE] Now I have a lot of functions calling this one function and they're all checking, logging and returning if [CODE] is [CODE] . [CODE] Is there a way to avoid the duplication of this nullcheck without major... | Modern C++ fans will probably hate me for this, but I think your best bet here is to go route #3 - just not with a function, but with an old-style preprocessor macro: [CODE] (If you really need the log message variable, make it a parameter). Of course, you may see this as an ugly hack, and it may be debatable if that i... | 2 | 3 | 410 | 2022-02-15T02:18:50.713 | data_quality | softwareengineering.stackexchange.com | |
10,728 | Neural Networks: How to prepare real world data to detect low probability events? | I have a real world data set of credit borrowers (50,000 records). The set contains categories such as Married, Single, Divorced, etc. as well as continuous data such as Income, Age, etc. Some records are incomplete or contain outliers. The dependent variable is Defaulted / Good (0,1). We are trying to train a neural n... | You bring up a number of good questions here Ans. I will do my best to cover each of them in turn. It isn't an exhaustive treatment but hopefully it helps... 1. How to normalize the categories. First, assess whether your categorical variables can be considered zero variance (e.g. all records possessing one category onl... | 7 | 3 | 496 | 2016-03-16T01:03:29.313 | data_quality | datascience.stackexchange.com | |
290,236 | Which brands of wireless routers and DSL modems care about security? | Which vendors have established a strong security process during development where they educate firmware developers about security issues, arrange security engineers to review the code, accept vulnerability reports, fix any vulnerabilities found and issue timely firmware updates and advisories? | Cisco and Juniper. Everything else like netgear, linksys, Buffalo etc. are aimed at the mass market, so everything is colourful, shiny, and easy to use. Sadly security apparently comes as a lower priority to these types. Here's your trinary selector: Easy-to-use, Secure, Cheap. Choose two. | 0 | 2 | 151 | 2011-07-14T08:10:03.880 | infrastructure | serverfault.com | |
30,219 | Correlating assignees with authors in SonarQube | I'm aware that assignees are the effective SonarQube uses that I've created on the platform, but authors come from SCM commit data. The question I need to solve comes from the fact that I'm seeing several strange authors in the list, even some with computer (user@myComputer) names in them, which don't seem to resemble ... | So here are your answers : Author is coming from the SCM data. According to your "strange" authors, I suspect you are using git and anyone can configure his account with any name ( https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup ) In order to correlate the assignees (SonarQube user) and the author (... | 1 | 2 | 1,150 | 2017-10-24T15:11:46.980 | data_quality | sqa.stackexchange.com | |
3,763 | How to apply AdaBoost to more "complex" (non-binary) classifications/data fitting? | In this article, Chris McKinlay says he used AdaBoost to choose the proper "importances" of questions he answered on okcupid. If you haven't read and don't want to read the article, or are unfamiliar with okcupid and the question system, here's the data and problem he had: The goal is to "match" as highly as possible w... | AdaBoost is a supervised learning method; it starts with a table of 'correct' answers and generates a predictive model for a target, which is known. It is then possible to inspect this model to figure out how it works, what it judged was more important. With that in mind, here is my guess for what he did: First, he cre... | 4 | 1 | 613 | 2014-12-26T06:53:29.670 | data_quality | datascience.stackexchange.com | |
190,885 | Compression not available on SQL Server Standard? Options? | So as they say, everyday is a school day. Today I learned that my workplace, runs SQL Server Standard edition, where I would have assumed Enterprise was in place. Although in reality shouldn't be surprised! For some context, we have a very large database that houses our warehouse data. As the database has grown to a la... | Since 2016sp1 all the compression features have been available in all editions, though that may not help you at all as upgrading your production environments (I'm assuming they run 2014 or earlier?) isn't something to just do on a whim. I then went to compress the tables I had deleted data from If you are deleting the ... | 2 | 4 | 6,668 | 2017-11-14T14:36:45.357 | warehouse_errors | dba.stackexchange.com | |
541,019 | Upgrading PHP on RedHat | I'm trying to upgrade my PHP from 5.3.13 to 5.5 following this post , which links http://www.if-not-true-then-false.com/2010/install-apache-php-on-fedora-centos-red-hat-rhel/ . However, I got error messages at the very first step that adds repositories: [CODE] I'm using Red Hat 4.6.1: [CODE] Current PHP: [CODE] Any sug... | You can't mix Fedora release with Epel release. So I think the right way is to build php from src.rpm. [CODE] | 0 | 1 | 581 | 2013-09-23T15:06:11.637 | infrastructure | serverfault.com | |
92,461 | Is this a valid smartphone CPU vs. desktop CPU speed comparison (Android G1 vs. old Pentium 4 desktop)? | I am trying to estimate speed differences when creating code on my desktop PC that will be ported to Android phones. I don't need to be exact, but a good estimation will help stop me from creating code that is dismally slow on an Android phone. I want to support down to the Android G1 so I am using it as my "baseline".... | Yes, your P4 desktop will be hugely faster than a cell phone. I used to work on a cell phone OS. This was a few years ago, and we were using XScale and OMAP ARM CPUs, and we also had a desktop simulator that ran the same code compiled for x86. I never measured it, but 27x is certainly plausible. There are a ton of fact... | 7 | 11 | 5,612 | 2011-07-13T02:46:18.843 | api_errors | softwareengineering.stackexchange.com | |
867,764 | Upgraded HVM AMI won't launch on m4 instance types | I am using the Bitnami Tomcat on Ubuntu AWS AMI for my application servers. I want to upgrade my old PV image to be hardware virtualized (HVM) so I can take advantage of the m4 instance types on AWS. I followed these instructions for upgrading an existing Ubuntu PV image to an HVM image, and everything works fine up un... | It looks like your EC2 instance was launched from an application in the AWS Marketplace. Many AWS Marketplace apps only support using certain EC2 instance types. It's quite possible that your EC2 instance, at the time that it was launched, supported M3 instance types and not M4 instance types (especially if M4 did not ... | 1 | 1 | 888 | 2017-08-09T16:38:25.657 | infrastructure | serverfault.com | |
32,977 | How to keep off-site developer databases up to date with production? | We have a production database running on SQL Server 2008 R2 with files stored in it. We were concerned about the size of the database so we've opted to enable FILESTREAM so the files would be stored on the disk and we could hopefully reduce the size of our backups. I have found that we can exclude the FILESTREAM filegr... | I think giving full database copy is not a good idea as this would become pain as database grows. We have same setup but not with filestream option. We use powershell to generate db schema scripts and mail it to developers every night. Developer use that script to create DB shell on their own machine (We have separate ... | 7 | 2 | 2,719 | 2013-01-15T20:33:42.753 | data_quality | dba.stackexchange.com | |
418,568 | Is "releases mutexes in reverse order" required to make this deadlock-prevention method work? | Operating System Concepts says 7.4.4 Circular Wait The fourth and final condition for deadlocks is the circular-wait condition. One way to ensure that this condition never holds is to impose a total ordering of all resource types and to require that each process requests resources in an increasing order of enumeration .... | For a deadlock (more specifically, a circular wait ) to occur, there needs to be a circular chain of n ≥ 2 mutexes (or other exclusively lockable resources) R 1 , R 2 , …, R n such that, for each k from 1 to n −1, the current owner of R k is waiting for R k +1 , while the current owner of R n is waiting for R 1 . To pr... | 27 | 42 | 6,544 | 2020-11-02T02:43:50.010 | database_errors | softwareengineering.stackexchange.com | |
315,148 | Optimise query for fetching data across multiple days in a partitioned table | I'm trying to optimise a query to retrieve records across multiple days on a partitioned table (say: entries). The table is partitioned on a timestamp column (let's say: created_at) and for each day a new table is created due to partition. The schema of the table [CODE] I need to fetch all the possible results for a pa... | Your standards are very high here and might not be attainable. As your date range increases, you get less and less benefit from partitioning by date. Indeed, it might already be counterproductive, as each partition visited means another index which needs to be visited, and so another opportunity for cache misses. This ... | 4 | 1 | 1,140 | 2022-08-02T18:04:53.980 | database_errors | dba.stackexchange.com | |
1,110,280 | Kubernetes v1.24.3 upgrade broke ingress-nginx | After upgrading our AKS kubernetes cluster to from v1.23.8 to v1.24.3 our ingress stopped working properly. No errors logged in events and the ingress-nginx pod does not report any errors on the console. Everything looks fine from within the cluster, but all ports for the public IP is closed externally. Even curl'ing t... | We found the issue. For clusters v1.24.0 and up the health probes for the load balancer is set to HTTP and HTTPS instead of TCP. When we changed the health probes to use TCP it all worked again. Created an issue for AKS on this: https://github.com/Azure/AKS/issues/3210 The proper fix was to add the following annotation... | 13 | 19 | 6,441 | 2022-09-08T18:35:46.607 | pipeline_ops | serverfault.com | |
394,677 | cloud hosting with only root partition | We are starting a website possibly with couple of thousands hits every day and few thousands registered users. By our hosting provider we were adviced to go with cloud hosting which we can easily expand later if we need. It is Ubuntu 11 running in WM. The problem we run into is the disk is divided only in root and swap... | Like Jim B said, get another provider. There are many good reasons for splitting Linux filesystems onto their own partitions. The biggest one is not filling up [CODE] (and rendering the whole system unusable) if you have a runaway log in [CODE] or some other disk-filling horror. Security is usually a secondary concern ... | 3 | 2 | 61 | 2012-06-01T12:01:15.623 | infrastructure | serverfault.com | |
335,240 | Is including headers inside a namespace always a bad idea? | The replies in this post come very strongly against including headers inside a namespace and [CODE] is confused if that is done (which suggests that its team did not consider that usage either). I would like to ask whether including headers inside a namespace is justified in the following case. I am developing a header... | Reasons this is a bad idea: Knowledge about your design is now partly stored in the directory structure. This isn't a good place for design logic to be placed. What if someone just receives the file x.h? They won't be able to tell from the code itself what its classification is, because only with the full directory and... | 6 | 7 | 11,204 | 2016-11-03T06:39:13.633 | api_errors | softwareengineering.stackexchange.com | |
742,322 | HP Smart Array P212 hangs after firmware update | I’ve just installed a perfect-running HP Smart Array P212 in my server. It comes with 2.72 firmware version. My server runs vmware ESXi 6.0 and, after perform a firmware update to 6.64 version as explained in this link . I perform the installation process correctly, bur after it the system asks to perform a reboot. I w... | Please power the server off - Disconnect power. Then power it back on. See if the system boots. Also check your system's ILO/IML logs from the ILO interface. Also, the HP Smart Array P212 isn't a standard issue RAID controller in most systems. Are you using an HP server? Please clarify. | 1 | 1 | 2,021 | 2015-12-11T02:12:12.370 | infrastructure | serverfault.com | |
530,999 | Is there a way to make an image of a single volume at a point in time? | I have a Windows Server 2008 R2 box that I need to be able to re-image at any given point. With VMWare, is it possibly to create a snapshot or image of only a specific drive at a point in time? Also, would this cause any performance overhead for the image to be maintained? | Assuming you are using Vmware ESXi, you should just be able to right click on the instance, and create a snapshot. It will take up the obvious disk space, and while the image is being created CPU/Disk/Memory usage. | 0 | 1 | 29 | 2013-08-14T17:48:05.400 | infrastructure | serverfault.com | |
688,810 | Does inet_interfaces bind outgoing mail when more than one address is specified? | Question: When specifying 2 or more address for the [CODE] directive, will postfix still bind outgoing mail to one of them? The postfix docs state: When inet_interfaces specifies just one IPv4 and/or IPv6 address that is not a loopback address, the Postfix SMTP client will use this address as the IP source address for ... | Question: When specifying 2 or more address for the inet_interfaces directive, will postfix still bind outgoing mail to one of them? No Parameter [CODE] is consulted if [CODE] specifies just one IPv4 and/or IPv6 address that is not a loopback address . When [CODE] doesn't satisfy that, postfix will use treat [CODE] as ... | 3 | 3 | 655 | 2015-05-05T17:35:46.050 | infrastructure | serverfault.com | |
406,482 | Ubuntu: irqbalance - new install - does it need a reboot? | Ubuntu 10.04 kernel 2.6.36 some of our VPS's were crashing the last few days due to cpu load with Java (cpu_hung for 120 seconds errors on console) installing irqbalance seems to have resolved the issue. But, it did not require a reboot after installing. Is this normal? I am asking because this is something I need to i... | Typically, Ubuntu and other Debian-based distros will start a service as soon as it's installed; Red Hat based distros do not. In either case it's not necessary to reboot; if the service hadn't been started automatically as part of the installation, you could have started it yourself. | 2 | 1 | 1,040 | 2012-07-10T17:33:37.307 | infrastructure | serverfault.com | |
257,265 | How to use Execute Immedite with CTE in Oracle | I am trying to run below query to insert data to some table using CTE in Oracle stored procedure. But it seems that we cannot use INTO clause with Execute Immediate statement. [CODE] I am creating TEST_TABLE_2 using some other table and that's the reason why I am using Dynamic sql. I am not getting how to fix this issu... | More likely a syntax error in your SQL statement. Inserting in dynamic SQL using a CTE works fine. [CODE] | -1 | 1 | 880 | 2020-01-13T12:52:24.577 | database_errors | dba.stackexchange.com | |
30,396 | SQL Server Security Hierarchy | I have been working as a developer with SQL Server for years without asking the question, "what is [CODE] ", a shame. Recently I have been studying the security model of SQL Server 2008. I have been overwhelmed by lots of concepts. Please clarify some concepts for me, and correct me where I am wrong. I don't need a tho... | An owner is a database principal that has ownership of a particular object, giving that principal full rights to the object(including ALTER, SELECT, INSERT, UPDATE, and DELETE). This principal can either be a database user or schema, depending on the context in which the object was created and the permissions of the pr... | 5 | 4 | 1,287 | 2012-12-13T17:13:04.813 | database_errors | dba.stackexchange.com | |
52,167 | Categorization of Natural Language Processing Tasks | Problem I am currently learning basics of natural language processing. I see many tasks in this area is assigning labels to each individual words in the sentence, including POS tagging, chunking, named entity recognition and semantic role labeling. My question is Are there other tasks that do not involve assign labels ... | Basically, you need to know about the unsupervised learning tasks in NLP. For this, we mostly vectorize the input sentences using an embedding matrix. Text Summarization: Text Summarization not based on Neural Networks is used in a number of systems. These systems vectorize the input and then rank the sentences using a... | 1 | 2 | 309 | 2019-05-18T18:44:32.210 | data_quality | datascience.stackexchange.com | |
280,795 | Windows Automatic Updates for Non-Admins | I asked this question on stackoverflow, and was told this is where i should post it.. One (and it's only one) employee tells me whenever Windows performs automatic updates he gets the restart countdown window with the 'Restart Later' option grayed out. I did some resarch, and edited gpedit to allow non-admins access to... | Try the [CODE] group policy setting, under Administrative Templates -> Windows Components -> Windows Update. The dialog should still come up, but without the timer. | 0 | 3 | 113 | 2011-06-15T18:28:21.943 | infrastructure | serverfault.com | |
631,980 | iptables: match only the first packet of established TCP-connection | In my Apache-logfiles I find a lot of entries that contain [CODE] or similar crap. They come from non-RFC2616-connections (HTTP/1.1 without hostname). I don't want to have my log files spammed with this messages. So I want to reject those connections using iptables. Therefore I want to search for the string "HTTP/1.1" ... | Forget IPTables. You can simply use mod_security with nolog action. Something like this (untested): [CODE] Or you can create a dummy virtualhost with separate logs, which just denies all requests and configure it as first. Clients which would not provide a hostname or provide unknown hostname would always end there. | 2 | 2 | 1,667 | 2014-09-29T07:31:21.663 | infrastructure | serverfault.com | |
25,531 | Not able to parse value using Regular Expression Extractor in JMETER | I have a HTTP Response from JMETER as : [CODE] I need to pass the message "2578W" into the next HTTP request. I am using the Regular Expression Extractor in JMETER. and passing the values as: Apply to Main Sample and sub-sample [CODE] | You need to escape these symbols [CODE] with backslashes as they are Regular Expressions Meta Characters representing character classes So I would recommend amending your Regular Expression to look like: [CODE] Don't forget to set "Template" to [CODE] See Using RegEx (Regular Expression Extractor) With JMeter article f... | 0 | 1 | 1,306 | 2017-02-16T11:55:34.383 | data_quality | sqa.stackexchange.com | |
367,520 | Faster MySQL DB pull from remote machine into local machine | I use this command to pull some remote db to local db: [CODE] I see this runs a bunch of individual commands on the database. Is there a faster way? I will initiate the command from the local machine, and will be run by cron. Update This methods leads to: Lost connection to MySQL server during query when dumping table | I don't see any problem with this command. You are: Exporting mysql and compressing the dump on the remote machine. Getting the compressed dump to local machine and decompressing it. Importing the dump to local mysql. This should be good enough. Clearly, the execution time of such command is dependent on the connection... | 1 | 1 | 2,141 | 2012-03-08T07:43:17.807 | database_errors | serverfault.com | |
98,183 | Problem restoring a Website with Plesk | I'm trying to upload my website on Plesk 8.6 thanks to FileZilla, after my upgrade deleted all my files. The Website was designed with Typo3, and the index file is "index.php". PHP is activated, Apache also, but every time I open the homepage, I only get the following message: Cannot find tslib/. Please set path by def... | The solution was to restore the Website database first. Now it works properly. | 0 | 0 | 452 | 2009-12-30T11:08:45.180 | infrastructure | serverfault.com | |
807,315 | Install syslog-ng on RHEL 7 | I'm very surprised at how much trouble this is giving me. I have a RHEL 7 machine I'm trying to install syslog-ng on. I added the EPEL repository, I get the following output: [CODE] As you can see, it is failing on libnet.so.1. I've looked around, and apart from some very old tickets on the RedHat bug tracker, I haven'... | You need to make sure you have the RHEL optional channel enabled. Many packages from EPEL require it. The process to do this on EC2 differs from the normal process . Do it the easy way with [CODE] : [CODE] Or the old-fashioned manual way: edit [CODE] to ensure that these repos are enabled. | 3 | 4 | 8,647 | 2016-10-05T17:52:20.493 | infrastructure | serverfault.com | |
193,394 | Is it a bad practice to have several mutually exclusive one-to-one relationships? | Say, a table [CODE] has one-to-one relationship to tables [CODE] , [CODE] , and [CODE] . If a [CODE] is [CODE] , it can no longer appear in [CODE] or a [CODE] , etc. Is there anything wrong with such design? Some problems that may occur down the road? | The different types of cars are an instance of a general problem that surfaces over and over again in data modeling. It is called "generalization/specialization" in ER modeling, and "superclass/subclass" in object modeling. An object modeler uses the inheritance features built into the object model to solve the problem... | 54 | 75 | 12,999 | 2017-12-18T11:45:08.220 | warehouse_errors | dba.stackexchange.com | |
645,801 | Dockerfile separation of concerns for a secure apache httpd server with respect to SSL certification files | Issue: In a non-docker solution, the SSL certificates can be located in /etc/pki/CA/.... and with references to these in /etc/httpd/conf.d/*.conf files. How must these SSL certificates be managed/placed/used in a docker image for a secure apache httpd server and not being part of the docker image? Goal: Create a docker... | You can also create a named data volume as follows. I will use a directory named /usr/local/apache/SSL in this example. Create an empty directory /usr/local/apache/SSL in your apache container and commit Startup a new base container for your data volume and create the same empty directory /usr/local/apache/SSL (may nee... | 5 | 2 | 2,134 | 2014-11-20T12:43:15.160 | pipeline_ops | serverfault.com | |
130,520 | ntpd on Fedora Core 6 with high negative time reset values | The basic problem is we have a FC6 server instance running on a virtual machine, and the system time seems to have been slowly varying until it is now causing a problem. The server runs 24/7 and has been up for 155 days. It has been changed to show GMT, and reports the time as (example) 00:15:15 GMT whereas the actual ... | Yeah, it's a pig isn't it really. It's a legacy thing. The fun I've had developing on a local rig and then uploading for testing. PHP5.1, unable to upgrade because newer versions aren't supported, compiling plugins for json and mcrypyt, selinux stomping all over everything. Loads of other piddly stuff to correct. Oh ho... | 0 | 0 | 880 | 2010-04-08T04:10:32.650 | infrastructure | serverfault.com | |
166,579 | Why Is Null Ignored In Query Results | I have a table with similar structure to the below, and a field has a [CODE] value in it. When I query the table this record is not returned, it is omitted. How should the query be altered so that this record is returned? [CODE] My expected returned result would be where [CODE] | SQL uses ternary (three-valued) logic and comparisons with [CODE] are tricky, counter intuitive. Regarding the condition: [CODE] it expands to: [CODE] When [CODE] is [CODE] , all these 3 sub-conditions evaluate to [CODE] (neither [CODE] nor [CODE] ). The whole condition evaluates to [CODE] as well and thus the row reje... | 4 | 20 | 1,420 | 2017-03-08T18:17:54.733 | warehouse_errors | dba.stackexchange.com | |
1,145,777 | DKIM signing – duplicate header signing in DKIM-Signature | My e-mail messages are DKIM signed but I noticed that the [CODE] header contains duplicated header indicators like: [CODE] and so on, while I typically receive from others signed messages with indicators like: [CODE] In my case signing is done using [CODE] and the [CODE] file contains line with [CODE] It differs from t... | Thats just.. how it works. The o/x modifier just makes the configuration more versatile, in the presence of at least one such header they both mean "sign it another time", so having that header name appear twice in the signature is working as configured, and working as it should . Signing a header once just means the f... | 0 | 1 | 328 | 2023-10-12T18:50:34.520 | data_quality | serverfault.com | |
919,651 | Moving FSMO Roles from SBS to Server 2016 | I am migrating from a [CODE] to a [CODE] and am looking at the final steps moving the fsmo roles over to the new server. I am following this guide (starting from 'Migrate FSMO to Server 2016). First step is to query who actually holds the roles with [CODE] [CODE] this looks as expected so I run the next commen (PowerSh... | The Active Directory PowerShell module requires domain controllers to run Active Directory Web Services, which were introduced in Windows Server 2008 R2; a Windows Server 2008 DC doesn't have them, thus the error. You should move the roles using [CODE] . | 1 | 1 | 3,141 | 2018-07-05T16:04:36.750 | infrastructure | serverfault.com | |
130,075 | Limit crosstab query based on join from outer query | In my database I have two tables, assessments, and responses, in a 1:N relationship. I have a query that looks a little something like this [CODE] So basically, I'm creating a CTE made up a crosstabbed results for key responses from the assessment, then joining it two the assessments table, and selecting to get a nice ... | If all the export can happen through a single database connection, or even better, through a single transaction, it would be simpler and more efficient to just use a server-side CURSOR instead of a pagination based on successive queries with LIMIT/OFFSET. For instance: [CODE] Then call the SQL statement [CODE] , stream... | 0 | 1 | 1,961 | 2016-02-22T16:56:38.567 | warehouse_errors | dba.stackexchange.com | |
545,539 | What is causing Allowed memory size of bytes exhausted | [CODE] What is causing this to happen? This is Apache 2.4 with PHP 5.4 on a default CPanel setup. | Judging by the comments above you're using WordPress and in that case you're probably being bitten by [CODE] which is set to 256MB by default. That's probably not your problem though. Raising that limit may help in the short term but 256MB is already way bigger than a single WordPress request should consume. If you're ... | -1 | 0 | 1,213 | 2013-10-12T00:15:13.443 | infrastructure | serverfault.com | |
314,238 | Powershell 2: How to find arbitrary object in AD having a specific email address? | I am 3-to-4 weeks new to powershell and using it to interact with Active Directory / Exchange. (Both of which I'm also very new to.) I've tried reading this page: http://technet.microsoft.com/en-us/library/ff730967.aspx but I'm a bit overwhelmed by all of the information, probably because I'm exhausted. Here's what I'm... | Note that the "mail" attribute is not the only place where an email address may be located. There is also a multi-valued attribute "proxyAddresses", where additional email addresses may be assigned to an object. Someone has created a script here: (requires the free Quest AD cmdlet) http://poshcode.org/1594 [CODE] | 1 | 1 | 3,838 | 2011-09-22T06:35:08.697 | pipeline_ops | serverfault.com | |
271,822 | What does Oracle impdp do when a name clashes with a materialized view or synonym? | I have a production Oracle database, and I want to export tables, data, views, materialized views, synonyms, etc, to import into a development Oracle database. Actually, this is part of my job, and we have a script in place for doing this, which calls expdp and impdp. However, I'm experiencing some issues now, because ... | Naming conflicts will result in an error and generally cause the object in the datapump file to be skipped. This can lead to all sorts of other dependency issues. The simplest way to avoid that is to drop the target application schema/account entirely and recreate it, using a script like the one here: https://oracle-ba... | 0 | 1 | 1,144 | 2020-07-29T00:05:24.620 | warehouse_errors | dba.stackexchange.com | |
90,486 | Condense matrix of values into one column? | I have a dataset where I have unnecessarily duplicated column variables that I want to condense down. I wish the output wasn't so clumsy and I've already had to do some work to transform it and make it easier to manage. I'm familiar with basic R stuff but not an expert by any means so please be patient! Each R(1-10) co... | You can use quite easily using the [CODE] and [CODE] as follows: [CODE] | 0 | 0 | 143 | 2021-03-10T16:53:56.680 | data_quality | datascience.stackexchange.com | |
424,212 | Why Is PHP-FPM Only Using One Process? | Looking at my PHP-FPM stats page, it looks like only one process is handling all of the connections right now. My guess is that requests are being executed so quickly, thus far, that it doesn't need to use another process yet. Would this be the case? Here's what I'm seeing in my PHP-FPM stats page: [CODE] This is what ... | Why Is PHP-FPM Only Using One Process? Because... 1 is enough. But it doesn't mean that the number of active processes always is 1. Split the terminal into 2 regions: in the first one type: [CODE] and in the second one, try something like this: [CODE] then see what's going on in the first region: [CODE] | 3 | 2 | 3,502 | 2012-09-04T16:01:44.467 | infrastructure | serverfault.com | |
53,841 | How bad is query plan pollution (too many equivalent plans in cache)? | Question currently affects C#/.NET, DB access based on ADO.NET and SQL Server 2008 R2, but I think it applies to other databases as well. I noticed some old modules of a system have non-optimal SQL queries, with multiple concatenated value strings instead of parameter placeholders. They do a polling on a table, like ev... | "How bad is it?" depends on the degree to which you are suffering now or could suffer with increased workload in the future. One major point of suffering with plan cache pollution could be too many single use plans bloating your plan cache leading to inefficient cache usage. Another point of suffering could be high com... | 7 | 6 | 4,607 | 2013-11-23T11:40:39.693 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.