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 |
|---|---|---|---|---|---|---|---|---|---|---|
275,125 | Independent aggregation of related entities, while also sorting by related (in a single statement) | I have a model with [CODE] and [CODE] , with a many-to-many relationship between them (because a book can have multiple authors, and an author can write multiple books) through a table which I've named [CODE] . My goal is to query for some subset of the books, and also get the set of related authorships, and the set (i... | I azm not sure do I undersgtand you correctly, but probably you need to group additional field from authors to have only one value for ORDER. It might be count of athours, or min / max for name or so: [CODE] | 0 | 0 | 69 | 2020-09-08T04:51:01.790 | database_errors | dba.stackexchange.com | |
132,242 | Group only certain rows with GROUP BY | Schema I have the following set-up in MySQL database: [CODE] Problem I need to select: All items with [CODE] that has [CODE] value, and One item from each group identified by [CODE] having the lowest price. Expected results [CODE] Possible solution 1 Two queries with [CODE] : [CODE] [CODE] However it is undesirable to ... | First, do not use either of your two queries. Both have a group by some column ( [CODE] ) and then select other columns, non-aggregated ( [CODE] ). This may give you wrong and unexpected results , despite that it may work in your tests, with some small sized table. Second, the [CODE] is not a problem. If the two subque... | 4 | 4 | 4,392 | 2016-03-15T02:32:14.520 | database_errors | dba.stackexchange.com | |
757,561 | How to trust a self signed certificate with different issuer? | I have a certificate and private key files which are created by my colleague. There are placed in Apache [CODE] directory and all the configurations set properly. I opened the site with [CODE] and got " certificate not trusted " error and also " url not matching ", so I added it to Trusted Root Certificate Authorities ... | Likely the reason that the first certificate was not trusted in the first place was that the URL it was associated with did not make the subject name in the certificate. At that point, adding the certificate to the trusted root store does nothing, because you're didn't fix the root problem, which was the certificate na... | 0 | 1 | 2,010 | 2016-02-16T14:06:24.457 | infrastructure | serverfault.com | |
33,915 | Python stops after opening webdriver | [CODE] Hello, I am new to selenium and i have got this problem: My Chrome Browser opens, but it is not going to open google.com or any other website. I tried to print something out after opening the webdriver, but nothing happens. Why is my program stopping after opening the browser? | WebDriver path should be passed as an additional parameter to chromedriver.exe as below: [CODE] ChromeDriver can be obtained from: http://chromedriver.chromium.org/downloads Please make sure that Your webdriver is compatible with Your Chrome browser. I hope that this will help You :) | 1 | 2 | 2,276 | 2018-05-26T10:38:05.387 | data_quality | sqa.stackexchange.com | |
337,687 | What is the general term for [function] names of which the value is fully known at compile time? | In certain programming languages, the meaning of certain names may be fully determined at compile-time (i.e. without running the program). Example: A function in [CODE] has global scope; when the name of the function is used somewhere else in the program (and the variable is not shaded by another variable of the same n... | You're looking for “static”, as in “statically linked”, “statically dispatched”, or “statically resolved”. The term static just means that something can be done at compile time, in contrast to run time (where we'd talk about dynamic linking/dispatching/resolution/binding). Some languages derive additional meanings for ... | 3 | 7 | 182 | 2016-12-07T11:06:00.490 | api_errors | softwareengineering.stackexchange.com | |
6,383 | Stability testing for open source operating systems | You can find quite an interesting panoply of open source operating systems to choose from. Being open source you can have access to a lot of their code, build systems, bug tracking, etc. As of this time I didn't came across a document that plans or shows the design of stability testing for an OS. It would be useful for... | Short version Not necessarily. Long version The idea First thing to realize is what open-source means for software: the basic idea is that the source code is available. In more specific terms, someone has decided (for a new project or a running one) to share the code, i.e. every technical detail with the whole world. F... | 2 | 1 | 925 | 2013-07-09T10:54:55.010 | data_quality | sqa.stackexchange.com | |
391,076 | How to Enable Full-Rights File-Browsing on /? | Now, I know there are lots of samba questions (about 1400) on ServerFault, and I have browsed through about half of them at least, and not been able to use any of the answers to solve my problem. We are installing CentOS 6.2 on a new, blank machine - clean install; it will run as a network server to host Asterisk. I wa... | Finally got it! It took two things: - Disable selinux - uncomment the line in smb.conf for [CODE] And, in smbusers.conf, I added [CODE] then, run the command: [CODE] Now I can connect to the machine from my windows computer, browse the files in root, and edit them with my favourite text editor on my windows computer. J... | 3 | 0 | 839 | 2012-05-21T15:00:34.733 | infrastructure | serverfault.com | |
379,520 | Godaddy domain and Bluehost web hosting | I have a domain from Godaddy and web hosting at Bluehost. I want to make this work as some people say no need to transfer the domain from Godaddy to Bluehost. I was trying to find out how to get this work out by adding name servers for Bluehost [CODE] at Godaddy. This works fine, but not sure if 100% OK yet. The reason... | On godaddy Domain manager select DNS manager there you should should have under "A" Host Points to @ in points to you need to put the IP address (NOT ns1.bluehost.com )which for ns1.bluehost.com would be 74.220.195.31 so the result would be something like Host Points to @ ...... IP address (e.g. 74.220.195.31) NOTE tha... | -1 | 0 | 2,270 | 2012-04-14T18:56:15.670 | infrastructure | serverfault.com | |
258,386 | Can't start SQL Server 2008 - weird path in the log | I can't start it and the log file reads: [CODE] Server installed by default to [CODE] Why does it try to create temp DB on the [CODE] drive? how can I change it? | Temporarily create an I:, and create folders on there to let it start. Then go into the properties of tempdb (using Management Studio) and change the file locations. | 1 | 2 | 965 | 2011-04-11T13:50:42.683 | database_errors | serverfault.com | |
545,263 | How to fix sudoers file on virtual machine without root and reboot | I've broken my sudoers file on a heavy loaded server with a syntax error. And unfortunately I've lost my root password. The server is critical and I'd like to avoid rebooting. So, no sudo, no root, no reboot, no kdesudo or gksu. The server is a virtual machine running on kvm. How would you fix this? | Fortunately our server is virtual server, and I can access the host system. I've fixed the problem by editing the raw disk data. You also may try this way, but be very careful. The method is dangerous. You may corrupt another files, partition or even whole hard drive. So do it for your risk, and ensure you have recent ... | 6 | 1 | 26,726 | 2013-10-10T20:45:02.887 | infrastructure | serverfault.com | |
183,487 | ssh delay when connecting | When connecting to one specific server (running Debian Lenny) it always takes about 5 seconds before it prompts me to enter a password. After login there is no noticable delay anymore. There is also no delay at any other server in this network (although they are not running Lenny). Any idea what could be causing this a... | It's most often dns problem. Try setting 'UseDNS no' in sshd_config. | 7 | 7 | 4,620 | 2010-09-22T08:23:59.277 | infrastructure | serverfault.com | |
415,379 | Is AMD Opteron 3280, 8 cores, 32 GB DDR3 RAM will able to run 200 rails application and 200 mysql database | Possible Duplicate: Can you help me with my capacity planning? I am planning to hosing an rails application + Mysql in dedicated server maximum 200 replicated rails application with 200 unique databases simply for understanding [CODE] Each database has 90 tables, so client1 will use one Database with 90 tables we can c... | No idea. Noone has. Because we have ZERO ideas where your bottlenecks are and how much Memory, CPU and IO every application uses, nor how many users they have. Could work, could blow. Sit down and test it. if all 200 gb's are active at the same time, yo have a terrific 153,6 mb per application (assuming 2gb for overhad... | -1 | 2 | 571 | 2012-08-08T07:13:57.703 | database_errors | serverfault.com | |
106,994 | How to resolve parameter file error | I log on to my database but giving me this error message ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/app/oracle/product/12.1.0.2/db_1/dbs/initAKINTT.ora' How can i resolve the problem ? | Did you correctly set ORACLE_SID environment variable to match your database name? Assuming you didn't delete the spfile and pfile, incorrect ORACLE_SID setting might be causing the error, since when you issue "startup" command, Oracle will search for spfile in $ORACLE_HOME/dbs, and if it doesn't find, will alternative... | -1 | 0 | 21,050 | 2015-07-15T07:13:10.500 | database_errors | dba.stackexchange.com | |
240,550 | sp_whoisactive @get_locks parameter xml error | I often receive this error when running the following command [CODE] Msg 6841, Level 16, State 1, Procedure sp_WhoIsActive, Line 4287 FOR XML could not serialize the data for node 'Lock/@resource_description' because it contains a character (0x0001) which is not allowed in XML. To retrieve this data using FOR XML, conv... | I can't fully answer your question as to which object is causing the issue, but I can offer you some troubleshooting, and possible workarounds. Note that I can't distribute a "fixed" script to you because of its licensing, but you're free to try the edits locally. Troubleshooting If you ctrl+f through sp_WhoIsActive fo... | 6 | 5 | 557 | 2019-06-14T02:29:19.583 | data_quality | dba.stackexchange.com | |
380,302 | Can I detect authenticated domain users in IIS / ASP.NET without prompting everyone else for credentials? | I am updating an old ASP .NET 3.5 webforms application which uses forms authentication. The requirement is that it needs to automatically log in authenticated domain users whilst still allowing external users to log in manually as before. To be clear: I need to find out the name of the currently logged in user if they ... | The short answer is no. Unless you have Windows Authentication exlcusively turned on (and all other authentication methods disabled) users won't be authenticated against the domain or the local machine... and you won't have access to this information programmatically. The long answer is also no. Anonymous Authenticatio... | 1 | 3 | 13,821 | 2012-04-17T16:21:18.557 | api_errors | serverfault.com | |
1,015,681 | After a Postfix mail server is installed do I need to add mail.example.com to the hosts file? | Environment: CentOS, Postfix, Dovecot, Digital Ocean droplet My [CODE] file contains these lines. [CODE] Question: After I install a Postfix mail server do I need to add [CODE] to the first line in the IPv4 and IPv6 sections? If I do does it matter what order the hosts are listed in? For example, [CODE] Addendum: These... | It's unclear what specific problem you're trying to avoid or fix, so some general tips: The server needs to know its hostname. I typically set that in the [CODE] : [CODE] The following is something I do when the domain has strict DMARC that doesn't allow the use of subdomains: [CODE] This will make the origin [CODE] . ... | 0 | 1 | 177 | 2020-05-05T02:22:43.263 | infrastructure | serverfault.com | |
279,942 | Batch file problems | I have created a batch file to copy and zip up an entire drive of data on my server. I have selected the D:\ drive to be copied and zipped. However, I have one problem. When I run the batch file, only certain files from the D:\ drive are being copied over. Why am I having problems transferring all of the drive over to ... | It could be that those files are in use at the time the batch file runs. Are you running this process to backup your files to another server? What exactly is this process used to accomplish? There may be better options available. | 1 | 1 | 102 | 2011-06-13T15:36:08.437 | database_errors | serverfault.com | |
180,318 | Postgres update a table (only) if it exists | I have a Server and several Client Applications. The Server has to be started before a client can be started. The clients then create tables in the database if they don't exists. When the Server is started (some tables do not exist) and the following query gives me an [CODE] : [CODE] [CODE] I want to avoid this [CODE] ... | You need a pl/pgsql block to do the [CODE] : [CODE] | 13 | 17 | 39,542 | 2017-07-20T09:48:35.573 | warehouse_errors | dba.stackexchange.com | |
1,083,530 | Litespeed - NextJS app in DigitalOcean Droplet - Restart Custom Server | Am using the DigitalOcean OpenLiteSpeed NodeJS image from marketplace for setting up the Droplet, for running my NextJS app. I have setup everything and when tested, the home page was displaying properly. When I clicked the Login button (that uses NextAuth v4 ) it was throwing an issue because of another package. So us... | In a droplet, you can run [CODE] . However, this forces you to leave the console open for the app to continue running. Enter pm2. pm2 allows you to run the app in the background and allows you to persist the command if the droplet is rebooted (run on startup). So to restart the app, you run [CODE] to restart whatever a... | 0 | 0 | 1,051 | 2021-11-14T17:28:21.907 | infrastructure | serverfault.com | |
58,427 | connecting two IP addresses when NAT provider is down | I am coming from very strange country "Bosnia" and in our country we everything spit on three side by three confession. So we also have three ISP provides and there NAT providers also. Our company spreads branches all over territory and I have all of that providers. From time to time It just happens to NAT providers do... | From what i can tell from your question, you have different buildings on different WAN networks that cannot see each other. There isn't much you can do if the ISP's are the problem. The two suggestions i have are: running dedicated links, which is expensive, setting up a central system that is visible by all the ISP's,... | 0 | 1 | 226 | 2009-08-25T14:21:24.360 | infrastructure | serverfault.com | |
16,490 | Machine Learning - Range of Hypothesis space and choiceof Hypothesis function type | I am new to machine learning and seek your help in clarifying my elementary doubts. I did a fair amount of googling, but find most literature jumping directly into math. What I know is that given a labelled training data, a ML algorithm chooses from a hypothesis space H a hypothesis function h. As an example, assume th... | I will answer your question as I understand them, the clarity you are looking for comes from the Maths behind ML. There is no fix range of values of the coefficients or weights. Finding the value of these weights is the work of ML algorithms. although using regularization you can reduce the value of these weights but r... | 0 | 1 | 755 | 2017-01-24T11:35:04.153 | data_quality | datascience.stackexchange.com | |
28,365 | How to repopulate DNS from Active Directory? | In some point of time (I don't know when...) the DNS on a Windows 2003 Server gets populated with all computers on Active Directory. There is any way to repopulate it again? For instance, when changing the IP on a computer how to do to update DNS records? When dropping a computer, how to drop it from DNS Server? Of cou... | This should happen automatically (for windows machines on your domain as long as 'register this connection's address in dns' is checked under dns tab). If you change the IP manually or if it receives a new IP via DHCP this should be automatic. You can delete them all from DNS and they will eventually all show back up. ... | 3 | 2 | 15,606 | 2009-06-18T21:22:05.453 | infrastructure | serverfault.com | |
283,324 | How to UPDATE data without locking every record the search encounters? | We have the following database specifications: [CODE] We have the problem that we lock too many data entries in the table, which causes deadlocks. Here is our example. The first query we run: [CODE] We have single column indexes on all the columns. According to the docs : this will set an exclusive next-key lock on eve... | [CODE] Needs this composite index: [CODE] So, if you start it with [CODE] (in either order), that index will also work nicely for [CODE] If, by "We have indexes on all the columns" you mean single-column indexes, then those are wasted and in the way. MySQL will use only one index. It will pick among (col1), (col2), (co... | 0 | 2 | 1,894 | 2021-01-15T15:42:37.890 | database_errors | dba.stackexchange.com | |
12,269 | Eject a stubborn disc from a MacBook | When you have a CD or DVD you can't get out of a Mac, the steps to follow are: press eject press option-eject (optional) hit the eject button within iTunes issue the ' [CODE] ' command reboot the computer and hold the mouse button (or eject button) down during startup If the disc still won't eject, particularly from a ... | MacYourself has a few things to try ... I've been able to use the paperclip trick (insert the tip of a paperclip on the right-hand side of the drive) on a Mac mini. The Macbook may have different drives without the paperclip hole, though, I'm not sure. | 2 | 4 | 2,351 | 2009-05-26T15:10:25.437 | infrastructure | serverfault.com | |
46,185 | How do you test Microservices? | I'm in charge of leading a QA Team and one of our tasks is to develop Automated Microservice Tests. We've been successfully testing these Microservices for a year. In summary, our Testing Process is: Review the documentation Usually the Microservice output will vary accordingly to ~6 input combinations. We write the Sp... | There needs to be little more clarity on how the team currently works and what they expect to be working as. By reading the question it looks like the current Test strategy is like : Huge drawback of this implementation: This takes away the basic pillar of microservice architecture, this test creates a dependency betwe... | 3 | 5 | 281 | 2020-11-14T13:55:46.703 | pipeline_ops | sqa.stackexchange.com | |
914,049 | When send and receive in Outlook 2010 reported error (0x8004010F) | I am using Windows 10 and Outlook 2010. With the same profile configurations send and receive operation worked before, but suddenly it's getting following error. [CODE] | This issue happens due to change in the location of PST file on the machine. Move your data file to C drive (default location). Then make that data file set as default. I think it will work. | 3 | 2 | 165 | 2018-05-28T05:39:17.893 | api_errors | serverfault.com | |
538,933 | windows xp - how to add a ipp printer by batch/vbs | I need to deploy printers using IPP in the logon script (batch/vbs). I found the following script to do this: [CODE] This does seem to add the printer fine. However, when accessing the printer a "access denied" error occurs. The user adding the printers is an administrator account. Adding the printer manually works fin... | The problem was that a proxy was in use and even though it was checked in the proxy settings, local adresses did not bypass the proxy. By adding [CODE] to the proxy exceptions I got this fixed. I didn't expect a printer to use the proxy at all anyway, though. Edit: Apparantly adding a proxy exception does not work for ... | 1 | 0 | 1,222 | 2013-09-14T13:19:18.103 | infrastructure | serverfault.com | |
138,375 | Why am I getting this ANSI warning about NULL values and aggregate functions? | This is the exact warning message: [CODE] I understand what it means in general, i.e. that there's a null value in one or more rows for a column to which an aggregate function is applied, but I can't quite figure out why it's happening for my particular query or how to rewrite it such that I don't get the warning. This... | From what I can see you understand the problem perfectly. It sounds like [CODE] is causing you the grief. You can check this pretty easily by running code like this: [CODE] If you get any rows then that's probably your problem. Here is some easy sample code that will reproduce the warning you are getting. [CODE] As far... | 5 | 5 | 908 | 2016-05-12T17:06:32.683 | data_quality | dba.stackexchange.com | |
284,741 | How do I turn off etckeeper. It's preventing me from upgrading Ubuntu | I'm trying to upgrade from Ubuntu Karmic to Lucid, but it fails because etckeeper detects changes which happen during [CODE] and prevents the running of apt. How do I temporarily turn it off? Edit: [CODE] As I said, it's claiming there's changes, even though I just committed. | The hook should be in [CODE] . Moving it away should let you disable it. However, it does not seem that it should prevent upgrades. What sort of error do you get? | 6 | 7 | 4,326 | 2011-06-28T04:12:16.503 | infrastructure | serverfault.com | |
176,802 | Tools for monitoring Xserve and Xsan | I'm looking for some software (preferably commercial, supportable and easy for non-techy users to use) to monitor a number of Apple Xserve servers running OS X 10.5, and running as an Xsan controller. Specifically I want to monitor: Xsan metrics including CPU, Memory, Ethernet and Fibre throughput XRAID performance (la... | I'm using Nagios for Xsan / OS X Server monitoring, but you'll have to write quite some plugins yourself (that's not as comlex, as would seem). | 1 | 2 | 377 | 2010-09-01T05:32:48.813 | pipeline_ops | serverfault.com | |
37,527 | Appium 1.10.0 + Android : Unable to accept permission alert | Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver.findElement(By.id("Allow_buttonID")).click(); mobile:acceptAlert [UIAutomator2 specific] Still unable to accept the permission aler... | Solution : Finally solution worked for me was using text "Allow" driver.findElement(By.Name("Allow")).click(); Did not understand why other all tried solution failed for simple alert. Happy now working | 1 | 0 | 173 | 2019-01-29T11:17:59.460 | data_quality | sqa.stackexchange.com | |
390,419 | How to consume nested objects in API resource | I am building my first web application, it links to the serverside through RESTfull Web API (Angular on client side, ASP.Net Core and EF Core on serverside, Automapper to map API Resources to/from domain models). In the application I have two main models (simplified below as [CODE] and [CODE] ) and each has its own API... | I am treating the [CODE] which is a physical shipment as separate to the [CODE] which are the address, contact, time, etc... Does Order depend on Delivery? In your case it appears that an [CODE] can be made independently of a [CODE] . There for [CODE] should be its own API end-point. Is Delivery really delivering order... | 1 | 0 | 8,207 | 2019-04-16T05:13:48.980 | api_errors | softwareengineering.stackexchange.com | |
256,870 | What are some common reasons mysql stops responding? | I have to admin a mysql server, and was hoping people could give a few of the top reasons a mysql server might stop responding? Vague question I know, but I'm looking to read up on preventative measures as a learning experience before I get some problems of my own. What are common reasons a mysql server may crash? tech... | While I agree with everything that ErikA said - those are very much frequent reasons that MySQL will crash - I have to disagree that any of those are the most likely reason that a MySQL server might stop responding . Rather than MySQL crashing, in my experience it is far more likely that you will encounter database con... | 2 | 3 | 996 | 2011-04-07T14:14:40.790 | database_errors | serverfault.com | |
219,984 | Busybox, netstat, no -p | I have an ultra old (don't ask why) BusyBox (BusyBox v1.01 (2008.12.19-21:31+0000) Built-in shell (ash)) on my DreamBox. I would like to find out which process opened which connection using netstat. But I found out that BusyBox's netstat doesn't contain the -p option. What other possibilites do I have to find out which... | You can find the equivalent information in slightly uglier form (a.k.a. hexadecimal) in [CODE] . There, you can find the inode of the connection, which you can look up under [CODE] . For example: [CODE] (In normal netstat, but not in busybox netstat, the [CODE] option also gives you that extra information.) You can fin... | 15 | 23 | 27,407 | 2011-01-07T20:23:33.753 | infrastructure | serverfault.com | |
297,357 | Is O(log n) + O(log n) = O(n)? | We know that binary search takes O(log n) in Big O notation but if we need to run twice an algorithm of O(log n) , would it be the same as O(n) in time complexity? For example, if I have a method to calculate the first occurrence of a number in a sorted array with duplicates and another method to calculate the last occ... | No, [CODE] is not [CODE] . It is still [CODE] . When we have a big-O formula multiplied by a constant, it is equivalent to the value without the multiplied constant . So: [CODE] where [CODE] is a constant, non-zero factor and [CODE] is a bounding function. An [CODE] operation is an operation that takes a number of step... | 7 | 17 | 14,889 | 2015-09-15T19:49:55.633 | data_quality | softwareengineering.stackexchange.com | |
936,562 | Distinguishing which request was handled by which server | I've got single virtual machine that runs multiple http servers. Those servers are totally different as they do different things, they use different technologies (some are .NET, others are python, others are php => apache (windows)). All of these servers has generally different path, some of directories are duplicated,... | If you have multiple HTTP servers serving the same HTTP hostname, you will have some kind of reverse proxy in front of all this that will route the incoming connections to different backend services. Search for this as a first step. Second step: Look into the configuration for your various HTTP servers to learn what th... | 0 | 0 | 29 | 2018-10-22T07:06:54.100 | data_quality | serverfault.com | |
212,551 | Generating a CSR to a specific cipher suite | I am having to generate a CSR for a private RPC interface that is secured using certificates. As part of the requirements, it is specified that the only compatiable suite is: [CODE] My knowledge is rather limited but I have tried: [CODE] Then extract the public key via [CODE] Then convert into a CSR via [CODE] The unkn... | RC4 is a symmetric cipher which does not appear in the certificate request and in the resulting certificate itself. What can be important is the message digest algorithm; apparently your export-restricted CA requires MD5. So first create the CSR via: openssl req -new -key mykey.private -md5 -out my.csr (actually [CODE]... | 2 | 2 | 3,645 | 2010-12-14T17:43:19.480 | infrastructure | serverfault.com | |
43,813 | Postgresql constrains on FK | I am trying to design a (part of a) database which has to accomplish the following: There is a [CODE] table, containing a bunch of students. There are educations in the database. Each student can have 0..n educations. There are x different types of educations, in which x is small ( The different types of education all ... | From a design perspective, why would the [CODE] table be needed at all? The information that a specific student follows a certain type of education is implied by the existence of the corresponding row in the [CODE] table. If [CODE] 's reason for being is for SQL joins, it could be a view returning the union of all the ... | 2 | 2 | 99 | 2013-06-04T17:34:24.300 | database_errors | dba.stackexchange.com | |
950,556 | InnoDB Cluster - MySQL 8.0.13 upgrade to 8.0.14 on Ubuntu 18.04.1 LTS - Cluster creation fails | With the recent upgrade of MySQL from 8.0.13 to 8.0.14 on Ubuntu 18.04.1 LTS, I started getting an error by the time I issue the [CODE] after following the procedure to create from scratch a 3 machine InnoDB Cluster using the MySQL Shell interface: [CODE] Please note that prior to running the above command I already ru... | This is a bug in 8.0.14, in 8.0.15 the problem is resolved https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-15.html | 0 | 0 | 1,379 | 2019-01-24T12:00:21.813 | database_errors | serverfault.com | |
60,575 | How do I fix "no GLUE" problem with DNS lookups? | When I look up my domain at http://www.intodns.com , here's a problem I get: GLUE was not sent when I asked your nameservers for your NS records. This is ok but you should know that in this case an extra A record lookup is required in order to get the IPs of your NS records. You can fix this for example by adding A rec... | Glue records are special A records which are needed when the name server for a DNS domain is itself in the same domain. For example, if your domain is example.com and your name server is ns.example.com, you need to create a "glue" A record for ns.example.com in the next-highest DNS zone, in this case in the "com" zone.... | 16 | 17 | 77,925 | 2009-08-30T20:06:23.920 | infrastructure | serverfault.com | |
139,558 | Becoming a Better Bug-Fixer | I love being a programmer. There, I said it. However, with that said, I've realized lately that I really can't stand bug-fixing. At all. In fact, while I'm developing something, my productivity is extremely high. Even when writing unit-tests and doing self testing of my development, I'm generally really productive. I c... | it's not fun at all when you have to make minor changes and wait 30 seconds to 3 minutes to be able to see if they worked or not That's the real problem here. You feel unproductive when you have to wait so long for feedback, I know the feeling. Perhaps it is possible to fake out more services and create better test too... | 24 | 21 | 4,995 | 2012-03-13T15:26:24.173 | api_errors | softwareengineering.stackexchange.com | |
215,213 | Permissions and MVC | I’m in the progress of developing a web application. This web application is mostly a CRUD interface, although some users are only allowed to perform some actions and see only some parts of views. What would be a reasonable way to handle user permissions, given that some parts of views are not available to users? I was... | I'm not sure how it is normally accomplished in other frameworks, but I created a small PHP framework that essentially had a similar method to the one you described to trigger permission logic. I would imagine in Django you could create different view templates that include or not include the parts of the view that nee... | 4 | 1 | 488 | 2013-10-22T11:50:25.487 | api_errors | softwareengineering.stackexchange.com | |
598,148 | apache server can't start because of phpmyadmin.conf | I'm trying to start apache2 server but it complains at phpmyadmin.conf File phpmyadmin.conf looks so: It looks ok for me, but perhaps I miss something. This error appeared after I tried to change default location of website doing commands as a2dissite,a2ensite. My apache.conf file looks so http://paste.org.ru/?ingbp6 H... | This is due to [CODE] module missing or being turned off. Try this: [CODE] | 2 | 1 | 989 | 2014-05-23T17:11:23.883 | infrastructure | serverfault.com | |
858,354 | Auto login Azure VM | I've some processes I want to automate using an Azure VM. I want to automatically start it up, run something, then shut it down and deprovision it until the next scheduled startup. I can start something on boot by using Task Scheduler and setting something to run on startup, before login. This works fine with a console... | If you are using ARM template deployment you can use the following OSProfile for a windows machine to configure AutoLogon : [CODE] | 2 | 1 | 4,369 | 2017-06-28T14:23:03.400 | infrastructure | serverfault.com | |
927,236 | How to delete old Jenkins builds on repository branches | I have used the Blue Ocean plugin to create a Jenkins job that automatically uses the Jenkinsfile (declarative pipeline) to build and report the status back to GitHub. That all works fine. The issue I have is that I cannot get old builds deleted. The job shows as a repository and I have configured it to keep a maximum ... | Certain job properties are adjusted using directives in Jenkinsfiles and not the configuration in the web UI. In your Jenkinsfile: [CODE] You may of course adjust the various parameters to suit your needs. | 2 | 4 | 13,686 | 2018-08-20T18:48:29.300 | pipeline_ops | serverfault.com | |
366,355 | Windows server 2008 fails to respond to SYN sometimes | I have a problem seen on Windows Server 2008 running IIS 7. I have seen a packet trace where the server stops responding to SYN from clients. However, it will respond to intermediate SYNs i.e [CODE] Ultimately client A times out. How do I find the reason why server is not responding to one particular connection. Are th... | Make sure to packet sniff on both sides of the connection. You may see the SYN being sent, but maybe it never actually reaches its destination. Something filtering? | 0 | 1 | 193 | 2012-03-05T04:37:08.250 | infrastructure | serverfault.com | |
616,812 | RSVP on Cisco, Understanding and basic configuration | I'm looking for some help about a basic configuration and use of RSVP QoS into a Cisco router (2901 series). Since I have no luck using RSVP into my main network, I have tried to make it work in a basic configuration but with no positive result so far. Here is my basic network: [CODE] My priority flow comes from 123.22... | There was one missing command into my configuration which is "fair-queue". But this command was unavailable in Cisco release 15.2, I have to downgrade my router in 15.1 in order to make it work. Here is the interfaces configuration when it works: [CODE] With this donwgrade action, it seems that Cisco will not be able t... | 0 | 0 | 592 | 2014-07-31T07:09:20.053 | infrastructure | serverfault.com | |
370,263 | How to reset/flush a MediaWiki? | I have a fresh MediaWiki installation that I would like to make some mass import tests on from another wiki. I will expect that my first tries will fail, and I end up with I have inserted 500 pages with broken images and such. Question So is there a way to reset/flush a MediaWiki, so I have make a test, flush, make som... | Probably the easiest way would be to first create a [CODE] of the database while it's pristine: [CODE] ...then script a MySQL database drop: [CODE] ...followed by a mysql import: [CODE] ...to restore the database after your test completes. Might need to double-check syntax on my suggested commands; been a while and I'm... | 7 | 7 | 3,650 | 2012-03-15T21:48:36.967 | api_errors | serverfault.com | |
263,572 | What file system to choose and mount options to use for serving a datastore to remote ESX server via NFS and ISCSI | I'm creating a shared storage server for ESX servers. The storage server is 2U Supermicro 24-bay rackmount server with 12x32GB Intel X25-e SSDs and 12x600GB Toshiba 10k SAS drives. Both SSDs and SAS drives are configured as RAID10 arrays which appear to the OS (Ubuntu 10.04.2 LTS) as big virtual drives. The RAID contro... | Just as a general observation, unless you're testing 'teh new and shiny' (e.g. BTRFS) you almost surely want a file system that Offers decent performance widely used maintained and developed Frankly, only ext4 and XFS fulfill the above criteria. Both are good, you can't go horribly wrong either choice, so just choose w... | 1 | 3 | 414 | 2011-04-26T16:22:39.847 | database_errors | serverfault.com | |
195,658 | SQL Server 2005 Performance | We have SQL Server 2005 SP3 Enterprise 32-bit running on a Windows server 2003 Enterprise 32-bit with 32GB of RAM and 8 dual core processors. Our CPU, RAM, and I/O are always through the roof and the application is always running slow. We use AWE for buffer cache the maximum memory is 28GB, the PAGEIOLATCH_SH is always... | I'll tell you one thing that is wrong right away: 32bit. Its a dead end. AWE can only help that much. Just give it up and move to 64 bits. Still, 32 GB with AWE should give plenty of buffer pool. How big is your database? Much larger than 32GB? Why isn't it mostly cached, why do you see [CODE] ? This implies that the s... | 0 | 8 | 172 | 2010-10-28T03:47:04.413 | database_errors | serverfault.com | |
344,951 | set only one ip can access ftp services | how to allow only one ip using the ftpd services in hosts.allow? and deny all ip using the ftpd server in hosts.deny? Or there is another way to allow only one IP can access proftpd i'm using proftpd here is the conf file [CODE] | Do a [CODE] in your /etc/proftpd/proftpd.conf. And the user can log only if it comes from the good IP network. Or without the IfUser for all users. It is maybe easier to put a firewall... | 3 | 3 | 3,953 | 2011-12-29T08:48:24.580 | infrastructure | serverfault.com | |
583,036 | Configure SIP Trunk from Lync 2013 to Cisco Call Manager v6 | I'm implementing Enterprise Voice for Lync, and I have to get Lync to work with a antiquated Cisco Call Manager version 6. The SIP trunk has been created but I get this error on my Lync servers: A PBX gateway has been marked as down. Gateway name: 192.168.1.14. Cause: A gateway failed to respond to a request within all... | It may be because of this hotfix: KB2640253 http://social.technet.microsoft.com/Forums/lync/en-US/650006ae-3199-4dfe-b31e-a7c6a948224d/lync-unable-to-call-out-through-dialogic-gateway-link-to-siemens-hipath-pbx?forum=ocsvoice | 0 | 0 | 1,071 | 2014-03-19T07:49:46.180 | infrastructure | serverfault.com | |
746,343 | tomcat not shutting down in CentOS | I was trying to shutdown tomcat but giving me following error. [CODE] This is the full output, [CODE] | /opt/apache-tomcat-7.0.67/bin/catalina.sh: line 439: /usr/local/jdk/bin/java: No such file or directory What's not to understand about that ? It looks like your [CODE] may be incorrect. | -1 | 2 | 354 | 2016-01-02T07:40:42.093 | infrastructure | serverfault.com | |
478,145 | How can I limit a users bandwidth in Windows Server 2008 R2 | We have a user that likes to download movies with torrents in our office and it just kills the overall network performance. Unfortunately we need this user and don't want to confront him directly about this so we're looking at options to limit how much his user account, computer, or IP uses as far as bandwidth. I've do... | There is no real way to solve an HR problem like this with IT policies and hacks. The best possible solution would be to implement a solution from OpenDNS or many others to simply block content on your network that has nothing to do with your company. Torrents should not be allowed on a corporate network, there are by ... | 1 | 4 | 19,029 | 2013-02-12T19:35:05.557 | infrastructure | serverfault.com | |
1,010,865 | Automatic switching between ethernet and 4G on router? | I have a router which have both incoming internet through Ethernet and 4G via USB. My fiber connection is unstable, and I have gotten a courtesy 4G SIM from my ISP. Is it possible to set up the router in such a way that when fiber connection fails, it automatically switches to 4G? I have an ASUS 2900 router and an open... | Have you tried reading the manual for Asus RT-AC2900 ? A quick search for failover gives: 4.3.2 Dual WAN Your ASUS wireless router provides dual WAN support. You can set the dual WAN feature to any of these two modes: Failover Mode : Select this mode to use the secondary WAN as the backup network access. Load Balance M... | -1 | 1 | 575 | 2020-04-04T07:30:11.873 | infrastructure | serverfault.com | |
24,296 | Single vs Multiple deep learning networks for multi-label classification? | Given a machine reaches a broken state, there are potentially fixes that can to be applied to get the machine to run again. We'd like to know if, for the problem further defined below, with millions of datapoints, hundreds of features, and tens of labels, should we be looking at using a single deep neural network with ... | This kind of setup is normally addressed with a single neural network that has an output sigmoid layer of $N$ units (where $N$ is the number of possible fixes). Having combinations of fixes represented with their own label does not make much sense; instead, let the different labels take the expected value: if 2 fixes a... | 0 | 1 | 616 | 2017-11-02T14:21:55.763 | data_quality | datascience.stackexchange.com | |
126,431 | Falcon-7B llm giving random output | I am using a falcon 7B model for a chatbot without any finetuning with the following code [CODE] the result isnt as expected and it outputs [{'generated_text': 'Hi8\x10=:AHi8\x10>Hi8\x10>:AHi8\x10?'}]. How can i fix this and make it output a proper response | You are using the GPT-2 tokenizer instead of the model's own tokenizer. Try getting the tokenizer from the model instead: [CODE] | 1 | 2 | 40 | 2024-01-15T14:21:16.870 | data_quality | datascience.stackexchange.com | |
980,653 | Site becomes slow on traffic spikes but no load on server | Excuse me for my limited server knowledge I run a website on a Centos LAMP dedicated server, Core i7 with 32 GB RAM on a 1 GBPS line with 2 TB Traffic quota... when traffic goes up (bout 600+ users as per Google Analytics) the site becomes unavailable or becomes too slow. I checked the server load, but it shows [CODE] ... | You probably hit the [CODE] and [CODE] limit of apache. Default is 256 you have 600. This puts clients to a queue to keep server load low. You need to edit httpd.conf and increase limit. Name of the variable may vary depending your Apache version. Also don't forget to restart apache after change. The [CODE] directive w... | 1 | 0 | 154 | 2019-08-25T17:18:22.617 | infrastructure | serverfault.com | |
93,715 | Reducing (Variance) | the gap between my weights | I have ML ready samples. And each sample has a weight. The weights distribute between [CODE] My problem arise because there are a lot of samples which are [CODE] And a lot of samples which are [CODE] I am going to sample data based on these weights. And samples with 0.99x will overshadow the other samples in the data s... | Try the softmax function: [CODE] You can tweak the temperature hyperparameter. Higher the value - the "new_weights" come closer - yet order is preserved | 1 | 1 | 62 | 2021-04-29T07:59:37.813 | data_quality | datascience.stackexchange.com | |
115,089 | Does combining real data with simulation data improve the performance of machine learning? | I am trying to train a machine learning model to help me classify some real data. Since the acquisition and labeling of real data can be very expensive, the training data is generated with simulation. However, the trained model doesn't perform very well on real data, my suspicion is that the simulation is not a 100% ac... | I suggest that you add an extra input binary variable indicating whether the data is simulated or not. For the simulated data, you would set it to 1, while for real data you would set it to 0. This may help the model profit from simulated data while still being able to do well in real data. This advice is inspired by s... | 0 | 4 | 257 | 2022-10-10T21:16:40.733 | data_quality | datascience.stackexchange.com | |
932,243 | How to install CentOS 7 on VM with kickstart file ks.cfg without Network (offline mode) | I am trying to install CentOS 7 on my VM using Kickstart Configuration file ks.cfg. All I need is to install CentOS 7 on my VM without using network (offline). I have created a [CODE] file with help of online links (see below) but its not working for me. Following is my [CODE] script which I am using for the CentOS 7 o... | I know that this question is two months old, but I stumbled upon it while researching kickstart and might be able to help. When you give the argument [CODE] you are telling grub to load linux with a kickstart file located on the root of the cdrom named ks.cfg. If you're using the standard install .iso and you haven't r... | 1 | 1 | 8,302 | 2018-09-23T09:00:05.847 | infrastructure | serverfault.com | |
176,745 | Rackspace CloudFiles and JungleDisk performance vs The Planet CloudStorage | I am considering using either Rackspace CloudFiles with JungleDisk or The Planet's CloudStorage for a webapp that needs fast read performance to serve very large video files. The application uses some authentication backends that x-forward the files to be served through an nginx frontend. This setup requires that the f... | JungleDisk is a hack, works very well for personal storage, but i wouldn't use it for a server. In short, it's a local cache that fetches full files from either S3 or CloudFiles, then shares it on WebDAV for the local system to mount it. Didn't know about The Planet's CloudStorage; but if it's like GoGrid's (which can ... | 0 | 0 | 794 | 2010-09-01T01:32:15.333 | api_errors | serverfault.com | |
786,469 | rsyslog : logs in double in my file | I've configured my firewall to send logs to rsyslog. But all logs appears twice. [CODE] I've configured my forti to send to local0. Here's my rsyslog.conf [CODE] | i've made it via logstash. https://discuss.elastic.co/t/logstash-duplicate-message/26096/3 thanks | 0 | 0 | 1,269 | 2016-06-27T09:30:38.997 | infrastructure | serverfault.com | |
777,203 | SSL for Webserver with nginx | I am totally not familiar with SSL and all tutorials are pretty confusing for me. I want to ask you one thing - I have from rapidssl this two certs: intermediate.crt & web_server.crt. I had to combine [CODE] I generated server.key and server.csr via [CODE] I tryed to use server.key and web_server.crt provided by RapidS... | You don't have a private key, which is required. Either find your private key or create a new key and request a new certificate. Read any SSL tutorial to work out the details of why this is necessary. | 0 | 0 | 54 | 2016-05-17T06:31:32.583 | infrastructure | serverfault.com | |
185,182 | Create, Drop permissions | I would like to grant create, select, update, drop permissions only for user USER_NAME for a particular schema SCHEMA_NAME. It is possible? | Try this: [CODE] You cannot provide grants to drop an object to any other user besides its owner. Only the superuser or owner has the permission to drop the object. | 0 | 1 | 64 | 2017-09-06T11:00:56.530 | warehouse_errors | dba.stackexchange.com | |
241,048 | Stop Munin messages from /var/log/syslog | I am using munin on a system which is adding a log entry in syslog everytime the munin-node cron job executes. It is not an issue but it sometimes makes other errors spotting difficult. There are entries like [CODE] every 5 minutes and I was wondering how can I stop the messages going into syslog. For munin specific er... | Depends on syslog. If use rsyslog(Ubuntu/Debian), you can edit /etc/rsyslog.d/50-default.conf: [CODE] It's a cron syslog message(not Munin). | 4 | 4 | 2,925 | 2011-02-28T07:23:36.747 | infrastructure | serverfault.com | |
42,346 | Why can't the XOR linear inseparability problem be solved with one perceptron - like this? | Consider a perceptron where $w_0=1$ and $w_1=1$ : Now, say we use an activation function $f(x)=1,~for~x=1$ $~~~~~~~~~~~~~0, otherwise$ The output is then summarised as: $x_0~~~~~x_1~~~~~w_0*x_0 + w_1*x1~~~~~f(.)$ $0~~~~~~~0~~~~~~~~~~~~~~0~~~~~~~~~~~~~~~~~~~~~~~~~~~~0$ $0~~~~~~~1~~~~~~~~~~~~~~1~~~~~~~~~~~~~~~~~~~~~~~~~~... | Your function 0,otherwise 1 is not a linear combination of the inputs. From the definition of [CODE] L A single layer perceptron (SLP) is a feed-forward network based on a threshold transfer function Your function has two thresholds: one for 1 | 0 | 1 | 233 | 2018-12-09T02:24:40.230 | data_quality | datascience.stackexchange.com | |
130,200 | Removing duplicate rows with two or more left join tables | With a query like this [CODE] When executed, both [CODE] and [CODE] will be multiplied by each other and produce duplicated entries in the JSON array object. I tried changing the query to use 2 subqueries instead, but I get all sorts of errors and warning, such as "Subquery must return only one column", etc. I also tri... | I have found a solution. I am not sure if it is optimal, but it works. [CODE] Which correctly returns [CODE] | 9 | 6 | 6,481 | 2016-02-23T16:15:33.433 | data_quality | dba.stackexchange.com | |
277 | Problem in integrating Travis-CI with core PHP projects | I am trying to integrate my project coded in core PHP , with Travis-CI but it always fails. Travis reports a failure even when I have only one file in my project. PHP file Code : [CODE] [CODE] File Code [CODE] | You need to write some unit tests and set the [CODE] variable in your [CODE] to actually run a file. By default, Travis CI runs the command [CODE] without any arguments. When this happens, [CODE] doesn't know what you're asking it to do, and shows a help message, then exits with error code 2 (i.e. non-zero , which indi... | 11 | 10 | 148 | 2017-03-03T11:04:24.523 | pipeline_ops | devops.stackexchange.com | |
475,583 | iptables one connection from external IP | I want to be able to connect to my server from outside my office, but I want make just one person can use remote desktop at once [CODE] What I have to add to make it work, and is it possible using iptables? | If you want to restrict your rule based on the source IP address, you need to specify the IP address in the [CODE] option. Also, you need to make sure the needed port is allowed in the [CODE] chain (access to local host) or [CODE] chain (access to another machine via firewall). | 0 | 0 | 133 | 2013-02-05T12:20:19.703 | infrastructure | serverfault.com | |
261,227 | How should I be handling warehousing scan input in a SQL Server Database? | I've been tasked with organizing a list of scan entries so they can be better analyzed by managers. The list looks similar to this: [CODE] Each scan has a Username concatenated with some sort of code. Purely numeric codes, e.g. 000123, are Order #s. Longer codes, with alphanumeric characters, e.g. 123 ABC-1647, are Ite... | Caveat: I am a primarily Microsoft SQL Server DBA, and your environment may differ, requiring adjustments to make my advice work for you. One approach to this might be to write up what needs what in this. An example would be that a user can create an order. An order has a start time and an end time. These can be in the... | 1 | 0 | 41 | 2020-03-04T19:56:51.920 | database_errors | dba.stackexchange.com | |
338,080 | Angular 2: component reusability and setup of testing module | I am currently initiating myself to the latest RC of Angular 2, coupled with typescript. So far, I really love it, but I however already stumbled upon a few existential concerns. The [CODE] annotation, along with the [CODE] approach of typescript, are intented to encourage code and component reusability. But, there's s... | A solution might be to bundle your component into a seperate (shared, like a class library if you will) module which other modules will be able to import into their own. | 1 | 0 | 389 | 2016-12-13T17:19:58.190 | data_quality | softwareengineering.stackexchange.com | |
149,166 | Suppress EXT3-fs warning on mount | I am familiar with output suppress on Unix machines, ie: [CODE] However I can't seem to suppress the output of mount when an ext3 filesystem is mounted for the nth time, and it recommends an fsck. As it happens, fscks are run regularly by another machine, so these warning messages are needlessly interrupting the flow o... | I'm pretty sure that those messages are coming from the kernel, not the mount command itself, so redirectinging the outputs aren't going to help. Try tweaking kernel.printk in sysctl until you get a level of verbosity that you're happy with. When you say fscks are regularly run by another machine, i'm guessing this is ... | 0 | 3 | 632 | 2010-06-08T09:40:53.010 | infrastructure | serverfault.com | |
445,154 | When is the application of Kotlin infix functions appropriate? | The Kotlin language brings the simplification of function calls to the natural language. This article shows a nice example: Function: [CODE] [CODE] Infix function: [CODE] [CODE] AS a newbie to Kotlin, I can imagine myself writing every function as an [CODE] function, yet my intuition says it is wrong. There is endless ... | [CODE] should be treated like the syntactic sugar that it is: If it aids in the readability and flow of your code? Use it. Otherwise? Don't. That's really the only hard/fast rule. Mind that just b/c you can add [CODE] doesn't mean you should. So while you could , through a series of complex higher order functions, gene... | -1 | 2 | 83 | 2023-04-21T10:37:43.600 | api_errors | softwareengineering.stackexchange.com | |
203,304 | mysql_query() is NOT passing the command to the MySQL server using the C API | I have this question asked but after a deeper investigation I realized that hanging is not the issue. After reading this thread I decided to ask a new question. For example I pass this string to the [CODE] function: [CODE] When I run several thousand of this command via [CODE] then the command is NOT submitted to the M... | User Gerard H Pille gave me the correct tip - see the chat . I had to remove the [CODE] setting and now it works. The program runs now for more than 2 months without any issue 1 . It were these 2 lines of code according to the MCVE: [CODE] Why the setting is causing this issue I cannot answer. New test results: MySQL C... | 0 | 2 | 451 | 2018-04-07T14:34:16.093 | api_errors | dba.stackexchange.com | |
265,545 | Why would the user matter for performance when running a query? | I have a web page with a database lookup that contains multiple optional parameters. When I select a couple of parameters and run the query, it returns in less than two seconds. However, when another person logs in, and runs the same query with the same parameters on my machine, it takes 30+ seconds to come back. Web b... | There could be different reasons - I'll speculate some of them: You could have row level security and have different rows returned for different callers You could have resource governor enabled with different resource sizings for each user based on a login trigger Perhaps the different users are on different machines a... | 0 | 3 | 86 | 2020-04-21T23:15:45.397 | warehouse_errors | dba.stackexchange.com | |
204,121 | postgres nested jsonb query | I have a jsonb structure on postgres named [CODE] where each row (there are around 3 million of them) looks like this (I have GIN index on it): [CODE] I would like to query the [CODE] field in the fastest possible way. In Django I tried to use: [CODE] but this takes ages to complete (also, "THE-CITY" is in uppercase, s... | You don't want [CODE] , but instead [CODE] , from the docs [CODE] Get JSON object at specified path [CODE] Get JSON object at specified path as text Also, you should consider normalizing that. Storing json-arrays, of json-objects and expecting a query on those objects to be fast is insane. | 3 | 3 | 8,196 | 2018-04-16T19:41:43.767 | database_errors | dba.stackexchange.com | |
278,547 | How do I create a new Oracle schema? | I’m pretty familiar with Relational DBMS in general, but not with Oracle. I have Oracle 18c XE running inside Docker (on MacOS). I connect to it using a third party client (SQLPro Studio on MacOS). Now I want to get started. If this were MySQL I could issue [CODE] and proceed with the tables. The same with Microsoft SQ... | I gather that Oracle XE only gives you a single database Correct - as long as you "speak" Oracle-ese. The Container Database is the only "real" Oracle Database instance that you have. The "Pluggable Databases" within it are essentially "Tablespaces on Steroids", but with much better security that now guarantees the iso... | 3 | 8 | 2,368 | 2020-10-23T07:25:44.520 | pipeline_ops | dba.stackexchange.com | |
246,779 | How can I set a random timestamp for a row based on a columns value in mysql? | I have an app that I built and found an issue with it. Essentially there are created_at and ended_at timestamp columns. The ended_at function in my app had a bug so now I have a few hundred thousand rows that have no ended at timestamp. I want to go through each row and based on the created_at column, generate an ended... | I like to check out a computed column as part of a read only select first just to make sure it shows the values I'd expect. [CODE] If you see the correct variation and values you were expecting to see then your update query will work fine. For extra protection you could run the update in a transaction : [CODE] If you a... | 0 | 1 | 948 | 2019-09-02T15:15:01.770 | database_errors | dba.stackexchange.com | |
417,695 | Remote branches and domain controller | I have a very small, but distributed network. In the central office, there's a Windows Server 2008 R2 VM with a few Linux VMs running on the same box. There are two client PCs running Windows7. In a remote location, there is a single client PC, currently connecting into the central office with OpenVPN via one of the Li... | The ideal solution would be to setup a site-to-site VPN tunnel and handle all the authentication against the DCs at the main site. (This would of course, depend on your network gear or any gateway servers you can set up at each site.) If you put a second DC at the remote site, you'll have the same issues with connectin... | 1 | 1 | 1,554 | 2012-08-15T06:10:57.950 | database_errors | serverfault.com | |
92,429 | Cannot install MYSQL using aptitude...can anyone tell me why? | It just stops and freezes after this. [CODE] | Because when you removed the packages last time, you only removed them, not purged them, and then you deleted the config files by hand. So dpkg thinks you don't want a default config file (because you deleted it), so it doesn't install a new one, and MySQL has a cry. Purge all mysql-related packages and try again. | 0 | 7 | 2,734 | 2009-12-08T23:50:08.217 | database_errors | serverfault.com | |
778,201 | ZFS - Solaris 10 doesn't see disks after reboot on HP Pro DL380 G7 | The current box has 2 logical drives, shown in P410i Array Controller (F8 during POST) as: Logical Drive 1 - 2 SAS 72GB HD Raid10 Logical Drive 2 - 4 SAS 146GB HD Raid 5 And this is what it shows in the OS : [CODE] The size of current rpool (c0t0d0) is too small which is 72GB. I want to increase the rpool by putting in... | My recommendation to you would have been to replace the 72GB disks with 146GB drives, one-by-one, allowing each to rebuild. That would then allow you to expand the logical drive from 72GB to 146GB. This would require the use of an offline utility or the [CODE] or [CODE] tool to perform the expansion. Within ZFS, the ne... | 2 | 0 | 394 | 2016-05-21T15:16:32.473 | infrastructure | serverfault.com | |
698,780 | 3 internet line in a single network | i'm going to bond 3 internet line in a single network. i'm using Mikrotik RB750 router, I configured this router like this: [CODE] Note: The router has 5 physiccal ports (WAN1,WAN2,WAN3,WAN4,WAN5) and 1 wireless port. WAN1 and Wireless port connected together via [CODE] and all of the nodes in the network connected to ... | You are trying to use PCC (Per connection Classifier) but what you ask is load balancing based on the source IP address range. Remove the following rules from your configuration: [CODE] And add the following: [CODE] There is no need to mark the connections and then route-mark after. You can route-mark directly based on... | -3 | 1 | 300 | 2015-06-13T11:04:47.597 | infrastructure | serverfault.com | |
943,959 | Waiting for localhost : getting this message on all browsers | I am using Ubuntu 14.04 and have php5 and mysql installed. I have 3 web applications on my /var/www/html folder. Until yesterday evening I was able to test and work on the applications. All of a sudden, I am not able to load any of my applications on any of the browsers. I have firefox and chrome installed. I have chec... | Check your hosts file for unnecessary entries. /etc/hosts in Linux. C:\Windows\drivers in Windows. See if any other application is running on port 80. Verify that your web app is returning a response to the client. Check your database connection. https://www.quora.com/Why-does-my-machine-keeps-waiting-for-localhost-for... | 0 | 0 | 5,590 | 2018-12-12T06:07:13.153 | database_errors | serverfault.com | |
317,785 | Printed Page layout application with images in C# | I'm working on an application to help create printed-page layouts (to be then fed into a custom script for InDesign). I'm facing a problem regarding placing images on a page. Either a single image could be placed on a page, or multiple images. If a single image is placed, the user should be able to define whether it's ... | Look at how window layout is done in, say, WPF, because it's basically what you're trying to solve from scratch. You have various container options with different layout strategies: StackPanel with horizontal or vertical orientation, GridPanel with fixed or dynamic sized cells, DockPanel with its "start from border, fi... | 1 | 1 | 302 | 2016-05-07T09:39:26.333 | api_errors | softwareengineering.stackexchange.com | |
541,852 | Tail -f on new files | Is there a way to do something like this: [CODE] and make the stdout to be updated on every line added to each file already present in logs/ and to every file that will be created in logs/ after the command is issued? | Thanks all for support, but since nor mutitail nor tail -F nor watch tail seems to help for what I need, I developed a small solution in C. I post the code here, since maybe someone can find it useful. (There are missing checks and some weakness I know, but so far it's enough) [CODE] | 10 | 9 | 8,089 | 2013-09-26T12:55:29.553 | infrastructure | serverfault.com | |
1,031,807 | How to deny git pull and cd into a folder/file in Windows? | So I find myself being forced to use a Windows machine just because thats what the financial institution feels is more secure for an outside contractor. I am using powershell and I just received some [CODE] assets from their in-house designer which I committed and pushed in the branch I was working in and then attempte... | Talk to a desktop person, rather than speculate on their intent. Together look for access control policy that might have denied access: You the user altered some file permissions Administratively applied ACLs such as via Group Policy Security controls that are capable of blocking file access, like endpoint agents, poss... | 0 | 0 | 387 | 2020-08-28T00:50:09.927 | infrastructure | serverfault.com | |
997,233 | Why would this script not start the apache webserver? | I use this script to restart the apache2 web server since the letsencrypt ssl renew process does not restart it once it has finished its actions. When i test it manually by stoping the server and running the script. It works fine. However when it is part of a cronjob that runs, the webserver does not start. However in ... | I think I solved it. I looked at root's mail and noticed that cron was reporting that it cannot find the "service" command. So the /usr/sbin was not included in the PATH. I went in and hardcoded the absolute path to the service command and now it should work. You can either set the PATH at the top of your shell script ... | 0 | 0 | 270 | 2019-12-31T20:34:23.030 | infrastructure | serverfault.com | |
354,885 | Modeling first and lastname separately | Which arguments should someone consider when designing a new system and has to either store the name of a person as one field or separately as first/last name? Pros for single field: Simpler UI No ambiguity when trying to enter the name of a person, who has a very long name (often non evident which is the last name / f... | First name and last name are not useful concepts. Names work differently in different countries. In most Asian countries, the family name is written first, but it is still used for sorting—so you may put it in first name, and sorting will be wrong, or in last name, and display will be. And then there are countries like... | 38 | 55 | 14,151 | 2017-08-01T10:40:01.470 | api_errors | softwareengineering.stackexchange.com | |
66,828 | Best practices for working with multiple programmers | I think most programmers prefer to work solo on projects, even when it's not feasible. I prefer to work alone, even outside of programming projects. When working with other developers, I typically find that I don't like their formatting or conventions (such as variable or method names) I don't have a good understanding... | There is only one way of overcoming those issues. It is namely "Communication". The problems you describe are due to you programmers not speaking to each other. If you had discussed what would be the best or most efficient way of solving a task it would be implemented in a way that you want. Further you could agree on ... | 9 | 20 | 4,042 | 2011-04-10T07:18:16.370 | api_errors | softwareengineering.stackexchange.com | |
300,961 | WordPress MYSQL DB BINARY LOG - Droplet/SERVER Volume Increasing rapidly | My WordPress website uses Nginx. Recently I have noticed that server volume has increased from 8GB to 40GB. I have found that the WordPress MYSQL Binary Log is taking more space. Each second, database transactions are written to the Binlog files. I am wondering because we do not have massive traffic on our website/Word... | The binary log contains changes to data or metadata. I.e., INSERT/UPDATE/DELETE/REPLACE, and also CREATE/ALTER/DROP/TRUNCATE statements. It isn't necessarily due to malicious traffic. It could simply be creating records of users visiting your site, or making copies of versions of wordpress posts as you edit them. You c... | 1 | 1 | 794 | 2021-10-11T12:57:51.483 | database_errors | dba.stackexchange.com | |
1,085,827 | Get kubernetes pods to take on a specific identity / role / job once started | What I am presenting here is a simplified version of my setup and the syntax is wrong . I have a list of high level "agents" that I want to deploy as pods on a kubernetes cluster. Some nodes in this cluster have special hardware, some don't, but all the pods should use the same container. Could look like (again: syntax... | I would probably implement this with a MetaController CompositeController and a Custom Resource which defines the agents. Coding is required though. It looks much more complicated than it is. Basically you regularly receive sync hooks over HTTP describing the current state of resources and you respond with JSON to crea... | 0 | 1 | 101 | 2021-12-09T12:44:33.160 | hadoop_errors | serverfault.com | |
531,350 | Is my response time normal? | I have a cheaply rented server space running Ubuntu 12.04. I've measured response time using a Python script that just connects over a socket and sends small data back and forth, and it seems quite erratic, jumping around from 85ms to 2sec, averaging around 400-600ms. When I [CODE] the server, response time is about 85... | Why the discrepancy? Because it's a stream oriented protocol running on top of a packet switched network. Because cheap services usually equate to poor services. Because ICMP isn't usually firewalled. When I ping the server, response time is about 85ms. Suggests your server is at least 3000 miles away. Is there any sta... | -2 | 3 | 147 | 2013-08-15T20:58:04.220 | infrastructure | serverfault.com | |
311,652 | slow mysql query need help | I want to retrieve count of unread message for each phone number from the table user_message. Below mentioned query takes 2996 ms to give result which is super slow. Extra Info of table: table contains 6.6 million rows I have Indexed Column phone_num and m_status [CODE] [CODE] | Indexing the columns individually means that you will need to find out all the rows that match the [CODE] predicate and then find out all the rows that match the [CODE] predicate, and then merge the results sets together. Alternatively, it could just use one of the indexes and read the rows by index lookups and check t... | 1 | 3 | 97 | 2022-05-04T11:34:49.810 | database_errors | dba.stackexchange.com | |
64,466 | group the similar words | array(['Ruby on Rails', 'Ruby', 'AWS DynamoDB', 'Python', 'MySQL', 'Swift', 'Android', 'iOS', 'JavaScript', 'React Native', 'ReactJS', 'TypeScript', 'Vue.js', 'Webpack', 'Amazon Web Services(AWS)', 'Kubernetes', 'PHP', 'CI/CD', 'Java', 'C#', 'C', 'Node.js', 'REST API', 'Go', 'Redux-Saga', 'Redux.js', 'Babel', 'GraphQL'... | There will not be any pre-trained models to cluster these words. In fact, in order to build your own clustering model you will need more metadata about each observation/word in your array. At the moment any model would only be able to "see" the name of the package/software in your array. So the best you could hope for ... | 1 | 1 | 99 | 2019-12-09T09:49:25.667 | database_errors | datascience.stackexchange.com | |
126,191 | Calculate the fee with conditions | I have two tables 1 is fee-structure and 2 is student-info, in fee-structure I have define all classes fee like.. Class tuition-fee swimming-fee cricket-fee etc. Class wise and in student-info I have a studenId(is primary key) and other-activities(in which he/she interested like swimming,cricket etc) column and in othe... | More info on the tables definition would be very helpful. Without that what I'd do is have two main tables: student and activity. Table student should have, at least, fields: ID, NAME Table activity should have, at least, fields: ID, NAME, FEE A third table, called registration/interests, would record which student is ... | -2 | 0 | 43 | 2016-01-14T04:37:13.667 | warehouse_errors | dba.stackexchange.com | |
536,369 | How to improve Intel X520-DA2 10Gb NIC throughput without Jumbo packets | Here's what I have done so far: Using more Rx/Tx buffers boosts performance the most from defaults. I set RSS Queues to 4 on each adapter, and specified starting RSS CPU on the second port to something other than 0 (it's 16 on the PC that I use, with 16 cores, 32 HTs). From watching ProcessExplorer, I am limited by CPU... | One of the problems with high performance NIC's is that the modern PC architecture has a bit of trouble keeping up. But, in your case, this isn't so much the problem. Let me explain. The CPU has to do a lot of work processing TCP packets. This affects the throughput. What's limiting things in your case is not the netwo... | 5 | 4 | 13,722 | 2013-09-04T18:43:48.107 | data_quality | serverfault.com | |
306,199 | Can't re-image laptop, "Windows Setup could not configure Windows to run on this computer's hardware" | A user's laptop (Lenovo W520) was having strange issues (could not open mspaint, among other things, other apps crashing a lot), and it is only 2 months old. After chkdsk and Lenovo diagnostics CD (a full run), nothing surfaced so I decided to re-image the machine since problems persisted and there was minimal data to ... | I decided to do a clean OS install on the laptop. There are no problems thus far, everything works normally - time will tell if this is the right answer or not. Aside from the unexplainable error while Windows "out of the box experience" prepared the machine after imaging, everything else could be software issues (and ... | 1 | 1 | 6,138 | 2011-08-29T21:05:12.760 | database_errors | serverfault.com | |
790,114 | Apache vhost config | Hi i've tried to configure a vhost on my server but it's not working. when trying to access it goes default... this is my basic config. On my server: /var/www/html/blentico.com/public_html/index.php (and Wordpress packages) /etc/apache2/sites-available/blentico.com.conf this is the content of blentico.com.conf [CODE] t... | At the very least you need to wrap your configuration with [CODE] tags. Otherwise I imagine it'll just get merged into the default configuration. See https://httpd.apache.org/docs/2.4/vhosts/ for more information on setting up vhosts. | 0 | 0 | 204 | 2016-07-15T19:27:30.990 | infrastructure | serverfault.com | |
233,544 | Configuring a SonicWall TZ100 to protect VM (virtual machines) for PCI compliance | I'm currently running VMWare ESX 4 with several virtual machines. One of these VMs needs to be PCI-DSS compliant, and more may need compliance in the future. In other words, I don't want to allow any LAN-LAN traffic. I currently have a SonicWall TZ100 as the firewall for the box. It seems there is a way to block traffi... | In order to isolate the LANs you must first start at the TZ100. on the selected LAN interface create a new zone, this will seperate the Zones. Once you create your new zone, you'll need to create Access Rule from NEW ZONE->WAN and WAN->NEW ZONE or you wont be able to access the internet. Then continue to your switch an... | 0 | 1 | 788 | 2011-02-09T21:12:12.060 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.