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 |
|---|---|---|---|---|---|---|---|---|---|---|
96,794 | SQL Server to XML files alternatives | I am currently looking for an alternative to writing a large, complex XML file based on a known specification. Currently the file is written in t-sql as a stored procedure. The output is in a results column which is pretty useless when there are thousands of rows and each needs to be written to individual files. It is ... | Your current setup seems to be on the right track. I would cut SSIS out of the equation - the stored procedure INSERTs into the staging table, and then a C# app pulls the data out, creates the XML files, and SFTPs the files off to the destination. I realize that's more a 'developer' solution than an 'DBA' solution, but... | 1 | 0 | 814 | 2015-04-01T14:27:50.277 | database_errors | dba.stackexchange.com | |
954,899 | Centos 7, Qemu virtualization: Win10 guest VM very slow after Windows Update | We use qemu virtualization for many years now! It's a great tool! We use it both for Linux VM’s and Windows VM’s! It's the first time we have any issues and I have no clue on where to find the solution. All Windows 10 VM’s have degraded performance after a Windows Update (I think it’s an anniversary Windows update or s... | Make sure you installed the latest version of the SPICE Guest Tools in the VM. | 0 | 1 | 3,758 | 2019-02-20T14:05:38.433 | infrastructure | serverfault.com | |
28,821 | clustered and covering index ignored on delete statement. Table scan occurs | Why would SQL Server 2005 find it more efficient to perform a table scan instead of using the available clustered index on the primary key (and only the primary key)? DISCLAIMER : There is also a non-clustered, non-unique index on the primary key with no included columns. This is baffling to me and we've had a good off... | The optimizer may find a scan more appropriate based on statistics on the duplicate index instead of statistics on the PK. You didn't define the duplicate index as UNIQUE, so getting the "good" or "bad" plan could be just a matter of which index metadata is used by the optimizer to produce the plan. Very hard to tell w... | 2 | 1 | 423 | 2012-11-16T20:08:39.060 | database_errors | dba.stackexchange.com | |
22,413 | Why can the Network Service account select rows in a SQL Server 2005 DB without granting permissions | We have some Web Apps running in IIS 6. They are running in the Default AppPool which identitiy is Network Service. The Apps connect to a local SQL Server 2005 Express Instance (SP2) and use a trusted connection. SQL Server runs also with Network Service identity. Without granting explicit permissions, our webapps are ... | Some thought: Does the SQL Server Express instance service run under Network Service, so has sysadmin rights? Is the Network Service in the local admin group, so has sysadmin rights? Is the Network Service account added to SQL Server as a login? | 1 | 1 | 501 | 2009-06-09T07:52:49.640 | database_errors | serverfault.com | |
446,108 | How to setup apache to catch a proxy_pass from nginx? | I have a working apache vhost such as [CODE] If i point to localhost:10006 I get my website and api.localhost:10006 I get my api. Then I have haproxy setup on top of that, that runs on port 10010 and both localhost:10010 and api.localhost:10010 have the expected behaviour. Now I have nginx setup on port 80 with this co... | Can you try to add those tags to the location block: proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; restart nginx and try if it works | 0 | 1 | 130 | 2012-11-06T22:02:15.237 | infrastructure | serverfault.com | |
348,572 | Mapping a Drive to File Server (Win2008) results in incorrect password / username error after Reboot or Logoff/in | Here is the setup. Very small network. Windows 2008 with a single folder shared as 'Data'. Win2k8 server (called Server) has user account called Staff that is part of Users group. On a network attached laptop, when I go to map a network drive to \Server\Data using the Staff username and password - Server\Staff as usern... | Check in Stored User Names and Passwords (If I remember correctly that it was called that in XP) in Control Panel for the entry. If you find it there try deleting it and recreating it. | 0 | 0 | 617 | 2012-01-10T18:32:04.397 | infrastructure | serverfault.com | |
42,730 | Confusion about Entity Embeddings of Categorical Variables - Working Example! | Problem Statement: I have problem making the Entity Embedding of Categorical Variable works for a simple dataset. I have followed the original github , or paper , or other blogposts[ 1 , 2 ,or this 3] , or this Kaggle kernel ; still not working. Data Part: I am using the Ames Housing dataset as was hosted in Kaggle. I'... | For those who are interested, I've spent some time, finally figured out that the problem was the way one has to prepare the categorical encoding for the Entity Embedding suitable for a neural network architecture; unfortunately none of the examples provided in blogposts or Kaggle kernels were clear about this step! Her... | 11 | 16 | 7,400 | 2018-12-16T22:06:28.993 | data_quality | datascience.stackexchange.com | |
202,001 | Reducing repetitive DI code | I have a method which constructs dependencies using Unity. Currently, all of the calls do pretty much the same thing: Registers 2 repository object and 2 'App Part' objects. My issue is, there's a lot of them and the method has become massive. I've generalised the calls but here's an example: [CODE] I though that this ... | This can be done using reflection over the assemblies if you use some conventions. Other DI libraries like StructureMap which I use has this feature. A quick search for Unity found this library Unityconfiguration although I haven't used it. I also see that Unity 3.0 supports registration by convention . So the easiest ... | 1 | 1 | 284 | 2013-06-19T10:47:02.983 | pipeline_ops | softwareengineering.stackexchange.com | |
88,767 | Make sure a network drive stays connected | On a Windows Server 2003, I keep losing the connection to the network drives - or to be more specific - they disconnect. Now I can simply log on and double-click the network drives, and they without problems - but they will disconnect again later. This causes a problem for apps trying to access these network drives. Ho... | First of all, have a read of the KB article here: http://support.microsoft.com/kb/297684 This is a default and built-in behaviour of Windows server and is intended to prevent unnecessary use of server resources. Now, the question of why your apps need a mapped network drive and why they're not connecting via UNCs needs... | 1 | 2 | 3,765 | 2009-11-27T11:20:57.957 | infrastructure | serverfault.com | |
352,134 | mod_wsgi won't compile - cannot find -lpython3.2 | I am trying to install Python 3.2 and mod_wsgi on my web server, but I am not having much luck. I downloaded the Python source files and compiled using this command: [CODE] I also modified my path variable to include [CODE] and created a symlink to the [CODE] binary from [CODE] . Now if I run [CODE] from the command li... | You must currently use mod_wsgi source code from source code repository for Python 3.2, you cannot use mod_wsgi 3.3 source code. | 0 | 1 | 1,466 | 2012-01-20T23:52:06.933 | infrastructure | serverfault.com | |
182,692 | SQL Server AlwaysOn High Availability Maintenance Plans | I have a SQL Server AlwaysOn High Availability with Primary & Secondary Database Servers The Availability Group Backup Preferences is set to Primary. Maintenance Plan is on Primary and does: Check Database Integrity - Include Indexes, Physical Only Backup Databases - Full Backup Databases - Transaction Logs Rebuild Ind... | The best way is to use Ola Hallengren's maintenance plans, because the ability to determine AGs in the maintenance is already "baked in". However, if for some reason you don't want to or can't use his maintenance plans, then you'll need to insert the deterministic function, [CODE] , to figure out if the database reside... | 2 | 3 | 8,804 | 2017-08-04T13:59:08.410 | database_errors | dba.stackexchange.com | |
291,971 | Is the benefit of the IO monad pattern for handling side effects purely academic? | Sorry for yet another FP + side effects question, but I couldn't find an existing one which quite answered this for me. My (limited) understanding of functional programming is that state/side effects should be minimised and kept separate from stateless logic. I also gather Haskell’s approach to this, the IO monad, achi... | The whole program is going to end up contained in the IO monad, basically. That's the bit where I think you're not seeing it from the Haskellers' perspective. So we have a program like this: [CODE] I think a typical Haskeller's take on this would be that [CODE] , the pure part: Is probably the bulk of this program, and... | 21 | 17 | 2,999 | 2015-08-05T23:43:21.687 | pipeline_ops | softwareengineering.stackexchange.com | |
10,899 | Insert-heavy InnoDB table won't use all my CPU | I have a packet log database, which is almost never queried. It just needs to be fast on inserts. I'm using InnoDB because I'd like to maintain ACID compliance, since even losing a single packet could be damaging to our customers. In a performance tuning scenario, I send 1,000,000 packets to the server over multiple DB... | You have to crank up innodb_io_capacity as well. The default is 200. Raise it to 5000 for starters. I would go to 20000. You may also want to make sure [CODE] and [CODE] are sufficiently large. The default value for innodb_log_file_size is 5M. I would raise that to 1G for starters. A larger InnoDB Buffer Pool would als... | 8 | 7 | 3,799 | 2012-01-18T20:07:04.323 | database_errors | dba.stackexchange.com | |
176,231 | Storing multiple tags on analytics database | I would like to store user purchase custom tags on each transaction, example if user bought shoes then tags are [CODE] These tags are that seller interested in querying back to understand the sales. My idea is when ever new tag comes in create new code(something like hashcode but sequential) for that tag, and code star... | I'm still convinced that using a many-to-many lookup table (a bridge table) is still your best option here. Your concern about matching multiple rows can be fixed by proper query design. Let's say your tables are: [CODE] So each purchase can have multiple tags set (no limit), and just for fun, I added the ability to ca... | 7 | 5 | 4,783 | 2017-06-14T03:41:55.570 | warehouse_errors | dba.stackexchange.com | |
302,055 | SSIS transforming numbers with decimal comma to decimal dot | I'm trying to create a very basic package that copies data from my SQL server into an Excel file. The data that comes from the server comes with a decimal comma (e.g. 1234,56) - that is how I want it, that is how it's always worked, that is how I want the final data to be formatted in Excel. For some reason Visual Stud... | As I mentioned in my comment, always worth checking the consumer for rendering issues . In this case, when Excel's involved and it's a formatting issue, you can never be too careful to verify that Excel isn't the source of the problem. Sometimes changing the Format option for that column in Excel to "Default" or "Text"... | 1 | 1 | 2,292 | 2021-11-03T05:08:21.360 | database_errors | dba.stackexchange.com | |
1,057,367 | Ethernet (wired connection) is Unreachable in Ubuntu 20.04 | I have Ubuntu server where I have configured the static IP it was pinging and able to update and use internet and able to connect through ssh. but after the shutdown because of power failure. I was not able to ping and unable to use ssh. When I enter command [CODE] it doesn't show the configured ip address [CODE] | [CODE] means there is no physical connection. | 0 | 0 | 1,609 | 2021-03-17T13:09:30.493 | infrastructure | serverfault.com | |
1,019,441 | OpenVPN Access Server - Encounter the Warning X509_V_ERR_CERT_HAS_EXPIRED but the cert is actually not expired yet | I was trying to connect to my company openvpn network via MacOS openvpn application and hitting the warning "The server vpn.my_company.com has an UNTRUSTED SSL certificate. Allow the connection to proceed?" When clicking the "More details", the reason states that "X509_V_ERR_CERT_HAS_EXPIRED: certificate has expired" .... | This is the response I received from OpenVPN Support - Required me to update my intermediate cert Hello, The problem you have contacted us about relates to a problem with a certificate issued by COMODO/Sectigo Addtrust or some third-party issuing their certificates. If you experience problems with COMODO/Sectigo Addtru... | 0 | 0 | 984 | 2020-05-31T15:56:13.223 | api_errors | serverfault.com | |
21,883 | SQL Server : explicitly create an index on a primary key and unique fields | UPDATED: I'll make the question clearer as the first answer isn't quite what I was looking for. How can I execute this create table statement and ensure that the two automatically created indexes are stored on MY_INDEX_FILEGROUP as I am assuming that these automatically created indexes will be stored on MY_DATA_FILEGRO... | How can I execute this create table statement and ensure that the two automatically created indexes are stored on MY_INDEX_FILEGROUP as I am assuming that these automatically created indexes will be stored on MY_DATA_FILEGROUP that the table data will be stored in. The table will exist on whichever filegroup contains t... | 4 | 4 | 1,839 | 2012-08-02T11:00:57.927 | data_quality | dba.stackexchange.com | |
106,869 | How can I proxy multiple LDAP servers, and still have grouping of users on the proxy? | I have 2 problems that I'm hoping to find a common solution to. First, I need to find a way to have multiple LDAP servers (Windows AD's across multiple domains) feed into a single source for authentication. This is also needed to get applications that can't natively talk to more than one LDAP server to work. I've read ... | I recommend OpenLDAP's [CODE] backend, which acts as a proxy to integrate several naming contexts from several different servers in one single tree. I have successfully used it to do just this on several Windows 2003 domains. For example, if you have several AD domains named [CODE] and [CODE] , you would end up with th... | 7 | 8 | 27,523 | 2010-01-27T16:38:42.767 | api_errors | serverfault.com | |
533,399 | Using Mailman, how to unshunt message back into hold queue for moderation? | How can I get Mailman to reprocess messages in a queue directory? Or alternately, how can I transfer all the messages from a queue directory into the moderation hold queue for the relevant list(s)? My problem is that my [CODE] queue directory is full of messages that previously passed moderation, but were never deliver... | I found a way to get Mailman to reprocess messages as if they were fresh. First I used [CODE] to extract the raw message content from a .pck file, then I pass that content to the Mailman wrapper. [CODE] The [CODE] is required because the Mailman wrapper must be run with a low privileged user like Postfix. The verb [COD... | 2 | 0 | 494 | 2013-08-24T00:47:15.880 | infrastructure | serverfault.com | |
805,535 | Cannot write IIS logs to Azure Files Share | I'd like to configure IIS (8.5) on an Azure VM to log to an Azure Files Share. I've proved access to the share by remoting onto the VM and persisting credentials using cmdkey and then navigating successfully via the UNC path in Windows Explorer. When I configure the IIS logging directory to point to the same UNC path I... | IIS uses the local computers credentials (\ISSCOMPUTER$), not the users (or service principals) one. Just ad the (AD) account of the machine to your target. Maybe it now comes to another common problem – where the web server is in another (or no) domain, and the UNC share is in somewhere else. You can still configure i... | 1 | 0 | 515 | 2016-09-27T08:30:52.513 | infrastructure | serverfault.com | |
298,101 | Identity propagation using Azure service bus | We currently have a platform with a SOA architecture in which the user's identity is propagated from the web application via middle tier services (REST and SOAP) until we actually query our data storage layer. We use the user's identity to apply access control at the entity layer. The user's identity is communicated be... | There are commonly two identity roles in play when you use middleware for routing messages. One identity role is about the relationship between senders/receivers and the middleware, the other is about the end-to-end relationship between the producer of the message and the ultimate consumer of the message. The identity ... | 4 | 1 | 714 | 2015-09-24T02:55:15.327 | api_errors | softwareengineering.stackexchange.com | |
137,324 | Cassandra query performs differently at different times | I am using apache-cassandra-2.0.12 in production, with network topology strategy and ReplicationFactor : 3 in a cluster with 2 DC’s each contains 4 nodes While analyzing the response time for the read requests, we found out that some queries are performing slower than it actually does. Eg : Consider the following table... | [CODE] This CF contains data for more that 5K row entires and and each employee contains minimum of 100K columns and the maximum of 1000K columns That's WAY too many rows per partition. My guess is that the query slowdowns happen when large partitions are queried. It all depends on data cell value size and data width, ... | 2 | 1 | 542 | 2016-05-03T05:42:01.627 | database_errors | dba.stackexchange.com | |
120,053 | Merge two huge tables keeping only the unique rows | I have two tables: [CODE] with 61 million rows and [CODE] with 59 millions rows. The columns in both are the same (name and type). Both are imported from backup files. I want to merge these two tables into one table keeping only unique records . For example, in [CODE] I have the following records: [CODE] And in [CODE] ... | The basic problem can be solved with various simple queries. Considering all columns: [CODE] Given this additional information: All columns except the [CODE] column should be considered for the unique check. And: I don't need to preserve the ID column. Just drop the [CODE] column , then you can proceed with the simple ... | 3 | 1 | 2,731 | 2015-11-04T12:46:01.640 | database_errors | dba.stackexchange.com | |
276,235 | Design ideas - validation based on conditions outside of the domain | I am facing a very interesting problem here, and I'd like to see some design ideas from domain driven design perspective. To make it easier to express what I need I have following hypothetical situation. I have a bounded-context named Customer , which is used to handle create new customer, update customer, searching cu... | If I were you I would make [CODE] a Value Object with validation in its constructor. However, since the logic for validation is complex you might prefer to delegate the validation logic into a Domain Factory instead. The factory will have a validation strategy injected into it depending on the type of the social securi... | 5 | 3 | 248 | 2015-03-13T17:20:48.693 | data_quality | softwareengineering.stackexchange.com | |
103,826 | Imputing Data that Isn't Missing | I have two columns, [Date Activated] and [Date Closed]. One is the date an account was activated, and the other column is the date an account is closed. There are three scenarios: Case 1 (1/6 data) Closed Account: An account has an activated and closed date Will result in a value Case 2 (1/6 data) Active Account: An ac... | If the activation and/or closing of an account hasn't occurred, the associated date values will be null . There's no right way of converting a null placeholder to a value (unless you already have a sensible default to replace it with). In your case, I'd transform the date features to duration features to capture the in... | 2 | 1 | 34 | 2021-11-04T23:19:14.253 | data_quality | datascience.stackexchange.com | |
672,710 | FreeBSD pkg upgrade not working for jails with -j parameter | On a FreeBSD 8.4 system I have jais running with EZjail, and PKGNG (pkg) to maintain my ports. pkg works fine on the host but refuses to update software in jails. [CODE] gives the desired output, eg [CODE] But when I run [CODE] or [CODE] I get the following message: [CODE] I installed pkg inside of that jail as well, a... | The problem was that inside the jail the repository directory was empty, unlike the /etc/pkg/ directory on the host. In this directory on the host is a file called FreeBSD.conf, which defines the repository. This file was made automatically on the host, but not in the jail. (even though pkg was also installed inside of... | 2 | 3 | 3,237 | 2015-03-03T13:45:58.660 | infrastructure | serverfault.com | |
124,659 | How can I open a file whose name starts with "-"? | I am running Ubuntu, and would like to open a file whose file name starts with "-"(minus). When I try to open the file with pico or vim, the command thinks that the "-" sign is an option for the command. I tried enclosing the file name with quotes ('), but I still get the same error. I tried with bash and zsh, but stil... | In cases where [CODE] does not work - since not every program uses the same option parsing routines, [CODE] works everywhere. | 8 | 26 | 21,544 | 2010-03-21T04:58:58.230 | infrastructure | serverfault.com | |
398,935 | Outlook Anywhere connectivity | I am trying to connect a desktop to exchange via Outlook Anywhere. I have it working if I am connected over the VPN, but when I disconnect from the VPN it gives me the following error: There is a problem with the proxy server's security certificate. The security certificate is not from a trusted certifying authority. O... | There is a self-installer and here are the locations. Local Disk: c:\users\Public\Public Downloads UNC: \servername\Public\Public Downloads UNC: \sites\Public\Public Downloads | 1 | 0 | 1,243 | 2012-06-14T20:37:09.173 | infrastructure | serverfault.com | |
219,414 | Suggestions for large DB maintenance | i have one large database (more than 1,500 tables and total db size of 56GB) and i would like to ask for tips and guidance regarding the maintenance of such large database! Will the size be a problem anytime? For example when i reach 4000 or 5000 tables, i am going to have an issue? At the moment i have a "problem" wit... | As your dataset rises, ensure that your active dataset is still mostly in the innodb buffer pool. As you increase number of tables make sure the table cache can contain all the active tables. Overall you don't have a large database or a runtime problem but your skills in monitoring have to be in place. Yes, you have a ... | 1 | 3 | 90 | 2018-10-05T21:51:06.200 | database_errors | dba.stackexchange.com | |
322,002 | I get a syntax error whenever I use `CHANGE REPLICATION SOURCE TO` in mysql | This is the MYSQL query: [CODE] [CODE] I'm MySQL 5.7.40 I also get a syntax error whenever i type any code containing [CODE] for example, [CODE] | It seems that you are using MySQL 8.0 syntax on MySQL 5.7 environment. [CODE] is first introduced on MySQL 8.0.23 In MySQL 5.7 the following syntax applies [CODE] I also get a syntax error whenever i type any code containing REPLICA for example, STOP REPLICA; From MySQL 8.0.22, STOP SLAVE is deprecated and the alias ST... | 1 | 1 | 1,157 | 2023-01-11T19:39:54.837 | database_errors | dba.stackexchange.com | |
954,106 | script to grep a pattern in a file and perform an arithmetic operation from the extracted string | I am a novice at scripting so looking for some pointers as to how to solve my problem. There is a log file (server.log) which keeps track of the number of connections being made to a database . Pattern to grep "error number 1**(this number will be from 1-30000)** on 30000 possible before the block" what i need to do is... | Maybe this will help: My assumption: You have a file with lines containing numbers in range 1-30000, let us say that, if you have 1-10000 you are fine, 10 - 20 000 is warning, 20 - 30 000 is critical. You do not need an arithmetic operation for matching number size you can use regex: e.g.: [CODE] First line matches 200... | 0 | 0 | 437 | 2019-02-15T10:49:33.950 | infrastructure | serverfault.com | |
782,100 | "Index Patterns: Please specify a default index pattern" in Kibana | I'm trying to create a simple hello world for ELK and be able to see kibana reports via the internet. I've installed kibana, logstash, nginx and elastic search. Here's my [CODE] : [CODE] I'm able to access Kibana from the internet. However, I can see the reports because an error at Kibana when I'm clicking Dashboard, V... | Kibana uses "index patterns" to visualize the data stored in your elasticsearch indices. You need to hit the elasticsearch restful endpoint and check what your indices are named by doing [CODE] This will list all the indices. Then, under kibana go to management -> index patterns -> create index patterns Here you write ... | 5 | 2 | 4,865 | 2016-06-05T17:28:57.880 | bi_errors | serverfault.com | |
153,363 | AUTO_CREATE_STATISTICS set to OFF in tempdb | It has come to my attention that a number of my databases (2008 & 2012) do not have the setting AUTO_CREATE_STATISTICS set to ON for the tempDB. In the Microsoft documentation it is set to ON as default. Does turning the setting off have any performance enhancements/reductions? What are the implications of turning this... | http://searchsqlserver.techtarget.com/tip/SQL-Server-tempdb-best-practices-increase-performance You can further increase tempdb performance by disabling the auto update stats, which will save your tempdb some work. Usually objects created in the tempdb are fairly small and, as such, the statistics will not reach the th... | 2 | 0 | 1,185 | 2016-10-26T10:24:51.007 | database_errors | dba.stackexchange.com | |
1,024,364 | Disable mount namespaces in Apache/PHP-FPM | For a web GUI to manage NFS mount points, we've run into a problem after migrating to Centos 8 . JS Billings noted that: CentOS8 runs httpd in a private namespace (with its own private /tmp). Since it's such a terrible idea to give httpd the ability to run sudo, I've never tried this, but I suspect what you are seeing ... | You can turn off [CODE] in your [CODE] to prevent it from getting its own mount namespace. This has security implications, of course, so you may wish to review your code's use of temporary files. | 1 | 2 | 968 | 2020-07-07T15:36:36.623 | infrastructure | serverfault.com | |
1,044,072 | How to start failed network.service in debian 9 | [CODE] | Check your [CODE] directory and if there are files in there try to comment out the line (put # in front): [CODE] in your [CODE] file. Also, depending the setup you use it would be helpful to post the content of [CODE] if you need any further support. The ideea here is to minimize your config file content untill you get... | 0 | 0 | 5,904 | 2020-11-27T00:58:37.793 | infrastructure | serverfault.com | |
388,242 | The User Profile Service Failed the Logon. User Profile Cannot Be Loaded | We have Windows 2008R2 with Exchange 2010. A user logged in and they receive a message [CODE] I can currently remote in as I have had a profile on there for a while now, but it is stopping anyone creating a new profile. I have checked the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileL... | I have found a solution to my problem - the default user profile ( [CODE] ) seemed to lack necessary ACEs. After resetting ACLs and re-enabling inheritance, creation of new profiles worked as expected. See this link for details. Text of the above link: I think the problem caused by some security permission changes to t... | 5 | 4 | 58,990 | 2012-05-11T13:34:26.423 | infrastructure | serverfault.com | |
905,699 | VirtualHost with Multiple Domains Not Serving Correct DocumentRoot | Running CentOS 6, Apache. I have the following in my httpd.conf: [CODE] Whenever I visit [CODE] (or [CODE] ), I am shown [CODE] . EDIT: More info from [CODE] [CODE] Things I have checked: Apache has been restarted DNS for [CODE] and [CODE] point to same IP What am I missing? SOLUTION: As Patrick points out, in Apache 2... | As you are using only Apache 2.2 you absolutely need to use the [CODE] directive in order to let Apache know that you have multiple websites under different names but with the same IP. The directive became deprecated in Apache 2.3, as written in this documentation: httpd.apache.org/docs/2.4/mod/core.html#namevirtualhos... | 0 | 1 | 1,801 | 2018-04-02T23:34:46.657 | infrastructure | serverfault.com | |
331,490 | SQL Server Jobs - fail on connection timeout | We have a LIVE set of 3 SQL Server instances on one network and a DEV set of 3 SQL Server instances on another. Being on different networks; LIVE cannot talk to DEV however the instances can talk to each other on the same network. In each set; we have a parent/child relationship between the instances. Ie. [CODE] To tal... | looks like Named Pipes protocol is not enabled on the linked server. Similarly Check for TCP/IP protocol also. | 1 | 0 | 131 | 2023-09-22T15:28:16.767 | database_errors | dba.stackexchange.com | |
155,854 | Audit email in Exchange 2007 | I'm a developer who's having to stand in as a sysadmin and I've been asked to make the contents of an inbox available to a users manager without informing the user. We're running Exchange 2007 (pre-installed with SBS 2008). All clients are Outlook 2007. I haven't been able to find much information for doing this in Exc... | You can grant access to a mailbox as described here . Basically you just assing mroe users to have logon permissions to the mailbox. | 0 | 1 | 242 | 2010-06-29T09:38:30.870 | infrastructure | serverfault.com | |
237,749 | How do languages with Maybe types instead of nulls handle edge conditions? | Eric Lippert made a very interesting point in his discussion of why C# uses a [CODE] rather than a [CODE] type : Consistency of the type system is important; can we always know that a non-nullable reference is never under any circumstances observed to be invalid? What about in the constructor of an object with a non-nu... | That quote points to a problem that occurs if the declaration and assignment of identifiers (here: instance members) are separate from each other. As a quick pseudocode sketch: [CODE] The scenario is now that during construction of an instance, an error will be thrown, so construction will be aborted before the instanc... | 53 | 45 | 5,346 | 2014-05-02T21:47:11.440 | api_errors | softwareengineering.stackexchange.com | |
284,209 | Counting number of occurrences, how to "group by" | I have the following query, which works as intended. Database is Sybase SQLAnywhere, which follows t-sql syntax for the most part. I'm trying to add a column to COUNT the number of times each "referred_link" occurs on the table called "cases". Num_refs is the total number of times a specific "cases.referred_link" exist... | Well, I was able to get it working. If anyone else has some similar scenario, here's what worked: [CODE] | 0 | 0 | 56 | 2021-01-28T21:01:34.487 | warehouse_errors | dba.stackexchange.com | |
56,444 | Delete data from huge InnoDB table from MySQL Master and Slaves | We have some huge tables in MySQL database, We have already archived/deleted data older than 2012 in 2013, Now we need to archive/delete data older than 2013 means we need to archive data for year 2012 without application downtime. [CODE] So I need to delete 611992998 records from biggets table. We have One MySQL Maste... | Here are some things you should consider: CONSIDERATION #1 Using [CODE] is not replication-safe because the 5000 rows being deleted may not be the same order or the same set of 5000 rows on a slave. See MySQL Documentation (Replication and LIMIT) . Should a DELETE on a Master get interrupted, it has to rollback. In tha... | 3 | 4 | 6,859 | 2014-01-09T12:44:42.237 | database_errors | dba.stackexchange.com | |
46,824 | Cannot create FOREIGN KEY for a table | I'm not a professional DBA, I encountered a problem when I's attempting to create FOREIGN KEY for a specific table by the following SQL script (I'm using MySQL): [CODE] I'm sure there is no FOREIGN KEY named 'fk_answer_userId' with table mmy_answer and refered table mmy_user_account exists, the following is the error: ... | That means you have at least one row in the child table that references a non-existent row in the parent table. If you are absolutely sure that you are okay with having a data integrity issue like that, you can add the foreign key by disabling foreign key checks before you run the ALTER TABLE command: [CODE] And after ... | 0 | 3 | 3,190 | 2013-07-23T03:56:42.533 | database_errors | dba.stackexchange.com | |
355,086 | Managing parallel rules for ipv4 and ipv6 iptables? | We've recently started experimenting with IPv6, and one of the first issues we're having to contend with is dealing with a completely separate set of firewall (Linux iptables/ip6ables) rules for the two protocol stacks. Our firewall logic is based largely around a number of purpose-specific networks (e.g., 10.0.0.0/24 ... | Answering my own question here, but I thought this information might be of general interest: While looking into this question I stumbled across ufw (Uncomplicated FireWall) from the Ubuntu folks. With IPV6 enabled in the ufw configuration, ufw will manage iptables and ip6tables rules in parallel. This means you can do ... | 12 | 2 | 7,235 | 2012-01-30T16:41:54.820 | pipeline_ops | serverfault.com | |
638,615 | IP Resource Errors While Building a Windows Failover Cluster on Azure | I have setup a failover cluster in Microsoft Azure on four VMs. I have two nodes in one subnet/region, one node in another subnet/region and a final node in a third subnet/region. The cluster passed the validation wizard and was successfully built, but the two nodes in other subnets will not go online, reporting "Faile... | only one can be online at a time. if you go to the list of nodes, and turn off the node where its ip is the one being used by the cluster (10.16.16), then another ip address in your list will come online. | 3 | 1 | 2,825 | 2014-10-21T15:46:17.430 | database_errors | serverfault.com | |
222,365 | Join performance on MyISAM and InnoDB tables | I am thinking about converting some tables from MyISAM to InnoDB in my mysql server. The tables will certainly benefit from the change because a lot of write requests come to these tables, while there are also quite a lot of read request at the same time. However, they are often joined together with some tables that al... | Converting tables from MyISAM to InnoDB will really benefit concurrent writes and also atomic lockings. The mix of InnoDB and MyISAM tables should in no case affect the join performance unless those joins try to lock the full MyISAM table (highly unlikely), doing an [CODE] will always help diagnose the queries. About t... | 2 | 5 | 2,729 | 2011-01-14T08:38:29.060 | hadoop_errors | serverfault.com | |
434,063 | Should I use classes instead of functions with a state needed for computation? | I have implemented the cows and bulls game in C++. The code: [CODE] The question. Should I use classes instead of functions with a state needed for computation? In my case, the functions are [CODE] and [CODE] , the state is [CODE] structure. It seems like it's reasonable to create a class for this functions, because a ... | There's nothing wrong with creating an instance of a class to be used for a short computation and then be thrown away. Long lived "entity" objects are not the only kind, there can also be ephemeral and temporary objects. I can't say anything about your code (tl;dr) and it would probably be better to ask that part of th... | 4 | 3 | 296 | 2021-12-04T15:03:42.723 | api_errors | softwareengineering.stackexchange.com | |
299,841 | Multi user website for MVC project: one, or multiple solutions? | We're starting a new MVC 5 project that will ultimately consist of 4 websites depending on the kind of user: One internal, for company employees. One for agents, independent contractors that work for the company. One for external salespeople. One for customers, which could be any one from their homes. The internal webs... | OK, I think you are missing a layer which would make your problem easier to solve I would have: Data Layer - EF, sql client whatever Repository - hides data layer Service Layer/Business Logic - does the actual work Authentication Service Application Layer : MVC website controllers : call services views view models etc ... | 3 | 4 | 4,885 | 2015-10-14T11:28:33.533 | data_quality | softwareengineering.stackexchange.com | |
307,807 | How to convert json array to json object in PostgreSQL? | This is My Column cmt_json_value which has values which is of type json array. [CODE] I want to Write a Postgresql query to fetch name and value as column from table configuration_matrix. my existing query is:- [CODE] | There is a special function for aggregation of name/value pairs: [CODE] . Just place it inside a subquery or a [CODE] derived table. [CODE] If you only want the data as columns you can just laterally join the JSON elements. [CODE] db<>fiddle Note that using a set-returning function in the [CODE] is pretty weird and sho... | 1 | 2 | 9,692 | 2022-02-22T10:14:31.493 | database_errors | dba.stackexchange.com | |
770,580 | Port Forwarding on DROP policy | I'm trying to do a port forwarding on port 80 to a virtualmachine. If I set default policy to ACCEPT on input, output and forward chains the forwarding works. However, if I put the policy on DROP and open the relevant ports I cannot make it work. What am I missing? [CODE] | The official netfilter doc states that the PREROUTING is checked before the INPUT chain. https://superuser.com/a/674103/21439 In other words the NEW packet first goes through PREROUTING and when your INPUT or your FORWARD examines the NEW packet, it already contains destination port 8080. And it gets dropped by your ow... | 1 | 2 | 1,850 | 2016-04-15T11:43:21.847 | infrastructure | serverfault.com | |
276,826 | problem for network switch | If we have two host with same ip on the same switch and a packet comes for that IP, then how will the switch know where to send the packet. Will it send to both hosts or only one of them, if one then why? | bdonian's answer is correct about MAC addressing, however the real-world answer is "Unless you're doing some form of link aggregation it is an incorrect network configuration - fix it." Multiple hosts with the same IP on the same network without proper switch configuration are an incorrect network configuration and the... | 7 | 7 | 121 | 2011-06-03T19:42:15.610 | infrastructure | serverfault.com | |
249,714 | How to do a cumulative count for certain values | I have a scenario to do cumulative counts in certain way. So I decided to create an experiment for that before I run the query in the actual environment. I have created a table as: [CODE] And inserted the values as: [CODE] Now, I do have data as below: [CODE] I want the output as below: [CODE] (I have added empty lines... | I think that you want something like this (see fiddle here ): [CODE] Result (dates separated for clarity as in your question): [CODE] | 0 | 1 | 53 | 2019-09-26T17:56:38.783 | warehouse_errors | dba.stackexchange.com | |
255,469 | PostgreSQL: Is it possible to get a different function result type (i.e. TABLE) in stored function based on input? | The question is as follow, I wanted to get some flexibility in my example function, so based on input arguments to function I wanted to return different table as an output result. So is it possible to get something like this in function definition: [CODE] My broken example function is: [CODE] I searched for a questions... | First off, you should take a look at Erwin Brandstetter's answer to a similar question: https://stackoverflow.com/a/23957098/835781 If the return type you want is mimicked by the structure of an existing table, you could use that existing table's regclass to define the type of the results. That method seems to be a bit... | 0 | 3 | 1,658 | 2019-12-12T09:51:15.373 | database_errors | dba.stackexchange.com | |
1,052,584 | SMTP Untrusted TLS connection still sending emails | When sending mail from my client through a mail server that is then using AWS SES as a mail relay I'm seeing this in the postfix log as each message moves through: [CODE] If the connection is "untrusted" but SES requires TLS (which is set up, though perhaps not correctly) for security why are messages still sent on. Th... | In TLS the term “untrusted” is not the same as “not encrypted“. As you can see from the subsequent cipher and key strength in your log the communication is encrypted. In TLS the trust relates to how to verify that the certificates used actually belong to the entity that presents them. You can still use a certificate wh... | 0 | 3 | 1,295 | 2021-02-06T00:34:08.170 | infrastructure | serverfault.com | |
512,722 | How to automatically close netcat connection after data is sent? | I am executing the following command from a script: [CODE] However, the netcat client stays open indefinitely. How can I close the connection once this data has been sent? | Both other answers [CODE] and [CODE] given are correct in the right context, but it may help to summarize why there are multiple answers and give a more general solution. These different options do the same thing but are different implementations of netcat: [CODE] GNU implementation of netcat [CODE] OpenBSD implementat... | 56 | 37 | 116,945 | 2013-06-03T02:58:13.313 | infrastructure | serverfault.com | |
193,612 | Reuse MVC4 codebase / deploy MVC4 as standalone desktop application? | We have an MVC4 application that we would also need to distribute as a standalone (no network connectivity) desktop application. Rather than rebuild the HTML/JS front-end we would like to reuse that so in essence we're distributing a self-hosted HTML-view-based .NET MVC application. What we roughly envision is: MVC4 .N... | Using the ASP.NET hostable web core will allow you to host the ASP.NET runtime in your application. This means you can create your own local webserver, running ASP.NET MVC, webforms, or any other frameworks you choose to use. Have a look at this blog entry . This is separate from IIS and you do not need to need to set ... | 3 | 5 | 2,876 | 2013-04-02T02:47:22.697 | data_quality | softwareengineering.stackexchange.com | |
793,689 | Getting hostname on CentOS 6.6 from command line | In the command below, I'm trying to get the hostname of the server I'm logged into. Please note that I'm on the actual server and not ssh'ed into another server!! I'm trying to get the hostname. Our server administrator was telling me the hostname is [CODE] , but when I call the hostname command, I get something differ... | The DNS or NIS entries might be different. Clarify with your system administrator which name is being used. You may need to edit [CODE] to make a change permanent. [CODE] Source: [CODE] | -1 | 1 | 8,707 | 2016-08-03T18:16:49.477 | infrastructure | serverfault.com | |
99,849 | Custom layer for Simple Exponential Smoothing | I am writing a test custom layer which implements the Simple Exponential Smoothing algorithm. The problem: when I train it, the alpha (smoothing) coefficient always converges to value 1. This means that the one step forward forecast always takes the previous actual value. I most probably miss something obvious but coul... | The issue is that you are using [CODE] instead of [CODE] as [CODE] in the [CODE] method, which is why the loss is exactly zero when [CODE] is equal to one. This has been fixed in the code below. [CODE] | 0 | 0 | 228 | 2021-08-08T14:37:46.977 | data_quality | datascience.stackexchange.com | |
140,219 | Is there a way to backup a mysql database without having to run mysqldump? | Is there a way to run a backup of a mysql database using sql? We have scripts which run updates against our databases. They only have mysql user credentials, not system login credentials. Is there anyway to run backups of mysql via a mysql connection instead? | Is there a way to run a backup of a mysql database using sql? Short answer: No. ... scripts ... only have mysql user credentials, not system login credentials. I'm pretty sure it's possible to run the mysqldump utility against a remote database. However, I would have to ask " Why? " Even if you could take a backup, wha... | 2 | 1 | 6,245 | 2016-06-02T13:14:55.687 | database_errors | dba.stackexchange.com | |
83,677 | Multi-master synching in three geographically separate datacentres | Our company needs to create an application that operates in all parts of the world. We are looking to have three servers (one in Europe, one in Asia and one in America). I'm looking to use multi-master synchronisation using Tungesten on MySQL with row-based replication. So far, I've tested this on three local VMs with ... | I don't have experience of your exact situation, but could you use: auto_increment_increment=3 auto_increment_offset=1 [then 2 and then 3] on your different masters, so that each one generates a different set of id's. e.g. server 1: 1, 4, 7 server 2: 2, 5, 8 server 3: 3, 6, 9 | 0 | 1 | 64 | 2014-11-26T09:44:55.567 | database_errors | dba.stackexchange.com | |
171,591 | Is saying "if ( $a != null && $a == 5)" the same as "if ($a == 5)" | First off, sorry if this is answered somewhere else. I did a brief search, but wasn't sure how to ask in search terms. I'm looking at some code and came across lot's of statements like this: [CODE] Is this the same as just saying: [CODE] ? (language is PHP.) | At a purely logical level, presuming [CODE] is the local and operator, then [CODE] being [CODE] precludes it from being [CODE] . That said, in some languages, and short circuits (that is, if one operand fails, it does not check the others, as the whole clause is known to fail when one does). In this case, this could be... | 5 | 6 | 1,161 | 2012-10-27T10:44:20.577 | api_errors | softwareengineering.stackexchange.com | |
397,047 | Suppress log messages about minor 3ware disk temperature changes on CentOS? | I have a number of CentOS 5 servers which use 3ware RAID controllers. These servers are bugging my team with messages about minor temperature changes, like this: [CODE] How can I suppress these messages? According to man smartd.conf : To disable any of the 3 reports, set the corresponding limit to 0. Trailing zero argu... | OK, since we've established that your disks are not melting themselves because you can touch them, I'd say Jason has the right idea with tweaking LogWatch. It's been a while since I've looked at LogWatch (I think it's pretty lousy and usually disable it), but you can definitely disable the temperature alarms using [COD... | 2 | 3 | 698 | 2012-06-08T20:04:07.207 | infrastructure | serverfault.com | |
275,394 | OOP implementation doubts with databases | I was starting a project today and after designing the database structure and how the data would be stored etc, I started the implementation. I am doing this on php, but the language isn't really relevant here, since my doubts are more architectured related or I guess, since I'm struggling more than I thought by implen... | The problem should be addressed by separating concerns Here is what I mean. The reason why you have a bad feeling about adding the getAllUsers() to the User class is because it is too much responsibility for that class . This could convolute things down the line - especially when trying to test things. My suggesting wo... | 1 | 4 | 1,150 | 2015-03-05T20:44:41.283 | api_errors | softwareengineering.stackexchange.com | |
179,003 | Oracle Instant Client installation woes - "HTTP proxy setting has incorrect value" | When I run sqlplus I get the following error: [CODE] I've just installed the oracle instant client on fedora 12 by doing the following: I downloaded the rpms from http://www.oracle.com/technetwork/topics/linuxsoft-082809.html oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm oracle-instantclient11.2-devel-11.2.0.1.0... | The only thing that worked for me was to set http_proxy to blank: [CODE] Then run SQL Plus | 4 | 3 | 14,353 | 2010-09-08T00:51:27.213 | database_errors | serverfault.com | |
285,838 | Is there an issue with closing our database connections in the "Finally" block of a Try statement? | I'm doing some refactoring for our application, and trying to reduce the number of issues reported in our ISO Scan (a static code analysis tool based on HP Fortify). Right now, what I'm trying to address is the "Unreleased Resource: Database" issues our application has built up. One of the most prominent reasons for th... | And the tools are right! Apart from the (possible) limitations of the analysis - it may or may not understand that [CODE] , observe that [CODE] throws an [CODE] . If it does, then [CODE] is never called , which is precisely the definition of a resource leak. Now, it may be the case that with your current DB, drivers an... | 8 | 10 | 13,518 | 2015-06-04T14:56:18.827 | api_errors | softwareengineering.stackexchange.com | |
171,057 | Postgresql partitioned table timestamptz constraint problem | The table [CODE] is partitioned table by day like [CODE] , [CODE] Constraint SQL is defined as follow [CODE] Lets consider two type of query [CODE] Above query runs within sub-seconds and everything is fine. [CODE] On contrary, above query runs at least 15 seconds. [CODE] returns [CODE] When I examine why the latter ru... | I cannot fully respond as to why [CODE] is not equivalent to a constant... even if both [CODE] and [CODE] are defined as [CODE] . But I think we can make an experimental educated guess : Apparently, the PostgreSQL planner does not evaluate functions . As such, it doesn't have any good way to know which partitions to ch... | 5 | 5 | 4,887 | 2017-04-14T23:41:35.117 | database_errors | dba.stackexchange.com | |
91,909 | Database hidden in SQL Server | During an aborted TFS import (2008 into 2010), I have managed to "lose" a database in 2008. The database is not visible in Management Studio, but the SQL Server exe has a handle on the .mdf file (according to UnLocker), it says it cannot attach it because the file is in use and it cannot attach a copy of the file (crea... | This is quite strange! Is it possible you have another named instance of sql server running & this has the database attached? Are you logging into sql server as a sysadmin or sa & still can't see the database? If you're not sa & your not a user in that database, then you may not be able to see it with your current logi... | 1 | 1 | 2,591 | 2009-12-07T23:40:23.897 | database_errors | serverfault.com | |
33,835 | How can we define missing rating in recommender system? | I was reading about collaborative filtering where we need to pass [CODE] in case of matrix factorisation (SVD). Now, my question is given data of following form [CODE] we need to convert the it into [CODE] So, we need to replace all the [CODE] with the predicted value prior to applying [CODE] on it. Now I would like to... | For the Collaborative Filtering while using Matrix Factorization you don't necessary use a vanilla SVD over a dense matrix. As for the most cases the input dataset of ratings is vary sparse and your U/I rating matrix will have most of values set to 0.0. So, when SVD is done for input date the final recommendation will ... | 2 | 1 | 3,374 | 2018-06-30T17:47:08.623 | data_quality | datascience.stackexchange.com | |
124,553 | Which machine learning models are rational to use on NP-hard and NP-complete "theoretical" problems? | Time and time again I run into "surprising" NP-hard problems that seem naturally simpler than they are. I recently worked on a weighted graph theoretical problem where the point is to maximalize a function by "selecting" edges in a proper way, which turned out to be an extension of the Subset sum problem (the basic ide... | Is there any point in using machine learning algorithms on these "well-defined" NP-hard problems (instead of using dynamical programming)? In short, yes. Consider that for whatever problem you can generate data (in this context, instances of the problem), and that the "classical" algorithms (**) that solve them have ha... | 1 | 1 | 71 | 2023-11-12T22:00:12.883 | data_quality | datascience.stackexchange.com | |
729,158 | Proxmox KVM fails to start | My new server is Fujitsu Primergy RX1330 M1 with Intel® Xeon® Processor E3-1220, running either Proxmox V4 or Proxmox V3.4 i have the following problem. When i create a new virtual machine, during the start of the VM i get the error : [CODE] I have tried multiple ISO both 32 and 64 bits, the BIOS Version is 2.15.1236, ... | Select the VM, go to options tab, find KVM hardware virtualisation, edit and uptick enabled. | 3 | 4 | 14,635 | 2015-10-15T11:35:39.363 | infrastructure | serverfault.com | |
121,844 | What is the most effective approach to learn an unfamiliar complex program? | Possible Duplicate: How do you dive into large code bases? I have quite a bit of experience with different programming languages and writing small and functional programs for a variety of purposes. My coding skills aren't what I have a problem with. In fact, I've written a decent web application from scratch for my sta... | Algorithm how I usually approach foreign code (look down for a terse version of it in pseudo-code). The best way to start exploring the foreign system is to read its documentation, especially if special developer documentation (developer manual etc.) is available here. Ask the previous developer to send you any documen... | 2 | 2 | 3,011 | 2011-11-26T17:54:23.223 | data_quality | softwareengineering.stackexchange.com | |
318,859 | Troubleshooting foreign key dependency error when setting up new MariaDB replica | Question: Does anyone have advice on what I can do to successfully get this new replica set up and replicating from our production server just like the old replica? Details: I am trying to set up a new MariaDB replica from an existing replica so that we do not have to take the production server down to create the new r... | There seems to have been some issue regarding timezones with the replicated database. I tried using mysql_tzinfo_to_sql to set up the timezone in the SQL database but that didn't work. So I moved on to trying docker and setting up the timezone at the image level and now I have the replication fully functioning. | 0 | 0 | 60 | 2022-10-27T19:30:35.610 | database_errors | dba.stackexchange.com | |
910,325 | NFS Share with changing disks mounted/umounted every day | I am having problem with a backup solution for a small company. Outline One NFS Share (on a linux server in network) 5 HDDs (Mon - Fri) Need to change them every day (attached via USB-Docking-Station), then mount them from a client on the network and copy data. Share is always in the same location, each HDD is always m... | Perhaps have a different share for each day and insert 2 drives simulataneously at switchover time Insert Tuesday Drive Mount as tuesday folder Start NFS-Tues Share Have client side script to umount and mount the new days share (same local mount) Client is now using new drive Stop NFS-Mon Share Umount monday drive, unp... | 0 | 0 | 239 | 2018-05-02T10:58:35.793 | database_errors | serverfault.com | |
450,221 | VMware ESXi 4.0 upgrade to ESXi 5.1 minimize VM downtime | I am looking for the least amount of down time to do the following: Issue: One ESX Host running ESXi 4.0 (locally attached storage) with one VM running on it. This host needs to be updated to ESXi 5.1 in the least amount of down time for the running VM. Possible solutions: 1) Use a temporary server install ESXi 5.1, br... | VMWare outlines this very clearly , as you've noted. Download new ISO containing the ESXi 5.1 distribution. Burn it to CD. Insert into your powered-off server, boot and run the installer. This method preserves your existing VMFS datastore and works without a hitch. Trying to move your VM's off, exporting and all of tha... | 2 | 6 | 2,172 | 2012-11-19T18:40:48.257 | infrastructure | serverfault.com | |
255,771 | MySQL 5.6 -- How do I tell if I need to increase innodb io thread setting? | I am trying to tune my mysql server for the high end system. We are using 16--32 core hosts with memory > 100GB. I have looked into a bunch of existing setting, but not sure if I need to tune up the innodb_read/write_io_threads. It is currently only set to 4 each. [CODE] [CODE] It looks like the innodb io threads are s... | According to the Paragraph 3 of "Configuring the Number of Background InnoDB I/O Threads" : If you have a high end I/O subsystem and you see more than 64 × innodb_read_io_threads pending read requests in SHOW ENGINE INNODB STATUS output, you might improve performance by increasing the value of innodb_read_io_threads. G... | 1 | 1 | 2,657 | 2019-12-17T08:22:54.593 | database_errors | dba.stackexchange.com | |
161,095 | 1017 (HY000): Can't find file: './schema/table.MAI' (errno: 2 "No such file or directory") [mariadb aria] | I'm inserting rows into a mariadb aria table using a loop. The table in question is very simple. [CODE] The insert query [CODE] I've inserted more rows in other aria tables with more convoluted queries without any problems but now the process died at around row 1014064. [CODE] This is the first time I encounter this er... | For any poor soul who'll make acquaintance with this problem. I couldn't fix it. My last resort was to switch to xtradb. I recreated my datadir, reset my perms and recreated my tables. Seems to be working. It didn't seem to be a hardware problem at least. | 3 | 1 | 2,644 | 2017-01-14T19:01:48.757 | data_quality | dba.stackexchange.com | |
899,180 | Connect AWS route53 domain name with K8s LoadBalancer Service | What I'm trying to do Create a Kubernetes environment with a single API gateway service that is mapped to a DNS address. What I have done: 1) I went to AWS Route53 service and created a subdomain. 2) That subdomain seems to have a static IP. I got this IP by pinging the domain name. 3) I have set up a Kubernetes cluste... | There are five distinct pieces of infrastructure automation potentially at play: ip to node assignment dns name to ip mapping load balancing to member mapping kubernetes service ip to pod member mapping and sometimes to load balancer kubernetes ingress Some of them can drive some of the others. They don't necessarily a... | 6 | 9 | 6,974 | 2018-02-27T19:03:59.027 | api_errors | serverfault.com | |
117,665 | Why SELECT COUNT() query execution plan includes left joined table? | In SQL Server 2012 I have table valued function with join to another table I need to to count number of rows for this 'table valued function'. When I inspect the execution plan, I can see the left join table. Why? How can left joined table influence number of rows returned? I would expect that the db engine does not ne... | If [CODE] is not known* to be unique in [CODE] , then the QO will need to include that table to work out the count. Any time multiple rows match, the count will be affected. Join Simplification in SQL Server Designing for simplification (SQLBits recording) * The optimizer does not currently recognize filtered unique in... | 9 | 12 | 714 | 2015-10-11T07:43:23.657 | database_errors | dba.stackexchange.com | |
1,151,386 | NGINX proxy pass to Node.JS server SSL handshake failure | I want to setup a reverse proxy with NGINX to my express.js server, but when connecting to the website i receive a Cloudflare [CODE] error. This is my NGINX configuration file [CODE] And the same certificate is being used on the express.js application too: [CODE] | You need to add valid TLS certificate to the [CODE] block for [CODE] . Your current configuration means that nginx is using the default self-signed certificates, and Cloudflare considers them invalid. Redirecting IP address to the domain name isn't needed in my opinion. I prefer just to have 404 sent to requests to the... | 0 | 0 | 169 | 2024-01-12T12:28:35.557 | infrastructure | serverfault.com | |
54,546 | Does partial transfer learning require a lot of computer power? | I want to be sure my understanding of the problem is correct. I want to do image classification and current state of the art in my field is achieved by transfer learning with VGG16. Since image on this field are totaly different than image used by VGG16 trainig image, we should unfreeze "a lot" of layer. Original VGG16... | Computational power depends on 3 factor - Parameters count Dataset size Number of epochs In your case you are unfreezing a lot of hidden layer, so there are lot of parameters. Since you're doing transfer learning on image different than training dataset, you'll have to train for many epochs. So everything boils down to... | 2 | 1 | 66 | 2019-06-26T14:09:13.723 | data_quality | datascience.stackexchange.com | |
21,580 | How to make scp copy hidden files? | I often use SCP to copy files around - particularly web-related files. The problem is that whenever I do this, I can't get my command to copy hidden files (eg, .htaccess). I typically invoke this: [CODE] This doesn't copy hidden files. I don't want to have to invoke this again (by doing something like [CODE] - and that... | That should absolutely match hidden files. The / at the end of the source says "every file under this directory". Nevertheless, testing and research bear you out. This is stupid behavior. The " answer " is to append a dot to the end of the source: [CODE] The real answer is to use rsync. | 84 | 81 | 108,373 | 2009-06-07T18:39:11.917 | infrastructure | serverfault.com | |
10,503 | SQL Server 2005: There is insufficient system memory to run this query | One of our SQL Servers, which has been running stable for quite some time (years), has recently been throwing insufficient memory errors. From the Application Event Log, we see: Event ID: 701 Description: There is insufficient system memory to run this query. Our team that manages this server is made up of mostly devel... | I would suggest using the -g startup parameter as well. It seems to work for most people and will probably work for you as well. My only concern would be that the underlying issue may not be resolved. For example if there is a memory leak due to a linked server, and the MTL is increased to 512Mb will it just be a longe... | 13 | 4 | 12,447 | 2009-05-20T18:56:24.323 | api_errors | serverfault.com | |
185,176 | Route emails directly from Exchange to SharePoint? | We're trying to use the Microsoft-supplied Help Desk template for our SharePoint help desk site (running on WSS 3.0) and are having problems trying to create tickets from emails. When working correctly, the site should accept an email and then create a list item (service ticket) from that email. To set this up in Share... | Create a contact. Set the email address to SMTP:helpdesk@sharepoint.ourdomain.com I know it sounds weird, but this is just how it works. | 0 | 1 | 1,137 | 2010-09-27T19:52:43.367 | infrastructure | serverfault.com | |
720,243 | powershell recurse delete files in subfolders | I am trying to write a script to search for duplicate base file names with different extensions in subfolders under a path. For example a folder may contain file1.zip and file1.pdf and I want to delete the PDFs only on the duplicates inside the folder. I came with this which will will work only for the set path in the ... | Below is what you need. The problem you were having is that you weren't providing the correct path. Since you are using [CODE] , the path [CODE] is not always correct, for it is correct only if the file is an immediate child of [CODE] . [CODE] | 0 | 1 | 1,066 | 2015-09-05T04:33:16.143 | data_quality | serverfault.com | |
393,881 | How do I model all the different states of a widget for testing? | Say I am a QA person so I have no control over the complexity of the code in the following example. I have a datatable widget with many different filtering and searching options. All the columns on my data table are also sortable. There are many issues with components not working together. For example, if someone uses ... | You are looking at a combinatorial problem: You have 3 columns, so you need all combinations of 3 columns: [CODE] where [CODE] and [CODE] enclose a list of included columns. And yes, [CODE] is a valid combination. You have 2 filters available for each column, plus an unfiltered state. You also have ensure that you have... | -2 | 1 | 76 | 2019-06-26T19:08:04.723 | api_errors | softwareengineering.stackexchange.com | |
141,992 | UPDATE a column in one table according to a column in another | In Postgres, I have two tables that have become de-normalized. We're in the process of migrating to a normalized form, but in the meantime the tables have become out of sync. I'd like to copy the values for the [CODE] column from the [CODE] table into the [CODE] table. Here is my attempt: [CODE] I get an error message:... | Your subquery is uncorrelated and returns all rows from the join between [CODE] and [CODE] , where only a single row would be allowed. I guess this is what you are after: [CODE] You did not provide table definitions and Postgres version, so I can't tell for sure. The last line is to prevent expensive "empty" updates. D... | 2 | 2 | 82 | 2016-06-22T23:52:59.177 | warehouse_errors | dba.stackexchange.com | |
164,534 | Memory concerns while plotting escape from DLL Hell in Delphi | I work on a program with about 50 DLLs that are loaded from one executable, it's an old organically grown program where the only rationale for creating a new DLL is that one previously didn't exist to fill a given need. (and namespaces didn't exist in Delphi so it never crossed our mind to make dll1.main.pas, dll2.main... | Memory usage wont be a problem for you. A couple of my Delphi apps routinely use a GB or more. So long as you are not running into the platform limits you'll be fine. I'm not sure if resources themselves are loaded from disk when the exe starts. Certainly they would be for auto-created forms. So you'll want to avoid th... | 4 | 4 | 417 | 2012-09-11T18:41:03.837 | database_errors | softwareengineering.stackexchange.com | |
186,514 | Replication Server version 15.7.1 - Sybase ASE 15.5 to Oracle EE 12.1.0.2 (64 bit) replication failing | I have 2 Sybase DB and 1 Oracle DB, I would like to replicate one of the tables in Sybase DB X (table name: customer_order) into my Sybase DB Y (table name: customer_order), and from the Sybase DB Y replicate into Oracle. The replication linking is like this:- Sybase DB X --> Sybase DB Y --> Oracle The replication from... | By default the repagent (in Sybase DB Y) will not replicate maintenance user transactions (ie, transactions replicated from Sybase DB X to Sybase DB Y). To get the repagent (Sybase DB Y) to also replicate maintenance transactions (ie, transactions from Sybase DB X, once applied in Sybase DB Y, are then re-replicated to... | 0 | 1 | 330 | 2017-09-21T08:15:52.970 | database_errors | dba.stackexchange.com | |
1,233 | Disable a Jenkins pipeline on failure? Issue with a central deployment job | Consider a structure of X micro services and 2 environments; staging and production. Each of these micro services is represented by a separate git repository, when a merge to master happens on any of these services, a jenkins job is triggered to test the code locally and if it's successful - trigger a deployment pipeli... | There is a [CODE] plugin, which you can use in your pipeline to disable the job on failure. You will be able to use this plugin for single failure or to disable after multiple failures. https://wiki.jenkins-ci.org/display/JENKINS/Disable+Failed+Job+Plugin | 2 | 2 | 3,032 | 2017-05-24T10:51:56.403 | pipeline_ops | devops.stackexchange.com | |
67,733 | ASP.NET impersonation? | I just installed Act premium for web on my Windows Server 2003. I'm reading through the instructions it says to create an asp.net impersonation account but it doesn't give any details on how (because apparently it's different for each version of Windows). Does anyone know how to create something like this so I can get ... | I haven't run into this issue myself, but according to MSDN ( link ) they don't mention the ability to use registry keys for web.config for .NET v2.0 . However, for .NET v1.1 they mention registry keys ( link ). Again, since I don't have direct experience with this particular error, I'd think that ACL/permissions may b... | 2 | 1 | 1,418 | 2009-09-22T15:46:53.673 | infrastructure | serverfault.com | |
124,629 | How to measure time lost due to environment problems? | I'm trying to determine how we can measure how much time the developers are loosing to poorly managed environment and inefficient ways-of-working. The goals are: Show managment how big the problem really is, in terms they can relate to. I.e $$$ Get a good baseline so that we can measure the progress. Short background: ... | What it appears that you're doing is attempting to measure productivity. Measuring productivity is notoriously difficult. Here's how I go about it... I've found that you don't want to tackle the situation by measuring losses , you want to measure the gains of potential solutions. From a purely philosophical point of vi... | 4 | 3 | 525 | 2011-12-12T16:11:16.217 | api_errors | softwareengineering.stackexchange.com | |
94,776 | Windows Server 2008 Migration - Did I miss something? | I'm running in to a few complications in my migration process. My main role has been a Linux / Sun administrator for 15 yrs so Windows server 2008 environment is a bit new to me, but understandable. Here's our situation and reason for migrating... We have a group of developers that develop VERY low-level software in Vi... | I don't see anything wrong with what you have done to setup the domain. It seems like you just need a fairly basic setup, and that is what you have running right now. First your problem with the developers: The behavior of them having very restricted access is AD working as designed. By default when you join a domain t... | 2 | 1 | 242 | 2009-12-16T02:30:49.537 | pipeline_ops | serverfault.com | |
176,004 | Rootcause Oracle database crash due to open connections | We have a Windows 2003 server with a Oracle 11g DB installed and running a Java backend application that mines and inserts data onto the DB. The data is then distributed with PHP via a web server Until recently, the DB started to crash on a daily basis, with the following pattern PHP would be unable to access the DB an... | Explanation Your Oracle instance has a restriction on the maximum amount of sessions allowed. This could be 100, 500, 1000 or even more. Check the [CODE] parameter of your Oracle instance. [CODE] Reference: ORA-00018 maximum number of sessions exceeded According to the referenced article Oracle's sessions are limited t... | -1 | 1 | 3,066 | 2017-06-11T22:21:34.203 | pipeline_ops | dba.stackexchange.com | |
573,907 | Nginx and chroot users - Permission denied | I use nginx 1.4.4 and I created a chrooted user. This user can only see his /home/user folder, and I created in a "www" folder. I put in my virtual host file : [CODE] But I have an error : [CODE] I try to put chmod 777 on home, home/user, home/user/www, but I got the error. I took a look on this question : nginx + PHP-... | Add your user to www-data group (Nginx should run as www-data). | 0 | 0 | 579 | 2014-02-07T09:50:08.417 | infrastructure | serverfault.com | |
315,139 | How do you make a backup in Amazon EC2 and Download it | I have an instance in Amazon EC2 and contains Liferay Files, How do I create file a zip files of those files and download it? or is their a quicker process in creating a backup and download it? I've tried accessing the files via sFTP but its really slow when downloading the files one by one... This is my first time man... | Tools that come to my mind: ssh (scp or sftp) rsync (over ssh or plain if the files aren't worth being encrypted) ftp/s http/s Generaly managing a cloud host isn't different from a non-cloud host. | -2 | 2 | 1,169 | 2011-09-24T16:47:32.837 | database_errors | serverfault.com | |
915,803 | Virtual Machine Isolation | I am not a sysadmin, but I'm curious about what goes on behind the scenes. We have a virtual machine at work which my group logs into to do secure data processing. The OS is Windows Server 2008 R2; I don't know what hypervisor is used. Occasionally, all the system resources will be used up and it will run as slow as mo... | What tools and strategies exist for balancing these considerations Find a sysadmin, talk to him. It is very likely there is overallocation, but your possibility to find that out really depends on breaking the hypervisor wall - someone needs to look at the hardware layer. | 1 | 1 | 47 | 2018-06-08T15:39:49.423 | infrastructure | serverfault.com | |
69,617 | eCommerce product table design - MySQL | I am designing database for an web application, I have designed the product and specification details database as follows, [CODE] This design seems good to me (I understood this design from some internet materials), but I am facing some issues. Consider the following table values, In front end we are confused because, ... | SQL is not my strong point, but this was an interesting question with no answers for such a long period of time. I would use HTML arrays to set the extra detail: [CODE] On the back end in PHP this will come across as: [CODE] Then use your SQL to insert the correct data into the fields you want. PHP implode , array_walk... | 4 | 0 | 12,918 | 2014-07-03T09:49:36.960 | database_errors | dba.stackexchange.com | |
87,072 | How to know the problem when i make this Full Backup Scenario? | i'm working new on database administrator and i have some questions if i want to make SQL full backup database every Saturday at 6:00 AM and for some reasons the device was shutdown the questions are : whats the issues for my backup ? is it rollback ? how can i know that was happened , when its not the time of work ? w... | If the database is down when the backup is supposed to start the backup can not run. If the database goes offline while the backup is running the backup will simply stop. It'll need to be restarted after the database comes back online. There won't be anything logged that there was a backup running when the database wen... | 0 | 1 | 46 | 2014-12-27T16:16:49.977 | database_errors | dba.stackexchange.com | |
196,066 | How do I connect to a server behind an socks5 proxy through SSH on mac/linux? | I am using the ssh to try to connect to a server behind on remote network. That server is behind a socks5 proxy on the same network. The port of the proxy server is 1080 and the ssh port is 22. However this fails. The debug says that connection is refused on port 22. I thought it was necessary to install corkscrew so i... | [CODE] where [CODE] is the socks5 proxy. Credit: Jethro Carr | 4 | 7 | 27,354 | 2010-10-29T01:09:49.727 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.