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 |
|---|---|---|---|---|---|---|---|---|---|---|
280,779 | Optimisation select with large IN and millions of records in result | I work with a table which consists of 1.5B records. DB: RDS, PostgreSQL 12.4, 16GB RAM, 4vCPU Schema: [CODE] I'm trying to pull all trips which happen within some cells (output around 7-12 million records): [CODE] The result you can find here https://explain.depesz.com/s/RxH4 . What I've tried: Replaced with INNER JOIN... | You might get bitmap index scans and better performance if you increase [CODE] to something like 200MB or more, so that a bitmap for your table fits into it. Other than that, the only remedy I can see is using more parallel workers by raising [CODE] . But all these optimizations are questionable if you plan to run more... | 1 | 1 | 130 | 2020-12-02T23:41:08.350 | database_errors | dba.stackexchange.com | |
1,026,269 | Run 'kubectl' commands from my localhost to GKE - but via tunnelling through a bastion host | Currently... I have a GKE/kubernetes/k8s cluster in GCP. I have a bastion host (Compute Engine VM Instance) in GCP. I have allowlisted my bastion host's IP in the GKE cluster's Master authorized networks section. Hence, in order to run [CODE] commands to my GKE, I first need to SSH into my bastion host by running the [... | Adding your IP to the [CODE] would be easier. You can write a script which gets your laptop external IP and adds it to GKE's master authorized network list and use the same script to remove the IP once done. But since this doesn't seem to be your preference, let me give a long answer to how you can accomplish this with... | 0 | 1 | 1,990 | 2020-07-22T10:47:41.487 | pipeline_ops | serverfault.com | |
1,093,326 | Openvpn client mismatch subnet from OpenVPN server | I set up an OpenVPN server-client with VPN IP: 10.99.0.0/20, but the client has the subnet of /24 Server: [CODE] Client: [CODE] Server config: [CODE] Client config [CODE] So can anyone help me know why and how to fix the problems ? | It looks like you have an error in your server config file. [CODE] Should be: [CODE] | 1 | 0 | 100 | 2022-02-11T02:42:00.393 | infrastructure | serverfault.com | |
285,096 | Has this server been compromised? | A friend is running a VPS (CentOS) His business partner was the sysadmin but has left him high and dry to look after the system. So, I've been asked to help out in fixing an apparent spam problem. His IP address got blacklisted for unsolicited mail. I'm not sure where to look for a problem, but I started with netstat t... | This, [CODE] is an external connection using IMAP to read mail from a mailbox on your server. This, [CODE] is your server sending outbound SMTP mail to news.avanport.pt Without knowing more about what it is and is not supposed to be doing, neither of those things are initially suspicious. You will need to use mailqueue... | 2 | 4 | 997 | 2011-06-28T22:54:44.573 | infrastructure | serverfault.com | |
593,140 | Network dropouts on Debian 5, how to find a cause | It is a tower server machine located in datacenter. I have complete access to the machine. I'm experiencing short dropouts, usually under 10 minutes a couple times a week or so. Unfortunately, last saturday, it has been off for like 5 minutes, on for 3, off for 10 and so on for about half an hour. I had to reboot the o... | First thing to check is if any link state changes are logged in the kernel log. You can view the most recent kernel log messages using the [CODE] command. Look for messages looking similar to this [CODE] If you see such messages, you need to check cabling between computer and switch. If you do not see this, you should ... | 0 | 2 | 124 | 2014-05-05T11:18:42.177 | infrastructure | serverfault.com | |
293,188 | Rest APIs - mobile specific challenges | I'm working on a new iOS app project, on the mobile side. Some architecture changes are happening and it turns out we will have to rely on a custom built private API that will be used by the app we are building and also by other clients such as a website. The API being designed follows the Rest style of resources-centr... | The API being designed follows the Rest style of resources-centric URI and CRUD operations mapped to HTTP verbs. This is your problem right here. You have limited your resources to (I'm assuming) the models in your database. As such it is taking ages to load all these resources because your server has no concept of res... | 27 | 30 | 1,367 | 2015-08-08T17:13:13.510 | api_errors | softwareengineering.stackexchange.com | |
1,750 | I misled some users into closing my fence post question. What can be done? | A couple of days ago I posted this question: How can I make a post base support fenceposts (gateposts) on top of concrete? The form of the question is basically: "How can I do X ?" with followon information of "I tried Y , but Z happened." After quite a few comments, a day later I did made a major edit, including the i... | Edit your question explaining why yours is not a duplicate of the other one, showing the differences between the two. By editing it, it will automatically be placed in the "Reopen" review queue, and if enough (3) people agree with you, it will be reopened and you're back in business. FYI- In general, significant edits ... | discussion,exact-duplicates,specific-question | 4 | 2 | 218 | 2023-06-22T13:55:07.057 | data_quality | diy.meta.stackexchange.com |
19,742 | Does a neural network continue to change after SGD stops improving? | I would like to understand the behaviour of stochastic gradient descent (SGD) over long time periods for a fixed learning rate. Let us assume that after a number of epochs we expect no further improvement to our cost function. If we continue to train over more epochs then one of two things can happen: The solution keep... | The evolution of the improvement of the performance of the network if you keep training it depends on: 1) the surface of the loss function with respect to the network parameters. 2) the learning rate, which is the scale factor you apply to the gradient in order to compute the next set of weights. If the learning rate i... | 0 | 1 | 108 | 2017-06-15T11:17:24.037 | data_quality | datascience.stackexchange.com | |
49,317 | PostgreSql allocate memory for each connection | When we configure the memory setting for the Postgres DB what is the recommended memory allocation for each connection ? Is there any formula to apply ? I know 25% of the memory of the Server should be allocated. But how do we allocate based on the DB connections? How do we know, what is the maximum number of connectio... | When we configure the memory setting for the Postgres DB what is the recommended memory allocation for each connection ? Is there any formula to apply ? There is no per-connection pre-allocated memory that a DBA would define. A session will allocate dynamically what is needed, or use the shared memory pre-allocated at ... | 4 | 7 | 13,510 | 2013-09-05T10:02:39.627 | database_errors | dba.stackexchange.com | |
224,400 | In MySQL replication, why aren't queries run on the slave when there was no USE statement on master? | We have replication running from our master server to a slave. [CODE] is the default; [CODE] . We have noticed something weird and are not sure whether it's a bug or intended behaviour. Certain statements are being ignored. Ignored [CODE] Works [CODE] Also works! [CODE] When I delete something without previously select... | Please provide the relevant [CODE] entries. If you have [CODE] and you do [CODE] That [CODE] will be ignored. | 1 | 0 | 326 | 2018-12-07T13:38:45.837 | database_errors | dba.stackexchange.com | |
641,481 | Which match takes precedence when exporting an NFS share? | Say you're exporting an NFS share using IP addresses and netmasks to give different machines different permissions: [CODE] In case the ranges overlap and a machine will match both expressions, which one will take precedence? Is this allowed? What permissions will this client get? | In that case first match wins since the two expressions are of the same type. (A single host expression would win even if it came after the IP subnet expression because it has precedence.) See exports(5) for details. | 2 | 3 | 664 | 2014-11-02T19:03:31.703 | infrastructure | serverfault.com | |
126,184 | Handling categorical variables for Xgboost? | Currently there seems to be two approaches for handling categorical variables in gbdts: Xgboost as an option, but data need to be encoded properly (integers) Catboost can handle everything provided you specify the columns I tried both, and Catboost has a performance that is significantly above. I can't exclude the diff... | My first thought is that xgboost is interpreting the OrdinalEncoder as any other numeric variable rather than distinct, unordered categories. If you have a true categorical variable (where each category is exchangeable with another), then it is incorrect to use the OrdinalEncoder because this will assign a ranking to e... | 0 | 1 | 214 | 2023-12-27T09:31:52.053 | pipeline_ops | datascience.stackexchange.com | |
1,760 | Recommendations for automatic computer inventory | For someone looking after a small 50 Windows PC network (Mainly XP - some Vista), are there any tools that can do an automatic inventory of the network e.g. OS Memory size Hard drive type and size Serial numbers Monitor type etc. At the moment, someone has to go from PC to PC writing all this stuff down. | I have heard great things about Spiceworks . Its big features are: creating an inventory of PCs and their installed software - Windows, Mac, Linux creating an inventory of routers, printers, and anything IP based. help desk ticketing network monitoring nice reporting | 12 | 4 | 2,056 | 2009-04-30T21:47:52.833 | infrastructure | serverfault.com | |
289,173 | Windows 7 on dedicated? | I'm interested in purchasing a dedicated server. I've honed in on the one that I want - http://www.hetzner.de/en/hosting/produkte_rootserver/eq4 but I really want to use a windows OS. Though Hetzner does offer a windows OS, the fees are very steep - 15Euro per month! Would it be a problem to install Win 7 Ultimate, for... | You may wish to consider Amazon EC2 for hosting a Windows instance for you. As others here agree, it only really makes sense to run an instance of Windows Server. If you pay for 3 years up front, you can run a Windows Server on EC2 for as little as $2.28/mth (USD). There are, of course, other Virtual Private Server (VP... | -2 | 1 | 2,216 | 2011-07-11T19:52:47.117 | infrastructure | serverfault.com | |
760,217 | Self-signed certificate error with exim: CA is unknown | I added ssl support to my exim smtp server. Now I'm trying it with a Thunderbird client, first of all I imported my self signed certificate to thunderbird keystore and than I tried to connect. It fails, and this is what exim get: [CODE] I cannot understand if this is a client or server error, for me it should be a clie... | This is Exim showing that the client is complaining about a self-signed cert. More details here . Specifically, " [CODE] " is followed by the message that the client sent to the server when refusing to continue the connection. I managed to fix this by downloading the PEM-format certificate file from the server, and the... | 0 | 1 | 2,296 | 2016-02-27T14:31:39.417 | infrastructure | serverfault.com | |
1,053,437 | When trying to loing to horizon I get: client denied by server configuration: /usr/bin/keystone-wsgi-public | I recently reformatted all of my openstack servers (they were on a really old version) and I installed Victoria on a fresh install of Ubuntu 20. I am starting with one controller and one compute node for simplicity, then I will add the other compute nodes. I am installing manually using the docs here: https://docs.open... | I am also in the same state. Fresh Install of Ubuntu 20.04 and OpenStack Victoria. Everything is working from openstack client - can start Instances, etc. Dashboard login fails with the errors described by number9. I was able to generate the oslo policies using: [CODE] But this hasn't fixed the dashboard authentication... | 0 | 2 | 2,904 | 2021-02-12T16:19:16.823 | infrastructure | serverfault.com | |
322,774 | Postfix rejects all incoming mail (Client host rejected: Access denied) | I've setup a working postfix server except that all incoming mail is rejected. When I try to send mail via telnet: [CODE] My [CODE] alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = no config_directory = /etc/postfix delay_war... | I think you need to put [CODE] in your config. Next guess: We know the domain is right and that SASL works... so what I now suspect is that we're seeing an error in your restrictions. I'd start with recipient_restrictions and remove every rejection after permit_sasl_authenticated. If that works, add them back one at a ... | 5 | 1 | 12,641 | 2011-10-19T01:32:27.500 | api_errors | serverfault.com | |
102,887 | Running/debugging SMTP Event Sinks under windows 2008 | I have an SMTP Event Sink to process incoming SMTP email messages to perform special processing. Under IIS 6/SMTP, this event sink runs as expected. Under IIS 7/SMTP, it does not appear to run, even though it appears to register successfully, as shown below: [CODE] How can I debug this event sink and figure out why it ... | According to the URL http://social.technet.microsoft.com/Forums/en-US/exchangesvrtransport/thread/73fd85d0-66c4-4ffa-904f-0b0bcb521a31 IIS7 no longer uses the IIS SMTP event architecture, and instead you have to create an SMTP Receive Agent. (more information at http://msdn2.microsoft.com/en-us/library/aa563087.aspx ) | 1 | 0 | 1,186 | 2010-01-14T23:33:31.453 | infrastructure | serverfault.com | |
224,569 | Algorithm for defragmenting cross-pipe issues in a network for routing signals through? | I have a network I'm responsible for routing signals through. You can think of the network as a directed graph of nodes (hardware) but each edge is really a pipe capable of fitting a specific bandwidth, I can route signals to any index on that pipe and may have multiple signals of different 'size' going across the pipe... | Per Steve Ever's comments I looked into flow graphs. I ultimately stumbled upon the concept of multi commodity flows ( http://en.wikipedia.org/wiki/Multi-commodity_flow_problem ) which basically states that the problem is known to be an NP-complete problem; there is no fancy algorithm to solve the problem as I had defi... | 1 | 0 | 189 | 2014-01-17T18:37:49.147 | api_errors | softwareengineering.stackexchange.com | |
90,208 | Updating large table (~6.5 million rows) & indexes | I'm trying to update a table with about 6.5 million rows in a reasonable amount of time, but I'm having some issues. We're adding a new column to an existing table and then setting a value for all rows based on the data in a column in another table. [CODE] in a loop, like this article . The update was still running aft... | I had forgotten about this question, sorry. But we resolved the issue. Using a MERGE statement reduced the query time to under an hour. Disabling indexes had no effect. | 3 | 0 | 7,974 | 2015-01-26T16:19:24.800 | database_errors | dba.stackexchange.com | |
325,833 | Can not Truncate the database because “secondaries has no log was added” | I am a newbie to SQL Server. I got an error when trying to truncate the database: Database can not shrink until all secondaries have moved past the point where the log was added. When I check the status of the secondary on the primary machine (Always On High Availability Dashboard), it has heath: good and Synchronizati... | Suspend database synchronization on the secondary node. Delete the database from the availability group on the secondary node. Create a transaction log backup on the primary node. Disable automatic transaction log backup on both nodes. Restore all transaction logs to the secondary database to bring it up-to-date. Add t... | 0 | 0 | 127 | 2023-04-10T16:58:02.590 | database_errors | dba.stackexchange.com | |
950,388 | The write permission of files disappear after the files are copied between 2 remote system using FTP | I have setup FTP between 2 remote systems and scripts are set up on both the system to Archive and Extract the file. So the script in the source Archives(tar) file and the script on the destination (extracts) the file. After each FTP transfer, I notice that files copied in the destination have write permission missing ... | If the file being transferred via FTP is a [CODE] file, and the problem is that permissions of files within the [CODE] file are not being preserved or honored after extraction, it's not an FTP problem. When extracting the file, [CODE] will by default honor your [CODE] . In this case, I would guess it's set to [CODE] , ... | 1 | 1 | 190 | 2019-01-23T14:08:12.793 | hadoop_errors | serverfault.com | |
677,244 | How can I debug a "missing" hp raid card? | I have a DL380G6 running great with a P800 and P410i, but I wanted to upgrade the P800 to a P812. I now have both controllers plugged in. In the BIOS I have the option of selecting the 410i or the 800 but not the 812. In the POST process, the 410i initializes as well as the 800 but no mention of the 812. Once I get boo... | Troubleshooting it... If the card isn't present at POST , then there's likely a problem with the device. Did you try the card in a different server? If not, try checking that. Did you try the Smart Array P812 in a different PCIe slot? If not, please try that. Where did you get the controller from? Do you have any recou... | 1 | 1 | 280 | 2015-03-21T18:37:29.940 | infrastructure | serverfault.com | |
127,117 | How to convert a copy/paste/spaghetti programmer to see the light? | This question was inspired by this one . While that other question was deemed localized, I believe the underlying problem is something that is extremely common in our industry. I know there are some developers, who will read this and think I'm making this stuff up and then they might reply how everyone cares about thei... | You found yourself the reason: "I know they are capable of learning, just seems that there's a general lack of motivation." There are people who are passionate about their work. And there are others who, being sometimes competent enough, are working just for money . They know their stuff, but they don't enjoy their wor... | 36 | 18 | 2,318 | 2011-12-27T05:08:32.383 | api_errors | softwareengineering.stackexchange.com | |
318,738 | 1 domain, 2 IPs | Hy Guys! I have a problem here. I have a domain in a host just to send e-mails. Now I have to publish a website(asp.net-mvc-3) in the same domain, but in a different host. Ask: How can I have the same domain (www.domain.com) in 2 different hosts? Tks. | Edit your DNS zone to name your mail host [CODE] and your web host [CODE] (or something similar). | -1 | 1 | 92 | 2011-10-05T14:41:31.097 | infrastructure | serverfault.com | |
28,660 | Foreign key part of composite primary key of new table | I have tried searching loads but I have not received a concrete answer to my problem. Suppose I have Table 'A' with primary key as [CODE] . This [CODE] is a foreign key in Table 'B'. In Table 'B' I have also another column [CODE] . Now for 'B' can I have a composite primary key of 'Bcol' and 'Apk': [CODE] ? Is it advis... | so basically you have something like this (except I renamed your FK table to C since it was already pulling B from somewhere else): [CODE] this is completely normal and how you would form many to many relationships between 2 entities. You may wish to have some other auto generated unique identifier as the primary key b... | 5 | 9 | 33,438 | 2012-11-14T07:14:56.937 | warehouse_errors | dba.stackexchange.com | |
329,716 | SQL SERVER NEWID() puts "short" GUID into field | I have a table with a column defined as: [CODE] Sometimes, the records are truncated to 22 chars: [CODE] This causes other parts of the system to say the GUID is malformed, of course. This field is NOT being used as a unique identifier for the table. It is just data that, if not supplied during the initial insert, it g... | What could be causing this truncation? I think this value was NOT GENERATED by default constraint but provided as part of insert/update statement. Search up the data stream who can truncate it. | 0 | 1 | 196 | 2023-07-27T13:04:48.447 | database_errors | dba.stackexchange.com | |
216,493 | Why isn't the backup file created when running sqlcmd from remote machine? | I tried running the sqlcmd from a remote host to do a simple backup of a sql 2008 database. The command goes something like this: [CODE] I get a succesfull message but the file isn't created. When I run this on the sql manager on the same machine, it works. I thought it was permission problems, but I'm using the same u... | Follow this guide . You need to create a SQL script that backup the database specified in it on the desired location, then you can call that sql script from SQLCMD . For example if you call the backup script backup.sql : [CODE] Example of backup.sql : [CODE] | 1 | 1 | 1,774 | 2010-12-27T18:29:59.493 | database_errors | serverfault.com | |
533,358 | How to resolve an IP address to hostname | This is my first time trying to work with an ARP so I'm slightly lost as to what I'm missing. I'm probably going down the wrong track, so lemme know if I'm completely and utterly off. What I'm trying to do: I'm trying to get one of my servers to have a "name" so that I can access it directly from externally. I added a ... | I think you want to add it to /etc/hosts on the system you are trying to access it from . ARP maps a network interface's MAC address to an IP address. DNS and the /etc/hosts file map a hostname/fully qualified domain name to an IP address. So you either need to add a line to /etc/hosts on EVERY external system similar ... | -1 | 4 | 15,569 | 2013-08-23T20:17:51.427 | infrastructure | serverfault.com | |
1,088,947 | PHP unable to identify sqlsrv_connect() function while trying to connect SQL Server | I'm trying to connect to my local MSSQL Server from a simple PHP file using the sqlsrv_connect() function, but every time I'm calling the file in the browser through localhost, it's throwing a 500 (Internal Server Error) saying: "PHP Fatal error: Uncaught Error: Call to undefined function sqlsrv_connect() in C:\inetpub... | You have [CODE] because [CODE] module wasn't loaded. The module wasn't loaded because it is [CODE] while your [CODE] as your error message clearly says. PHP expects modules to be compiled with the same API version as the PHP itself. You need to either get PHP the same version as the module was compiled for or get a mod... | 0 | 2 | 21,584 | 2022-01-04T12:53:22.927 | api_errors | serverfault.com | |
871,671 | enabling a new service in ubuntu 17.04 | I used the suggested answer from this post to make a custom service in my ubuntu 17.04 environment: Installing gitblit GO as service in Ubuntu Server 16.04 Unfortunately when I hit sudo systemctl enable gitblit_server.service I receive Failed to enable unit: File gitblit_server.service: Invalid argument as an error. An... | You are using the wrong answer to create custom services. To start with, custom service files should not be placed within [CODE] rather you'd use [CODE] . Secondly, after creating the service file you'd run [CODE] to notify systemd about your newly created file. Make sure you've restored SELinux file context using [COD... | 1 | 2 | 2,818 | 2017-09-01T13:37:22.633 | infrastructure | serverfault.com | |
139,595 | Why can't European users access my site? | My site has been running just fine for the past couple of years, but all of a sudden, two days ago, European users have been experiencing serious connection problems to the site. I really want to fix this for them, but what's the best way to figure out what the issue is? I have absolutely no connection problems to the ... | I would first make sure they they are resolving the IP correctly. If that works, you will want a couple traceroutes from the clients (Or at least their public IPs). You can then give that information to your ISP and they should be able to find out what is wrong. It does sound like it is probably not your server. Maybe ... | 0 | 1 | 230 | 2010-05-07T14:14:16.070 | infrastructure | serverfault.com | |
164,666 | Port Forwarding for ESXi remote management with VSphere | I am connecting to ESXi with vSphere client from a remote LAN. ESXi is running on 10.1.1.10, so I create an ssh tunnel (using cygwin but putty or plink should also work) with this command: [CODE] VSphere does not connect, I get a "connection error" connecting to localhost. I can telnet the ports on localhost, they are ... | You're going to have problems with this, because ESXi relies on client-side name resolution, which is unlikely to work over an SSH tunnel. To get around this and get you to connect, try adding an entry into your [CODE] file with a name of your choosing and settings its IP [CODE] and connecting to that instead. This sho... | 2 | 2 | 11,861 | 2010-07-28T00:44:51.893 | infrastructure | serverfault.com | |
958,605 | Nginx proxy cache 404 not found static files (css,js,jpg,png vb) | My Nginx Proxy Server : 10.90.100.2 My Backend Server : 10.90.100.3 my proxy server not loading static files (css,js,woff,png vb.) My conf [CODE] error.log [CODE] Thank you | The problem is this block: [CODE] This means that all requests for images end up using this block, which does not tell where the images are. nginx therefore tries to use the default [CODE] location for sending the files. nginx always selects a single [CODE] block to serve a request, unless the block makes an internal r... | 1 | 3 | 4,832 | 2019-03-16T20:47:45.833 | infrastructure | serverfault.com | |
1,011,205 | SQLite works, but PostgreSQL migrated database causes ERROR - Django 3.0 | Situation I have built Django 3.0 project with a couple of applications. I have created the accounts app based on following course and it's github Than I have created an application fro authentication [CODE] All this has been done in an SQLite database Previously I have tried out a PostgreSQL database for the early app... | So here is how I have solved it. When the video say I have to create user groups in the admin panel, witch I did. Is just had to add properties to that grop. [CODE] adding features that the user allowed to do like: [CODE] Than I log out of the admin view I log in int eh normal way and everything works | 2 | 1 | 392 | 2020-04-06T23:49:19.927 | api_errors | serverfault.com | |
187,922 | IIS 7, Multiple Web Sites, Host Headers, and Wildcard Subdomains | I have a need to support multiple websites on a single IIS 7 server. One of these websites needs to be able to support wildcard subdomains. I was hoping to use host headers for this approach but am thinking this is not possible. The site that requires wildcard subdomains won't let me use *.site.com in the host header a... | Give each separate website its own IP address and configure IIS to listen based on IP address rather than [CODE] header. Then, any single website with multiple or wildcard subdomains but at a separate IP will work with IIS listening to all incoming requests on that IP. | 2 | 2 | 6,997 | 2009-10-23T03:20:06.373 | infrastructure | serverfault.com | |
917,351 | Recurse into subdirectories and prefix all files with the name of its holding directory | I have files in subdirectories A, B, C Each directory has files of various names, lets say 1.txt 2.txt 3.txt in each although the names are not relevant as such. I want to run a bash shell script to recurse into each so that the files in each are prefixed with the names of the holding directory so in this example they ... | [CODE] | 0 | 0 | 1,550 | 2018-06-19T18:07:28.360 | infrastructure | serverfault.com | |
310,047 | Log Replay on top of SQL database files captured during VSS snapshot failed | I am having a SQL Server and want to perform hourly VSS based backups (will store the VHD separately in a disk) and perform log backups in every 10 min interval. And with the help of backed-up VHD and particular log dump, I want to go to the specific point-in-time. When I take VSS based backup (using VSS - application ... | Attach MDF, LDF files in my SQL Server. When you attach the database it goes through recovery. There is no option to attach without recovery. Once it's recovered, you can take a tail log backup to put it into "Recovery Pending" mode, but it's at a later point-in-time than the MDF was before you attached it, and you can... | 1 | 3 | 188 | 2022-03-22T22:25:42.480 | database_errors | dba.stackexchange.com | |
301,066 | How to design banking financial transactions database schema? | I'm writing a simple banking database schema. It's for learning purposes, not for real a bank. Now I'm stuck at designing financial transactions. Transactions can be of different types: Money transfer between accounts inside the bank. This type of transaction has both sender and receiver accounts. Money withdrawal. Thi... | @zenno2 - you may be over thinking this if what you describe at the very top is the extent of transactions types. This is essentially a basic relationship with Account (which is primary, or core) Share(s) - For example, Account 01 might have one savings account, one checking account and one Car loan, so Savings(1), Sav... | 3 | 0 | 8,807 | 2021-10-13T13:34:52.617 | warehouse_errors | dba.stackexchange.com | |
913,110 | KVM guest can't connect to itself after DNAT | Network Description Virtual hosting environment (KVM): Guest: [CODE] Host: [CODE] Network: [CODE] [CODE] is the public IP address [CODE] is a virtual machine (guest) [CODE] is a physical machine (virtual machine host) [CODE] is a physical network card in [CODE] [CODE] is a virtual network adapter There is an iptables r... | One possible solution is to use SNAT on the HOST to change the source address of packets and forward them back to "ari" VM. It's not the most performant solution but it's simple and good enough for many setups. [CODE] You can merge this into single [CODE] rule, I prefer separate chain for clarity. You should also disab... | 2 | 1 | 295 | 2018-05-21T15:44:02.250 | pipeline_ops | serverfault.com | |
588,796 | Query cache for MariaDB Galera cluster | I've read from multiple sources now that you can't have query caches with Galera, but my current application could really benefit from a query cache. I'm load-balancing this cluster with HAProxy and am curious if HAProxy has any kind of caching ability or if there is an easy solution to this problem I'm just missing? | Since MariaDB Galera cluster versions 5.5.40 and 10.0.14 you can use the query cache. Earlier versions do NOT support the query cache. See https://mariadb.com/kb/en/mariadb/documentation/optimization-and-tuning/buffers-caches-and-threads/query-cache/#limitations | 1 | 1 | 2,493 | 2014-04-14T05:46:08.413 | database_errors | serverfault.com | |
16,462 | How to test Waiting/Progress Indicator? | As the title mentioned above, how can we test waiting indicator or progress indicator on a web-page. I have been assigned following task: Apply wait indicator to display on every page. If page loads in quickly the indicator would not display. If the page is slow to load or there is a delay, the wait indicator will disp... | Try to access the page on a slow network. Get a bad broadband connection with slow internet speed and load the page. It'll take some time to load the page and in the mean while if the page loader displays have celebrations with your team otherwise report a bug. You can also try connecting your mobile data to your lapto... | 4 | 3 | 1,801 | 2016-01-11T09:17:22.260 | data_quality | sqa.stackexchange.com | |
144,092 | The rule of 5 - to use it or not? | The rule of 3 ( the rule of 5 in the new c++ standard) states : If you need to explicitly declare either the destructor, copy constructor or copy assignment operator yourself, you probably need to explicitly declare all three of them. But, on the other hand, the Martin's " Clean Code " advises to remove all empty const... | For a start the rule says "probably", so it doesn't always apply. The second point I see here is that if you have to declare one of the three, that's because it's doing something special like allocating memory. In this case, the others wouldn't be empty since they would have to handle the same task (such as copying the... | 20 | 44 | 12,858 | 2012-04-12T11:01:46.170 | api_errors | softwareengineering.stackexchange.com | |
31,223 | E2E - How to test login with fake data - username and password? | I do have an angular login page build as a SPA: [CODE] which works fine. And I wrote an E2E integration test for that. It runs fine regarding checking the input-text for [CODE] and [CODE] and also the submit-button enabled/disabled based on if the input fields are empty or not. Now I'am at the stage where I want to tes... | Protractor waits for the Angular zone to stabilise in case of Angular apps. If the stabilisation is taking long time, then your tests will timeout since the async operations around Angular's [CODE] are probably taking more time to complete and would block your tests from continuing. The best workaround is to have your ... | 1 | 1 | 4,573 | 2017-12-27T14:25:13.700 | data_quality | sqa.stackexchange.com | |
773,437 | How can I clear the DHCP GUI in OSX Server? Ghost clients in the building | I have a few client machines showing up in the network (not only in Server.app but also in various logs), which have "Computer Names" (Bonjour names in Apple-speak) which I don't recognize, but probably are old clients or more likely old names of active clients. I haven't yet been able to match the MAC addresses with n... | The ghosts have been captured. The real lesson here ...is to always fully research, overview, and document all new hardware in your networks . Make time to proactively volunteer to set things up right the first time, even if it is not your sole responsibility, and even if your boss wants to setup the new devices. Speci... | 1 | 1 | 1,997 | 2016-04-27T23:25:45.780 | infrastructure | serverfault.com | |
674,526 | Is it possible to safely edit mysql-bin.index file while mysql server is running | I changed location of mysql bin-log files. I copied them so mysql started fine, because they where in both locations, but then removed them from old location. I forget about correcting the path in index file and now I have problems with purging old binary logs. So my question is it safe to correct paths in index file w... | This is not a supported procedure as highlighted in official MySQL documentation : To keep track of which binary log files have been used, mysqld also creates a binary log index file that contains the names of all used binary log files. By default, this has the same basename as the binary log file, with the extension '... | 1 | 2 | 2,264 | 2015-03-11T09:07:30.137 | database_errors | serverfault.com | |
139,400 | Please explain the benefit(s) of using an XML-based syntax (e.g. XAML) instead of normal source code (e.g. WinForms)? | First off, please note that this question is not about WPF vs. WinForms. What are the highest-ranking benefits that led Microsoft to invent XAML in favour of the “old” approach of generating compilable C# code? My impression is that other developers seem to find a lot of downsides to it, but Microsoft went with it rega... | The biggest benefit of XAML is that it allows you to describe your UI in an declarative way. That is, you don't so much say "create a box, now resize it", you say "create a box and btw, it's this size" The second place where XAML shines is that it really takes advantage of bindings. For instance: [CODE] In your view mo... | 9 | 7 | 2,335 | 2012-03-12T20:07:18.163 | api_errors | softwareengineering.stackexchange.com | |
935,721 | One domain with multiple MX servers and forwarding instead of erroring | I have a domain with few hundred email addresses. We are migrating our hosting to multiple ISPConfig servers. My problem is if someone sends email to [CODE] and if the email does not exists on the first server how can I tell the postfix not to reply with 550 5.1.1 ecipient address rejected: User unknown in virtual mail... | The transport_map is the way to go for figuring out how to deliver, but it kicks in AFTER the " smtpd_reject_unlisted_recipient" or smtpd_recipient_restrictions = reject_unlisted_recipient, ... So you need to add validation for recipients in the OTHER mailserver as well, not just users in the current server. You have i... | 0 | 2 | 672 | 2018-10-16T10:36:57.190 | database_errors | serverfault.com | |
105,626 | Can I use Active Directory for user-level security in an Access application? Pretty Please? | My company makes fairly extensive use of an Access + MySQL application that would probably see some significant traffic on the Daily WTF if I posted the source code. The management of users and their permissions is getting out of hand, and I seem to spend more and more time dealing with tweaking these or trying to figu... | I know it's possible to do, but very few Access developers seem to be doing it. If somebody else wrote the code, I'd use it myself, but don't need it enough to write it myself. The key concept is that you can access AD information via an LDAP query using ADO. There's no way to enforce permissions on Access objects with... | 4 | 4 | 1,755 | 2010-01-21T18:51:28.033 | api_errors | serverfault.com | |
31,606 | Not able to access iframe with random dynamic ids using Selenium webdriver.io | I am automating the payment page which is having the option to select payment method. On selection of credit card payment option, one iframe is generated from the third party and loaded with dynamic ids. The iframe id is generated randomly. I'm not able to access the iframe. It is throwing the error as element is not a... | This is the approach I would use based on the HTML provided. This example uses Selenium's C# bindings, but can be easily ported to any other language. [CODE] At this point, your driver will now be operating from the context of the iFrame. Note that this code does not make use of explicit waiting, which I would highly r... | 0 | 0 | 2,927 | 2018-01-17T16:30:50.320 | data_quality | sqa.stackexchange.com | |
286,627 | Get top two rows per group efficiently | Currently, I use a query with [CODE] to get a list of recent posts for each author. But how can I get previous recent posts for each author? In other words, how to make [CODE] return second row of each group, not first. I need this to compare recent post with previous one. [CODE] This query selects the most recent post... | [CODE] is only good to get a single ( distinct ) row per group. And only the one you can sort on top somehow. Even then it's only efficient with few rows per group. See: Select first row in each GROUP BY group? I am going to assume a big table with many posts per author (the typical case). Simple and slow Can be built ... | 3 | 3 | 5,000 | 2021-03-07T16:05:48.380 | warehouse_errors | dba.stackexchange.com | |
934,459 | Node-to-Node communication doesn't work with Kubernetes with Calico | I'm quite new to Kubernetes, event if it doesn't feel like after I spent dozens of hours trying to setup a working Kubernetes. The edge parameters: 1 master and 3 nodes set up using kubeadm kubernetes version 1.12.1, Calico 3.2 Primary IP addresses of hosts are 192.168.1.0/21x (relevant because this collides with defau... | So far, I found 3 problems: docker version In my first tries, I used docker.io from the default Ubuntu repositories (17.12.1-ce). In the tutorial https://computingforgeeks.com/how-to-setup-3-node-kubernetes-cluster-on-ubuntu-18-04-with-weave-net-cni/ , I discovered they recommend something different: [CODE] This is now... | 0 | 1 | 3,886 | 2018-10-08T09:02:04.267 | pipeline_ops | serverfault.com | |
845,806 | How to issue SSL certificate with SAN extension? | I have a pair of Root CA keys. How to issue a new SSL certificate with SAN (Subject Alternative Name) extension? I tried this [CODE] ssl.conf: [CODE] but generated certificate didn't contain SAN. However, self-signed certificate produced by the command below contains SAN: [CODE] | My CSR didn't contain SAN. Extensions should be specified in [CODE] instead of [CODE] . There is a bug in [CODE] command: Extensions in certificates are not transferred to certificate requests and vice versa. So I solved my problem with [CODE] command: Created empty [CODE] folder and empty [CODE] file. Edited [CODE] : ... | 4 | 3 | 18,166 | 2017-04-21T17:00:50.493 | api_errors | serverfault.com | |
23,599 | BULK INSERT permission on a single database | I work on a company that has straight IT security manners. I was hired as a Database Analyst in order to optimize some processes in our team. The problem is that I only have read and write permissions and I'm trying to work out in getting advanced permissions on the databases. Currently we have a lot of Databases in a ... | Ok folks, I've asked this on Brazilian msdn forum as well and I got the answer (Forum discussion: BULK INSERT por DATABASE ). The user Roberson Ferreira _ helped me. I imagine you can't read Portuguese so I will describe the answer here. Answer: It doesn't matter if the [CODE] is server-wide, the user won't be able to ... | 17 | 16 | 32,437 | 2012-09-03T13:56:22.937 | warehouse_errors | dba.stackexchange.com | |
229,773 | Large File Uploads Consume Disproportionate Amount of Memory | Thinking about this more, the question really is: why is Apache putting an in-progress upload in memory instead of on disk? I should be able to upload a file that's larger than the total memory available to the server. PHP never enters the equation, as the upload never finishes, and Apache dies before it can pass the f... | This is a known bug in mod_fcgid , but apparently the mod_fcgid architecture makes it difficult to address in a comprehensive way. At the moment, the best you can do is to upgrade to mod_fcgid 2.3.7 (or later); it has enhancements that at least release the memory at some point after the file upload has allocated it. My... | 1 | 2 | 1,513 | 2011-02-01T18:18:51.530 | infrastructure | serverfault.com | |
27,711 | Selenium C# - How to wait with WebDriverWait using the element as parameter instead of a locator? | I have a big problem, and I don't find the solution. I have 2 classes: Components_BI.cs with this component: [CODE] And Program.cs with this code: [CODE] How to wait for this element with waiting.Until command? | The easiest way is to create your own [CODE] class with methods accepting a [CODE] as parameter, for example: [CODE] With the implementation in the [CODE] class, which works exactly like the existing [CODE] methods. [CODE] | 7 | 5 | 24,406 | 2017-06-09T13:43:30.437 | data_quality | sqa.stackexchange.com | |
861,858 | Windows Terminal Server Access Denied after enabling SMBv1/CIFS role | I've just took over the one network and there is a terminal server 2012. The users faced an issue that they can't connect to the older shared folder(or even map them as network drive), so I've asked previous admin - did he know something about it and he said that he could, probably, accidentally or manually, disable th... | So, the solution was found. Actually, this was a mega-super-stupid typo while I was enabling the SMBv1 through the cmd. So, I've asked the lanman to depend on bRowser, not bowser and then I'v found out that , thanks to my typo, the lanman depends on browser and browser depends on lanman and they both can't be started. ... | 0 | 0 | 1,009 | 2017-07-12T23:07:05.897 | infrastructure | serverfault.com | |
364,216 | DEFLATE not working in IE9 | I posted this on stack overflow but it was suggested I may have more luck here: I have not used deflate before to encode web pages so this is new ground for me but when I look at nework traffic in ff my all.js file is now 117kb from 427kb so I seem to have it working here. But there is no change in IE9. My response hea... | Ithink I have worked out what is happening here. I downloaded Wireshark and checked network traffic through that. Istruggled with it a but but I think I've got it now - would be great if someone can confirm I have done this correctly. Looking at the file all.js as an example I followed the tcp stream for the request in... | 5 | 2 | 3,744 | 2012-02-27T18:38:18.713 | infrastructure | serverfault.com | |
355,107 | Check if variable is not null before setting to null | One of our team likes to write code like this (C#): [CODE] Rather than simply: [CODE] I've never used the former as I always assumed it was unnecessary, especially in a language like .Net. Before I get into a debate with them I wanted to know if there is any benefit in doing that check? This person comes from a Java ba... | If [CODE] is a property instead of a variable, and setting it has side-effects, that might be functionally different code. and setting it is considerably more involved than reading it, testing, and taking your chance with branch-misprediction, it might be more efficient. If [CODE] is in device-memory (in which case it ... | 6 | 10 | 1,000 | 2017-08-04T14:45:04.013 | api_errors | softwareengineering.stackexchange.com | |
1,035,495 | Minecraft server constantly crashing | I tried to make a VM instance on the Google cloud platform for my Minecraft server. But It's constantly crashing after a few hours. It says that I don't have enough memory but I think I allocated more then enough memory for a Minecraft server? I'm not very good at IT so I'm asking for your help please. Last Error log: ... | You don't have enough memory. Your server has 5972MB of available memory, of which 5800M you allocated for the memory allocation pool in the JVM. This means that the rest of the operating system, and the JVM itself shares 172MB memory total, which is way too low. So the problem is not the amount of memory you gave to t... | -1 | 1 | 526 | 2020-09-27T11:48:25.457 | infrastructure | serverfault.com | |
271,540 | Any advice on how much browser memory to use? | I am writing an angular application, and I'm wondering how much client side memory to use. I'm currently working on a scenario where there are 2 dropdowns. The second will load new values depending on the selection of the first. I'm thinking the max # of total records in the 2nd dropdown would be around 2000-3000 items... | What you're describing is called a "cascading dropdown." It's commonly used by car websites to get Year, Make and Model. I've seen a lot of these sites do an AJAX/JSON round trip for the sub-combos. There's a bit of a lag if you do this, unless it happens before the user opens the second dropdown. On a phone, I think y... | 1 | 2 | 187 | 2015-01-29T16:02:30.860 | api_errors | softwareengineering.stackexchange.com | |
437,987 | How to remove MySQL on boot | [CODE] But mysql runs on the startup anyway. | I'm guessing that the issue here is that checkconfig checks the old style init scripts, and you have a new upstart init script. Go to [CODE] and change [CODE] to [CODE] If you need to start it manually [CODE] will do the trick. This thread on ubuntu forums goes into some depth on the process A bit more background - chk... | 3 | 3 | 481 | 2012-10-13T09:03:21.897 | database_errors | serverfault.com | |
40,727 | When converting a table valued function to inline, why do I get a lazy spool? | I have a table valued function that I want to convert to inline to improve performance. It sets the value of variables to the value four bit columns in one row of a table (looking up the row using a function parameter as the key), then runs one or more of four different insert statements (differing only by the WHERE cl... | A "lazy" spool, is not really lazy in the "bad" sense of the word. It's lazy in that it may remove the need to re-scan the input data for the given operation, resulting most of the time , in improved performance. From this MSDN page : The Lazy Spool logical operator stores each row from its input in a hidden temporary ... | 3 | 4 | 569 | 2013-04-23T19:18:52.533 | warehouse_errors | dba.stackexchange.com | |
745,416 | Where does an unconfigured procmail put incoming mails? | When restarting my postfix with a slightly wrong config, a few mails that were waiting in the mail-queue were apparently delivered via procmail [CODE] However, procmail was never configured. There is no /etc/procmailrc nor anything else. I can't find anything at the usual places (/var/mail, /var/spool/*). Where would p... | Procmail can be configured in a variety of ways, also depending on how it was invoked. By default, in the absence of any [CODE] , you would expect delivery in [CODE] on most platforms where you can install Procmail as a precompiled package. If you compiled it yourself, you configured the precise location and delivery m... | 3 | 3 | 908 | 2015-12-27T10:31:12.653 | infrastructure | serverfault.com | |
788,567 | Add alias to Office 365 Group | We're trying to add an email alias (with a period, e.g. my.email@domain.com) to a Office 365 Group. Does anyone know if that is possible? We're trying out the new Office 365 Groups in Office 365 and for whatever reason we are unable to have a period in our Group Id so we've used a dash. Error: my.email@domain.com Works... | To add an alias to a distribution group or shared mailbox, you can access the Exchange Admin Center -> recipients -> groups (or shared) -> double click on the object -> email options, then you can click “+” to add an alias to this group (shared mailbox). And it's all! | 2 | 0 | 2,868 | 2016-07-07T20:13:27.573 | infrastructure | serverfault.com | |
152,572 | Methods to identify/recognise 'bad' parameter sniffing in SQL Server | There's lots of superb information out there about the certain approaches that can be used to mitigate bad parameter sniffing, but there's not a lot of information about how to go about identifying a bad parameter sniffing problem. Assuming you're not using SQL Server 2016 so can't leverage Query Store and you don't ha... | Identifying parameter sniffing is hard work! It may not be apparent using monitoring tools or queries, because it typically requires some analysis of other executions of the query plan. This is where the DMVs, and a plan cache analysis tool like sp_BlitzCache can help. You can download it here . Full disclosure: I work... | 4 | 5 | 656 | 2016-10-18T08:13:42.840 | database_errors | dba.stackexchange.com | |
22,960 | Single User test shows latency while load test passes for web application. Where to look for clues? | I am testing a Drupal/CMS-like Web Application for performance issues and have come across a strange situation. The application came for testing after users complained about perceived slowness. After initial analysis it was decided to do a load test for ~30 users (using HPE Load Runner). Steps performed are as below: P... | There are a number of possibilities: It may be that the load test is reusing existing connections instead of closing and reopening connections with each request. This would cause the load test to run better than the single user test. Make sure caching is turned off for the load test. Caching at the DB & web servers as ... | 1 | 2 | 195 | 2016-10-06T17:54:25.340 | data_quality | sqa.stackexchange.com | |
880,526 | No progress durign VM installation using a kickstarter file for Centos 7 | I am using a kick starter file to install a Centos 7 VM and the progress has nearly stalled without displaying any messages in the terminal. My kickstarter file is placed in [CODE] having the following contents: [CODE] The command that I'm using is as follows: [CODE] Soon after issuing the above, I get this: [CODE] Bey... | Nothing appeared because you ran [CODE] on a terminal which didn't have X display information available, thus it could not start [CODE] to show the console of the virtual machine. Eventually the VM's installation will finish and the VM will power off. At this point, [CODE] will restart the VM and exit itself. You can a... | 2 | 3 | 7,392 | 2017-10-26T23:42:28.947 | infrastructure | serverfault.com | |
285,311 | Find if and when a Query was run? | I am trying to get to the root of a problem and need to see if and when a specific Delete Query was run on my MS SQL Server. The command would have come from my .NET website. My Server is Windows 2012 R2 running SQL 2014 Express. The query would have run at some point in the last 3 weeks or so. | In a database where SQL Server Audit was not previously configured you could try to Read SQL Server Transaction Log Backups to Find When Transactions Occurred with the use of the undocumented function [CODE] . For future situations where you need to audit a database I advise you to Create a server audit and database au... | 0 | 2 | 58 | 2021-02-12T18:27:07.460 | database_errors | dba.stackexchange.com | |
16,737 | MySQL Server is Restarting automatically after some minutes | I am getting an Issue after everey 2-3 minutes [CODE] I am really not able to find why it is happening. I saw to my error log it says [CODE] Can Anybody please tell How to handle the Scenario.It is on one of the Production Server. EDIT RAM is of 7GB. And InnoDB Configuration in my.cnf are [CODE] | I suspect your max_allowed_packet and the presence of a large TEXT/BLOB field. I answered two questions in the past that involved mysql crashing because of the max_allowed_packet being too small. MySQL server has gone away obstructing import of large dumps InnoDB table SELECT returns ERROR 2006 (HY000): MySQL server ha... | 2 | 2 | 9,036 | 2012-04-19T04:40:32.450 | database_errors | dba.stackexchange.com | |
366,539 | How to implement an opaque handle in C# | I'm writing a library to be used by several applications. Some interfaces which my library declares and uses, and which are implemented by the application, look something like this: [CODE] The [CODE] method with [CODE] parameter tells the application to allocate some resources and return a handle to those resources: My... | The Plain answer is that any kind of mapping or up-casting is bad as it risks a run time error when it could otherwise be prevented by strongly typed classes. Edit: OP included app code. The solution is Generics, which allow you to specify a Type that your library has no knowledge of. [CODE] This allows the app to spec... | 2 | 1 | 2,202 | 2018-02-25T11:17:02.303 | api_errors | softwareengineering.stackexchange.com | |
800,263 | rsync two large storage servers | We have two large storage servers (+100TB), one runs on ZFS the other one runs XFS, we intent to use the XFS as our work server and use the ZFS as the backup server (snapshots The easiest option is to use rsync, but sadly the directory structure is deep, and full of hard links, all over the place. So this means we woul... | How fast is "fast enough"? You are doing this once per day, so I'd suspect that if it takes 2-3 hours, that is sufficient. In that case, "rsync -avP" should be all you need. The newest versions handle large directories, deep hierarchies, and doesn't require as much RAM as older versions. If no files changed, "rsync -a"... | 2 | 4 | 415 | 2016-08-31T16:19:37.067 | database_errors | serverfault.com | |
472,705 | Error with Installing Red5 | I have tried to install Red5 on Ubuntu. Now, I have followed the instructions here , but the build failed. What's the problem? Screenshot of the console is here I have tried to Google it, but i can't seem to find a solution. Thanks | Try downloading and installing sysout-over-slf4j and making sure it's in your java class path: http://projects.lidalia.org.uk/sysout-over-slf4j/quickstart.html | 0 | 0 | 241 | 2013-01-26T21:37:46.267 | infrastructure | serverfault.com | |
984,790 | How to access containerized service web interface from Docker host? | My home server is running Ubuntu (with the Desktop Environment installed). It hosts several docker containers for some services that are managed by web interface (Transmission, Sickrage, Openhab, Unifi controller,...). Per preference, I used the following for the networking of the containers : [CODE] This way, I do not... | The answer can be found here : https://docs.docker.com/v17.09/engine/userguide/networking/get-started-macvlan/#macvlan-bridge-mode-example-usage I needed to create a new network interface that is actually bridging with the macvlan : [CODE] Commands need elevated privileges. All became OK right away. | 2 | 0 | 757 | 2019-09-19T05:16:21.130 | pipeline_ops | serverfault.com | |
151,374 | Relationship between Repository and Unit of Work | I am going to implement a repository, and I would like to use the UOW pattern since the consumer of the repository could do several operations, and I want to commit them at once. After read several articles about the matter, I still don't get how to relate this two elements, depending on the article it is being done in... | Re: "UOW tracks the elements that needs be changed, and repository contains the logic to persist those changes, but... who call who?" You understand the basic responsibilities of these classes. You say that each of the articles, that you've read, connects them together in different ways. This implies that the decision ... | 17 | 8 | 9,539 | 2012-06-03T11:51:46.593 | api_errors | softwareengineering.stackexchange.com | |
102,007 | SSRS email Subscription Not Working but local smtp is working | SQL SERVER EDITION- 2008 ENTERPRISE EVALUATION EDITION Operating System- Window Server 2008 R2 I've Created Local Smtp to use gmail id for Subscription of SSRS Report by Email as we don't have an Exchange Server. Used this link to Create local SMTP for gmail Below is the Screen Shot of rsreportserver.Config File ERROR ... | It was seriously LOL. I gave NetworkService user full control to mailroot folder residing in C:\inetpub\ and Vola email was sent from localsmtp. I bet if someone has faced this problem and has find any solution like same. Reason OF Solution - login context/User that is rendering report on ReportServer and creating an e... | 0 | 0 | 2,564 | 2015-05-20T08:50:53.520 | hadoop_errors | dba.stackexchange.com | |
425,313 | centos 6.3 kvm external ip forwarding to guests | I have a centos 6.3 server with kvm installed. The server has 4 external ips and one NIC. [CODE] I use the following configuration [CODE] the configuration in ifcfg-eth0 is [CODE] and in the ifcfg-br0 [CODE] and I have 3 more aliases for br0 , br0:1 to get the trafic from the second external ip [CODE] br0:2 to get the ... | You are using a bridge, not routing. Don't configure the IP addresses on your host machine if you want to use them in the guests. You should not have [CODE] and the rest of them. | 1 | 1 | 603 | 2012-09-07T14:00:17.323 | infrastructure | serverfault.com | |
350,025 | Loose coupling of daemon process and administration interface | I have a daemon process, written in Java, which I would like to be configurable at runtime via an HTTP-based API. For a number of reasons, I'd rather keep the admin API separate from the daemon process itself: resilience: if the admin API fails, the daemon must continue running. separation of concerns: the admin API an... | To figure out what's the best solution you'll have to determine / define your non functional requirements. Some of the non functional requirements may be: Availability (changing the configuration must be possible at 99.9xxx% of a year). Security (changing the configuration must be permitted only to admin users) Time fo... | 3 | 1 | 207 | 2017-06-02T03:32:01.737 | pipeline_ops | softwareengineering.stackexchange.com | |
1,044,816 | HAProxy backend server returns "SSL handshake error" | I know it's a frequently asked question which often means there's a problem with certificate validation. It doesn't seem to be the case, because I do not verify the certificate. This is how my server specification looked in the beginning: [CODE] Later it evolved to [CODE] But it always returns the same error: [CODE] UR... | [CODE] The server in question requires SNI. Thus [CODE] instead of [CODE] need to be used. From the documentation : check-sni This option allows you to specify the SNI to be used when doing health checks over SSL. It is only possible to use a string to set . If you want to set a SNI for proxied traffic, see "sni". Ther... | 3 | 4 | 20,017 | 2020-12-03T10:42:45.817 | data_quality | serverfault.com | |
157,295 | Accessing MySQL through dynamic IP address | I am working on creating a MySQL database server for one of my school projects. I want to allow my teammates to access the server remotely using school network, but I discovered that their IP addresses varied whenever they reconnected to the school network, and it won't be desirable to manually add all the new IP addre... | you can use [CODE] as a wildcard to summarize source nets ands limit your attack vector. so instead of 192.168.68.34, use 192.168.68.% assuming they use a /24 address space for vpn. | 0 | 1 | 173 | 2016-12-06T03:00:39.680 | database_errors | dba.stackexchange.com | |
167,109 | What is the recommended MongoDB schema for this quiz-engine scenario? | I'm working on a quiz engine for learning a foreign language. The engine shows users four images simultaneously and then plays an audio file. The user has to match the audio to the correct image. Below is my MongoDB document structure. Each document consists of an image file reference and an array of references to audi... | I would store each guess as a separate document in a user guesses collection. The structure of each document would be as follows: [CODE] You may also store more information about the corresponding quick, such as the shown images and played audio. To generate statistics, you will need to run Map/Reduce over this collect... | 4 | 3 | 3,727 | 2012-10-02T16:11:27.757 | database_errors | softwareengineering.stackexchange.com | |
596,622 | Sending logs to remote server with rsyslog | I'm trying to setup centralized logging with Logstash, Elasticsearch and Kibana and am having trouble getting logs to my log server. Logstash is listening on TCP 5000 and is successfully receiving logs from one of my servers but not the rest. I can telnet to my log server on 5000 and Logstash is picking up the messages... | SELinux was blocking rsyslog from sending on port 5000. By default SELinux only allowes rsyslog to send traffic on UDP 514. I added an exception to SELinux with: [CODE] | 2 | 1 | 2,717 | 2014-05-16T21:01:04.130 | api_errors | serverfault.com | |
36,800 | The best laptop for a sysadmin | For those of you who still not tired of "XYZ for sysadmin" questions: This subject is bothering me for a long time. I had number of problems selecting notebook for job. For example: Notebook vs Netbook is the real problem too. First has more comfortable keyboard and bigger screen and almost always faster. Second is sma... | I've gone pretty much 'USB everything' so all the extras stay in the bag until needed. USB serial port, USB ethernet adapter ( I hear you about sometimes needing two NICs! ), USB CD/DVD-RW. The weight still adds up on the shoulder, but the base machine then requires nothing more than a USB port (or two or three unless ... | 11 | 25 | 2,710 | 2009-07-07T03:54:37.657 | infrastructure | serverfault.com | |
918,261 | Issues with forwarding a subdomain to another port with Apache proxy | I have a server running Apache with a HTTPS site running on [CODE] and [CODE] . I'm trying to add a new site that will forward [CODE] to another port on the same server (a Docker container is listening to this other port). My Apache sites are configured as follow, www.example.com.conf: [CODE] newsite.example.com.conf: ... | You don't have the [CODE] directive in the "newsite" virtualhost definition, so it answers only to plain HTML on port 443. You need to specify the SSL directives for every virtual host which is supposed to speak SSL. You might want to specify the following directives for newsite: [CODE] The former is necessary for SSL ... | 0 | 1 | 202 | 2018-06-26T10:57:17.053 | api_errors | serverfault.com | |
292,011 | Installing PostgreSQL 9.0 on FreeBSD | My installation of [CODE] fails on a FreeBSD box. The installation blocks on [CODE] , at the following step (while CPU usage tops 100%): [CODE] The last lines of [CODE] are: [CODE] (the exit is due to the ^C of my part). You can find the complete file here: https://gist.github.com/1093873 The system details are: [CODE]... | General steps for troubleshooting FreeBSD ports [CODE] Try building the port again. If it fails: Did it fail in the same place? If not, consider the possibility you may have bad RAM. See if anyone else has had a similar problem If not, Submit a problem report or ask on the ports mailing list/contact the port maintainer... | 1 | 1 | 513 | 2011-07-19T22:15:07.377 | database_errors | serverfault.com | |
1,046,493 | Why might a return statement in nginx.conf return a plain text file location to the browser instead of the actual file to be rendered? | Environment: Nginx, Node.js I'm experimenting with error handling in Nginx and I'm having no luck returning files. In the simplified [CODE] below if the http [CODE] is not [CODE] , [CODE] or [CODE] I'd like the server to return the 405.html error page. Hoped for output: 405.html is sent to the browser. Actual output: t... | The URL after [CODE] is treated only as a target URL for redirection code (301, 302, 303, 307 and 308 status codes). The documentation doesn't clearly tell what it does when code is something else. To get an error page in your case, use the following: [CODE] This will tell nginx to send [CODE] when status code 405 is r... | 1 | 2 | 1,298 | 2020-12-16T19:34:49.163 | infrastructure | serverfault.com | |
769,724 | Redirect one vhost to another vhost with SSL in Apache | Here is my situation: I have two CNAME domains ( [CODE] and [CODE] ) that point to the same IP/machine and I want to redirect one of the two to the other one, like [CODE] to [CODE] . [CODE] has a valid SSL certificate, if it matters. And I have the following settings: In [CODE] : [CODE] In [CODE] : [CODE] -- What I hav... | I suggest you to use A record over CNAME in DNS settings to simplify the proceedings. Refer Differences between the A, CNAME, ALIAS and URL records Following vhost config would fulfill your requirement. 1) HTTP domain.one.com to HTTPS domain.two.com [CODE] 2) For both HTTP and HTTPS domain.one.com to HTTPS domain.two.c... | 0 | 1 | 6,983 | 2016-04-12T09:44:59.480 | api_errors | serverfault.com | |
354,071 | Intel e1000e Stuck at 10Mbps | This is a brand new SuperMicro X9SCL-F with an Intel 82579LM adapter and a fresh install of CentOS 6.2 with cPanel. I am stuck at 10MBPS, I've tried everything. I've installed the latest 1.95 driver from Intel too, which seems to have fixed this problem for everyone else. These commands do nothing. [CODE] They result w... | Since it seems like you have already spent a fair amount of time verifying that your equipment is working, it might be time to step back and perform a one of those really basic, should have been obvious checks. Double check that the switch/hub/device you are connected too, actually supports a link speed greater then 10... | 3 | 4 | 10,058 | 2012-01-26T21:53:27.103 | infrastructure | serverfault.com | |
726,305 | Unable to unstall mongodb, Debian 6.0 | When I run sudo apt-get purge mongodb-org*, I get this: [CODE] What can be wrong? | looks like a buggy postrm script trying to manipulate stuff that has already been removed. The script should be at /var/lib/dpkg/info/mongodb-org-server.postrm . You can edit or remove it. | 0 | 0 | 295 | 2015-10-02T15:09:02.327 | database_errors | serverfault.com | |
1,068,978 | PuTTy/KiTTy Killed by Global VPN Client, Cannot Reconnect | Running PuTTy/KiTTy on a W10 machine, I connect to a work VPN (Global VPN Client). Connect fine, but connection is killed due to (I suspect) inactivity. That's fine. Sys admin has recommended to use the following: keepalives turned off (set to 0), using Auto for IPv, and check "Attempt to reconnect on connection failur... | It appears this is an issue related to my ISP, or their equipment. We have replicated the issue on other devices from this connection, however it does not effect devices using a different connection. | 0 | 0 | 470 | 2021-07-08T09:07:44.200 | infrastructure | serverfault.com | |
123,688 | SQL Server 2005 to 2008 upgrade - are MDF files binary compatible? | I have 50 databases on a MS SQL Server 2005 system and want to upgrade to MS SQL Server 2008. This is what I tried on some test machines: 1. copied the \DATA directory from the source (MSSQL 2005) to exactly the same path on the target (MSSQL 2008) server. 2. edited the startup parameters on the MSSQL 2008 service to p... | You may have some subtle issues with compatibility level (eg the new MERGE won't work) but since SQL Server 7 it's been a lot easier. Saying that, you can't roll these MDFs back to SQL Server 2005 now anyway: the internal version has been changed. The SQL Server event log will show this happening on server startup (the... | 3 | 3 | 799 | 2010-03-18T03:10:52.267 | database_errors | serverfault.com | |
829,320 | Set IIS website Classic ASP session timeout using Powershell | How do I set the Classic ASP Session timeout in IIS 8.5 using powershell? I've taken a look at using [CODE] but can't work out how to use it correctly. | I hope this will help you. [CODE] Link(s) Jeong's Blog - IIS Powershell User guide - Comparing representative IIS UI tasks https://blogs.iis.net/jeonghwan/iis-powershell-user-guide-comparing-representative-iis-ui-tasks | 3 | 2 | 4,033 | 2017-01-29T22:09:05.470 | infrastructure | serverfault.com | |
8,270 | Problems with using non-identical machines in Windows Server 2008 failover clustering? | In a two-node Windows Server 2008 failover cluster, is it required that the machines be identical? We're looking to utilize existing hardware to reduce downtime using one very fast server and one only moderately fast server, both Dell PowerEdges but of different generations. I've found the following suggestions that yo... | They are not required , but as you have quoted, they are recommended. I have seen clusters where one half is a physical machine and the other is a VM. edit For support reasons in most cases you should not, but during a failover, as long as both sides of the cluster are able to handle the resource shift, you should be f... | 1 | 2 | 1,358 | 2009-05-14T16:21:41.330 | database_errors | serverfault.com | |
46,941 | Loss is decreasing but val_loss not! | If loss is decreasing but val_loss not, what is the problem and how can I fix it? I get such vague result: | This indicates that model is not generalizing (it is over-fitting). Few options are : Get more training data Reduce complexity of model (Number of LSTM layers, complexity of dense layers) Andrew NG has a good video on this topic : https://www.youtube.com/watch?v=OSd30QGMl88 A tutorial specific to LSTM : https://machine... | 2 | 4 | 7,231 | 2019-03-08T15:25:44.103 | data_quality | datascience.stackexchange.com | |
862,574 | Autoload port forwording in ssh | I need to forwarding a port to another server through ssh, I made this code to check if the port is open: [CODE] I run this code through a cron, the code works, but opens many connections to the ssh-server and the server goes down after a few hours. | This is not a job for [CODE] . Use something like [CODE] instead. | 0 | 2 | 39 | 2017-07-17T13:56:44.630 | infrastructure | serverfault.com | |
448,672 | how to deal with schema/constraint changes in insert-only Relational DBs? | as per request, I'll reduce this whole set of questions to 1-2 core points (thanks for the feedback ;)). I'm considering using insert-only tables for keeping the history of my data. while the productive usage is pretty clear to me by now, I'm still struggling to find a solution for some problems from a continued develo... | The historical insert only table should only have 1 constraint, and that is to the primary key of the record that it is keeping tracking of. No other constraints/FKs should exist, even though they may exist in the source table. As far as changing columns data types, if the source table is moving from the string to a nu... | 3 | 3 | 115 | 2023-11-16T09:36:03.257 | data_quality | softwareengineering.stackexchange.com | |
287,316 | Run DELETE on each INSERT to enforce row limit | Using PostgreSQL 11. Consider a table like [CODE] Now, the requirement is that only 100 rows are stored per [CODE] . If more data comes in, the oldest logs have to be deleted. If, for a short time, 101 rows are stored, it's not the end of the world, however. It's fine if the superfluous row gets deleted with a few seco... | If you have an index on user_id, you can drop it and replace it with an index on (user_id,timestamp). This will also save a sort when displaying the latest log entries (WHERE user_id=... ORDER BY timestamp DESC LIMIT n). Then: [CODE] If there are more than 100 rows, this will return the timestamp of the 100th row. Othe... | 0 | 1 | 842 | 2021-03-19T09:18:32.760 | database_errors | dba.stackexchange.com | |
463,742 | MySQL Tweaking for performance | [CODE] Does adding the quick help with 10GB mysql database dumps every night? I also added [CODE] would that help fix corrupted tables issues sometimes it seems like dumping big databases causes corruptions | Here is the official explanation of quick: [CODE] So for large tables this will help, if you can't fit the table into memory. But, important to note here, if you are using MyISAM it will lock the table each time is reads a row (it also locks it when dumping the row-set). InnoDB uses row-level locking instead of table-l... | 0 | 0 | 586 | 2013-01-07T17:12:41.080 | database_errors | serverfault.com | |
718,032 | How to allocate bandwidth for specific process | I have nginx php server with Debian OS on my production VPS , the problem is that nginx eats all of my bandwidth. When I try to upload something using ftp, the connection times out most of the times. Today I killed the nginx process and tried to upload something with ftp and it worked with stable speed and faster conne... | There is a built in traffic shaper in linux kernel. You can implement it by tc directive. In your case I'd reccomend this: 1) Create a root directive [CODE] 2) Create a directive tree both both traffic classes (256k for http and 64k for ftp) [CODE] You can find very thorough explanation here http://lartc.org/howto/ | -1 | 5 | 148 | 2015-08-31T14:57:31.460 | infrastructure | serverfault.com | |
244,971 | Exception handling in WIn Forms application | When handling exceptions for example in a method in my presentation logic, is it ok to catch all possible exceptions in a one catch block as follows if the only purpose here is alerting the user. [CODE] Or else should we always catch every possible exceptions (like [CODE] , [CODE] etc. followed by more generalized exce... | IMHO if that is ok depends mostly on the context of the [CODE] method, and what you know about the stuff in the [CODE] -block. Lets assume you have an UI application, and the [CODE] part is just a Button-Click handler. Lets further assume the part within the [CODE] block does some fairly complex non-UI things which mig... | 1 | 2 | 1,433 | 2014-06-14T06:52:08.320 | pipeline_ops | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.