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 |
|---|---|---|---|---|---|---|---|---|---|---|
243,231 | Win Svr 2003 DHCP Bad Addresses | After looking at other posts I still can figure this out. I'll start at the beginning... I inherited this network and I'm not the most knowledgeable about networking... We have a AD DHCP Server that is also our DNS server, We were having some VPN issues (on the same server) and my boss decided to disable routing and re... | Turns out our switches were keeping old arp information. All we needed to do was reboot them... Thanks! | 0 | 1 | 374 | 2011-03-04T15:02:23.490 | data_quality | serverfault.com | |
5,688 | Test Data Bank creation: approach, important points, useful links, data generators, file storages? | Being Senior QA, I often face one and the same problem: for every project I'm involved in I need to prepare / collect / generate various sort of testing data . It might be VERY different - below are examples I had to deal with during last year only: XML files (application integration layer transport testing) Set of as-... | Test data generators are especially useful when the data format is likely to change. Here is a common problem I've encountered with test data: it isn't always clear which parts of the data are intentional and which are optional. For example, suppose you want to test a CSV file of names and addresses, where each record ... | 10 | 3 | 1,963 | 2013-02-08T14:54:04.393 | data_quality | sqa.stackexchange.com | |
777,729 | AWS WordPress site - OOM kills Apache | This question was originally asked on StackOverflow.com, and I've duplicated it to the more appropriate ServerFault.com site. The original question, which I've voted to close, can be found here I have a small, low traffic WordPress blog hosted on AWS. Unfortunately, approximately once a week or so, the website becomes ... | When your system invoked the OOM killer, you appear to be running 161 httpd processes, that seems to be a little excessive for a system that gets The first thing I would do is reduce the number of httpd processes your system will spawn and keep alive To do this adjust values of [CODE] , [CODE] , [CODE] , [CODE] , etc (... | 2 | 4 | 2,268 | 2016-05-19T10:39:15.453 | database_errors | serverfault.com | |
812,005 | jails in zfs space in freebsd 11, gives mount descfs error | Good Night, I am trying to deply a multijail environment using freebsd 11 on a OVH dedicated server. I created the cloned interfaces and created the jail , but as soon as I try to start it tells me that can not mount nullfs. I added this to /boot/loader.conf [CODE] restarted but now gives me a second error [CODE] I app... | The patch is for 10.x in the two years ago state, you're applying it to 11.x as of now, no wonder it fails. You should ask the author to port it to the 11.x, and probably, investigate why it wasn't commited to the tree in the first place - I'm sure it had it's reason not to. P.S. SO doesn't seem the right place to ask ... | 0 | 0 | 202 | 2016-10-29T02:41:37.743 | infrastructure | serverfault.com | |
1,084,406 | ansible AND operation with WHEN is failing when using ansible_facts | Team: I am trying to fail a task when two conditions are not met on a node. [CODE] and [CODE] . I am passing in two nodes. one node is [CODE] ubuntu and other is [CODE] . vars/main.yml [CODE] task is below [CODE] result [CODE] expected output: observe 18.x below not sure what am i missing to get that. [CODE] When I rem... | When you provide a when a list it performs an AND of the two expressions. And here is the standard AND truth table. Condition 1 Condition 2 Result False False False False True False True False False True True True Consider your have [CODE] The Expression [CODE] is [CODE] , and since per the truth table if either of the... | 0 | 0 | 717 | 2021-11-23T20:17:37.817 | pipeline_ops | serverfault.com | |
349,244 | Cannot login to mysql after setting incorrect mysql privileges/host | On CentOS 5.x I used webmin panel and I was in mysql settings, I was trying to allow "root" to login from my home ip in addition to localhost. In the hosts list I had "any" or "localhost", I tried to make it "localhost,84.xx.xx.xx" thinking it will allow me to login from my local computer with mysql administrator progr... | Log in at a terminal as root and stop the mysql daemon. [CODE] Then start up the mysql daemon and skip the grant tables which stores the passwords and other priviledge information [CODE] You should see mysqld start up successfully. Now you should be able to connect to mysql without a password. [CODE] and then update th... | 1 | 5 | 5,734 | 2012-01-12T12:01:40.947 | database_errors | serverfault.com | |
741,821 | How to restrict IAM policy to not allow stop/terminate an EC2 instance but can create new instances? | I want to create IAM policy which will restrict group or users to stop/terminate two used EC2 instances but they can create their own EC2 instances. I used following policy statement for this: { "Sid": "Stmt1449662318000", "Effect": "Allow", "Action": [ "ec2:*" ], "Resource": [ "*" ] }, { "Sid": "Stmt1449662339000", "E... | I was able to achieve this by adding following statement to policy: { "Action": "ec2:*", "Effect": "Allow", "Resource": "*", "Condition" : { "StringNotEquals" : { "ec2:ResourceTag/Name" : [ "UAT-Environment", "INT-Environment" ] } } } | 0 | 0 | 1,485 | 2015-12-09T12:25:13.343 | infrastructure | serverfault.com | |
256,599 | Querying a SQL Server's CNAME alias instead of the actual instance name | We don't have a DBA here and our infrastructure analyst is trying his best to give us a test instance on a server using a CNAME alias which neither he nor I have done before. The actual database instance being used is called AN-UATSQL03.domain.com but it has been set up with a host name of [ALT-STG-SQL-ATLNTA1]. Connec... | The reason the CNAME is not working is you are using a named instance. When you specify the name of the instance as in [CODE] the SQL Server client looks up the port number of the instance via the SQL Server Browser service. Because you are using a name that is different from the actual SQL Server instance name, that l... | 2 | 2 | 8,554 | 2020-01-02T15:02:44.230 | database_errors | dba.stackexchange.com | |
371,240 | setting up bridged adapter for VPN server | I have an Ubuntu linux Linode server that I am trying to install OpenVPN on. I'm following the tutorials (which, it turns out, are quite incomplete). [CODE] When I add this chunk in my /etc/network/interfaces, and I restart networking, my eth0 interface does not have an IP and I cannot get on the network (I need to use... | Try this lines: [CODE] DHCP is easier than static. At least for me it worked this way. | 0 | 1 | 196 | 2012-03-19T17:38:35.473 | infrastructure | serverfault.com | |
381,294 | Wrapping utility classes and injecting them for unit testing purposes | I found that it is so hard to test classes that depend on other utility classes as java.nio.file.Files . It is also impossible to mock them using the classic unit testing stack (junit,mockito,..) unless you use other heavy mocking frameworks like powermock which i consider a bad practice in case of building projects fr... | What I like here are the overridable default values. That's good. It avoids hard coding. I recommend it regardless of testing. And have done so before . What I'm not sure I like is that [CODE] uses the wrappers not only as default values but as types. Anything that means to replace the wrappers has to inherit from them... | 6 | 1 | 1,951 | 2018-11-10T14:54:54.610 | api_errors | softwareengineering.stackexchange.com | |
296,136 | SQL Server 2019: Two Aliases point to same instance | We have a SQL Server 2008 server that I successfully migrated to a new computer with SQL Server 2019. The SQL Server 2008 server name is 123.123.123.123. It has two instances named: 123.123.123.123 and 123.123.123.123\ABC. The SQL Server 2019 server name is CMP123456. The instances are named: CMP123456 and CMP123456\AB... | For the first two aliases you point both to 1433, which is the default instance. That explains why both of then goes to the default instance (the port number takes precedence over the \instance name). In your alias config, either specify a backslash with the instance name or specify the port name for the alias which is... | 0 | 2 | 786 | 2021-07-25T14:38:21.620 | database_errors | dba.stackexchange.com | |
1,131,281 | Openvpn port is not acessible from outside server | Reference that I used: https://www.cyberciti.biz/faq/centos-7-0-set-up-openvpn-server-in-5-minutes/ I configured OPENVPN server on CentOS7. It seems up [CODE] When I check as following its active as [CODE] : [CODE] And when I check as [CODE] [CODE] I am checking the process and it says: [CODE] I am checking its port ht... | There's many factors that could be affecting here and server configuration is just one part of it. For instance, the site used to check the port ( https://ping.eu/port-chk/ ) is for TCP, while OpenVPN is listening through UDP. Try using [CODE] from a remote computer in order to test specifically for UDP. Other elements... | 1 | 0 | 295 | 2023-05-16T16:45:51.313 | infrastructure | serverfault.com | |
17,470 | Why does Appium sign the .apk? Is there any benefit? | I've been using Appium for automation in Android, I always was surprised for the resigning of the apk. This signing only has caused problems to me, and I cannot see any advantage of this 'feature'. When there were problems, I simply add the nosign configuration, and all worked correctly, and never see any side effect d... | As per my research and knowledge: Appium relies on instrumentation for certain features ( requires signing ) so you'll want to sign using your known key to avoid the tamper detection problems . It should be possible to support not signing when using only uiautomator. You can automate Android apk files using appium, as ... | 4 | 1 | 393 | 2016-03-08T17:13:37.007 | data_quality | sqa.stackexchange.com | |
124,156 | Receiving Event ID: 10107, Hyper-V -VMMS | We are using physical disk on two of Guest operating systems. Is this a know issue? Do we need to have DPM 2010? "One or more physical disks are attached to virtual machine 'Myserver'. Back up programs that use the Hyper-V VSS writer cannot back up volumes that are attached to virtual machines as physical disks. To avo... | this is because the host OS (and DPM agent) don't have access to the partition which the VM is using, by design. Not sure if this is supported in DPM 2010, but another option would be to switch back to static VHD files (not dymanicly expanding). I imagine there isn't a 'huge' difference in performance between physical ... | 0 | 0 | 866 | 2010-03-19T07:09:25.773 | database_errors | serverfault.com | |
246,063 | Having trouble with exposing class properties across projects | I have several projects in my solution: Logan.Web.DBContext defines the DbContext for the database and builds the data model Logan.Web.Objects defines the classes that will represent the tables in the database Logan.Web.Data defines the data layer that the application will use LoganMVC is the actual MVC website Obvious... | I don't want the MVC website to know too much about the database so I have no links between [the MVC website] and the Objects /DBContext projects The problem I'm having with this structure is that, to show anything on the Views, the [MVC] Models need to know the properties for the data as defined in the Objects classes... | 4 | 1 | 556 | 2014-06-25T15:06:13.093 | api_errors | softwareengineering.stackexchange.com | |
101,252 | SQL Server 2012 CPU usage spikes to 100% | I am using [CODE] and the AWS image configuration is 4 cores and 16GB RAM( [CODE] ). I am running the following simple query, [CODE] [CODE] contains 1000k records, [CODE] is primary key. When the above simple query is executed from my application through EJB hibernate, the CPU spikes to 10% for a moment and again it ba... | What is the exact type of the [CODE] column? It is very likely not a [CODE] column therefore the rules of data type precedence dictate that the comparison must be done by casting the [CODE] to the type of the [CODE] literal, thus negating the possibility of an index seek and forcing a full scan. This is a very common m... | 1 | 1 | 726 | 2015-05-12T07:17:06.380 | database_errors | dba.stackexchange.com | |
42,544 | Is the IIS SMTP Server good enough for a production server? | I was planning to use the SMTP server that comes with IIS7 (for a website) but then I came across this link and started to get worried (read the accepted solution), on the other hand I have a limited budget and I can't afford to buy MS Exchange or another expensive server, besides, I'm using ASP.NET for my app which wo... | IIS SMTP is good enough for high loads too. Related StackOverflow question | 7 | 4 | 6,799 | 2009-07-18T17:05:04.933 | infrastructure | serverfault.com | |
210,689 | how to replace user's names with random names? | How can I use SQL only on mysql DB to replace first and last names of real users in users table using a random name from two related tables: random_first_names and random_last_names . Our users table contains over 250K records and each of the rundome tables contain over 5000 names that should be picked at random for ea... | If you decide that the Update is too slow, I suggest the following will be about 1000 times as fast. Loop (can be done in a Stored Proc)... [Re]Create a table with randomly ordered set first_names, with a `PRIMARY KEY of 1..5000. Ditto for last_names (a second table). Multi-table [CODE] the 'next' 5000 rows joined to t... | 2 | 2 | 8,623 | 2018-06-27T08:43:30.277 | api_errors | dba.stackexchange.com | |
1,115,542 | DNS Resolution of CNAME records in Route53 fails in some AWS accounts | A hostname that is a CNAME record resolves correctly outside of an AWS environment, but within AWS, it resolves correctly from EC2 instances in some accounts and fails (NXDOMAIN) consistently in other accounts. A hostname that is an A record resolves correctly everywhere. I have used nslookup and dig to check name reso... | The root cause was that the accounts where resolution fails have their own private DNS zone which contains the guardinex.com entry, and that conflicts with the guardinex.com entry in the public DNS zone.... Removing the private DNS zone and it works now. Moved the records to the public zone. | 2 | 2 | 356 | 2022-11-13T07:17:52.530 | infrastructure | serverfault.com | |
838,113 | Handling keyboard-interactive inputs with Ansible | I have setup a few GNU/Linux (Ubuntu and Amazon Linux) servers to prompt for Time-Based OTP using [CODE] module for PAM and the [CODE] SSHD authentication method. I'm struggling to get ansible to prompt me for the OTP. The [CODE] flag asks for the password before making the connection and passes it when making the conn... | As already pointed out 2-factor authentication is currently not supported by Ansible. There seem to be two options to workaround this caveat: disabling two-factor authentication for the Ansible user I'm working around this with duo auth by excluding the ansible user's group in pam_duo.conf and login_duo.conf, and then ... | 3 | 3 | 3,683 | 2017-03-14T06:13:25.213 | api_errors | serverfault.com | |
533,763 | Avoiding Nagios commands.cfg | I want to call a command directly from a Nagios service file, instead of passing arguments clumsily to commands.cfg. For example I want do this: [CODE] But I get a: [CODE] | If you absolutely insist on doing this, which is a really, really terrible idea, this snippet should work: [CODE] Seriously, though, please don't. | 2 | 5 | 3,892 | 2013-08-26T09:56:29.183 | infrastructure | serverfault.com | |
111,286 | Overfitting problem: high accurance and low accurancy validation for image classification | I want to define a model to predict 3 categories of images. I'm learnong on the field :-) I've 1500 images (500 for each category) in 3 directories. I've read in this blog many suggestions: use a simple loss function use droput use shuffle I've applied these tricks but the model still overfits ... This is the code I'm ... | It is normal. Overfitting always happens when you have a model complex enough and trained long enough. In your case, I'd say it starts after ~5 epochs. There are a few things you can do: Apply early stopping, i.e. stop the training after ~5 epochs. There are some off-the-shelf implementation which shall replace [CODE] ... | 0 | 1 | 39 | 2022-05-25T12:18:15.290 | data_quality | datascience.stackexchange.com | |
121,535 | How to create a Table in Oracle which has a variable of type number? | Suppose I want to store the social security numbers with a prefix letter 'S' (eg. S123456789) or a driving license number D (eg. D12345). Is there any function or method to prefix it? Or patters? I just need a hint. | You could use a "code", whereby the first two digits represent your letter 'D' = X or 'S' = Y (X and Y are integers) and the rest of your number could be your numerical part - that would mean a lot of parsing though and my scheme won't work for more than 1 letter (without complex coding). Why not put the letter in a se... | 0 | 0 | 36 | 2015-11-19T05:07:29.583 | database_errors | dba.stackexchange.com | |
695,902 | Extending LVM Volume Groups with Physical Extents & pvresize | I have two somewhat related LVM questions regarding extending LVM managed volumes. Firstly , from (edit: old ) documentation that I've read about LVM and the relationship between Volume Groups and Physical Extents, if you want to grow a VG to larger than 256GB you must have a PE size larger than 4MB. An example is from... | Answer to 1st question Please consider that the article you're basing all of your considerations is VERY outdated ! Even though a clear date is not reported in the HOWTO page you linked, giving a look to the code related to mentioned HOWTO , you can see that it refers to kernel 2.3.99, back on year 2000! 15 years ago! ... | 1 | 4 | 12,427 | 2015-06-01T19:36:56.190 | data_quality | serverfault.com | |
273,299 | Can't start Oracle after Virtual Machine restore | As part of a project for a customer of mine, they've given me the complete backup of a physical server (taken by Veeam) which I have then used to make a Bare Metal recovery onto a test VM host I have here (VMWare Workstation Pro) That's all gone fine and windows starts up with all data intact. I'm having issues getting... | And that is why Veeam should not be used to backup a database while it is online. Just delete the database, create a new emtpy one then proceed with the rest of the steps: "schemas to be recreated and then the actual database backup dmp files to be reimported" . | 0 | 0 | 162 | 2020-08-06T00:50:23.317 | database_errors | dba.stackexchange.com | |
351,097 | Difficulty deploying software to domain workstations with Server 2008 | Using a GPO I've tried to deploy (in this case) Chrome to a series of locked down workstations with limited usage. This is on a server 2008 R2 installation, with the clients running Windows 7 Professional. So, what I've done is: Setup a shared folder where the users in question only have read rights on the files (MSI-f... | Did you use the standalone version? (the one that installs to c:\program files\ rather than to an indivdual user's profile) I believe this link should have the standalone version in .msi format https://www.google.com/chrome/eula.html?msi=true | 0 | 0 | 866 | 2012-01-18T16:08:37.643 | infrastructure | serverfault.com | |
670,138 | CLI command to update simple XML file | I would like to programmatically update a string in a very simple XML config file, such as this: [CODE] Does a simple CLI command exist that will update x/z and NOT y/z ? Perhaps with an XPath selector argument, such as: [CODE] I could write something in Perl or Python, but given the simplicity of this problem, I guess... | You can use the xml2/2xml tools to process XML on the command line without too much fuss. [CODE] converts an XML document into a line-oriented format suitable for use with traditional text processing tools like [CODE] or [CODE] , and [CODE] takes this format and converts it back to XML. For your example, if I take this... | 2 | 4 | 4,234 | 2015-02-20T13:09:03.693 | infrastructure | serverfault.com | |
929,330 | CA root install issue on Ubuntu 16.04 LTS Server | I am setting up nginx reverse proxy on Ubuntu 16.04 LTS Server for Web-Server. There will three different Services running on Ubuntu. Services will communicate each other using API calls. Similarly Clients(Browser/Mobile) will communicate the Services using API calls. To validate Client SSL requests, I need to install ... | 1st of all thank you all you, My issue is: The CA Certificate which is installing in CentOS successfully, same Certificate is not installing in Ubuntu 16 Server, giving below warning message. WARNING: CA_50EA.pem does not contain a certificate or CRL: skipping 152 added, 0 removed; done. Solution: After doing different... | 1 | 0 | 2,984 | 2018-09-04T08:31:17.623 | data_quality | serverfault.com | |
76,599 | Too much IO to MySQL InnoDB log files | I am using MySQL version: 5.5.38 I have dedicated HDD to InnoDB log files using [CODE] option. [CODE] shows big load (>50%) to this HDD The thing is that I have only 75 queries per second that does not seems to be much. What can be done to increase performance? sudo /etc/init.d/mysql status Threads: 23 Questions: 11860... | Based on MySQL Documentation and other options [CODE] Make your log files 1G: Small log files cause many unnecessary disk writes. The documentation says make the log file the same size as the buffer pool. Make the log buffer 256M: The larger the log buffer, the less frequently flush logs are. You have it at 8M, which i... | 3 | 1 | 1,597 | 2014-09-15T17:23:25.850 | database_errors | dba.stackexchange.com | |
252,015 | Connection fails until one computer pings the other | I'm beginning to deploy a Windows Server 2008 R2 in my organization and I'm running on some problems. Right now, all connections to the server fail because the computers cant connect to the server. While trying to diagnose the problem I discovered that if the server was pinging the client computer, then the connection ... | It sounds like an ARP issue, where the client (or, if routed, the server's gateway) asks for the server's hardware address and gets no response, but if the server asks for the client's address, it gets a response; once the ping comes through the client caches the server's hardware address. The question is, what the cau... | 1 | 0 | 1,313 | 2011-03-25T22:04:22.387 | infrastructure | serverfault.com | |
931,003 | How to configure already statically routed IPv6 block on CentOS 7 | My question is very simple yet I didn't find a solution, probably because of my lack of networking knowledge. I have a dedicated server and I manipulate it through IPMI remotely. Recently I asked for IPv6 support from the administrator here is what I got respond [CODE] I tried to assign an IP within this block ( [CODE]... | If the network admin really refuses to give you the gateway address, you can just ping the IPv6 all routers multicast address, and it will respond. You will then know at least one of its addresses. For example: [CODE] | 0 | 2 | 955 | 2018-09-15T02:37:22.340 | infrastructure | serverfault.com | |
271,321 | Query is failing | I am running a query from SQL Server 2019(64bit) SSMS to PostgreSQL on AWS through Linked Server. Other queries are working fine but this particular query is failing due to message column. My query is as follows: [CODE] Error Message: OLE DB provider 'MSDASQL' for linked server 'DRIQ' returned data that does not match ... | Try with a different driver? SQL Server and PostgreSQL Linked Server Configuration You might also want to try implicitly casting the columns to tsql datatypes, i.e. [CODE] | 2 | 1 | 3,569 | 2020-07-21T06:52:44.763 | database_errors | dba.stackexchange.com | |
143,017 | COUNTING results from self-referenced table recursively | I have a table called Clients. And at this table, I have an [CODE] to know who added this row to the table. Sample: [CODE] Now i need know how much peoples an user invited indirectly. Sample: [CODE] I i'm trying look 7 levels under the user... i'll try explain with this tree: EDIT: If the users from lv1 was hard to kic... | As your data is a tree structure, consider using the Nested Set data model. A good write-up can be found at Mike Hillyer's website, here: http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/ complete with lots of SQL to manage the tree data. | 0 | 1 | 826 | 2016-07-05T15:47:17.890 | warehouse_errors | dba.stackexchange.com | |
4,614 | What differentiates the exceptional programmers from the really good ones? | You know who they are. They are the rock stars of programming: They code 10X faster. Their code just works. They not only know their primary language inside and out, but they also know how it works under the hood. They know the answer to most any question before you ask it. A few of them invented the programming princi... | Humble: An exceptional programmer will never claim their code is the best, in fact they will always be looking for a better way (Every chance they get.) . Patient: An exceptional programmer will have boundless patience (This does not mean they will waste days on a problem. See: Troubleshooter) . Troubleshooter: An exce... | 59 | 88 | 12,238 | 2010-09-17T03:04:34.090 | api_errors | softwareengineering.stackexchange.com | |
506,405 | Apache recompile does not find new OpenSSL | I'm trying to upgrade both Apache and OpenSSL at the same time. I've gotten Apache compiled with all the modules I need, and it pops up and runs, but still shows an old version of OpenSSL. Here is my config command: [CODE] The OpenSSL in that directory is correct: [CODE] Yet, when I query the server I still get an old ... | First, FIX YOUR PORTS - [CODE] if that's what it takes. This will not harm installed software. Use [CODE] for an easy way to grab a new copy of the ports tree. Advanced users can use [CODE] . Second, DO NOT compile Apache from downloaded source. You're begging for trouble, and should NOT be surprised that you've found ... | 1 | 5 | 8,631 | 2013-05-09T15:03:05.973 | infrastructure | serverfault.com | |
310,062 | Portable firewall rules for Linux and Free/Net/Open/DragonFlyBSD | I need apply the same rules (lists of IPs with allow and drop rules) in firewalls of Linux and *BSD. Do you know some application (CLI) for to convert a list of rules in the specific format of each firewall?. The application for to convert the rules is only a idea. Other solutions for the problem are welcome. | http://www.fwbuilder.org/ Firewall Builder supports a wide range of firewall platforms, including Cisco ASA & PIX, Linux iptables, BSD pf and many more. You’re not confined to one platform—or locked into a single vendor. See the intro: http://www.fwbuilder.org/4.0/docs/firewall_builder_intro.html | 5 | 4 | 458 | 2011-09-10T17:32:04.223 | infrastructure | serverfault.com | |
82,351 | Exchange, Public Folders and Mass Permission Changes | Does anyone remember the tool that you used to be able to use to change many (1000s) of permissions on Exchange Public folders? I think it might have come in some Exchange Resource Kit or maybe it was standard. | I think it is PFAdmin. It will check the permissions and correct them if they are messed up. I'm not sure if it works on Exchange 2007 though. | 0 | 1 | 276 | 2009-11-06T20:27:44.383 | infrastructure | serverfault.com | |
152,956 | Create a copy of the database in same server | I am trying to create a copy of database in mysql using mysqldbcopy like : [CODE] I am getting error saying cannot connect to the destination server (Error code 110). Source and destination is same server. I want to know which user and ip i need to put here, whether to put mysql username and password or server username... | do dump of your current database mysqldump -p yourDatabase > file.sql then create new database and restore file.sql mysql -p -e "create database new_DB" mysql -p new_DB | 1 | 1 | 4,853 | 2016-10-21T07:54:52.377 | database_errors | dba.stackexchange.com | |
110,549 | Suggestion for Recommender system algorithm for 3 sets of entities | I am building a model to recommend logistic providers to merchants on an e-commerce platform. There are approx. 100k merchants and 20 logistic providers, so scaling is not very important here. Currently, everytime a customer makes a purchase from a merchant, the merchant will need to select a merchant from the list of ... | As you have noticed, the usual recommender systems theory deals with two types of entities, users and items . The interactions are usually described using a matrix (equivalently, a weighted bipartite graph). The mathematical generalization of a matrix is a tensor (and the generalization of a graph is a hypergraph, thou... | 1 | 2 | 38 | 2022-05-02T06:08:20.173 | data_quality | datascience.stackexchange.com | |
345,390 | NRPE Home Directory | I'm using NRPE and I a rather annoying problem. I need a couple temporary files written to the home directory of the user NRPE is running under (nagios). I checked that the /etc/passwd entry for Nagios is correctly pointing to /home/nagios and that NRPE is set to execute under the Nagios user. The service reliably is t... | It appears to be a bug in the version of NRPE I'm using. As a workaround I'm setting the HOME variable with a shell script where necessary. | 0 | 1 | 767 | 2011-12-30T17:26:17.523 | infrastructure | serverfault.com | |
289,586 | Urgent help with TempDB log file growth mystery | I need some urgent guidance for a tempdb issue for past last week: The tempDB log file is growing starting a specific time, lets say 2 PM. And almost continue to grow upto 150 GB and then comes down after 10 or so hours. I have used various queries listed here but nothing shows up as in that duration there is no long r... | What you are you seeing is by design for tempdb Transaction Log file. I wish Microsoft had better documentation on this. How is the transaction log growth increasing upto 80% and then lowering down back to 0 and then increasing and growing and so on , with reaching almost max 90-95%. From the First reference article: T... | 2 | 2 | 3,485 | 2021-04-10T05:50:55.320 | database_errors | dba.stackexchange.com | |
632,544 | Static routing on CentOS through managed switch | I am a newbie in networking and I have a question regarding static routing through managed switch. I have a cluster which are connected to a managed switch. One of the node(call it head node) also has a connection to the external network for internet access. My goal is to statically route all other nodes to the NIC on ... | Each of your compute nodes will need a default route of 192.168.1.2 (head node eth2). You will then need to configure IP forwarding on the head node to allow the compute nodes access through it. You don't need to worry about the managed switch for this - it is "invisible" for the task you're trying to accomplish. You c... | 0 | 1 | 117 | 2014-09-30T19:49:45.763 | infrastructure | serverfault.com | |
58,311 | file system not supported error while adding a file to sql filegroup with filestream | i am a beginner with sql server 2008, i was trying to add a file to a filegroup so that i an create a table which uses filestream, but i keep getting an errors. here is the code that i am trying: ALTER DATABASE dbtry1 ADD FILEGROUP dbtry1_fg_filestream CONTAINS FILESTREAM GO ALTER DATABASE dbtry1 ADD FILE ( NAME= 'dbtr... | FILESTREAMs require NTFS. Is your e: drive FAT? See http://technet.microsoft.com/library/bb933993 and note the second paragraph (emphasis added): FILESTREAM integrates the SQL Server Database Engine with an NTFS file system by storing varbinary(max) binary large object | 0 | 2 | 946 | 2009-08-25T08:35:33.557 | api_errors | serverfault.com | |
392,373 | Two-level concepts | I find myself lately implementing the same concept twice, once at a low level and once at a higher level. Let me see if I can explain it... For example, given the notion of a database, I have one interface (say [CODE] ) with methods like [CODE] which is what I consider "low level". However, there are cases where I need... | As @Ewan mentioned his comment, you need Repository Layer and Service Layer . I also prefer adding Facade Layer in Service Layer . By this way, you can begin a transaction and can call kind of methods even they are not related. For example, you have [CODE] and [CODE] . Normally, there is not required to create [CODE] a... | 2 | 3 | 301 | 2019-05-24T20:59:08.867 | api_errors | softwareengineering.stackexchange.com | |
117,345 | MySQL DB connection error | I've been mucking around with Flash Builder (beta 2) and trying to get some PHP services hooked up. It's dead simple through FB assuming no hiccups. But I've been hiccupping for days now. I'm running the latest WAMP install with only one modification mentioned below (fresh install) on WinXPSP2. TO sum up, I have a very... | The problem is connecting to your MySQL server. You are able to connect via phpMyAdmin, correct? So MySQL itself appears to be connected correctly. Looking at your code, this looks very very suspicious: [CODE] Port 3306 is the default MySQL port, but you may have configured yours to run on something else, I don't know.... | 0 | 1 | 11,239 | 2010-02-26T23:34:48.237 | database_errors | serverfault.com | |
476,189 | Mysql killing the CPU with gettimeofday | I have a problem with mysql killing the CPU on a Debian Squeeze 64. This is a development machine on a VPS so I stopped all the other services, including apache2. The mysql version is 5.1.49. This is the log when mysql starts : [CODE] The instant I start mysql the CPU goes skyhigh even though there are no queries runni... | I couldn't come up with anything else so in the end I had to reinstall the mysql server, which took care of the problem, after restoring the databases from backups everything runs smoothly now. | 1 | 1 | 1,269 | 2013-02-06T19:42:58.667 | database_errors | serverfault.com | |
371,311 | Restrict PHP-FPM to serve only files under a certain directory | I’m having trouble with PHP-FPM and Apache 2.4.1 mod_proxy_fcgi. As mod_proxy_fcgi cannot handle Unix Sockets, PHP-FPM has to listen on localhost. Thus, anyone who has access to the server could send requests to PHP-FPM. I wasn’t able to restrict PHP-FPM to my document root, so someone could just create a malicous PHP ... | Running within a chroot is really your only option if you want to do this. Do other people actually have access to run code on your machine? If so, I'd really suggest you switch to something that supports unix sockets, mod_fastcgi would be one option. The other option (if your app is compatible) is switching to nginx, ... | 1 | 0 | 1,216 | 2012-03-19T21:22:48.003 | infrastructure | serverfault.com | |
425,063 | Windows Cross Forest trust causes DC errors regarding client "site" association | We have a two way trust in place between two Windows forests. We get "errors" constantly on our domain controllers in both AD forests regarding clients whose IP addresses don't conform to an AD site subnet. The reason I think I understand. Client from FOREST-A travels to a location in FOREST-B and logs on with their FO... | Add the respective subnets in [CODE] , and perhaps create a separate site you assign those subnets to. The site doesn't need its own DC. | 1 | 3 | 886 | 2012-09-06T19:14:35.220 | api_errors | serverfault.com | |
308,903 | converting INT to DATE / TIME | I have a table that holds date and time values as INT data type. eg a date is stored as YYYYMMDD, like 20110901 and a time is stored as HHMMSS, like 21826. The date is close to ISO standard so its not too big an issue however can anyone suggest a simple way to convert to a TIME type please? I have come up with a hideou... | What you want to do is take your "hideous combination" and adapt it to convert these integer pairs to datetime values. Then test the heck out of it with as many edge cases as you can come up with, perhaps even verify it by hand against a random subset of your actual data. If you're very lucky, you'll be able to use exi... | 2 | 4 | 2,797 | 2011-09-07T11:09:28.277 | infrastructure | serverfault.com | |
98,479 | SQL Server total memory less than target memory, lot of extra memory unallocated | The situation is the following: We have a SQL2008r2 server (64bit on 64bit Windows) with SSRS installed on it. The Max Memory is set to 6GB, the server has 12GB total memory. The target server memory is always more than the total server memory (for instance total: 2758MB, target: 6144MB = 6GB, which is the max memory).... | This is normal. Max server memory means that your server cannot use more than that amount, not that it must use that amount. Min server memory doesn't mean it must use that amount, either; it means that once the server uses that much it doesn't surrender memory to below that amount. Basically, SQL Server uses the amoun... | 2 | 2 | 360 | 2015-04-20T10:23:11.933 | database_errors | dba.stackexchange.com | |
378,355 | "Show me other ways to activate" is disabled? | I have installed an instance of Win Server 2008 R2 on a Virtual machine. This machine is purposefully on an isolated environment (no internet) for testing purposes. I need to activate the machine and I have my MSDN key ready to go. I just ran through the same steps with a Windows 7 VM, and was able to register using an... | Open an elevated command prompt and run [CODE] . That will start the "Activate by Phone" option manually. | 3 | 8 | 48,478 | 2012-04-11T04:57:17.743 | infrastructure | serverfault.com | |
131,006 | Should I intentionally break the build when a bug is found in production? | It seems reasonable to me that if a serious bug is found in production by end-users, a failing unit test should be added to cover that bug, thus intentionally breaking the build until the bug is fixed. My rationale for this is that the build should have been failing all along , but wasn't due to inadequate automated te... | Our strategy is: Check in a failing test, but annotate it with [CODE] . That way, the test is there, but the build does not break. Of course you note the ignored test in the bug db, so the [CODE] is removed once the test is fixed. This also serves as an easy check for the bug fix. The point of breaking the build on fai... | 423 | 430 | 19,744 | 2012-01-20T11:11:10.530 | api_errors | softwareengineering.stackexchange.com | |
596,689 | CSF cc_deny is not working | I tried to block a country in CSF Firewall I followed this post http://www.2daygeek.com/how-to-block-a-country-using-csf-firewall/ to block ip from China cc_deny ="CN" While I execute csf -r I didn't see it block any ip block [CODE] is there any other configuration i missed? | The country blocker is blocking all ip's from a specific country but most of the ips are in geoip database and geopip database is 3rdparty software which updates regularly but it does not contain all ips, lets say that it's 90% completed. | 1 | 0 | 2,338 | 2014-05-17T10:45:11.140 | infrastructure | serverfault.com | |
127,447 | Recommendations for implicit versus explicit line joining | I would like to know recommendations about Implicit Line Joining versus Explicit Line Joining in Python. In particular, do you favor one form over the other? What do you recommend as the general default? What criteria do you have for choosing one over the other, and if you do have a preference of one, when do you make ... | There is a coding style document called PEP8. It recommends against the usage of [CODE] wherever parentheses can be used. The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions ... | 10 | 9 | 3,665 | 2011-12-28T08:56:20.987 | api_errors | softwareengineering.stackexchange.com | |
147,164 | Windows Server 2008: Terminal Services / VDI | I have a Dell R710 with 72GB of memory running Hyper-V. Within Hyper-V I have a Windows 2008 (32-bit) VM running Terminal Services. How do I allocate memory so that any user who connects to this Terminal Server (from their thin-client) is allocated 2GB (or whatever amount I choose) of memory? Currently I have provision... | You could use Windows System Resource Manager to limit memory. There are 2 policies specific to terminal services (Equal_Per_User, Equal_Per_Session) prebuilt. On the face of it (without any details as to why you would want to do this) this seems like a really bad idea as you would usually run out of kernel memory (pag... | 0 | 1 | 500 | 2010-06-01T16:26:02.220 | infrastructure | serverfault.com | |
42,133 | Two identical MySQL tables, one not using indexes | I have one MySQL Server (5.0.37) on a Linux Server that have many databases. Some of them (12) have each an identical table to log sensors data. Schema of one table [CODE] Problem One of the tables has incredibly long query time, doing the same query on other tables is extremely fast, example : [CODE] Result : 1440 row... | Finally I've been able to figure out the problem, yet I still don't know why it happenned! I've found this answer . Doing [CODE] fixed the usage of keys for this table, now every requests are lightning fast! | 1 | 2 | 204 | 2013-05-14T07:32:05.797 | database_errors | dba.stackexchange.com | |
28,857 | How to use Powershell 2 Get-WmiObject to find an instance of SQL Server Reporting Services (SQL2008) on Windows Server 2008 R2 | I'm trying to use the powershell 2 "Get-WmiObject" command to find the reporting service instance using this command [CODE] THE ERROR I GET BACK [CODE] NOTES This is Powershell 2 OS = Windows Server 2008 R2 RC (x64) SQL = SQL 2008 SP1 (x64) Reporting Services is installed and works - have several reports running) Every... | Using WmiExplorer.ps1 script I can see the instance name in __NAMESPACE and this query returns my instance name: [CODE] To get to MSReporterServer_Instance you must supply the instance name in this example my instance name is RS_SQL2K8: [CODE] | 1 | 1 | 8,523 | 2009-06-19T18:39:18.467 | bi_errors | serverfault.com | |
819,256 | Not able to stop tomcat7 by tomcat service | I am using Ubuntu 14.04 and Tomcat7. For some reason, I needed to upgrade java-7 to java-8. So I installed openjdk-8 and set it default using [CODE] command. To my surprise, tomcat was still using java7. To resolve the issue, I modified the [CODE] file and added following line. [CODE] Now tomcat7 is using java-8 but be... | when service tomcat7 status tells that tomcat do not run properly, search in journalctl xe what is going on. If you cannot repair it yourself, there should be any log published here, to help other people repair the same problem and to repair it quickly. Without any logs you can repair it in week, two. with logs and rig... | 2 | 0 | 1,404 | 2016-12-07T12:10:48.113 | infrastructure | serverfault.com | |
974,860 | Google Cloud compute VM Linux - which characteristics for 20 students with remote desktop | I have 20 students and instead of installing Linux on each computer in the school, I would like to use Google Cloud (Linux compute engine) with xrdp and remote desktop (each student connect to Linux from a Windows computer thanks to remote desktop). The problem is that I don't know which parameters I should select in t... | Regarding this that option is not considered in the calculator since you don't be charged on the amount of users allowed. The VM instance is charged on a basis of how much resources in regards to CPU, Mem and Storage will be used with the VM instance [1]. In windows VM instances by default the limit is 2 unless you acq... | 0 | 2 | 212 | 2019-07-11T15:36:20.723 | infrastructure | serverfault.com | |
9,742 | Selenium: dealing with intermittent cases of element not found | Sometimes it works and sometimes it doesn't. I've tried implicit wait: [CODE] I've tried explicit wait: [CODE] Both don't seem to guarantee that my tests work 10/10 times. Is there a way to actually deal with something like this? I've also tried something like this: [CODE] This method works on a more consistent basis c... | Try writing a method that you can reuse whenever you want to find a new web element, but that will timeout after a specific time. You want to try/catch all the WebDriver exceptions, not just Stale Element. Make sure to include a sleep time in the catch, or else the test will retry like crazy whenever a try fails. Here ... | 1 | 2 | 7,284 | 2014-09-19T23:02:43.087 | data_quality | sqa.stackexchange.com | |
2,342 | Using docker with users leaves files belonging to the subuid/subgid | Background I wish to make sure all people and automated processes working with my project use the exact same version and environment of some tool which has to do work on the host file system. Instead of running [CODE] or whatever, people will then use a wrapper/shim script similar to: [CODE] This is working splendidly ... | [CODE] As long as you're not doing anything funny with the entrypoint in the container, this will leave files owned as the user that invoked Docker. | 2 | 2 | 987 | 2017-10-17T10:55:28.400 | pipeline_ops | devops.stackexchange.com | |
230,105 | how to find mysql passwords | Hi on one of my server I have installed a lot of softwares where in for each application I have created a user name and password.After that these applications have been running.Now I have to remove these applications and install the latest version of softwares.I have to basically make every thing work from scratch.My p... | You can't recover the passwords as they are stored in an encrypted format but you can reset them if you have access to the mysql program with suitable privileges. Get a list of the users that mysql knows about like this [CODE] Now you have a list of the users you can set the passwords to something you can remember [COD... | 2 | 7 | 269 | 2011-02-02T11:55:47.083 | database_errors | serverfault.com | |
152,720 | SQL Server Memory allocation and max server memory setting | For one of our SQL Server, we recently add more memory. The initial value was 12GB. The server experienced a lack of physical memory so we added another 12GB, for a total of 24GB. Then I have set the followings values : min. server memory 1024MB - max server memory : 19456. Well everything is running fine, but I have f... | Indeed, SQL server suddenly used all the assigned memory : This is pretty much normal and expected, you found out there was low physical memory, you added physical memory and changed max server memory setting now SQL Server can see it has been allowed to use extra memory so it went ahead and grabbed all of it. This wou... | 4 | 1 | 8,606 | 2016-10-19T09:15:54.627 | database_errors | dba.stackexchange.com | |
183,160 | Unable to start the mongo services on debian server | Mongo DB keep on crashing automatically and all database and collection remove automatically.This is happening randomly and when I check mongod.log I can see it's automatically dropped. Today I got the error message that mongo service unable to start, and when I start it services it give me the error [CODE] when I type... | That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase. What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (dat... | 0 | 1 | 845 | 2017-08-10T09:58:01.197 | database_errors | dba.stackexchange.com | |
201,368 | Networks, subnets, routing and NAT | What I'm going to ask may be trivial but I really need to understand cause my teacher is confusing me! That's the problem. I got 2 private networks The first is a class C network and the address is 192.168.1.0/24 (I'll call this C1 ) The second is a class A network which I divided in two subnets: 10.1.0.0/16 ( A1 ) and... | To start, your teacher is wrong. On a side note: S/He should be reprimanded for even teaching Classed Networking, that was antiquated 16 years ago. It should not be taught, period (except in History class). You do not need NAT in this case at all. Your three networks do not interface with the public Internet, and they ... | 3 | 7 | 3,473 | 2010-11-11T18:23:41.953 | infrastructure | serverfault.com | |
392,177 | PHP session timeout on shared sessions file storage | So to start of with I know that using a memcache or a database would be a better way to go. But I have (for now) made a load balance environment where I have a shared PHP session file storage. Some customers now claim they experience some problem and I am not sure if it have anything to do with the session storage. My ... | PHP does not implement "a shared php session file storage?" Do you mean you keep your session files on a network file system? Something else? The default handler uses the file modification time to determine when the session was last accessed. As long as the clocks are nearly in sync (although running ntpd makes more se... | 0 | 0 | 1,058 | 2012-05-24T08:54:45.400 | infrastructure | serverfault.com | |
558,404 | Nginx server location configuration | I want the domains example.com/a/1234/asdf, example.com/a/7890/qwer ,..., example.com/a/* to serve a webpage from the same index file, /var/www/foo/bar/index.php My nginx is configed like this: [CODE] When I goto example.com/a/1234/asdf I get a 404 not found error. | You probably don't have a file [CODE] . So of course it can't be found. Remember that these paths are relative to the document [CODE] . You probably want something like: [CODE] | 0 | 2 | 70 | 2013-11-30T18:32:55.953 | infrastructure | serverfault.com | |
153,661 | Create SQL Server user with SQL Server Authentification | I am trying to login to a SQL Server 2014 from another service (AWS Schema Conversion Tool). In the AWS tool I need to input 'User name' and 'Password'. Currently I am using windows authentication for connection to a MS SQL DB. My user name as per SSMS is 'Server\user'. I have tried logging into the DB from the AWS too... | Hope these links help to fix your problem --- https://stackoverflow.com/questions/6643720/add-login-and-connect-to-sql-with-sql-server-authentication https://movabletype.org/documentation/mt5/advanced/creating-a-sql-server-database-2.html The message you are receiving basically means "I can't connect to SQL Server". It... | 0 | 2 | 874 | 2016-10-28T23:35:03.593 | api_errors | dba.stackexchange.com | |
432,973 | How to use process monitor to view or log a windows login? | We're having some issues with Windows 7 Roaming profiles and I was reading here that the login process can be monitored using process monitor. "There are a couple of ways to configure Process Monitor to record logon operations: one is to use Sysinternals PsExec to launch it in the session 0 so that it survives the logo... | "There are a couple of ways to configure Process Monitor to record logon operations: one is to use Sysinternals PsExec to launch it in the session 0 so that it survives the logoff and subsequent logon and another is to use the boot logging feature to capture activity from early in the boot, including the logon." I don'... | 2 | 5 | 6,881 | 2012-09-28T14:36:05.443 | infrastructure | serverfault.com | |
947,384 | Drive space maynot be showing correct values | The monitoring system we use shows several servers, related to the same application servers, are out of disk space. The application owner stated they cleared Gigs of data but this change was not reflected. [CODE] The difference between Size and Used indicates there should be some free space. A few posts recommended tha... | I dont know which FS type you are using, but in ext3/ext4 there is a 5% of space that will get reserved for special processes so that they can continue to run when diskspace is running low. Thats why you only have 56GB of usable space on your FS | 0 | 0 | 62 | 2019-01-02T20:54:45.577 | pipeline_ops | serverfault.com | |
210,990 | Converting a DFA to an NFA | I have an assignment to convert various language descriptions into NFAs and DFAs. Having graduated with my CompSci B.S. years ago and not touching the topic until my M.S. program, I am racking my brain on one of the questions. I can easily construct a DFA, but the answer must be an NFA that is not also a DFA. I am not ... | I believe you're having issues because your DFA does not actually solve the problem posed. It accepts AB or B, where the question asks for an automaton that matches AB, BA and ~A (not A). Since you need both patterns A and B, you can do it like this: From the initial state q0, our NFA can branch into either of three se... | 1 | 2 | 371 | 2013-09-10T02:52:32.087 | api_errors | softwareengineering.stackexchange.com | |
381,337 | Calculating longest trip | I have been stuck on this question for some time. Could you guys direct me or point me to the right direction for solving this problem ? We would like to encourage passengers to experience the joy of travel using our transit system, therefore we would like to determine the longest path available to advertise the public... | Technically this is not an answer to your basic question. This is an answer to your actual question which is: How do I think about this problem, surely there is a better way than brute force? As with any problem think how you would do this yourself. You've been given a list of connections and distances that would be tr... | -2 | 0 | 2,382 | 2018-11-11T19:20:49.073 | api_errors | softwareengineering.stackexchange.com | |
716,677 | Is postfix the only program that should be using port 25 | My server IP was blacklisted for sending out spam and I am tracking down the program sending spam. I did [CODE] , and it shows a lot of programs using port 25 e.g [CODE] Is postfix the only program that should be using port 25, or is the word [CODE] an alias for all the processes of postfix? ------ EDIT ---- Thank you ... | Anything using port 25 should be a verified SMTP program that you both know about - and have authorized. In your case, that is ONLY [CODE] . You should know that having an open relay can also cause you to send spam unwittingly. Check this out to determine which programs are using which ports: http://www.cyberciti.biz/f... | 1 | 4 | 1,735 | 2015-08-25T15:40:20.180 | infrastructure | serverfault.com | |
419,807 | How to configure postfix to only send to whitelisted addresses? | I want to configure postfix to only send mail to addresses in a whitelist. I have tried to use [CODE] in [CODE] like so: [CODE] The whitelist file is of the format [CODE] And then translated into a hash with the [CODE] command. Still, the relay is sending mail to non-whitelisted addresses. What am I missing? Edit: I am... | You told postfix to reject some types of mail and accept some other mail. It's possible some messages are not caught be either filter in which case they are permitted. I think you want to tell it to accept (check) only list and reject all else. [CODE] in response to edit: [CODE] uses [CODE] not [CODE] One way to achiev... | 9 | 8 | 11,413 | 2012-08-21T20:44:25.897 | infrastructure | serverfault.com | |
328,368 | Amount of routine work in software development and its effect on estimation | I am convinced that the amount of routine work in software development is - and should be - relatively small, if not negligible, and that this is the fundamental problem of software estimation. Let me describe how I come to this conclusion and tell me if the argumentation has any serious flaws: All that can be estimate... | On any single given project this may be true. However if you work on multiple, similar projects for different companies over the years you may find yourself 'solving' basically the same problem many times with only slight variations. For example I've written data access layers so many times I now prefer to do it 'long ... | 11 | 11 | 806 | 2016-08-14T10:41:48.467 | api_errors | softwareengineering.stackexchange.com | |
27,509 | How to scroll in an Android app with Appium 1.6.4 in C# with windows? | I am trying to scroll in an Android App but I'm getting an error. Code : [CODE] | The Swipe, ScrollTo, and ScrollToExact methods have been deprecated. The 2.0.0.1 release notes suggests using [CODE] or [CODE] . Here is their example : [CODE] As an alternative, a different approach (which is similar to the one you were trying) is presented on SO . [CODE] | 0 | 1 | 3,301 | 2017-05-30T07:14:59.250 | data_quality | sqa.stackexchange.com | |
890,200 | P2V causes PPTP to disappear | I have recently completed a P2V of a Win2008R2 server. It had PPTP server vpn capability before conversion, but it appears something is now blocking / preventing the vpn connection. If I try to connect to the VPN with a local virtualized windows client (on same ESXi server), it connects. However clients that are not vi... | You need to enable (Accept) Promiscuous Mode on your vSwitch in order for VPN clients to connect to the VPN server on the virtual machine. | -1 | 0 | 105 | 2017-12-31T16:11:52.970 | database_errors | serverfault.com | |
68,951 | Ideal way to define a table or grid in XML? | HTML [CODE] XAML [CODE] In HTML, there's some ambiguity on how you set the width of a column. You have to specify it on the th/td, but there are multiple of those within the same column. WPF solves this problem by introducing "definitions", but then you have to explicitly specify which cell you want to insert each elem... | I think a good table definition should fit very well with XSLT, so you can derive your HTML and XAML examples easily. Your proposal looks good, maybe this would be easier to transform: [CODE] | 2 | 2 | 3,321 | 2011-04-16T21:21:38.737 | api_errors | softwareengineering.stackexchange.com | |
207,600 | Real-time IIS monitoring | We're looking for some monitoring software that will report and display real-time performance information for IIS. We're currently using perfmon to monitor requests executing, requests queued, etc..., but we're looking for a permanent solution that is able to generate reports, charts, and more. Nagios seems to get a lo... | I know that you said you'd like something that you can install on windows but I really haven't seen many "good" options available. I'd like to make a recommendation any way just in case you decide to brave the linux world :) If you have at least one linux machine.. or a place you can run virtuals then look into Zabbix ... | 5 | 2 | 2,585 | 2010-11-30T21:09:39.020 | pipeline_ops | serverfault.com | |
972,832 | nginx reverse-proxy, how not to pass the location | what we have: reverse-proxy server with nginx - external: 10.xx.xx.xx - internal: 192.xx.xx.1 internal server running a service on port 9010: 192.xx.xx.15 We get already the service if we connect to the proxy via https://10.xx.xx.xx/ But the goal is: To get the service on the internal server if we connect via https://1... | This will work using rewrite: [CODE] In your case you should not need rewrite at all though, just specify the exact url in proxy_pass: [CODE] The usage and location of [CODE] is important in both cases. | 0 | 1 | 609 | 2019-06-25T15:32:10.723 | infrastructure | serverfault.com | |
447,756 | Apache has many PHP session files | [CODE] Most of them are empty. There are not so many users on the server so I wonder where those files came from. Is this a problem or how does apache handle those file? Do they get delete automaticly? Could this be caused by a bad PHP file? | I assume this is from the deault session handler (you didn't say). Yes, the files should get remove automatically, depending on the settings of session.gc_maxlifetime and session.gc_probability . If you've currently got the default settings, then increasing the latter will reduce the number of files. But unless you hav... | 1 | 1 | 2,496 | 2012-11-12T09:13:49.097 | infrastructure | serverfault.com | |
322,211 | SQL Select Query not showing data in the statement | I have a very simple table that links ITEM numbers to GL Codes, I am running into a problem with my SQL Query not showing me every ITEM number in my statement Here is my table [CODE] In my statement I have multiple ITEM Numbers but it will only show the results for that specific ID once [CODE] the statement only return... | i want to see that 6 times if I include 0004 6 times in my query but i guess SQL doesnt do that Correct. The [CODE] clause filters your table down to only the rows that meet the criteria specified in it. If the row exists only one time in your table, it doesn't matter how many times you specify you want that row in the... | -2 | 0 | 996 | 2023-01-17T14:47:28.950 | warehouse_errors | dba.stackexchange.com | |
66,503 | Machine learning model with simultaneous function optimization | Consider the following scenario. I am a sculpturer and customers ask me for what price I am willing to provide them with some statues. Their request for sculptures can vary in difficulty, quantity, material, size. In response, I reply with the price and subsequently they will either accept or reject (1 or 0) my proposa... | Have a look at this competition organized by the European Spatial Agency (ESA). https://kelvins.esa.int/collision-avoidance-challenge/scoring/ Here they use a composed loss function. A binary classification whether two spatial are at risk of colliding or not. And in case that they collide a regression saying what is es... | 3 | 0 | 180 | 2020-01-15T07:45:04.817 | data_quality | datascience.stackexchange.com | |
234,311 | Testing whether jumbo frames are actually working | Is there a command to test whether jumbo frames are actually working? i.e. some sort of "ping" that reports whether or not the packet was broken up along the way. I've an ESXi host with an Ubuntu VM which mounts a Dell MD3000i via iSCSI. I suspect jumbo frames are not enabled on the switch, and can't easily get admin a... | Enabling Jumbo Frames means allowing a larger Maximum Transmission Unit (MTU), usually by setting the MTU to 9000. To verify this has worked you can use ping in windows with the [CODE] flag to set the packet size, and the [CODE] flag to set Don't Fragment flag in the packet. [CODE] If the packet gets fragmented you wil... | 29 | 44 | 47,545 | 2011-02-11T10:53:51.323 | infrastructure | serverfault.com | |
1,085,994 | Apache server port 443 connection refused | Recently configured SSL on Apache 2.4/Ubuntu 20.04 hosted on Oracle Cloud and have been getting connection refused for https/port 443. External device: [CODE] ssh'd into server: [CODE] [CODE] is the only symlink under [CODE] [CODE] [CODE] Ubuntu's ufw is inactive. Ran... [CODE] ... with no luck. Oracle Virtual Cloud Ne... | Check your Oracle firewall; If the port 443 was not opened, them open it. Check your ufw firewall; Run as root: ufw allow https | 2 | 0 | 19,205 | 2021-12-11T05:17:19.837 | database_errors | serverfault.com | |
284,577 | with (tablock) does not seem to make code faster for insert select | I read about minimal logging and that one should use with (tablock) for [CODE] s. I had high expectations when I added this but it does not seem to make a difference. I use it in ETL and tables are empty (truncated) and the recovery model is "simple". Am I missing something? I also see [CODE] sometimes but when I read ... | How many rows are you inserting at one time? Despite what the comments say, minimal logging does affect performance, but it's very minute and maybe a moot thing to worry about. Using the [CODE] query hint moreso helps with large data insert performance because it tells the SQL Optimizer to take a Table Lock upfront, as... | 0 | 2 | 2,138 | 2021-02-03T07:05:51.887 | data_quality | dba.stackexchange.com | |
369,315 | SQL Server claims that transaction log is full, but it's not? | I'm trying to do a large [CODE] operation from a database to another. But I get an error message: Msg 9002, Level 17, State 4, Line 1 The transaction log for database '_ARCHIVE_mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases Things I've done so... | The problem was that our virtual server's hard drive had been corrupted. When I tried to run chkdsk I got an error "The type of the file system is RAW" (which means unformatted ). Our IT support fixed the drive and now everything works fine! | 0 | 0 | 2,701 | 2012-03-13T18:55:15.060 | hadoop_errors | serverfault.com | |
111,891 | BertTokenizer Loading Problem | I loaded this BertTokenizer previously, but now it is showing, I have to make sure I don't have a local directory. In my kaggle kernel, I don't have this local directory. How to solve it? [CODE] [CODE] | It could be due to an internet connection issue, that's why it is always safer to download your model in a local folder first and then load it directly using the absolute path. In addition to that bert large is about 2Gb. To download it, you can use this code: [CODE] See also: https://huggingface.co/bert-large-uncased | 1 | 1 | 1,821 | 2022-06-16T17:53:57.833 | data_quality | datascience.stackexchange.com | |
259,118 | SQL Server 2016 table corrupt | I have an SQL Server 2016 v13.0.5101.9 hosting Sharepoint databases. The weekly DBCC CHECKDB job discovered database corruption (or inconsistency): Msg 8928, and Msg 8965 popping up. I narrowed it down to the Docstreams table which occupies 99% of the database space, so that doesn't help much: the table is around 100GB... | To answer my own question for anyone in the same situation: Although the DBCC CHECKTABLE ... with ALLOW_DATA_LOSS option very nicely fixed the problem and removed the corrupt pages in a test-environment, it was decided to redo the migration. That was possible because the source-data turned out to be static: nothing had... | 1 | 0 | 166 | 2020-02-07T10:14:22.797 | database_errors | dba.stackexchange.com | |
412,134 | Server unreachable, best way to find out the cause? | I'm running debian squeeze on a rented dedicated server and in the recent time the server gets more often unreachable from one moment to the other with any external service. During this downtime, the crontabs etc. are running normally and I couldn't find any clou of a crash or related in any logfiles. To get the contro... | try adding more cron jobs that run every minute and log: fact that the job run [date>>log] content of the arp table, ip configuration [arp -n >> log; ip a >> log] state of the network interface [ethtool -i eth>>log] log messages will not hurt you either [dmesg -c >>log] result of ping to the router, ping to few 'neighb... | 1 | 1 | 5,975 | 2012-07-28T17:57:56.697 | infrastructure | serverfault.com | |
805,459 | Cannot schedule task to run as user on Server 2012 R2 | I'm trying to create a scheduled task on Server 2012 R2 to run as a domain service account. I select "Run whether the user is logged on or not", and select the domain service account, click on OK, enter the credentials, and then I get this error message: An error has occurred for task LPAEmail. Error message: The follo... | Turns out the issue was the Credential Manager was disabled via the following registry settings: [CODE] Both values must be set to [CODE] in order for the Credential manager to work with domain accounts. | 0 | 0 | 4,855 | 2016-09-26T20:29:36.630 | infrastructure | serverfault.com | |
41,659 | WorldWide site - should I save UTC or in fixed time? | Let's say I have a world wide website ( I mean it has uses from all around the world). I have 1 server which is in germany ( at some city). it will never be moved from germany - ever. My question is : When users saves data , I need to save the action date : Should I save ( and I think I do) it as [CODE] ? Or since - th... | Always store data in the database in UTC and then use the appropriate timezone to convert it during display, in the application. Is the only sensible approach when it comes to consider data mobility (geo-replication), user location and , most importantly, daylight savings. If you store local time there will be times wh... | 2 | 5 | 171 | 2013-05-07T08:31:05.350 | warehouse_errors | dba.stackexchange.com | |
47,031 | How can we handle SeekBar in Appium? | I wrote a code for SeekBar. I wanted to move the SeekBar but it did not move. When I run the code it gives me values in the console but did not move. Kindly check my code and tell me what I am missing in this, [CODE] | [CODE] your code is correct , the issue is the starting position i guess. Start from zero | 1 | 1 | 447 | 2021-03-09T06:28:15.043 | data_quality | sqa.stackexchange.com | |
291,060 | Rebuilding a single corrupt table with dual master replication | I have a replication setup with two MariaDB 10.2 instances set up in a dual-master configuration. On host A, a table has been corrupted somehow; whenever I try to read from it (including [CODE] ) the process crashes. [CODE] I'm planning to take host A offline, and use [CODE] to diagnose the problem. If, as I suspect, I... | Ensure host B is your active host in the dual master Rest of instructions are on host A As reading from A.tablename will probably crash it, try this with another tablename to be familiar with what its doing. [CODE] look closely at the above. [CODE] (if not already) [CODE] To have a new table idb file: [CODE] quick popu... | 0 | 1 | 145 | 2021-05-05T18:18:21.797 | database_errors | dba.stackexchange.com | |
398,374 | Can a network failure cause a user to be removed from SQL as an authorized user? | We are trying to get to the bottom of our issue. We have a service that connects as MyDomain\ServiceAdmin to a SQL 2008 database. I believe we have just setup database mirroring too in case the DB/network goes down and we lose connectivity, but we most likely have not tested it. We had various network issues and then m... | DBA is pointing to network issues causing the problem and the user missing. Is that possible or are the network issues just a coincidence and he's trying to CYA ? I believe you have your answer. | 0 | 2 | 136 | 2012-06-13T17:04:19.007 | infrastructure | serverfault.com | |
1,000,772 | Print Ansible header before executing a long running task | Context I have an Ansible playbook that includes a very long task, up to one hour. Very simplified, it looks like: [CODE] When the user runs the playbook, the output is at first: [CODE] Problem The end users of the playbook believe that there is a problem with [CODE] since it hangs there, while it's [CODE] that is caus... | Migrating my comment to an answer upon OP's request I am using Ansible 2.9.2. I tried with no config file and with a config file with no value declared for [CODE] (default). I cannot reproduce your problem in either case. This is my test playbook: [CODE] And the result (in both cases. Note: interruption by user after t... | 7 | 4 | 2,846 | 2020-01-28T15:17:42.713 | pipeline_ops | serverfault.com | |
264,384 | PHP vs ROR for AJAX and responsive design | I'm in the planning phase of making a website for calculating various mathematical problems, as a school/sparetime project with a couple of friends. We're gonna start off with implementing a "right angled triangle calculator", and then gradually implement more mathematical stuff. So, basically, we want some boxes that ... | Generally, you use Web frameworks (or languages, in PHP's case) to serve and store persistent data. What do I mean by that? Well, Twitter is the go-to example. When you make a Tweet, that gets stored in a database somewhere. Then, when you look at the tweet again, it's loaded from the Database and sent to you. In your ... | -3 | 2 | 294 | 2014-12-02T22:35:44.393 | api_errors | softwareengineering.stackexchange.com | |
966,946 | RewriteRule "P" flag results in server 500 error | I am using [CODE] in my [CODE] file to modify an incoming URL. It works fine except I want the rule to act as a proxy, rather than a redirect. But if I append the [CODE] proxy flag to the rule then the rule triggers a 500 error. The Apache logs show a 500 log when the rewrite rule includes the "P" flag and a normal 302... | SSLProxyEngine needs to be set to "on" in the site's Apache conf file. | 5 | 2 | 2,368 | 2019-05-12T22:31:51.293 | api_errors | serverfault.com | |
564,336 | RoundCube login to local IMAP server failing | I've been following this guide to set up a mail server on my server: http://flurdy.com/docs/postfix/edition5.html The only difference is that this tutorial uses a MySQL database and I've used PostgreSQL. But I can't login to RoundCube. This is a message I get in the RoundCube error log: [CODE] This is from the IMAP log... | Being confronted with the very same issue, I did a few ours of Google-Foo to get to the root of the issue: As Gabriel assumed correcty in his answer , it's not the fault of Roundcube – but of the way the password is stored and the encryption works. Few obvious basics When talking about CRAM-MD5, MD5, or CRYPT, we're ta... | 2 | 3 | 25,402 | 2013-12-31T15:55:56.653 | database_errors | serverfault.com | |
211,096 | What does "Released under MIT and GPL license" mean? | There are lots of projects released under more than one license. One example is Mozilla's tri-license , which states that the Software is released under the MPL, but the user can also choose GPL or LGPL instead of MPL (I think this is because the MPL license is incompatible with the GPL license). However, I came across... | It means that you can pick either GPL or the MIT license (not both at the same time). If you pick GPL you need to go with the GPL terms (eg. all derivative works must also be released under GPL). If you pick MIT that's not required (just an example among the many terms). | 4 | 6 | 3,312 | 2013-09-11T07:44:29.487 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.