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 |
|---|---|---|---|---|---|---|---|---|---|---|
78,864 | Summing a column based on uniqueness of another column without using temporary table | I have a table like this: [CODE] This table has files that contains same ( [CODE] , [CODE] ) with different [CODE] in it. It should be noted that two file records containing the same [CODE] will have the same [CODE] . What I'm looking for is the total size of unique files in this table. Uniqueness is based on [CODE] co... | I would suggest normalizing data and splitting the table into the following two tables: [CODE] This eliminates the possibility of inconsistency between [CODE] and [CODE] fields, and the total size of all (unique) files can be obtained with the query: [CODE] If you need the original (denormalized) structure, you can per... | 1 | 1 | 123 | 2014-10-10T09:05:35.067 | warehouse_errors | dba.stackexchange.com | |
478,715 | Cisco SSL VPN with Windows 7 Client? | I have a Cisco ISR model 1841 running IOS 12.4 I would like to replace my aged SonicWall pro2040 with it. The main problem I am trying to find a solution to is whether or not I am first create an SSL VPN server on the 1841. From what I found that is pretty much a yes if you have the right IOS. Which I am not sure if I ... | Please do allow me to present you with the following: Option 1: I am afraid, within the scope of my knowledge, that you will need to look at setting up a L2TP configuration which will work directly with the Windows-based VPN connectivity options. This option will be require a fair bit of elbow grease and documentation ... | 0 | 0 | 212 | 2013-02-14T08:24:45.950 | infrastructure | serverfault.com | |
956,834 | Windows update KB4487022 download and installing issue | I am having the below issue with an aging Windows Server 2008. Prior to this there have been no issues installing updates. The 'problem' update is 2019-02 Preview of Monthly Quality Rollup for Windows Server 2008. KB4487022. From Windows Update, I get the following :- From the Event Viewer (Application nad Services Log... | I had the same problem on one of my Server 2008 R1 machines, and was watching this question too but didn't have enough rep to comment my progress. It looks like that update has now been superseded by KB4489880, which installs without issue. My guess is that it was a problem with the update rather than the server. As fo... | 2 | 1 | 2,628 | 2019-03-05T12:55:20.357 | database_errors | serverfault.com | |
37,160 | Modeling staff dimension in data warehouse | I need to write a data warehouse diagram. I've got a problem with staff area. I have to store a information about workers details like name, age etc., and workers job time and agreement details like job_start, job_end, salary etc. Firstly, I tried to draw a dimension for each data, but I consider whether it should be d... | Typically dimensional modelling starts by identifying facts and the dimensions about those facts. Most of those things you mention are dimension attributes. Staff/employees alone and their place in an organization is probably going to be modeled with a factless fact table . You may well have a supervisor/employee relat... | 1 | 6 | 2,563 | 2013-03-20T15:59:11.957 | warehouse_errors | dba.stackexchange.com | |
278,187 | Can I use SQL Server tools (like Management Studio, profiler) on any number of computers? | Possible Duplicate: Can you help me with my software licensing question? We have bought SQL Server Enterprise version. Can we install client tools on any number of computers to connect to the database? | Yes, if you have the per processor license for SQL Server. You'll need a CAL for each client if you bought server/CAL licenses though (either per device or per user). Edit about CALs: You do not need CALs for: any of your servers licensed or and running instances of the server software, and up to two devices or users t... | 1 | 2 | 10,154 | 2011-06-08T07:57:34.347 | data_quality | serverfault.com | |
97,459 | What should developers know about UNIX-based systems? | I'm a bit amazed that this hasn't been asked by anyone yet, but at a high level, what should every developer know about working with UNIX-based systems? My *nix experience is very limited, because I have absolutely no reason to use it over Windows for my own purposes, but I have two interviews coming up where the compa... | Besides the basics like how to use the command line and so on I think that the fundamental is to understand how the system is structured. I think the biggest difference when one comes from Windows to Unix is understanding how the system fits together. Windows fits together by the means of it's API and underlying OS com... | 8 | 8 | 9,456 | 2011-07-31T23:56:51.780 | api_errors | softwareengineering.stackexchange.com | |
314,340 | When exactly are IMMEDIATE constraints checked and what exactly is a "statement" in Postgres? | I'm currently confused on the exact timing of IMMEDIATE constraint checks. Hopefully, the following example captures my confusion: [CODE] In the second query, despite referencing t1, [CODE] will throw its exception first, which result in the fkey exception being swallowed. Of course, there are workarounds, but I'd like... | As mentioned in a comment, a statement is everything between the previous statement terminator (usually a semicolon) and the next one, so this is one statement: [CODE] and the processing goes like this: Insert stuff. Bail out if a primary key, unique, or check constraint is violated. Scan the [CODE] result set. For eac... | 4 | 11 | 627 | 2022-07-12T23:19:06.453 | data_quality | dba.stackexchange.com | |
655,586 | Reverse DNS Lookups | Morning All, I've been handed a domain with c.150k DNS records in it for a total of 100k machines. The DNS records are all in a single forward lookup zone on the same domain and just to be helpful, there is no reverse lookup zone. Since Scavenging and Ageing is not an option (just my luck!), I need to find an easy way ... | If you can export as a CSV then import in to Excel then you can use the conditional formatting to generate a list of duplicates? http://www.tech-recipes.com/rx/35290/excel-2013-find-duplicate-data-using-conditional-formatting/ | 13 | 8 | 2,058 | 2014-12-31T11:31:43.337 | data_quality | serverfault.com | |
697,418 | How to tell outlook 2013 where to pick up certificates for exchange 2013? | We got new exchange 2013 server in place and using OWA for long time. now we are trying to push outlook 2013 application to all users. Some of users can run outlook 2013 app without any issue. Some of users get errors saying that "can't connect to exchange server, server must be online". When user create an outlook pro... | You install your certificates on the server that holds the Client Access Service role, when clients connect to the CAS they will use it when Outlook is configured. How many Exchange servers do you have in the environment? | 0 | 1 | 133 | 2015-06-08T15:21:50.003 | infrastructure | serverfault.com | |
1,100,418 | Configuring Postfix to Restrict User Access to the Postfix "Sendmail" Command | Reading at http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions , we see that, by default, network mail relay access to postfix is restricted to "local" or "authenticated" users: smtpd_relay_restrictions (default: permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination) Access restrictions for... | Reading at http://www.postfix.org/sendmail.1.html , we see: Postfix sendmail(1) relies on the postdrop(1) command to create a queue file in the maildrop directory. And then, reading at http://www.postfix.org/postdrop.1.html : The following main.cf parameters are especially relevant to this program. authorized_submit_us... | 1 | 1 | 1,113 | 2022-05-07T22:56:04.957 | api_errors | serverfault.com | |
341,662 | Add Two Bridged Interfaces on Ubuntu for KVM | I have ran the following; [CODE] And added the following to /etc/network/interfaces; [CODE] This works perfectly; My XP VM can see the LAN and be reached via the LAN on my laptop. I have another VM I want to do the same with; so I am running two fully reachable VMs on my laptop. I have ran; [CODE] But then I get the fo... | show us [CODE] You can have more bridges, but you don`t need one bridge for each VM! my interfaces (with serving 9 VMs): [CODE] | 0 | 2 | 1,819 | 2011-12-16T16:05:21.553 | infrastructure | serverfault.com | |
345,845 | How to restore apache configuration? | I have placed .htaccess file in my server's root folder with following content, [CODE] to redirect my index.html to index.php, but it has created one issue that some the my [CODE] files are not getting displayed, it displays blank page. so want to restore all the changes done by [CODE] file, do anyone have any idea how... | The .htaccess file does not change any configuration in your server. If you don't want it, you can just remove the file, rename it, or move it out of your server path. | -1 | 1 | 265 | 2012-01-02T09:06:55.333 | database_errors | serverfault.com | |
13,943 | What is EngineServer.exe and should I kill it? | I've got this process running on my work computer and it's starting to take up quite a bit of memory. I know it belongs to McAffee but, is it possible to disable it directly? killing it from the Task Manager doesn't work. Thanks Niall | Check out this post on the McAfee forums (kinda old) regarding a possible memory leak with that binary. There's a suggestion of upgrading near the bottom. | 0 | 1 | 13,792 | 2009-05-28T16:28:15.877 | infrastructure | serverfault.com | |
446,366 | How to pass simulation information to a simulated device that uses a generic interface? | Currently, I am developing a software in C# (.NET 6) that tests devices after production. Therefore, it runs specific tests, e.g., voltage measurements, using the connected hardware. If the voltages are not in the expected range, the tested device will fail. I implemented the voltage measurements using a generic IVoltM... | You describe doing voltage measurements on a hardware device that should generally result in a sequence of different voltages, but where sometimes a measurement needs to be repeated. You don't describe what causes the hardware device to provide different voltages, but most likely you also have a way in your software to... | -1 | 2 | 121 | 2023-07-05T13:59:40.267 | api_errors | softwareengineering.stackexchange.com | |
84,577 | Index optimization on a view using a full outer join | Table structure: [CODE] [CODE] has a unique index on [CODE] + [CODE] [CODE] has a FK to Foo, and a unique index on [CODE] + [CODE] , which includes [CODE] [CODE] has a unique index on [CODE] + [CODE] + [CODE] , which includes [CODE] Now I need to create a report showing the sum of all FooChild amounts alongside the cou... | The optimizer makes choices based on costing estimates. The cost model is generic, and may not always choose optimal plans for your particular hardware, and its assumptions may not always be valid for your circumstances. In this case, the optimizer assesses a hash join as the cheaper option over nested loops when the e... | 1 | 3 | 337 | 2014-12-08T09:05:51.327 | database_errors | dba.stackexchange.com | |
1,051,356 | How to run multiple subdomain under same IP in apache2 | I am trying to run dev1.domain.com and dev2.domain.com under the same IP address. My virtualhost configs are correct. What is happening is when I try to go to dev2.domain.com, it automatically redirected to dev1.domain.com. I ran the following command [CODE] which shows me the following output [CODE] As You can see apa... | The default vhost is the vhost served when no other vhost matches the domain in the configuration. Unless otherwise configured, the default vhost is the first vhost configured. If your default vhost is being served then the domain you are trying to connect to does not match any vhost that is configured. Files are read ... | 1 | 1 | 1,449 | 2021-01-27T08:12:15.763 | infrastructure | serverfault.com | |
614,324 | How can I get MacPorts to create symlinks to MySQL Server? | I have installed [CODE] using MacPorts 2.3.1 on a Mac Mini server being used within a commercial intranet environment. The installation ran smoothly (no errors or warnings) but the symlinks to the binaries (which are in [CODE] ) have not been placed in [CODE] , which normally happens when installing using MacPorts. I c... | I ended up solving this myself. I had forgotten to run this command: [CODE] This relatively simple problem was deceptively hard to solve, so I hope this information proves helpful to others. | -1 | 0 | 119 | 2014-07-21T23:24:34.917 | database_errors | serverfault.com | |
557,916 | Error installing php-mysqlnd | I've been trying to install phpmysqlnd, but I'm not sure what's going wrong. This is on a CentOS system. I run the commands: [CODE] The first one is a success, but the second errors out, saying: [CODE] I'm honestly not too familiar with these kinds of installs, so any help with getting this to work would be greatly app... | You're trying to install a PHP module provided by a third party repository; to do this requires that your version of PHP be in sync with that provided by the repository. Unfortunately this couldn't be done because the third party repository is missing the necessary packages. To resolve this you will need to contact the... | 0 | 0 | 780 | 2013-11-27T22:38:31.543 | database_errors | serverfault.com | |
60,662 | ValueError: Expected 2D array, got 1D array instead: | I was following this example online for simple text classification And when I create the classifier object like this [CODE] and run predict on the test data it gives an error [CODE] ValueError: Expected 2D array, got 1D array instead: But when I do the same thing using Pipeline it works as in the example [CODE] Out[37]... | It seems to be because the predict method on your [CODE] object requires the input to match the input of the first object in your pipeline, which is the [CODE] . It any case, it only requires an iterable object, which your 1d array indeed is. The classifier you train without the pipeline ends up being a MultinomialNB o... | 0 | 1 | 2,002 | 2019-09-23T21:51:14.663 | pipeline_ops | datascience.stackexchange.com | |
66,075 | Version lie shim for SQL Server 2014 | SQL Server 2014 is sufficiently new that not a lot of the 3rd party tooling has caught up with it yet. I'm looking at Red Gate and TOAD in particular... Is there any way of putting a version lie shim in place on the server until these tools have released newer versions? EDIT: 2014-05-29 16:00 IST In response to the hol... | Nope. You'll have to hold off on Monitoring with the 3rd party tools until they release new builds which support the new versions. The good news is that they are all smallish companies so they can release new builds pretty quickly. I'd recommend contacting their support departments and see if there's a new build availa... | 3 | 3 | 151 | 2014-05-28T14:53:20.863 | database_errors | dba.stackexchange.com | |
623,125 | SCVMM 2012 R2 - Installing Virtual Switch Fails with Error 2916 | So I've been attempting to teach myself SCVMM 2012 and Hyper-V Server 2012 R2, and I seem to have hit a snag. I've connected my Hyper-V Host to SCVMM 2012 successfully, and created a logical network, logical switch, and uplink port profile (which I essentially blew through with the default settings). However when I att... | Here comes the inevitable /facepalm I should've seen coming as soon as I opened this thread. What I had been doing the whole time was joining my physical NIC to the logical switch...but I wasn't creating a virtual NIC to connect to the newly created vSwitch. So the host didn't have anything to use to connect to the net... | 1 | 0 | 6,752 | 2014-08-21T17:28:56.707 | api_errors | serverfault.com | |
532,924 | Why is uWSGI not loading the app specified in the nginx configuration? | I have a server serving multiple Django sites using nginx (1.1.19) and uWSGI (0.9.8). uWSGI is running in VirtualHosting mode and loading apps dynamically as documented here: http://projects.unbit.it/uwsgi/wiki/VirtualHosting There are currently 5 Django sites running on the server with nginx configurations like this: ... | Not sure why existing sites are working but you need to name your wsgi files with unique names. For some reason, if you have bunch of wsgi files with the same name, uwsgi loads any of them. | 0 | 1 | 1,320 | 2013-08-22T12:31:11.753 | infrastructure | serverfault.com | |
2,218 | SQL Server Issue: Login failed for user 'username' | I am running a copy of SQL Server 2008 Standard and trying to setup a new user login for access to a DB through a web app. I am using Security -> Logins -> Add login to create the user. Login name and password is specified Default database has been selected I am using a "public" server role I am mapping to the DB I req... | Check if the SQL Server is running SQL Server Authentication. In Microsoft SQL Server Management Studio, right click the database server, choose Properties and see the Server authentication section in the Security page. | 8 | 19 | 49,984 | 2009-05-01T07:35:05.933 | database_errors | serverfault.com | |
153,967 | How to stop a .NET application from being duplicated? | I have created a .net windows form application that I want to restrict from being duplicated. I want this application to be portable, so I would like to allow it to be moved. How would I be able to do this without managing it through a remote server? | That's a pretty elusive target. The tighter you bind your application to a particular location, the less happy your customers will be with you whenever the inevitable computer maintenance comes up. And it comes up quite frequently. One trick is to bind to particulars within the hardware of the device. MS Windows XP and... | 0 | 8 | 1,274 | 2012-06-23T04:45:04.347 | data_quality | softwareengineering.stackexchange.com | |
1,128,664 | Mariadb creates a subprocess after crash | We recently had a crash on our Mariadb server (10.6.5) on a Debian 9 VM. The process was restarted without error but now there's a second mariadb process like so : [CODE] which seems to be a subprocess of the first one. We can't stop those two processes with [CODE] The command hangs indefinitely. The only way to get ri... | First, its not a subprocess, its a previous version of MariaDB that was running before. Most likely its from a instance that failed to stop within the timeout. Obviously MariaDB isn't meant to run like this. The result is two instances without awareness of each other modifying the same files which as you can see is fat... | 0 | 0 | 138 | 2023-04-14T09:07:26.107 | database_errors | serverfault.com | |
3,981 | Zimbra installation not working | Symptoms : our mail server, a dedicated Fedora server with zimbra, stopped working, in such a way we couldn't even log in with SSH. Soft reboots, through our web admin console, did make it work again, for 6-8 hours, and came crashing down. Putting Zimbra services and the whole server on autorestart didn't help. These s... | I suppose it could have something to do with the machine "not being able to find itself". I make a practice of putting the machine's own IP address in /etc/hosts, so that whether a particular service is bound to 127.0.0.1 XOR to the external address, it will be able to connect to that service. I agree, you have provide... | 0 | 3 | 315 | 2009-05-04T13:22:02.750 | infrastructure | serverfault.com | |
6,506 | What do you have on your (physical) desk? | I'm settling in a new office and except the obvious (PC, screen, mouse, keyboard) and the can't-work-without earphones, tissue box, Philips screwdriver and stack (overflow?) of papers my table looks poor, empty and not functional. Which tools of the trade do you keep in your desk? What proves useful to keep within an a... | An external hard drive dock always comes along handy. Such as this one . | 2 | 5 | 245 | 2009-05-08T22:14:20.533 | infrastructure | serverfault.com | |
122,640 | How many features is too many when using feature selection methods? | Now obviously there is no such thing as an ideal number as every problem is different, but I've been Googling, ChatGPTing, & Youtubing this question for a few days now and I am constantly getting conflicting feedback. Some sources say you should throw as many features as you can engineer that are within reason to the p... | Feature selections is a very conflicting topic as different people will have different opinions. Also what works on one dataset might not work at all for a different dataset. IMHO, the best and the most accurate Feature Selection technique out there is Domain Knowledge . Use it to remove noise feature or create new use... | 1 | 1 | 2,081 | 2023-07-09T20:55:47.713 | data_quality | datascience.stackexchange.com | |
855,114 | sftp with chroot without ssh access | I'm trying to have some users able to sftp but not ssh. I've looked at OpenSSH: Difference between internal-sftp and sftp-server and Trying to ChrootDirectory an SFTP user to their home directory Inside of sshd_config I have the lines [CODE] Filezilla gives me [CODE] When I comment out the [CODE] I am able to connect f... | I'm going to go out on a limb here and guess it's file permissions. If you use ChrootDirectory everything in the path following needs to be owned by root and not group writable (see man sshd_config). And just to make sure, you did add your users to group sftponly and all that stuff... | 0 | 1 | 798 | 2017-06-11T11:05:25.767 | infrastructure | serverfault.com | |
551,640 | getting "packet counter not numeric" when setting iptables dnslimit | I get this exact error: [CODE] What am I doing wrong? | You are failing to provide packet and byte counts to the [CODE] flag, which is being interpreted as an unambiguous match for [CODE] , aka [CODE] . From [CODE] : -c, --set-counters packets bytes This enables the administrator to initialize the packet and byte counters of a rule (during INSERT, APPEND, REPLACE operations... | 0 | 1 | 1,544 | 2013-11-08T13:22:29.727 | infrastructure | serverfault.com | |
209,506 | Create table partitions on different filegroups, the first boundary on a Memory Optimised filegroup | 99% of all our transactions are against the latest week's data, a WEEK_SELECTOR column describing which week is being described. Partitioning our billion+ row table by week would be beneficial, more so if the half million or so rows for the latest week were in an in-memory partition. On attempting to split the top week... | Partitioning memory-optimized tables directly is not yet supported. See SQL Server Features Not Supported for In-Memory OLTP . A workaround is described in the documentation Application Pattern for Partitioning Memory-Optimized Tables You can emulate partitioned tables with memory-optimized tables by maintaining a part... | 2 | 5 | 563 | 2018-06-13T09:11:51.543 | warehouse_errors | dba.stackexchange.com | |
113,504 | Understanding Classification model results | In a certain binary classifcation problem I am getting a AUC of 1 and Accuracy,FI,Recall,Precision of ~99.7 both in train,test and holdout sets. But when I run the model on unlabelled data which I want to predict, I feel there is something wrong, as my model is able to predict only 100 1s and the rest 1.3 lakhs tagged ... | Their seems to be class imbalance issue one of your class is Minority while the other is majority. So you will get high accuracy even if the minority class is not having good accurate . one of the way to check this is to find out class wise accuracy .you can do this by using classification report function of sklearn. t... | 0 | 0 | 27 | 2022-08-14T10:27:09.923 | data_quality | datascience.stackexchange.com | |
951,079 | Where does the permissions of '/tmp' folder inside a docker container inherited from? | I have a PHP docker container failed to start saying that [CODE] I found that the '/tmp' folder's permission is [CODE] . When I change it to [CODE] , the container works as normal. I might have done something wrong to my host system to debug another unrelated problem. But I don't remember what I have done and what coul... | You should find the answer in the Dockerfile. Either the base image has already those wrong perms, or the Dockerfile is doing something bad during image build. In both cases, you can just fix this problem in the Dockerfile, and rebuild a new image. | 2 | 1 | 18,829 | 2019-01-28T08:45:02.750 | pipeline_ops | serverfault.com | |
211,020 | Python code in T-SQL environment gives "access a socket in a way forbidden by its access permissions" Error | Help on the following please. I have this code Python Code [CODE] which runs fine in command line mode and returns the 200 status code. The same code in T-SQL query window fails with OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions [CODE] Error in execution. ... | Open the Windows Firewall and look for a rule called " Block network access for R local user accounts in SQL Server instance MSSQLSERVER " (assuming you have a default instance). This Firewall rule blocks network access from SQL Server external scripts. You can disable the rule if you want to allow network access. | 1 | 1 | 1,272 | 2018-06-30T00:30:04.460 | api_errors | dba.stackexchange.com | |
1,019,662 | Block bruteforce attempts with nginx & cloudflare without rate limiting | So I discovered servers trying to bruteforce my API so I want to block them...but my specific scenario made it difficult to work with common solutions found on the internet. 1) I don't want to just rate limit, if any IP attempts to authenticate with the API and fail more than X times in ~6 hours I want to block them. N... | There are a few things you could do, you could farm out the task to Cloudflare before it even hits your network by developing a Cloudflare Worker monitoring for abuse: https://workers.cloudflare.com/ If you want to keep the monitoring on your end you should use the nginx Real IP module to make sure you have the right I... | 2 | 4 | 1,650 | 2020-06-02T09:11:46.037 | api_errors | serverfault.com | |
575,688 | Could anyone explain the logs from my IPMI | my server is suffering freezing these days. I thought it was software problem. Then I found something strange from server log [CODE] Could any one explain what is that mean. Is there any wrong server configure or bad memory stick? My board have only 4 slots each CPU, where is the bad memory? Thanks | It means exactly what it says. DIMM #6 is bad. Get it out of there. | -1 | 4 | 1,080 | 2014-02-14T17:53:47.243 | infrastructure | serverfault.com | |
265,484 | Optimize MariaDB query with table that self-joins | I have a query that I think is taking way too long (as in I've not yet seen it finish!) but I can't figure out why. The query (which is generated by an application that would be difficult but not impossible to change) is: [CODE] And a table with 100k rows. [EDIT: added:] The puropse of the query is to provide a list of... | What the heck is the intent? It seems to deliver the [CODE] of all pairs of individuals with the same [CODE] . It looks like a "group-wise" max, but not quite. [CODE] seems to be irrelevant since it is the constant "5". [CODE] may speed it up, even with 99.9% of contact_types being the desired value. The speedup is due... | 0 | 1 | 154 | 2020-04-21T09:00:12.817 | database_errors | dba.stackexchange.com | |
695,132 | Redirect Subdomain That is Not on SSL | I have a SSL certificate that is installed on the server that only covers the domain, not subdomains All traffic is redirected using apache config file When I set up the subdomain to redirect a subdomain you get the browser alerting you that the site isn't safe because the SSL doesn't match the domain. I want to catch ... | Thankfully, SSL doesn't work that way. Every new domain you go to will have a new DNS lookup and a new SSL handshake and the certificate will be verified each time. If you think about it, that's a really good thing for security! (Despite inconveniencing you in this situation) Your best bet is to get a wildcard cert or ... | 1 | 0 | 1,602 | 2015-05-28T20:41:41.730 | pipeline_ops | serverfault.com | |
166,038 | Is it possible to keep only one Database for both web and desktop applications? | I'm experiencing a trouble with my business model, let me explain better. I'm developing a software for 1 year and few months, it's for the food industry, more exactly a software to: Delivery, Take Way, Table Reservation, POS, Accounts Payable and Receivable, Prints(receipt), Kitchen Monitors Orders, Customers Orders C... | Short Answer: You would definitely have less headaches with a single database. Otherwise, you may end-up with record synchronization issues, as well as with record duplicates, in all local databases that you might use. What would you need is just to create a DAL (data access layer) and make your client applications (de... | 2 | 12 | 7,154 | 2012-09-24T23:45:04.317 | database_errors | softwareengineering.stackexchange.com | |
444,471 | SSL certificate error | New to SSL. I had a certificate signed and I am trying to get the cert I generated loaded into LiteSpeed. However I have one issue. [CODE] The location of the .crt and .key I generated are under /usr/local/lsws. | The [CODE] file is only used once, to send to the CA to get the certificate. Your web server config only needs the [CODE] and the [CODE] file. (And potentially a chain file if your CA requires that. They should have mentioned it and supplied one if they do.) I'm not familiar with LiteSpeed but I would guess that the Ce... | 0 | 1 | 740 | 2012-11-01T17:37:23.957 | api_errors | serverfault.com | |
644,873 | Is my Postfix sending spam? | In my Rsys log I am getting weird email requests that are not initiated by my server: [CODE] can anyone help here? | Mails are coming from the following mail addresses. biryukova@dak-cat-stroitelnye-materialy-kirpich-kamen-bloki viktor.golubev@consulfrance-stanbul.org adelaida.egorova@mail.starce.net akim.makarov@quake.com.ua ilarion.korolev@judwin.demon.co.uk & Mails are being delivered to the following addresses yuliy.kirillov@nara... | 1 | 5 | 780 | 2014-11-17T09:52:12.170 | infrastructure | serverfault.com | |
1,152,419 | Tracking the network traffic from an unknown MAC address on WIFI | I have a MAC address on my WiFi network that I do not recognize. The unknown device asks for, and receives, an IP from my dhcp server. I tried the following to find out the origin: All my devices (especially iOS) have been set not to use a private MAC. I checked the dhcp logs to see if a name was specified with the DHC... | Its a bit network appliance/switch dependent, but I would do port mirroring and dump all his traffic and analyze it | -1 | 1 | 78 | 2024-01-28T01:29:42.247 | infrastructure | serverfault.com | |
541,226 | How can I connect to Windows XP via RDP without opening a local session first? | I have a Windows XP Pro virtual machine hosted in Hyper-V (on Windows 8 Pro). Since the native Hyper-V connection window has very limited features (e.g. no clipboard support), I use RDP to connect to the VM. My problem is that the RDP connection doesn't work until I open a local session on the VM. I suspect that a requ... | OK, I found it. I just needed to change the startup type for the "Terminal Services" service from "Manual" to "Automatic". | -1 | 0 | 182 | 2013-09-24T08:55:47.100 | infrastructure | serverfault.com | |
146,965 | How to know if MySQL replication is working? | I am replicating from a MySQL v 5.5.50 master, to a MySQL v 5.5.46 slave hosted in RDS. I've followed the AWS documentation on how to do this to the letter, got the dump file imported into the slave server and ran the [CODE] command to begin things a few days ago. My [CODE] result is: [CODE] And my [CODE] result is: [C... | The two [CODE] values say [CODE] ; that is usually sufficient to say all is well. However [CODE] is scary. That 11 hours! Run a test: On the Master do [CODE] , then see if it is there on the Slave. (You'll probably need to be [CODE] both times.) There are situations where [CODE] bounces between 0 and some big value. Th... | 4 | 6 | 26,295 | 2016-08-16T14:04:30.843 | database_errors | dba.stackexchange.com | |
209,354 | How can I keep the system date on my VM in synch with the real world? | I'm running Ubuntu Karmic on a VM with VirtualBox 3.2.8 (I need to update...) and I've just noticed that the system time on my VM is out of sync with the real world. It seems that the time will synch properly if I reboot the machine, presumably because my laptop is being used as a surrogate BIOS and so it grabs the tim... | Have you got guest additions installed? One of the things this does is keep the system time in sync with the host. | 2 | 3 | 3,602 | 2010-12-05T19:03:19.507 | infrastructure | serverfault.com | |
39,700 | How should compilers report errors and warnings? | I don't plan on writing a compiler in the near future; still, I'm quite interested with compiler technologies, and how this stuff could be made better. Starting with compiled languages, most compilers have two error levels: warnings and errors, the first being most of the time non-fatal stuff you should fix, and errors... | Your question doesn't seem to actually be about how we report compiler errors - rather, it's about the classification of problems and what to do about them. If we start by assuming, for the moment, that the warning/error dichotomy is correct, let's see how well we can build on top of that. Some ideas: Different "levels... | 16 | 7 | 3,288 | 2011-01-25T00:25:08.523 | api_errors | softwareengineering.stackexchange.com | |
443,081 | Transform scanned PDF documents into Excel using OCR | I have a task that is to convert cable schedules into an Excel spreadsheet. I have tried a few different OCR (Optical Character Recognition) things such as websites, code in R (tesseract), javascript, data from picture in excel and looked into C. So far none of these have worked. I believe the main 3 errors are that I ... | We do not answer questions for finding or using programming tools on this site. However, from a software engineering point of view, I think the main question is how much automation is it worth to achieve, and for which parts of the process, to either keep the total effort small or to hold the deadline. On the one end o... | 1 | 0 | 581 | 2022-12-28T23:45:39.030 | data_quality | softwareengineering.stackexchange.com | |
113,922 | Should I deal with missing values first then transform the data or vice versa? | I am currently working on a project involving time series banking stock price data. I have around 3000 observations, some columns have a lot of missing values (null value); they can account for 5 to 50% of the total observations. I have no idea what is the proper order for handling missing values, outliers and take log... | In general, it is better to deal with missing values first because there could be data loss or additional noise applying operations like a log that could impact classification or prediction algorithms. To deal with missing values, you can use regressors to have good results but it depends on the data quality. It could ... | 0 | 4 | 1,169 | 2022-08-29T09:31:20.213 | data_quality | datascience.stackexchange.com | |
66,433 | MongoDB YAML file problems on Windows | I managed to get MongoDB running as a three member replica on Windows 8, but I had problems with configuration files. If I used the new (MongoDB 2.6) file format (YAML) and used the replica set name option as: [CODE] (or any of the other variants I had tried in YAML format) I would get "Invalid option: replication" err... | I was not able to replicate, so here's my successful YAML config file (Windows 7 64 bit, MongoDB 2.6.1): [CODE] How I started it: [CODE] And then (after an [CODE] ): [CODE] Note that I had issues when I used tabs to indent, which were resolved when using spaces. Case sensitivity was also a problem, but mainly due to mu... | 2 | 2 | 3,718 | 2014-06-03T06:03:43.017 | database_errors | dba.stackexchange.com | |
800,572 | Moving 3TB of NTFS files from on-prem file server to Azure server - what is best method for transferring | We are moving our on-prem Windows file server with 2.7TB of NTFS files to Azure (we have 100 mb/s VPN site to site connection to Azure) What would people recommend best way to transfer our files keeping the NTFS permissions intact? We can recreate the approx 20 network shares on the files server but do not want to recr... | I would use [CODE] to preserve ACLs. Please also consider that [CODE] can be used to pre-seed DFSR to speedup initial replication | 5 | 3 | 1,041 | 2016-09-01T21:09:41.793 | database_errors | serverfault.com | |
20,247 | How to improve my self-written Neural Network? | I created the following Neural Network in Python. It uses weights and biases which should follow standard procedure. [CODE] Using 32,000 epochs I manage to get on average a final error of 0.001. However, compared to the MLPClassifier (Scikit-Learn package) using the same parameters: [CODE] My result is pretty bad. The ... | A note on gradient direction As an aside, [CODE] Should be [CODE] And all your update functions should be gradient descent e.g. [CODE] This makes no difference to the performance of your network, but I assume you have done this in the rest of the answer. Scaling Input to Normalised Values One clue to performance proble... | 0 | 2 | 970 | 2017-07-07T18:59:50.893 | data_quality | datascience.stackexchange.com | |
480,775 | Suggest CDN with Byte-Range requests support for streaming | I'm trying to find high load solution for streaming server. The idea came to me this morning. What about CDN or cloud storage with byte-range support. Basically flash player require only partial video-file transfer from remote server and keep-alive connection. Does anyone know whether this is a reasonable idea and whet... | CDNs are generally pretty shady about what exact features they support. You'll need to contact them directly and ask whether they'll do what you want, and then figure out which one fits your use-case and budget best. It turns out that [CODE] is a HTTP header for flash pseudo-streaming. I've done some googling about, an... | 0 | 3 | 1,241 | 2013-02-20T17:51:57.487 | infrastructure | serverfault.com | |
1,036,123 | Ceph e5 handle_auth_request failed to assign global_id after a host outage | I have a small 3-host Ceph cluster with Ubuntu 20.04.1 and Ceph 15.2.5 using docker containers and deployed with cephadm. Yesterday one of the hosts (s65-ceph) had a power outage. The other two hosts continued working for a while but then s63-ceph and s64-ceph started filling their logs with " [CODE] ", coming from the... | I've finally sorted this out but the documentation regarding this is fairly obscure so I'll answer my own question. It appears the host which went down had also filled up its disk, which is why it was behaving differently to the other two hosts and why its mon wasn't starting up. I solved that by clearing old logs and ... | 3 | 4 | 7,459 | 2020-10-02T11:29:36.343 | bi_errors | serverfault.com | |
487,703 | How to setup router on desktop linux to provide access to vpn subnet to other local machines? | I have a desktop linux (Ubuntu based 12.10, laptop, 1 network card) from which I connect to work vpn via standard pptp, so I can access local network and work network from the machine. On the desktop I have Windows Server 2008 VirtualBox machine with bridged network adapter, so it gets ip from local router. Desktop and... | You need to follow these steps: Add route to any LAN host which you want to connect to work network. Firstly, add route to virtual machine. The gateway for work network is your laptop's IP. Enable forwarding on the laptop. [CODE] and uncomment [CODE] in [CODE] to make this parameter enabled across reboots. Since your L... | 3 | 1 | 769 | 2013-03-14T08:19:11.097 | infrastructure | serverfault.com | |
550,260 | AWS EC2 instance not pingable or available in browser | I've seen this questions asked other places, but now I've run through every fix proposed in other questions so I'm re asking it here, in hopes that someone will have a different solution. Problem: I have a EC2 instance, and I can ssh into it and work on it, and I have a Elastic ip set to it. I am unable to ping this ma... | I'm not sure I have the answer, but I know how to start troubleshooting. I would start with getting the pinging working. If you enable a security group that allows all ICMP (at least temporarily), you should be able to ping your machine and get a response. [CODE] So, if your instance's external IP is something like 23.... | 0 | 0 | 1,400 | 2013-11-02T02:15:12.310 | database_errors | serverfault.com | |
229,143 | Folders ownerships on Windows and IIS7 | I've an issue on Godaddy.com Windows (IIS 7) hosting. I've installed Drupal, and it cannot save some files into specific folders. I've checked from the control panel, the folder preferences, and they are both writable and readable. I'm not expert with Windows folders, but I was wondering if I need to change the ownersh... | You don't have to change the ownership, but you'll have to change the folder permissions (access control) to "modify" for the application pool user. | 1 | 0 | 145 | 2011-01-31T13:35:47.907 | infrastructure | serverfault.com | |
954,708 | Install more_set_headers in nginx 1.15.8 | Ubuntu 16 Server - [CODE] does not work out the box from a fresh install. [CODE] While trying to install [CODE] I receive a dependency error. [CODE] To meet the dependency, it takes me back to nginx 1.10 I installed nginx by adding to the [CODE] file [CODE] Can someone shed some light on my issue? | This is what I did to have enable more_set_headers on Ubuntu 16.04, since the module is an extra module and not created by nginx as @MichaelHampton explained below. With his guidance I was able to install nginx with more_set_headers. [CODE] Once the above was completed, I edited my [CODE] and added the following as my ... | 7 | 7 | 32,804 | 2019-02-19T15:03:33.017 | infrastructure | serverfault.com | |
537,614 | I am unable to execute a PHP file via NGiNX | Here is the config I am calling from the browser: [CODE] Here is my config that calls the PHP file: [CODE] In the browser I am getting this error: [CODE] In my error logs I get: [CODE] My version of NGiNX is: 1.2.7 I am using Ubuntu 12. With my other configs I have no problems accessing a PHP file and executing it. | I'm pretty sure Ubuntu's php5-fpm uses port 9000 by default. You can change it to use a socket by changing the listen line in [CODE] from [CODE] to [CODE] . Update: If you need to use port 9000 then change this: [CODE] to this: [CODE] | 0 | 2 | 288 | 2013-09-09T22:18:57.797 | infrastructure | serverfault.com | |
987,673 | Traefik Wordpress Redirecting | I have a Docker Swarm setup running Traefik 2.0. We have A LOT of wordpress sites running currently on multiple servers and we'd like to dockerize them. We have a Traefik instance running fine on Docker with a file provider to those physical servers as well as routing to the Docker Wordpress instances. This part appear... | Create a directory in ./wordpress/wp-content called blog and move all your data in there. Then make your docker compose look like [CODE] Now It has a weird quirk, when you first configure the wordpress site you'd have to go to https://domain/blog/blog to go through the installation process. When complete you should be ... | 1 | 0 | 1,920 | 2019-10-11T17:25:17.947 | pipeline_ops | serverfault.com | |
173,400 | Django rewrites URL as IP address in browser - why? | I am using django, nginx and apache. When I access my site with a URL (e.g., http://www.foo.com/ ) what appears in my browser address is the IP address with admin appended (e.g., http://123.45.67.890/admin/ ). When I access the site by IP, it is redirected as expected by django's urls.py (e.g., http://123.45.67.890/ ->... | Its probably your mod_rpaf config, I'm guessing the "RPAFsethostname On" line in particular. I'm not fully confident because after googling for 10 minutes its clear that there is little to no documentation anywhere on mod_rpaf. It seems to be the kind of thing you would only ever hear about in a handful of "me and my f... | 5 | 1 | 2,610 | 2010-08-23T04:39:12.313 | infrastructure | serverfault.com | |
999,816 | Desktop not starting after Debian 10 upgrade | Just upgraded a server box from an up-to-date Debian 9 to: [CODE] Now the graphics terminal only shows a blinking cursor post Grub menu. I can use tty1 to login and I can also RDP into the box and start a full desktop (LXDE). The boot.log looks fine but in dmesg there are two long time gaps that caught my eye but I don... | Thank you for the tip, Piotr! That gave me more ideas. For LXDE I need to check for lighdm: [CODE] [CODE] The [CODE] let me to an Xserver issue in [CODE] [CODE] and more detailed in [CODE] [CODE] I found the busID using [CODE] : [CODE] Than, I created the following [CODE] to specify the busID. Now, everything is workin... | 0 | 1 | 1,923 | 2020-01-21T17:47:16.830 | database_errors | serverfault.com | |
1,131,722 | Forward port to a VM via iptables from same bridge | I have running a proxmox server with two VMs which are connected to the bridge interface [CODE] : Host: [CODE] (extern IP: [CODE] ) VM1: [CODE] VM2: [CODE] On VM2 a load balancer is running on port 443 (and yes I want to have it there and not on the host machine). I added a prerouting iptables rule to forward all incom... | It's a typical case of NAT hairpinning . When the client (VM1 or even VM2) is on the same LAN as the server (VM2), the flow becomes asymmetrical: the reply will bypass the part doing NAT, so replies are not un-DNAT-ed and the client receives a reply from an address (VM2) it didn't ask anything to (instead of public Hos... | 1 | 1 | 560 | 2023-05-23T08:51:06.620 | infrastructure | serverfault.com | |
264,035 | Can I Improve the design of my Transaction Table? | I have a transaction table that logs credits and debits. The numbers are always int (-1 to usually 100). My issue is that Debits have a lot more data than credits, and it feels weird having this data in the same table. [CODE] A credit only uses ClientID, Amount,MaterialID and CreatedAt, and a Debit uses All the columns... | Given balances are a sum of amounts, you are storing one of debits or credits as negative right?, the same table is ok. Having a few NULLable fields is ok too even if slightly redundant. | 0 | 1 | 38 | 2020-04-01T04:33:09.970 | warehouse_errors | dba.stackexchange.com | |
65,496 | SLEEP_TASK and PAGELATCH_XX peaking after upgrade to R2 SP1 | I wanted to just add a comment to this question: SLEEP_TASK Wait Type in SQL Server - What does it indicate? But I'm having not only [CODE] wait but also [CODE] and [CODE] wait types. Also I've so much data that I believe I should ask a new question, although I know the risk exist to be considered as duplicated. As on ... | Community wiki answer : Please ignore the sleep and queue waits. These should be filtered out as they are always going to be high, by definition. They collect a minute of wait every minute. [CODE] tells me it can't keep up. That said, I don't see that as your major problem here. For latch contention, you might consider... | 1 | 1 | 935 | 2014-05-20T16:31:13.150 | data_quality | dba.stackexchange.com | |
830,013 | SSL alert number 113 | We're seeing some errors in the past few days similar to this one, in our nginx error logs: [CODE] We're using Let's Encrypt for this certificate. We can't reproduce this problem ourselves, so far we haven't been able to get any information about what might be causing this from the client side. RFC 6066 says that this ... | Simon, looks like you catch situation described in this post . There is no problem with configuration, looks like it's nginx behavior. As well, there could be problems with Let's Encrypt OCSP . | 6 | 1 | 2,030 | 2017-02-01T23:19:07.050 | infrastructure | serverfault.com | |
280,583 | UnrealIRCD - Starting problem | I have wget unrealircd and unzipped it, after ./config and make. I cannot start the unrealircd. I get errors such as: Starting UnrealIRCd ./unreal: line 10: /root/Unreal3.2/src/unreal/ircd: is a directory Possible error encountered (IRCd seemingly not started) I am using unrealircd. | You need to run [CODE] again and specify the full path to the binary including the name of the binary file not just the path to the directory containing the binary when asked this [CODE] | 0 | 1 | 1,616 | 2011-06-15T08:19:20.793 | infrastructure | serverfault.com | |
239,177 | How can I set an account lockout policy for the administrator account on rdp? | I'm following this page on security tips for RDP (for my online server): http://www.mobydisk.com/techres/securing_remote_desktop.html Now I don't have a special user account for RDP access. Just the administrator can log on. However, I want to make sure that someone can't brute force the password. I've set the 'account... | You don't want to setup a lockout policy for your only Admin user. Reason being: You create a major security hole in your setup as an attacker could prevent your access by simply continuously brute forcing against your admin access (a.k.a. The other side of account lock-out). The best options are: Restrict RDP to speci... | 2 | 2 | 1,975 | 2011-02-23T14:33:13.563 | infrastructure | serverfault.com | |
1,073,316 | Mikrotik Wifi on Android keep on disconnecting | My company recently purchased a few Mikrotik hAP Mini. These units are used for Site to Site VPN. The first unit I setup manually worked flawlessly. I then exported the configuration to the second, third and fourth units. On these 3 units, when my Pixel 3a is connected, it receive an IP address, proclaming "no internet... | I posting this there if someone will google it and found this thread. In my case that occurs when target AP are empty (no wireless clients connected to it). And thats mean wireless interface not in up state. When first client connects to it - interface become up, and this activate RSTP algoritms (count costs and roles ... | 2 | 0 | 4,215 | 2021-08-02T14:46:35.817 | infrastructure | serverfault.com | |
352,786 | Joining web services entity | Let's assume I have access to two rest endpoints, [CODE] and [CODE] . If I need to retrieve 100K persons with their respective products , what is the best way to do that? How can I join them efficiently ? Implementing temporary table in DB, joining them in memory? For example, If I do it in memory, then I found myself ... | So 100k Person each with many Product to be brought down over a web service seems like a lot. But you have to remember that webservices are asynchronous. If the data is held in a NoSQL scaleable way then the task is amenable to a different approach than the standard query the db and loop through one. We can split the t... | -4 | 1 | 113 | 2017-07-14T10:28:21.453 | api_errors | softwareengineering.stackexchange.com | |
441,383 | Architecture for worker pool with different task complexities and sizes of boxes | I'm sorry if I'm using any wrong terminology here. I'm trying to design an architecture where there can be big and small tasks (e.g. processing big or small images). Big tasks can only be handled by big boxes while small tasks can be handled by either big or small boxes. The big tasks can finish while there are still s... | Superficially, it seems to me that what you architecturally describe as "big instances" or "small instances" might in fact be "task monitors." (My term.) These are processes whose job it is to curry through the single(!) task-queue, to opportunistically select which unit-of-work they will now claim. The work is divided... | 0 | 1 | 243 | 2022-10-03T00:15:55.580 | api_errors | softwareengineering.stackexchange.com | |
221,836 | Is TDD viable in collaborative open source projects | Let's say I wanted to start an open source project that I hope/expect to have many people submit patches and whatnot. Is it viable to take a strict TDD approach? Can/should I expect/trust collaborators to write quality tests whenever they submit a patch? One thing I've been thinking about is writing test suites for ind... | You can't really enforce a TDD (test first) approach on an open source project where patches can be submitted by the general public. What you can enforce is that all patches must have a set of test cases for the fixes included in the patch and that those test cases, as well as all the existing test cases, must pass. Yo... | 10 | 29 | 765 | 2013-12-19T07:09:30.663 | api_errors | softwareengineering.stackexchange.com | |
592,418 | Upgrading SSL library does not fix heartbleed | I have just upgraded the openssl library on my Ubuntu 12.04 server to fix the heartbleed bug. Here's the output that I get for the "openssl version -a" command: [CODE] From what I understand, the "built on" date should be after 07 Apr, 2014, which seems to be the case here. I restarted Apache after doing these changes,... | The easiest and fastest way to protect yourself from Heartbleed is to update OpenSSL from the binary packages provided by the vendor. Don't compile from source unless you know what you are doing, or want to spend much more time learning. Compiling from source is more challenging and a waste of time if all you need to d... | 5 | 13 | 1,241 | 2014-05-01T03:38:14.313 | infrastructure | serverfault.com | |
569,360 | Why do I have to log into ssh with my password once per day? | When I try to ssh using an encrypted key held in ssh-agent, I get the following (using [CODE] ): [CODE] I can log in if I force it to use a password ( [CODE] ) and then, after I disconnect (so it isn't a ControlMaster thing), I can ssh using keys without a problem: [CODE] The server is using Active Directory to store t... | Without knowing the specific details of how the machine is set up, I can only offer you a hypothesis. Microsoft Active directory is built on LDAP for user/directory information and Kerberos5 for authentication/encryption. So, here's the core of it. When you authenticate to the Kerberos system, you get issued a ticket. ... | 2 | 5 | 339 | 2014-01-23T14:25:15.150 | infrastructure | serverfault.com | |
198,337 | Is it a good practice to write a method that gets something and checks the value? | Occassinally I have to write methods like this: [CODE] or [CODE] or [CODE] Is it a good practice? I am told that it is normally not a good idea for a method to do more than one things, or for a method to have side-effects (like creating directory). But if I split, for example the last metod to GetCustomer(id) and Verif... | What your methods are doing is not at all unreasonable. Its just unfortunate that their names are a bit of a mouthful. For example where you have a method [CODE] , surely you could call this [CODE] instead, and its easier on the eye? The new name doesn't detract from what the method actually does. In summary I think yo... | 1 | 3 | 331 | 2013-05-16T07:14:07.040 | api_errors | softwareengineering.stackexchange.com | |
956,698 | Available Memory SNMP MIB for post-2016 kernel/CentOS 7+? | It looks like the "MemAvailReal" actually only reports free memory, not available memory. Is there a more recent version of this MIB or a different standard MIB which measures available memory? I tried this from a CentOS 7.3 system with the following packages, but pretty sure this is the same behavior in the most recen... | As per net-snmp-libs version: 5.7.2-43 [CODE] now returns the available memory instead of the free memory. This package should be available in RHEL/CentOS 7.7 More information: https://access.redhat.com/errata/RHBA-2019:2239 https://bugzilla.redhat.com/show_bug.cgi?id=1250060 Update: This change was reverted: https://b... | 1 | 1 | 1,346 | 2019-03-04T19:10:39.087 | api_errors | serverfault.com | |
646,466 | Mikrotik IPSec Tunnels not working after RouterOS upgrade | We upgraded our RB1100AH2x yesterday from 6.19 to 6.22 and lost our L2TP / IPSec tunnels in the process. The logs are now littered with IPSec errors stating [CODE] In the change log for 6.21 I notice that you can no longer employ a blank value for the Policy Group in the Peer policy. We had originally configured our tu... | You have to delete the group, which is in the IP/ipsec groups. Then it will say unknown in the peer tab. After that, it should work. | 0 | 0 | 28,087 | 2014-11-23T16:01:16.407 | infrastructure | serverfault.com | |
828,124 | How to track dynamic a vhost configuration that maps to folder structure? | For development purposes we would like to access dynamic vhosts from the same computer (localhost, or better local loop) and from the LAN. This subdomain vhost should map to the given folder structure. Each folder represents one project. As I figured out this can be done with [CODE] . Syntax check is ok ( [CODE] and [C... | The above shown config works pretty fine. The problem is the Mac DNS Server. It does not resolve any subdomain (vhost) to the same ip as the domain itself. It does poorly nothing. Normally in the internet, if you bought a domain this works just fine. There was until now no need for me to configure it. Subdomains worked... | 1 | 0 | 231 | 2017-01-23T21:15:33.143 | infrastructure | serverfault.com | |
447,630 | web-dev: how to restrict access to costly backend API to authenticated clients only | I've created a small prototype browser plugin and am now thinking about making it accessible to the public. This brings up an important question about gatekeeping API access and the right way to deploy a potentially expensive service. The plugin uses Firebase for user authentication and a database. It also needs access... | I recommend going with " Set up a two-hop architecture " option you provided. This approach adds an extra layer of security and control, as the costly machine learning API is not directly exposed to the client. You can implement rate-limiting, logging, or any other security measures at the cloud function level. This ar... | 2 | 1 | 141 | 2023-09-18T08:45:05.307 | api_errors | softwareengineering.stackexchange.com | |
638,905 | Does rails 4 asset_path helper uses asset.prefix? | I configured my rails app to use a different asset prefix, by editing the file [CODE] . [CODE] It works for asset pipeline but when I try to use it on my view. [CODE] It still outputs [CODE] instead of [CODE] . Am I missing something? | You should double-check your file names as there was a report of a similar bug which turned out to be a typo. Basically what happens in Rails 4 is that the prefix is omitted if the asset doesn't exist. You can test the behavior in the Rails Console as they demonstrate on the thread: https://github.com/rails/rails/issue... | 6 | 7 | 4,940 | 2014-10-22T17:49:17.197 | pipeline_ops | serverfault.com | |
474,877 | Rsync Exit Code Checker - Bash | I have a simple script on my home server to sync data to my backup drive to be stored. Right now it runs multiple rsyncs one after another. Sometimes rsync fails on one or two of them. When this happens, I want it to email me saying it failed, I already have it email me a report, but, I want a way to know if it fails. ... | Basically you want to make use of the variable [CODE] . This variable contains the return status of the last run command. [CODE] You can use these constructs to run [CODE] and send you mail if it succeeds (echo true) or send you mail if it fails (echo false). [CODE] Something like this: [CODE] | 1 | 5 | 9,142 | 2013-02-03T03:24:31.503 | database_errors | serverfault.com | |
149,079 | MySQL slow log logs every query instead of just slow queries | I have the following MySQL configuration for logging the slow queries: [CODE] However, I see the following in my slow log file: [ To my knowledge, the Query_time in the log file denotes the time query took to run, but it defers the log time mentioned in the config file. Anyone here to help me explain as to why this is ... | Maybe your mysqld got it's long_query_time value from another source. What happens if you run: [CODE] Note that I would consider setting the long_query_time to 0 to be good practice, particularly on Innodb databases. Consider the case where query A takes 1 second and runs a thousand times a day vs query B taking 20 sec... | 3 | 4 | 3,223 | 2016-09-08T07:29:41.763 | database_errors | dba.stackexchange.com | |
526,398 | x3250 M4 reboots when you remove a usb device like keyboard or mouse | Following the installation of Windows 7 in our test server IBM x3250 m4,( Can you install windows 7 on an IBM x3250 M4 server? ), the server reboots everytime a usb device is removed..if it is attached nothing happens but when you remove it will reboot. Sometimes when it reboots it displays an error something about 3xP... | Following the installation of Windows 7 in our test server IBM x3250 m4 This is a bare-metal install of Windows 7 on this server and it's not running in a hypervisor? If so your issue is likely related to the use of a operating system that is not supported and thus not certificated as compatible for your hardware. If y... | 0 | 0 | 722 | 2013-07-26T00:47:07.443 | infrastructure | serverfault.com | |
220,235 | Regex to select field with many numbers | I have a table with this field *ET,358155100113030,HB,A,120a10,090b05,80d5dd77,81ac538b,2b65,8340,00400000,20,100,0000,344f,799# I want a SQL to read all fields whith *ET,XXXXXXXXXXXXXXX,HB This is DDL of table [CODE] This field is Command. | [CODE] To explain: [CODE] -- anchor at start [CODE] -- demand that these characters be there [CODE] -- match anything except [CODE] [CODE] -- match anything except [CODE] -- for any number of times [CODE] -- demand these exist If you need that field to be exactly 15 characters long, then use [CODE] . (There are other v... | -1 | 1 | 38 | 2018-10-16T12:17:35.557 | warehouse_errors | dba.stackexchange.com | |
207,121 | merge 3 mysql tables into one with no duplicates | I would like to merge 3 tables data, each have a number column in common, but all the other data differs. What I would like to achieve is selecting all of the data from the common column and merging the rest of the columns from all the tables based on the number column. Please keep in mind that the number column can ha... | [CODE] This query assumes the [CODE] field is primary or at least unique key in each table. UPDATE: Unfortunately this gave me errors saying that there were duplicate entries for number If You got error You describe that is NOT MySQL error . http://www.sqlfiddle.com/#!9/22d82dc/1 | 1 | 1 | 1,538 | 2018-05-17T23:06:10.483 | database_errors | dba.stackexchange.com | |
104,009 | I have a hard time explaining what I learn | Possible Duplicates: How do you share your craft with non programmers? https://softwareengineering.stackexchange.com/questions/1985/how-to-explain-programming-to-a-non-programmer https://softwareengineering.stackexchange.com/questions/8022/how-do-i-become-more-articulate I love programming and I like to learn everythin... | Dumb as it sounds, have a conversation with an imaginary 6 year old until you think you are explaining it well. Oh, and in the case of technical things for non technical speakers. Don't explain it at all. They don't care. (As an aside, don't try the converstation with an actual 6 year old. There is a reason Einstein wa... | 7 | 3 | 2,623 | 2011-08-26T19:58:40.067 | data_quality | softwareengineering.stackexchange.com | |
873,955 | How solve mysql 5.7 dependency? | tried to install Mysql server from repo installed repo [CODE] after [CODE] returned error [CODE] How to solve this problem? OS version: [CODE] Tryied variant by Tomas [CODE] returned result [CODE] tried other variant [CODE] again returned error [CODE] | From the kernel version you have posted, it seems you are running Oracle Linux 6 and you should download the Red Hat Enterprise Linux 6 / Oracle Linux 6 version instead of version 7 as you tried now. So, the following commands should work for you. [CODE] | 3 | 9 | 31,543 | 2017-09-16T07:35:07.777 | database_errors | serverfault.com | |
133,872 | Error Updating SSIS package to 2014 due to script component | I am trying to update a SSIS package that contains script component. The script component just gets the error description as described here . I am using the update wizard in SSDT 2015 which should be compatible with SQL Server 2014. ( ssdt ) After the Package update wizard runs, I get a warning and information for ever... | VS 2010/VS 2012 => SQL Server 2012. VS 2013 => SQL Server 2014. VS 2015 => SQL Server 2016 (for now, soon they'll have the ability to target SQL Server 2012+) So, you either need to redo your imports using SSDT for VS 2013/SQL Server 2014 or wait until they deliver the next release candidate for SQL Server which will h... | 4 | 4 | 11,521 | 2016-03-30T20:21:34.717 | pipeline_ops | dba.stackexchange.com | |
940,704 | OwnCloud error deploying to AWS: The username is already being used (not WebDAV related) | I have an instance of Owncloud running on AWS Elastic Beanstalk I’m just deploying it from the docker, so I have a very simple Dockerrun.aws.json [CODE] I first setup it running with SQLite, and it was running fine for a couple days Now I’m trying to setup it using a MariaDB backedn instead. For that I just add environ... | I'm still not pretty sure why the error was happening, but after several attempts, the error was finally gone. What seems to have solved it was those steps: Drop the database created previously. Remove the environment variables related to Owncloud admin user: [CODE] and [CODE] . Then the instance was created with a def... | 0 | 1 | 833 | 2018-11-19T14:03:42.927 | pipeline_ops | serverfault.com | |
820,143 | Error while contacting Elastic Beanstalk Service CERTIFICATE_VERIFY_FAILED | Getting error when using eb deploy to an aws elastic beanstalk environment. Error while contacting Elastic Beanstalk Service ERROR: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600) | I solved my problem. As it turns out I had Fiddler running in the background which causes the SSL error. Check to see if you have any proxies running. If so turn them off and try again. | 0 | 0 | 464 | 2016-12-12T01:37:16.570 | database_errors | serverfault.com | |
926,426 | ufw not enabled on boot | OS is Trisquel 8.0 (Ubuntu 16.04 LTS derived), kernel 4.4.0-131-generic I've reached the hair-tearing stage with ufw, which refuses to start up properly on system start. Have tried: Editing /etc/ufw/ufw.conf to force enabled state. Editing /usr/share/ufw/ufw.conf to force enabled state. Editing /etc/rc.local to add 'sy... | In case anyone else has similar problems, here is my solution. After a great deal more research and hackery, found that the file [CODE] was running lots of 'iptables' commands, setting up rules which overwrote anything that ufw had put in. Added this line to that file, at the end of the 'start' section: [CODE] which is... | 0 | 2 | 3,558 | 2018-08-15T01:50:31.760 | infrastructure | serverfault.com | |
987,031 | VXLAN with different group but same vxlan id on ubuntu | I'm playing with vxlans on ubuntu 18.04 right now and I just found something strange. I have 2 servers with 4 containers on each. Containers are connected to bridges br1 - br4. There are vx1 - vx4 interfaces connected to corresponding bridges. Whole setup looks like this: [CODE] Interfaces on nodes itself are same (at ... | What's with the odd-sized MTUs? Typically VXLAN requires large frames to handle the extra overhead of the VXLAN header - at least 1600, though we always go with the maximum (usually 9000 or so). Two other comments, I'm not VXLAN-on-Linux expert sorry, but don't you need some form of TEP for each VXLAN host? Also why VX... | 0 | 0 | 292 | 2019-10-07T10:29:35.423 | pipeline_ops | serverfault.com | |
43,652 | Unable to create a new listener in oracle 11g | In net manager i get an error message " A valid logfile is required" when i click on listener and choose '+' button. and then it keeps on giving me that error when i click on any other tab or button in net manager. | I found this . It basically says: For Windows goto command prompt and type lsnrctl and hit enter [CODE] For linux or unix connect as oracle user and then type lsnrctl and hit enter [CODE] after doing this now configure the listner if not configured from netmanger and start it.you should have permissions to directory wh... | 1 | 2 | 2,715 | 2013-06-02T11:10:58.963 | database_errors | dba.stackexchange.com | |
470,848 | Hotmail blocks company emails, when hyperlink is inserted in the message body | I received the following results: [CODE] Mail sent from my company email to Hotmail recipients goes to "junk" if message body contains link to my company web, examples: [CODE] [CODE] but [CODE] is OK and delivered to inbox well! I think Hotmail filters/blacklists my full domain name as a keyword and therefore this issu... | You're messages are probably considered borderline spam without the links, and the addition of links pushes them over the threshold. Hotmail uses a variety of heuristics to determine if a message is spam. The main ones are: SPF - Do you have a SPF record properly configured for your domain? DKIM - Do you have DKIM prop... | -1 | 7 | 893 | 2013-01-20T16:38:03.410 | infrastructure | serverfault.com | |
22,470 | NAS as VFP file Server? | Looking to replace Win XP Pro 'file server' we have for a Visual FoxPro invoicing app running upto 15 users with around 10 DBF's. Basically we've hit XP's incoming connection limit... Any suggestions on a NAS for this usage (make/model)? I realise I could use FreeNAS, or Linux+SAMBA, but thought a dedicated NAS would m... | I've seen the Visual Fox Pro / DBF situation before and my best answer is to stay away from the small, all-in-on little "Home" NAS devices. These typically don't pack enough CPU power to get the throughput you'll need to read through those DBF files. Either pickup a more business oriented boxed NAS solution or go the r... | 1 | 1 | 1,705 | 2009-06-09T10:22:21.147 | infrastructure | serverfault.com | |
728,193 | Free hypervisor for small configuration | I'm building a server for virtualization for a non profit organization. I was planning on employing VMware ESXI free but I'm second guessing my plan because newer ESXI don't seem to be well supported by the vSphere Client and the web interface which is supposed to be used instead, is not free. On the hardware we are li... | If you are running server 2012 then you already have access to hyper-v. The free hyper-v should serve your needs, you can run the GUI from any client or the 2012 server. This would also get you shared nothing migrations if you can't afford a san. http://blogs.technet.com/b/keithmayer/archive/2012/09/07/getting-started-... | 13 | 17 | 3,195 | 2015-10-11T13:13:43.887 | database_errors | serverfault.com | |
1,085,615 | After I ran certbot browsers cannot access css file | After I ran [CODE] browsers cannot access css of my website. [CODE] is located in [CODE] of root of my site. The error is [CODE] Edited: string from my [CODE] files (where [CODE] is my site domain): [CODE] Edited: my [CODE] output: [CODE] Edited: new error ocured: [CODE] What should I do to solve the issue? | I solved this issue putting [CODE] into my [CODE] except [CODE] . Thank you everyone for your answers. | 0 | 0 | 254 | 2021-12-07T10:59:26.410 | infrastructure | serverfault.com | |
242,907 | What Could Be Causing MySQL To Crash On A Read Query? | So I have a pretty large MySQL DB... 7 Gigs in Total size, 35 million URLs. I was querying it (using SELECT queries only) quite fast the other day. My ubuntu froze/shutdown (that's a first!) and said something online the lines of "panic, reverting to text console" - but she was frozen solid. Upon rebooting my computer.... | I would say, yes, split the filesystem from the db. Well, if your using MyISAM tables than mysql will do a row level lock on the select. The reads should happen completely independent of each other and there shouldn't have been any problems. Is there any disk space issues or swap space issues? You should be able to res... | 0 | 0 | 1,100 | 2011-03-03T19:54:30.193 | database_errors | serverfault.com | |
323,302 | Improving OPENQUERY performance from Oracle to SQL Server | I'm currently working on a database migration, from Oracle 11g to SQL Server 2019. We're talking here of about 10-12 GB, in something like 300 tables (so creating them manually is out of reach, as is creating 300 data flows in SSIS). The idea was to do it in an "ELT" way: in a first step, to "replicate" the content of ... | Linked servers are not optimised for bulk data transport. You may have achieved the best network throughput possible via this method already. It is typically not impressive. The [CODE] clause in your generated queries does not function as you might intend. The [CODE] only affects the order in which any identity values ... | 0 | 0 | 1,186 | 2023-02-09T17:27:00.880 | database_errors | dba.stackexchange.com | |
878,105 | HAProxy reloads very slow (almost 3 minutes) | We're using HAProxy 1.6.3 to load balance and route HTTP traffic to hundreds of backend servers. We reload the config often (several times a day), both automatically when a server fails and manually for administrative reasons. The problem is that running the reload command takes up to 3 minutes on one of our HAProxy se... | It turns out that the slow start of the new HAProxy process was due to it trying to resolve the DNS's of all the backend servers. And since we had a lot of servers and a slow (or unresponsive) DNS server caused a lot of query timeouts which caused a slow start of the process. We changed to a better DNS server and now i... | 3 | 2 | 2,178 | 2017-10-12T10:09:26.777 | infrastructure | serverfault.com | |
107,333 | What software is out there for Video Conferencing within our LAN | We are looking at various Video Conferencing tools to have conferences mainly between two offices. There is a 10mibt connection directly from one to the other and both offices are on the same network. The web-based software we have tried usually reduces the quality of the video feed and we'd like to use something like ... | To close this question, Yes OCS2007 Standard supports Video Conferencing. The main advantage to going with Enterprise is that you can separate the various services to different servers to spread the load. Eg A/V can be handled on a different server than your Front End pool. | 4 | 0 | 3,988 | 2010-01-28T20:11:13.530 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.