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 |
|---|---|---|---|---|---|---|---|---|---|---|
766,263 | Nginx proxy_pass all non-api routes | My nginx setup needs to direct all non- [CODE] requests to [CODE] . When I visit [CODE] , all is well. I can visit any of the routes provided by my front-end. However, when I hit refresh, the route is not found. I realize that I could just add every route manually to [CODE] to the root. Obviously this would be tedious.... | I would try a bit different approach: [CODE] So, here we specify the "catch-all" block to be @app, which forwards requests that don't match any filesystem file to the [CODE] . Then we have a separate [CODE] block, which matches all requests starting with URI [CODE] . Those are then proxied to the [CODE] . | 2 | 2 | 2,205 | 2016-03-26T19:27:03.237 | infrastructure | serverfault.com | |
25,257 | How to modify an update in Oracle so it performs faster? | I have this query: [CODE] The trouble that I am having is that this query takes a long time to run. I don't know whether it is possible to run this on parallel, or it would be easier to update a cursor in a pipeline function. What would you suggest? This is all the information that I believe it is relevant. This is the... | I'm assuming that your [CODE] table is a lot smaller than the [CODE] table, so you might want to exploit [CODE] a little more. Dipping into the [CODE] table on a row-by-row basis can be a relatively cheap operation compared to joining it to all the rows in the [CODE] . Since the [CODE] table is the [CODE] minus [CODE] ... | 8 | 2 | 397 | 2012-10-01T21:46:32.630 | database_errors | dba.stackexchange.com | |
60,310 | Frequent Delete & Insert, impact on performance | In my application, we have very few updates. Most of the data gets deleted and inserted. My question is, how this will impact the performance? We are using SQL Server 2012. Table statistics (will these get outdated faster?) Fragmentation Please post your experiences. Thanks in advance!! | Using a [CODE] + [CODE] pattern instead of also involving [CODE] s can be highly problematic. IMO, it's an anti-pattern. In 99.9% of cases, it's better to use [CODE] when possible. Usually the [CODE] + [CODE] pattern is implemented such that the subset of rows is blindly deleted in the target, which can create a tremen... | 6 | 3 | 2,697 | 2014-03-06T12:37:50.583 | database_errors | dba.stackexchange.com | |
268,627 | MySQL Master-Master Replication of ALL databases. How? | Background : I have two MySQL 5.1 servers setup in Master-Master row-based-replication (RBR) following this excellent guide . I want all databases replicated, and will be adding new databases regularly. Goal : I would like to be able to add new databases to replication by just adding the DB to one of the servers; witho... | This is how i did it for both masters [CODE] | 17 | 19 | 22,730 | 2011-05-11T15:09:48.367 | database_errors | serverfault.com | |
255,386 | Are there two type of associations between objects or are there just different representations? | I've been spending some time on 're-tuning' some of my OOP understanding, and I've come up against a concept that is confusing me. Lets say I have two objects. A [CODE] object and an [CODE] object. Back to basics here, but each object has state, behaviour and identity (often referred to as an entity object). The [CODE]... | It s a bit hard to fully understand what is problem actually in :). I think you are a bit mixing some concepts. Entities representation At first, all models we are implementing is just a simplification of some real-world objects and environment. Your conceptual entity user corresponds to some real user and contains som... | 0 | 0 | 522 | 2014-09-04T16:54:09.833 | api_errors | softwareengineering.stackexchange.com | |
1,046,988 | OpenVPN on virtualized TrueNAS Bad routing? | I have the following, very weird problem. I've set up an OpenVPN server, i can connect, and ping remote LAN's ip addresses. Well most of. There are two clients that are inaccessible to vpn clients. My OpenVPN server configuration: TUN/Subnet push "route 192.168.1.0 255.255.255.0" push "dhcp-option DNS 10.100.0.1" push ... | I believe it has something to do with the Routing Policy on your client. Try [CODE] on your client or equivalent Windows command and see what subnets it routes are via VPN server, and what aren't. If you have chosen to route virtually everything (sometimes only except localhost 127.0.0.1) via the VPN server, then of co... | 0 | 0 | 561 | 2020-12-21T01:05:22.140 | infrastructure | serverfault.com | |
588,462 | Why am I getting permission denied error? | I am tryng to create a symlink but I am getting permission denied. How do I tell why? [CODE] This is the content of my [CODE] file: [CODE] I am logged in as a user called deploy, I am inside the [CODE] group. [CODE] | As we discussed in comments : You should run your [CODE] command using [CODE] : [CODE] Now, if this is not possible because of Capistrano 3 (which i don't know), you have to give your [CODE] user write permissions on folder [CODE] . | 3 | 4 | 38,382 | 2014-04-11T18:37:22.873 | infrastructure | serverfault.com | |
622,800 | Apache2 enable .ini mod in /etc/php5/mods-available | One can use the [CODE] command to enable mods located in [CODE] . But what about mods in [CODE] ? When I try to enable a mod in this directory (eg. xdebug), I get the following error: ERROR: Module xdebug does not exist! Yet, [CODE] exists. I understand [CODE] may work only with *.load files (it makes sense since *.ini... | You should use [CODE] to enable PHP modules. | 4 | 8 | 9,352 | 2014-08-20T16:12:32.100 | infrastructure | serverfault.com | |
151,697 | Has my site been attacked? | This is about an online store based on Drupal 5. All of a sudden it didn't work anymore. Upon accessing the site, this error came up: Parse error: syntax error, unexpected ' Upon further inspection I found the following two lines at the end of said index.php: [CODE] After manually removing those 2 lines, the site seems... | If it's been hacked, you don't know if there's been a back door installed. You may have to reinstall from a known-good backup after a reformat. Never trust a system that has had an intruder in the system. To prevent it in the future, you'd have to keep up with updates, and subscribe to lists that keeps up to date with ... | 3 | 3 | 413 | 2010-06-16T13:15:23.710 | database_errors | serverfault.com | |
1,112,114 | OK to power down server every day? | If I may give a little background before my question. I'm winding down my web developmet business so have moved out of the office to WFH. I might just do some work maybe one or two days a week. Have a server running FreeBSD Unix. While in the office it was on 24/7, but with WFH and the energy costs here in Europe, I ca... | I assume that server is used for local development and not to actually host your web sites on the Internet. If so, you can treat it as a regular pc and turn it on/off per your needs. The reason servers are usually on 24/7 is because so they can serve its content to whoever requests it at any time, if you are the sole a... | 0 | 1 | 55 | 2022-10-03T07:49:37.623 | infrastructure | serverfault.com | |
335,082 | Full Database Backup failing | I have been using the Ola Hallengren script for a number of years and it works great. We recently set up a new SQL server and I installed the latest script. When I run the Full Database backup I get the following error. The directory gets created correctly, but the error doesn't tell me what else it could be. Any help ... | General Ola Error Debugging The error message in your question looks like the job step error message. The full details are normally stored in a TXT file with the name similar to this: [CODE] This file is located in the default LOG directory of your SQL Server instance (Where the ERRORLOG file is located). This could be... | 1 | 1 | 90 | 2024-01-22T15:06:41.240 | database_errors | dba.stackexchange.com | |
52,061 | How to download BAIR action free robot pushing dataset? | I'm trying to download [CODE] . I tried downloading from here . In browser, it shows its size is 30GB, but downloads some data and then fails. I tried multiple attempts with no success. Then I tried to download using [CODE] [CODE] Even with this, it shows total size is 30GB, but after downloading some 199MB, it ended s... | BAIR dataset can be downloaded here https://sites.google.com/berkeley.edu/robotic-interaction-datasets Additionally, here is the code to extract data from the dataset [CODE] References : https://github.com/edenton/svg/blob/master/data/convert_bair.py | 2 | 0 | 1,062 | 2019-05-16T09:55:12.313 | data_quality | datascience.stackexchange.com | |
1,065,483 | What is the Interaction of Timeouts and Intervals in Pacemaker Resource Monitor Operations | If I have a pacemaker resource like this: [CODE] It seems that there would be a conflict given that the timeout is longer than the interval. However, I cannot find any documentation which specifically warns about this potential condition. Is a different monitor process spawned every 5m which dies 8m later? Or is a sing... | From documentation available at Red Hat (which along SUSE is a main sponsor for ClusterLabs ' pacemaker/corosync): RHEL8 - Chapter 20. Resource monitoring operations : [CODE] [...] A recurring monitor action will be executed immediately after a resource start completes, and subsequent monitor actions are scheduled star... | 1 | 0 | 578 | 2021-06-02T18:55:32.933 | infrastructure | serverfault.com | |
811,976 | Why does this Ansible task report a failure? | I am trying to configure an Ansible task that will check for the existence of a specific cert within the Java cacerts keystore file, and if it does not exist, install it. [CODE] The above command, [CODE] , returns the following when the cert doesn't exist: [CODE] This causes the task to return [CODE] , and causes the r... | Anything non-zero exit status for the command is counted as a failure. You can ignore all errors on the task: [CODE] or it's likely you could use [CODE] to set conditions (I haven't tested this exact condition set, but you get the idea...) that ensure it fails if an unexpected failure is encountered, but continues if t... | 0 | 5 | 4,903 | 2016-10-28T20:56:46.633 | pipeline_ops | serverfault.com | |
371,601 | SVN Server not responding | I've been bashing my head against a wall with this one all day and I would greatly appreciate a few more eyes on the problem at hand. We have an in-house SVN Server that contains all live and development code for our website. Our live server can connect to this and get updates from the repository. This was all working ... | (I think you should update your question with full details of your SVN configuration from httpd.conf, and also [CODE] output, and [CODE] to some pastebin) However if you do the following... [CODE] And you do this on both the guest and VM host and you still cannot connect, then the problem is not iptables, or selinux. S... | 0 | 2 | 3,250 | 2012-03-20T15:30:34.457 | infrastructure | serverfault.com | |
1,129,978 | Best practice for stopping Apache during backups | During backups, I need to 'idle' Apache, so that I can stop MySQL, and then back up MySQL and SQLite databases. The only access to the databases is through Apache. Currently, I'm thinking of doing this with a script that modifies the Apache config to redirect all accesses to a 'site down' page, and then: [CODE] However... | Downtime procedures are relatively easy when just shutting it down for a long window is acceptable. More or less what you are doing. Prior to downtime, while its still running, consider a reminder on the site that it has maintenance. Organizations vary in what they expect for this, some systems have a banner that its g... | 1 | 1 | 101 | 2023-04-29T11:58:57.197 | database_errors | serverfault.com | |
33,037 | Relationships in a school database | I am designing database for a school app. Student is the main entity in the database. Student has relation with Parent & Guardian. I am confused as where to store references. As will student table have foreign keys from parent & guardian table or vice versa. UPDATE: Need to store student current data like course / batc... | You might need an intermediate table to store this relationship, as it's possible that a student has more than one parent/gaurdian (a mother and a father) and it's possible that a parent/gaurdian has more than on student. student ------- id gaurdian -------- id student_gaurdian ---------------- student_id gaurdian_id T... | 0 | 3 | 2,686 | 2013-01-16T18:44:34.330 | warehouse_errors | dba.stackexchange.com | |
951,576 | Setting value via variable in apache httpd.conf | I have the following entry in my apache config file: [CODE] The issue is that that with this in place apache won't start - it immediately crashes. I remove %{env:MATCH_id} it loads. As far as I can tell from the apache docs though that should be valid. So I'm not sure why its dying. Can anyone help? Apache Docs: http:/... | I solved this by enabling urlrewrite: [CODE] Then in the block using this rule: [CODE] Hope this helps someone else. | 0 | 0 | 232 | 2019-01-30T22:13:54.600 | infrastructure | serverfault.com | |
396,852 | Is there a way to make output from bash script visible in browser? | I have made a script for svn update for programmers. The script works fine from bash. Programmers want to execute it from browser (via theirs administrator site). Script is very simple (its only example not exacly the same) [CODE] In browser bash script is starting via php file something like: [CODE] After executing it... | Switch to the user id under which your web server/php runs as, then manually run, [CODE] and see what you get. Or, change [CODE] to [CODE] which will redirect error messages to stdout, which should then show up in your web page to help with diagnosis. | 3 | 4 | 3,724 | 2012-06-08T11:27:12.710 | infrastructure | serverfault.com | |
46,238 | Appium - An element could not be located on the page using the given search parameters | I am just starting with Automatization, but I have a problem with elements. I have this XPath [CODE] and my code is: [CODE] But the Error is still the same: [CODE] I don't have any idea how to find the element. Could you help me? | [CODE] I think you miss an S at the end. Also I think this search might be CASE SENSTIVE. | 1 | 1 | 3,126 | 2020-11-23T17:51:34.430 | data_quality | sqa.stackexchange.com | |
121,519 | cannot commit svn with dav on ubuntu | So there are several similar questions on serverfault ... but the solution is still eluding me. I am running subversion on Ubuntu 9.04 .. through apache2.2.x .... I get [CODE] when I attempt to commit. It is definitely a permissions issue... but how to fix it is still eluding me. My repository is in /home/kirb/svn. SVN... | You need to change the svn files to be in the [CODE] group, and make them all group-writable. For example, if the repository is [CODE] , then [CODE] should do it. (Although, come to think of it, you've probably already figured this out...) | 1 | 5 | 4,261 | 2010-03-11T14:58:39.917 | infrastructure | serverfault.com | |
1,107,137 | Is basic Username authentication is enough for Dante SOCKS proxy? | so I'm making a SOCKS5 proxy for WebSocket connections and some HTTP calls on a few VMs in DO. The idea is that traffic from K8S cluster would go through the proxies so I could whitelist the IPs on the end service. I'm creating the proxies because DigitalOcean do not yet have CloudNAT or similar features. I'm also maki... | I just used DigitalOcean Firewall to allow incoming traffic only from our k8s cluster. It should be enough for security. | 0 | 0 | 650 | 2022-08-01T21:10:23.923 | api_errors | serverfault.com | |
441,278 | Why *do* windows print queues occasionally choke on a print job | Y'know they way windows print queues will occasionally stop working with a print job at the head of the queue which just won't print and which you can't delete? Anyone know whats going on when this happens? I've been seeing this since the NT4 days and it still happens on 2008. I'm talking about standard IP connected la... | My experience is usually a buggy print driver. I can't tell you how many times I've had to stop the print spooler service on Windows systems, navigate to the print spooler directory (usually C:\WINDOWS\System32\spool\PRINTERS), and delete the spool files there, then restart the print spooler service. In my experience, ... | 11 | 2 | 3,265 | 2012-10-23T09:50:55.520 | infrastructure | serverfault.com | |
157,316 | Error handling in PL/SQL | I'm coding something in PL/SQL for the first time and have come up with a situation. We are building a package to handle insertion tasks but it's supposed to handle the check violations instead of pre-checking the inserted data. The thing is, check violations in Oracle return the same error code (-02290) and I want to ... | You can define your own exceptions. If you have a package for defining business logic, you can define some exceptions in the package header then raise the proper exception when needed. Which means that you need to keep the exception numbers unique so that you can handle the exceptions from the calling procedures. ssoci... | 0 | 0 | 334 | 2016-12-06T09:28:14.437 | database_errors | dba.stackexchange.com | |
918,304 | vSphere 6.5 HA agent cannot be correctly installed or configured | Last week we encounter the following issue : we had to shutdown our entire infrastructure due to UPS replacement. At the end of electrical operations we had restarted : network SANs vCenter ESXis (2 in cluster) After waiting for ESXi's startup, we discover that the cluster had error : Insufficient configured resources ... | I know you mention you already tried it, but in case it helps someone else I just wanted to say that the solution for us was to disable / remove the HA configuration entirely from the entire cluster and then enable it again . I also couldn't find any info on this with Google, except your post. We had the exact same iss... | 3 | 5 | 20,475 | 2018-06-26T14:08:11.883 | database_errors | serverfault.com | |
946,774 | No traffic arrives via openstack floating IP and pacemaker/corosync | I am following the steps from https://fuga.cloud/academy/tutorials/ha-vip-with-corosync-on-openstack/ . I am missing a reason why traffic going into the external floating IP is not arriving correctly on a machine bound to a relevant network-port. The code below will create: 3 LB machines with external ips (curl port80 ... | The missing pieces were: device_owner had to be set on port_vip: neutron:VIP_PORT the port_vip resource also have to have allowed_address_pairs blocks (3 for each loadbalancer; i added fixed_ips to the above port_lb resources, i whitelisted them on port_vip) hope this helps someone | 0 | 0 | 255 | 2018-12-27T14:11:46.123 | database_errors | serverfault.com | |
35,691 | In Oracle, will certain users only be able to see certain data in the privileges tables? | I can view data in the table_privileges view logged in as a particular user, but it seems to be missing or different information when logged in as a different user. For the privileges views (data created when calling GRANT), will users see the data differently in these views? I seem to recall reading that this was the ... | The table_privileges view is only preserved for compatibility with ancient versions of Oracle. You should instead be using the user_tab_privs view, all_tab_privs view, or dba_tab_privs view (documentation links for each when you click). | 1 | 3 | 153 | 2013-02-28T17:49:40.577 | database_errors | dba.stackexchange.com | |
770,460 | JSON Parse Error in Windows Sensu Client Powershell Setup Script - unexpected character at line 1, column 1 | I am creating a install script for Sensu on Windows and am getting this error upon starting the service: [CODE] This error is given on all JSON config files. Here is my install script which successfully installs the msi and writes the files how I want them: http://pastebin.com/GgQsNcAX Here is an example of a config fi... | Suggestion: Use a hex editor to look at the file. You may find a rogue FE FF at the file head; this is a byte order marker for Unicode, and does not show in Unicode-aware text editors. Notepad, by the way, is Unicode-aware. (You'll also find, in this case, that your curly brace instead of being 0x7B, is actually 0x00 0... | 0 | 0 | 373 | 2016-04-14T23:08:52.367 | infrastructure | serverfault.com | |
181,079 | Windows 7 Remote Desktop with Windows 2003 Unable to Copy/Paste Files | I am attempting to copy/paste files between Windows 7 and Windows Server 2003 across a Remote Desktop connection (in the same domain, if it matters), but I am unable to successfully do so. I have followed instructions to enable clipboard sharing on the Windows Server 2003 machine by enabling the Network DDE, Network DD... | To the best of my knowledge, clip-board sharing does not extend to files just to text blocks. So it is possible to copy paragraphs between your host computer and the RDP session, just not copy and paste files. This is because the clip-board does not store files, per se, it just stores data. | 0 | 5 | 3,952 | 2010-09-14T17:17:46.983 | infrastructure | serverfault.com | |
138,073 | IN Clause - performance difference between listing values and query | I changed this query [CODE] into this [CODE] then performance dropped. Why is this huge change of Execution plan happening? How can I avoid performance drop while using a sub-query in IN clause? | You are using a linked server to access [CODE] and [CODE] . The first query is sent as is to the other server and executed there returning only the rows you want. The second query is doing a join between a local table [CODE] and a remote table [CODE] . To do that it fetches all rows from [CODE] and all rows from [CODE]... | 3 | 9 | 2,247 | 2016-05-10T04:05:04.917 | database_errors | dba.stackexchange.com | |
850,923 | Nginx proxy Wix site shows only blank page in browser or not found | we're trying to proxy a Wix site ( https://mgertner.wixsite.com/corkscrew-copy ) over Nginx proxy. We've tried most of the headers and cookies settings, but we still got either blank page, or wix error. We've also tried SSL proxy, but it didn't have any effect. The getcorkscrew.com returns Wix not found page, the www.g... | I've got a working configuration for proxying a wix site with nginx: [CODE] where [CODE] is your [CODE] , and [CODE] is your [CODE] . Check also this StackOverflow question and its comments. | 2 | 2 | 4,240 | 2017-05-18T14:41:22.527 | infrastructure | serverfault.com | |
475,306 | Deny read access to a path using authz | I am trying to deny a user access to a certain path in an SVN repository. According to the documentation this is done by setting the username to empty. [CODE] Also, though nowhere mentioned in the documentation, I found this piece of information: If I remember correctly, you cannot have less than global read permission... | First [CODE] is terribly bad idea!!! For second [CODE] you have not any SVNParentPath|SVNPath - location broken. In case of using SVNParentPath and creating test2 repository [CODE] will be correct path | 0 | 0 | 612 | 2013-02-04T18:50:45.810 | infrastructure | serverfault.com | |
581,130 | can't force ssh to use a particular key | I have tried to specify the key to be used but for some reason ssh still uses a different key as see below [CODE] How I get ssh to use [CODE] for bitbucket? | Add [CODE] to the appropriate .ssh/config section to make ssh only offer the specified identity. Also, as zhenech mentioned above, you have to use [CODE] for the options in the [CODE] section to take effect, or add bitbucket.org to the [CODE] line. For example: [CODE] | 3 | 3 | 2,222 | 2014-03-10T21:16:01.727 | infrastructure | serverfault.com | |
218,745 | Database Mail works in Production but not in Test Database | I have a Production database that is able to send mail. And a Test that is not able to. They are both on the same SQL Server. The error is (SQL Server 2008): Msg 229, Level 14, State 5, Procedure sp_send_dbmail, Line 1 EXECUTE permission denied on object 'sp_send_dbmail', database 'msdb', schema 'dbo'. I am an intern a... | To send Database mail, users must be a user in the [CODE] database and a member of the [CODE] database role in the [CODE] database. To add [CODE] to this role use SQL Server Management Studio or execute the following statement for the user or role that needs to send Database Mail. [CODE] Source: Microsoft docs Permissi... | 0 | 0 | 275 | 2018-09-27T15:50:05.727 | data_quality | dba.stackexchange.com | |
203,165 | Update using the value from the closest row | My table looks like this: ----------------------------------------- id | name | housename | houseno ----------------------------------------- 1 | John | John's House | 2/22 ----------------------------------------- 2 | Rachel | John's House | 2/22 ----------------------------------------- 3 | Joy | John's House | -----... | The following approach will only work as expected if we can safely assume that rows with the same [CODE] will have the same [CODE] where [CODE] is populated. As the first step, you need to get the list of all distinct [CODE] / [CODE] pairs where [CODE] has a value. If my assumption above is correct, you will get a resu... | 1 | 4 | 896 | 2018-04-05T17:39:21.620 | warehouse_errors | dba.stackexchange.com | |
359,695 | Why is it considered a good practice to isolate data management in a microservice? | I have seen proponents of isolating data management and storage into microservices in a way that each microservice has its own data store (at least in a logical sense). Hence, joins and aggregations are made in the application layer. Why is this better than using, for example, a relational database where different micr... | A big advantage that a Microservices architecture has is that each service can be safely developed, tested and deployed independently. Having services share a database undermines this as it allows subtle changes in one service to introduce failures in other services, e.g. One service might start writing data in an unex... | 6 | 11 | 459 | 2017-10-25T03:52:28.393 | api_errors | softwareengineering.stackexchange.com | |
306,429 | Access rights on Snap Server | We have a Snap server (Snap Appliance 1100) that we have outgrown. The server is running SnapOS 4.0.855. We're looking for a way to enumerate permissions for all files and folders on the server. The output should be something that is human readable. A CSV or text file would be great. | You're going to have a much easier time by copying files to your new server with the permissions rather than dumping the permissions and trying to reapply them. Assuming SMB, if you use robocopy with /DATSOU, that copies data, attributes, timestamps, security (permissions, NTFS ACLs), owner, and auditing. Run it with v... | 0 | 0 | 532 | 2011-08-30T14:12:18.430 | infrastructure | serverfault.com | |
363,864 | Send records using async or sync way | I have bunch of keys and values that I want to send to our messaging queue by packing them in one byte array. I will make one byte array of all the keys and values which should always be less than 50K and then send to our messaging queue. Packet class : [CODE] Below is the way I am sending data. As of now my design onl... | Your main problem is the [CODE] calls in [CODE] . My recommendation is to abstract that out as a policy. A sketch of a minimal change approach follows. Start by creating a [CODE] interface [CODE] Pass this to the [CODE] constructor [CODE] , and store in an instance variable i.e. [CODE] . Replace the [CODE] call in [COD... | 0 | 1 | 363 | 2018-01-11T22:35:51.493 | api_errors | softwareengineering.stackexchange.com | |
421,599 | Ubuntu split Apache2 log files | I rencently updated the config of my server to relocate the /var/www and /var/log in the /home folder, i also updated all my virtuals hosts to write the logs in the new /home/log folder. But now the logs are written inside huge files, one for the error and one for the access and not in form of multiples archived files ... | Since you have changed the location of the logs you should also update configs in [CODE] cause it still looks for those logs in [CODE] . I don't know what Linux distro you're using but they should be in [CODE] directory | 0 | 2 | 316 | 2012-08-27T13:20:09.870 | hadoop_errors | serverfault.com | |
169,296 | windows internal database consuming a lot of memory | I have a trial windows 2008 r2 with sqlexpress 2008 installed on it but he also has his one native sql server for sbs monitoring and a instance called Windows Internal Database which is consuming almost all the available RAM (4GB) I've shut down all these services and the server/iis (my site) work without them, are the... | Windows Internal Database is a (sort-of) "embedded" version of SQL Server Express, which is available as a Windows component in Windows Server 2008 and Windows Server 2008 R2; it's only used by some Microsoft applications, and only if you configure them to use it instead of a "true" SQL Server instance. The application... | 5 | 6 | 17,752 | 2010-08-11T14:12:49.640 | pipeline_ops | serverfault.com | |
776,875 | Error "the specified domain either does not exist or could not be contacted" when attempting to join the domain | I have set up a server based on windows server 2008 R2, and has successfully joined 2 clients (one PC and one laptop, both windows 7) to the domain. Today I was trying to join another laptop to the domain. It has windows 8.1 on it. It recognized the domain name well, and asked for username and password. But it couldn't... | How a domain controller works When you configure a domain controller there will be also a DNS service installed. Without this service your domain is not reachable. On the domain controller set the Primary DNS (by default) to [CODE] and the secondary EMPTY or if you have a second controller put the second controller IP ... | 3 | 1 | 31,487 | 2016-05-15T10:16:49.650 | infrastructure | serverfault.com | |
347,066 | Expected performance of e-SATA port multiplication? | For a certain read/write workload, I get 30 MiB/s from a 4-disk array using esata port multiplication. When I move the exact same array to four individual sata connections, I get 90 MiB/s for the same workload. Is this the expected performance impact of the multiplier? If not, how do I narrow the problem down between t... | Yes. Poor performance is to be expected. The ATA protocol was never intended to carry data to more than one drive (it was actually based on the ISA Bus, extending the communication channel to a storage drive). The IDE interface cheated this limitation by carrying data for "Master" and "Slave" devices. SATA has no equiv... | 10 | 10 | 3,396 | 2012-01-05T18:59:00.040 | infrastructure | serverfault.com | |
607,550 | Collectd write_graphite plugin - multiple/different prefixes? | I'm using collectd with the snmp and write_graphite plugins. I want certain metrics to go to Graphite with prefix A, and others to go with prefix B, to keep the data in Graphite/Whisper organized. For example, I would like to divide things up like this: network.switches.xxxx power.pdu.xxxxxx My write_graphite config lo... | It looks like the collectD Hashed Match might be what you are looking for: https://collectd.org/wiki/index.php/Match:Hashed/Config You obviously don't have multiple graphite servers, but it looks like you can use pattern matching to send metrics to the different servers, which in your case would have the same "host" va... | 2 | 0 | 3,801 | 2014-06-24T14:23:44.037 | infrastructure | serverfault.com | |
1,044,316 | Mediawiki cannot acces database after Debian upgrade | I upgraded a Debian 9 "Stretch" server to Debian 10 "Buster", which also upgrades Mediawiki to version 1.31. Trying to run update.php, it fails with "Cannot access the database: No database connection": [CODE] The database is Postgresql, and I can access it fine with [CODE] etc. In [CODE] I have [CODE] In the Mediawiki... | The problem turned out to be that the system upgraded PHP, but did not re-install or re-enable the php pgsql module for Postgres. The same problem appeared again when upgrading from Debian 10 to Debian 11, and was solved by [CODE] I guess this will happen again when I upgrade to Debian 12. | 0 | 1 | 1,168 | 2020-11-29T13:16:07.727 | database_errors | serverfault.com | |
62,959 | Wire VMWare Player NIC to a VLAN in Ubuntu 8.04.3 | I've got VMWare Player 2.5.x installed on a Ubuntu 8.04.3 host running CentOS 5.3 running Cobbler. VMWare Player has two NICs (I actually took this image from an ESXi image, converted it to Player 2.x image via VMWare Standalone Converter). I've also setup a vlan (vlan5) on the host with 10.0.0.x and I'd like Cobbler t... | Run [CODE] again and configure the network settings. Specifically you want to setup your vlan interface to be available for bridging. | 1 | 1 | 1,463 | 2009-09-07T07:00:44.813 | infrastructure | serverfault.com | |
1,083,315 | lost network interface to systemd-networkd. What is going on? | I have a systemd host with 4 ethernet ports. one port is reserved for isolated containers. It is set as: [CODE] I also set aliases for the ports, each on its link file, e.g. [CODE] I would later use the unmanaged interface in a systemd-nspawn container with [CODE] At some point (Sept) it was working fine. But a few mon... | this would all be too funny if it wasn't a sad highlight of the state systemd still is. The VM wasn't up, or it was and i was trying to start it up again?, regardless of the case [CODE] showed no container up. The only reason I could find for the interface, which was seen by the kernel, to disappear, was that it was mo... | 0 | 0 | 748 | 2021-11-12T00:49:00.287 | pipeline_ops | serverfault.com | |
805,501 | New Windows 10 Pro install, domain join, can't login | I have a PC I newly imaged with Windows 10 Pro. I joined it to the domain without issues, but I cannot log in with a domain account. I get an error about the password not being valid. If I login with the local admin account, it works just fine. I have added all the user accounts to the machine with and without admin ri... | If DOMAIN\username isn't working then try the FQDN (eg domain.website.com\username) | 2 | 0 | 1,281 | 2016-09-27T01:42:20.467 | infrastructure | serverfault.com | |
366,864 | Does Presentation Logic constrain design of Business layer? | We have an email plugin which encrypts a mail's attachments when the user sends an email and gives the mail's recipients permissions to decrypt the attachments. The recipient permissions are stored on a server. The logic which executes on click of Send button involves some user prompts too. For example, if some of the ... | It's a good question. Sometimes the complexities of the real world make it harder to see the big picture, and/or are in conflict with our mental models. I'll have to digress a bit before I get to your actual question, but bear with me. The key idea is that the very core of your application is the (software) model of th... | 4 | 5 | 357 | 2018-03-02T08:30:28.953 | data_quality | softwareengineering.stackexchange.com | |
40,011 | Keras LSTM accuracy stuck at 50% | I'm trying to train an LSTM for sentiment analysis on the IMDb review dataset . As input to the word embedding layer, I transform each review to a list of indices (that corresponds to word index in the vocabulary set). I thought of converting the text into one-hot/count matrix, but I will end up with huge sparse matrix... | activation = ‘softmax’ should be used for multiclass classification whereas ’sigmoid’ for binary classification. You can refer to: http://dataaspirant.com/2017/03/07/difference-between-softmax-function-and-sigmoid-function/ If changing the activation function does not help, I will be around for alternative solutions. | 1 | 2 | 14,333 | 2018-10-21T14:27:43.353 | data_quality | datascience.stackexchange.com | |
143,425 | CentOS 5.5 ext4 conversion problem - ext4 partition is recognized as ext3 | I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting [CODE] Rebooted. I expected fsck to start automatically as said ... | I solved the problem. It was because mkinitrd was called without --with=ext4 option. I posted detailed article to my blog . | 1 | 1 | 3,031 | 2010-05-19T15:23:13.650 | infrastructure | serverfault.com | |
183,509 | Virtualbox: prevent a virtual machine to go down after I log out from the consolle I lanched the VM from | I have this problem. I login remotely to a machine with Virtualbox installed by launching: [CODE] After that, I launch a Virtual Machine: [CODE] or [CODE] After that, I don't have the prompt anymore. Then, if I switch off my local machine, the virtual machine goes down (no matter whether I use & or not). How can I keep... | Try: (nohup VBoxSDL --startvm vm1 &) & I believe the use of the brackets should result in a new shell being spawned to run the commands within them. This shell is then dis-associated from your own through the use of the &. As an alternative if you use bash as your shell try running 'disown -h' after the command to star... | 1 | 1 | 5,037 | 2010-09-22T10:00:12.093 | infrastructure | serverfault.com | |
715,316 | Docker Swarm installation issues | I am unable to install docker swarm on my Ubuntu 14.04 system. I followed the instruction from the github page https://github.com/docker/swarm [CODE] I have golang and godep installed, and the $GOPATH set to a local directory. However, when i run the commands, all but the last [CODE] doesn't work. It throws this error ... | Once could also decided to install docker 1.12 as this document indicates that docker-swarm is included since this version: To use Docker Engine in swarm mode, install the Docker Engine v1.12.0 or later from the Docker releases GitHub repository. Alternatively, install the latest Docker for Mac or Docker for Windows Be... | 0 | 0 | 222 | 2015-08-19T16:34:45.060 | pipeline_ops | serverfault.com | |
265,002 | How to write proper XPath query for filtering certain application pool errors in Windows 2008 R2 Event log ("Applications" section) | does someone know how to write proper XPath query for filtering certain application pool errors in Windows 2008 R2 Event log ("Applications" section)? EventData in XML view from Application eventlog does not containt data descriptions: Event from Application: [CODE] Event from Security: [CODE] Does anyone have any idea... | I've solved my problem: [CODE] | 0 | 0 | 1,461 | 2011-04-30T12:02:30.370 | infrastructure | serverfault.com | |
1,075,405 | mdadm - cant read superblock - can I zero the superblocks without erasing data and recreate a raid? | Today I had to fix a Server Fan by disassembling and rebuild it. After booting the server I had the problem that all disks where not at the same location they have been yesterday. So the system couldnt mount my array. Now all disks have the old path as it was before... But my system is unable to mount them on boot, giv... | There is a almost identical issue and post at https://superuser.com/a/811116/250231 Verify which drives to use before starting, either all of them, or one missing to later rebuild. In the end start with [CODE] important that the order is correct. Based on latest [CODE] data you should be good with: [CODE] [CODE] and [C... | 1 | 0 | 2,008 | 2021-08-23T15:11:13.670 | infrastructure | serverfault.com | |
129,874 | Fully FOSS EMail solution | I am looking at various FOSS options to build a robust EMail solution for a government funded university. Commercial options are to be chosen only in the worst case scenario. Here are the requirements: Approx 1000-1500 users - Postfix or Exim? (Sendmail is out;-)) Mailing lists for different groups/Need web based archi... | You're best off sticking to "standards" as much as possible, in my eyes that means; MTA: Postfix IMAP: dovecot Auth/routing/etc: OpenLDAP Mailing lists: mailman Spam/virus: amavis + clamav + $commercial_scanner + SpamAssassin Webmail: Squirrelmail is probably your best option. You could try Roundcube. Calendaring: just... | 6 | 4 | 1,305 | 2010-04-06T19:11:20.473 | api_errors | serverfault.com | |
175,120 | Using a many-to-many table with a one-to-many relation? | I'm building a platform where Suppliers can add products, and shop owners can 'copy' those products to their shops and sell them. A Supplier can create products, and he can add all sorts of attributes to them, like the size, colors. When a Shop wants to use one of the Supplier's products, he can choose which attributes... | Your customers may not offer every possible attribute, right? E.g., "T-Shirt, Cotton" is available in small, medium, and large, but my store only offers small and medium. Maybe even black shirts in small and white shirts in small and medium, but not black shirts in medium. To support that, you need a table which normal... | 0 | 1 | 520 | 2017-06-01T08:37:10.397 | warehouse_errors | dba.stackexchange.com | |
366,370 | Cant host a FTP Site in IIS | I can not host an FTP site via IIS. I am connecting via Windows explorer. I can connected when navigate to ftp://localhost My error message makes no since. FTP Folder Error Windows cannot access this folder. Make sure you typed the file name correctly and that you have permission to access this folder. Details: A conne... | Response: 530 User cannot log in, home directory inaccessible. Try verifying that the path to the login folder really exists, and that all users that should access it has the proper permissions to list the files in the folder, also I guess you would like to have read access for the files. I don't know if the later one ... | 0 | 1 | 2,540 | 2012-03-05T05:57:51.447 | api_errors | serverfault.com | |
605,567 | Django, Ubuntu, Apache, mod_wsgi | I'm trying to configure apache with django on Ubuntu 12.04. I'm using mod_wsgi. I used a couple of different tutorials but none of them fully worked for me. Frustrated, I installed nginx without removing Apache. Tried configuring nginx. Failed. Removed nginx. Now I'm back to trying to configure Apache. However, I'm get... | Your content is trying to run out of [CODE] , for which the user Apache is running as ( [CODE] by default on Ubuntu) does not have access. Most likely it can't even traverse into your user's home directory, you should probably move that directory somewhere that it can access (and reconfigure accordingly) instead of man... | 0 | 0 | 1,213 | 2014-06-16T20:27:01.710 | infrastructure | serverfault.com | |
312,691 | Is it wrong to git push force branches? | When I'm working on a feature branch, I tend to want to cleanup the commits in the branch using an interactive rebase before my work is reviewed and integrated in the main branch. During development of the feature, I want to push my intermediate work to the remote repository as a backup measure. I.e. when my hard-drive... | The key question to ask yourself: Do you keep your remote branch after merging back into master? If you delete your remote feature branch after merging into master, you already are losing the history. Assuming you squash/rebase the branch prior to making your merge/PR you lose this history. All your force push is doing... | 14 | 7 | 14,651 | 2016-03-14T13:33:02.530 | database_errors | softwareengineering.stackexchange.com | |
418,329 | Why Gmail mark as spam emails from my postfix server? | I'm trying to send email from postfix to different providers: Hotmail OK, Yahoo Not tested, Italian Provider OK, GMAIL KO ! I have SPF and rDNS set correctly ... this is the header: [CODE] | You should check your sending ip on [CODE] and check you mail with some spam score tools, also you can read [CODE] written by Gmail. Almost forgot about [CODE] . | 2 | 1 | 1,222 | 2012-08-16T17:40:03.160 | infrastructure | serverfault.com | |
622,827 | Apache vhosts not working on Ubuntu 14.04 LTS (Trusty Tahr) | I'm trying to set up vhosts on Ubuntu 14.04 LTS (Trusty Tahr) using Apache, but it's seemingly not working. Output of [CODE] : [CODE] The specific vhost file: [CODE] | It seems that Apache is loading your default configuration. This might be because you've defined the virtual host in [CODE] but have forgot to symlink it to the [CODE] folder. Something like [CODE] should do the trick . | -1 | 0 | 3,727 | 2014-08-20T17:16:42.647 | infrastructure | serverfault.com | |
701,802 | Unable to mount NFS share | I have 3 servers : Server1 : Stores my data. Had a exported folder. Debian 7 - Linux 3.2.0-4-amd64 on x86_64 Server2 : "Client" where is the Server1 exported folder is mounted. Debian 7 - Linux 3.2.0-4-amd64 on x86_64 Server3 : Another "Client" on wich I'd like to mount the same Server1 exported folder. Debian 8 - Linu... | Server2 is successfully accessing the share using NFSv3. Server3 is failing to access the share using NFSv4. Why don't you try using the same nfs options on server3 (nfsvers=3,rw) and see if anything changes? | 1 | 1 | 1,832 | 2015-06-26T08:26:13.893 | infrastructure | serverfault.com | |
175,973 | Backing up a MongoDB cluster with mongodump? | Can anyone indicate the right way to backup a MongoDB database with [CODE] ? I have tried: [CODE] When I do that I get: [CODE] Verifying connection to an individual node with both the [CODE] and [CODE] commands such that these nodes are valid. The [CODE] version is 3.2.13. | Upgrading to MongoDB 3.4 was necessary, since the cluster string did not appear to work with 3.2. Also, based on the blog post for ' importing data ', a small tweak to the host parameter seemed necessary, in the form of adding the 'Cluster0-shard-0/' prefix : [CODE] Edit: updated the response based on @jjussi's feedbac... | 0 | 2 | 9,282 | 2017-06-10T19:17:28.150 | database_errors | dba.stackexchange.com | |
99,611 | Why is l1 regularization rarely used comparing to l2 regularization in Deep Learning? | l1 regularization increases sparsity, so unimportant weights are decreased closer to 0. In Deep Learning models, the input usually consists of thousands or millions of features/pixels, and the network usually contains millions to even billions of weights. Intuitively and theoretically, such feature selection should be ... | Derivative of $L1$ regularization is much more computationally expensive than derivate of $L2$ regularization which is required during backprop. Also $L1$ regularization causes to sparse feature vector which is not desired in most of the cases. | 2 | 1 | 597 | 2021-08-02T14:43:09.350 | data_quality | datascience.stackexchange.com | |
379,228 | socks proxy for debian lenny? dante not works | hello I need a socks5 proxy for debian with simple configuration. dante not working. p.s: I do NOT wish to use SSH tunneling. | Dante on lenny seems to be a known issue. try nano /etc/apt/sources.list (change "lenny" to "etch" ) apt-get update apt-get install dante-server nano /etc/apt/sources.list (change "etch" back to "lenny") apt-get clean And make sure you configured dante correctly (the default config should fail) As an alternative you co... | 1 | 2 | 1,470 | 2012-04-13T15:40:34.963 | infrastructure | serverfault.com | |
333,751 | sendmail sending mail to recipients I don’t know of; possible spam host | Recently I did an audit of my machine with logwatch and found out that my machine sends around 582 mails everyday . [CODE] Next day [CODE] How can I audit more to find out the email ids to where did is send, program which schedules this etc ? | Use log analyzer to find count of sender, recipient, domain etc. and other details. So that you can analyze the situation better. Google Keyword: sendmail log analyzer | 1 | 1 | 175 | 2011-11-22T16:45:34.383 | infrastructure | serverfault.com | |
974,990 | How to connect two networks having the same network address using a linux host which is part of both networks with the same IP address? | I have two cloned networks ( lan1 and lan2 ) used for testing purposes, each with the same address space [CODE] : [CODE] They are not connected and not meant to be connected in terms of switches. But I want to have a means to move between lan1 and lan2 through SSH . (From lan1 on host alpha, do an [CODE] and from there... | Could have separate bastion hosts, one connected to lan1 and the other to lan2. However, doesn't help if you want to route directly from lan1 to lan2. Or renumber. Much easier if each host has a unique IP address. Might as well do it with routing and skip NAT. Automating IP renumbering is a useful skill anyway. Data ce... | 1 | 1 | 1,544 | 2019-07-12T11:09:41.963 | infrastructure | serverfault.com | |
239,570 | PostgreSQL partial index not used depending on boolean comparison | I need help understanding why a partial index would be used in one query and would not in second one which is effectively the same. I have the following table: [CODE] With a partial index: [CODE] and the following two queries: [CODE] and the second: [CODE] P.S. I'm using PostgreSQL 9.6 | The exact laws of the game can be found in the manual, chapter Partial Indexes : To be precise, a partial index can be used in a query only if the system can recognize that the [CODE] condition of the query mathematically implies the predicate of the index. PostgreSQL does not have a sophisticated theorem prover that c... | 1 | 1 | 943 | 2019-05-31T15:23:57.737 | database_errors | dba.stackexchange.com | |
329,799 | class_type column of system function "sys.fn_get_audit_file" returns null | I implemented audit in SQL Server 2019. Also I have created a job to save audit records from file to a table. According the microsoft document column class_type is [CODE] . so in my table is [CODE] too. But today my job failed with the following error message: Cannot insert the value NULL into column 'class_type', Firs... | [CODE] returns [CODE] for that column, so presumably the documentation is wrong. Some of the other columns also don't seem to match. You can make a pull request on GitHub here to change the docs. Exactly why it's returning [CODE] , or what the meaning of that should be, is unclear. | 0 | 1 | 144 | 2023-07-30T06:49:27.383 | database_errors | dba.stackexchange.com | |
95,149 | Connecting to Oracle Pluggable database using service name | I installed Oracle 12c on windows using all the defaults but choosing to use a pluggable database and to install the sample data. The container database and SID name is ORCL and the pluggable database is PDBORCL. I noticed that using SQL Developer I can connect to the pluggable database by using its name as the service... | It registers them automatically. Very easy to test... Listener status shows no PDB: [CODE] Create a new PDB: [CODE] It is now registered with the listener: [CODE] | 4 | 2 | 30,009 | 2015-03-13T05:55:13.767 | database_errors | dba.stackexchange.com | |
400,171 | Parsing tree with many node types | I have a tree data structure where each node describes how to use its child nodes, and this tree is stored in a standard data format - XML for now. However, there are a large number of different kinds of nodes, and I shouldn't have to update the core code that reads in the XML and converts it to software objects every ... | Yeah this seems like a pretty standard way of doing things. Check out how json.net allows you to add custom type serialisers for example | 0 | 1 | 69 | 2019-10-26T02:46:27.137 | hadoop_errors | softwareengineering.stackexchange.com | |
345,790 | Low latency TCP sockets in .NET | Is it possible to optimize a .NET application running on a server version of Windows for near-zero latency TCP communication? Or will there always be unpredictable/unavoidable delays? For example, while searching for low-latency open source apps I found this OpenPDC application on Github which seems to be the de-facto ... | For example, while searching for low-latency open source apps I found this OpenPDC application on Github which seems to be the de-facto standard application for "high-performance data collection" used by numerous utilities around the world. It's even used in academic articles as the tool for assessing network delays fo... | 5 | 8 | 1,259 | 2017-04-07T20:45:46.520 | api_errors | softwareengineering.stackexchange.com | |
1,089,232 | How to convert BASH script to DASH or other solutions? | I am creating an AWS distributor package to modify the syslog configuration on different flavors of Linux servers. I wrote a few simple bash scripts to handle the install, uninstall, and update. I thought this would be universal. However, today I found out that AWS uses [CODE] to execute the script (i.e. [CODE] ) and o... | There are two different function syntaxes in bash/ksh/zsh. You're using the ksh style: [CODE] . The other form is just [CODE] and is the form introduced late in the original Bourne shell. It really is pointless to do: [CODE] Apart from turning all non-zero return statuses to 1, this is just the same as just running [CO... | 0 | 1 | 572 | 2022-01-06T22:36:24.930 | infrastructure | serverfault.com | |
27,672 | Detecting tests that will never fail | We have a rather big test codebase (~1500 test cases) for a Python/Django application. From time to time we stumble upon existing tests that will never fail : tests with missing assertions tests that assert not what they supposed to assert logical errors resulting into assertions not being applied Is there an effective... | I've recently opined, provocatively, that a test that never fails, adds no value. https://durrantm.wordpress.com/2017/05/30/a-new-way-to-think-about-tests/ At a more practical level I look to use the following practices. When writing code, start with a failing tests as recommended in TDD. Really do this on an ongoing b... | 8 | 1 | 631 | 2017-06-08T04:22:58.150 | api_errors | sqa.stackexchange.com | |
381,560 | Scalability: Millions of tables vs one big master table and millions of views | We have to migrate an old (million LOC) system from SAP ADS (formerly Sybase) ISAM based (so called free tables) based system to a PostgreSQL database. The system implements kind of multitenancy regarding putting some basic information (chancellery ID, client ID, fiscal year, etc.) just into the windows folder paths an... | Ok heres my vague architectual advice. I think you are correct in equating the folders to indexes on a single table rather than schemas. But accessing a single table through views can occasionally be problematic. I would always advise just modifying the SQL statement rather than running your SQL on a view. Secondly, th... | 6 | 3 | 666 | 2018-11-15T19:30:50.800 | database_errors | softwareengineering.stackexchange.com | |
62,934 | creating a csv file from two csv files | I have two csv files: [CODE] and [CODE] and what I would like to do is to create a csv file where I have something of the form compiler, opt How could I do this? I need to do this to make a submission. Thank's in advance. [EDIT] Thank you for the answers. Now I have obtained : don't understand why I have the columns ca... | [CODE] This is how to do table join on your table. Another option if it is already aligned and you just want to concatenate you can do [CODE] This is naive column-wise concatenate. Finally just proceed with to_csv. | 1 | 2 | 818 | 2019-11-09T22:28:21.563 | data_quality | datascience.stackexchange.com | |
233,878 | Table metadata lock MariaDB | I'm having serious problems in a DB, where a "Waiting for table level lock" box is loitering and locks the whole system: Based on some research, when the problem occurred to get the command "SELECT * FROM information_schema.metadata_lock_info;" and the result was: continue One DB engine is MyIsam. What could be happeni... | Table-level locks exist with MyISAM; they are avoided with InnoDB. Change the ENGINE. "Metadata" locks can happen with either Engine. In the first image, what is the entire query at the top of the list? Please provide it in machine-readable format, not as a picture. Also provide [CODE] for the table(s). Perhaps we can ... | -1 | 1 | 397 | 2019-04-03T18:33:12.920 | database_errors | dba.stackexchange.com | |
82,869 | Laggy slave OK to have only one system user in processlist? | In all the examples of a processlist on a mysql slave I've seen, there are two system users. I have a slave that is very far behind the master. When I do show a processlist, there is only one system user (State: "Waiting for master to send event"), the event scheduler, and a trigger user. Is this a symptom, cause, or n... | Having replication with only one [CODE] sounds a lot like MySQL 4.1 replication. It was single threaded. That does not sound anything like MySQL 5.x replication. When you run [CODE] , you will see something like this: [CODE] Please note the two lines [CODE] When you see Yes to both of these lines, there must exist two ... | 1 | 1 | 1,032 | 2014-11-17T19:28:27.227 | database_errors | dba.stackexchange.com | |
686,188 | nginx Browser Caching does not work | I have the following problem. I'm using a nginx server. To serve my images correctly I've added following location rule: [CODE] } Everything is ok. But if I add the the Browser Caching ( found here ) [CODE] No images are served Can someone help please? Thanks. EDIT Here is the full configuration: [CODE] | You're not using a default root directive so you should add [CODE] inside the location directive. Nginx will find the files there and deliver to the client with the proper expiration header (30 days in your configuration) | 2 | 1 | 1,273 | 2015-04-28T15:22:51.020 | infrastructure | serverfault.com | |
499,987 | centos6 - wireshark | 1) Is there any easy way to install wireshark-1.8.3 on centos 6 ? I try the wget utility and i get the dependency on gtk..which inturn has dependency on glib, atk , pango and cairo.. 2) Looks like my yuminstall also is broken..My yum.conf file is as follows.. [CODE] | Wireshark is a graphical application, so, do you have Xserver running (kde/gnome etc etc)? If only have shell access, then you can't use wireshark. You should use tcpdump as suggested by fuero. If you have graphical access to CentOS box. I just tested on my CentOS box, I did 'yum search wireshark' and it found it. I do... | 1 | 0 | 307 | 2013-04-16T21:24:33.573 | infrastructure | serverfault.com | |
529,452 | Apache caches a path somewhere, requests a script in a former document root | The setup details: I have Apache 2.2.14 that runs under ubuntu 10.04. The document root directory for a virtualhost is set up as a symlink. The requested script in a glance looks like: [CODE] So apart from doing useful job the script outputs its version in the footer. The version is hardcoded in the script and is modif... | Well, I have found a solution that suites me. It is a tiny script that does the following: Turn off [CODE] in apache config Get current workers PIDs Run [CODE] Wait for all workers from #2 to quit Switch symlink Turn on [CODE] back and reload apache once again | 0 | 0 | 676 | 2013-08-07T23:42:06.050 | database_errors | serverfault.com | |
27,898 | Mysql database connector table or keys | This may be a simple a question but I just wanted to clarify, at work I have a table containing a list of titles and I also have a list of authors in two different tables. What would be best way to connect them? I have a connector table with the IDs of the Authors and ID of the titles so you can left join them, is ther... | A connector table is the standard way to solve this sort of problem. As you say in your question, if you have a TitleID column in the Authors table it restricts you to one Title per Author, unless you add a Title2ID, Title3ID, etc columns, which for someone like Stephen King might mean quite a few columns..... Also, by... | 0 | 1 | 69 | 2012-10-30T18:27:56.390 | database_errors | dba.stackexchange.com | |
303,795 | How can I grant permission to multiple databases / tables to a user in a single query in MySQL? | I am trying the query - [CODE] To which I am getting a syntax error. I can grant permissions one by one using - [CODE] So is there a way to grant all the three permissions in a single query? | MySQL 8.0 You would create a role using [CODE] . Next, you would run [CODE] to the role for all the databases you need. (You only need to do this once.) Then, you would grant the role to the user. See the MySQL documentation for examples of this . MySQL 5.7 and Prior You can create the grants, one for each database, li... | 2 | 4 | 2,466 | 2021-12-10T16:42:04.057 | database_errors | dba.stackexchange.com | |
1,133,587 | Is it still possible to use a catch-all email forwarder to gmail, and how? | Since ever, I've been using a catch-all email forwarder at a domain I hold, [CODE] , and sending the email to my personal gmail account, [CODE] . I've just been ousted from my domain host by a pricing change, and moved to a new one (fasthosts, as it happens). The catch-all has been configured at the new host, and it se... | DMARC These days ESPs such as Gmail or Outlook rely more and more on DMARC authentication results than purely on SPF authentication, since SPF is checked on the bounce address (a.k.a. [CODE] or [CODE] or [CODE] ) instead of on the sender address that is visible to recipient in their email client (the [CODE] ). This is ... | 1 | 1 | 471 | 2023-06-13T11:25:58.377 | infrastructure | serverfault.com | |
297,741 | PostgreSQL: Using the .pgpass file | I have been reading up on the [CODE] file, but I can’t get it working for me. My [CODE] file looks something like this: [CODE] I set the privilege to [CODE] (this is on CentOS Linux) and try: [CODE] Where I get the message: psql: error: FATAL: database "…" does not exist where [CODE] is my user name. I can successfully... | [CODE] does not define a default database. It only provides the passwords for a combination of hostname, database and username. But it's still up to you to provide the hostname, database and username when you start [CODE] . When you just run [CODE] without any arguments you are not providing a username or password - an... | 3 | 6 | 9,141 | 2021-08-08T07:25:34.397 | database_errors | dba.stackexchange.com | |
541,922 | Where to get root CA certificates for Windows Server now that Microsoft no longer updates them? | Microsoft removed root CA updates from WSUS in January 2013. I now have some fresh installs of Windows Server 2012 that have an insufficient set of root CAs (basically just Microsoft's own CAs). This means that whenever our application calls an https web service it will fail unless I specifically install the root CA. S... | It seems that this is due to the oddball GPO that my company uses. As outlined here the GPO setting Computer Configuration\Administrative Templates\System\Internet Communication Management\Turn off Automatic Root Certificates Update was Enabled , meaning that the OS wouldn't pull root CAs from Microsoft. Setting this t... | 14 | 11 | 52,334 | 2013-09-26T16:13:44.517 | infrastructure | serverfault.com | |
152,303 | UPDATE heap table -> Deadlocks on RID | I'm setting up a test case to prove a certain deadlock scenario and require some insight on what is going on. I have a heap table, conventiently called HeapTable. This table is updated by 2 transactions simulateously. Transaction 1: [CODE] Transaction 2: [CODE] I fire off transaction 1 first, closely followed by transa... | Without an index on [CODE] , SQL Server has to check every row to see if it qualifies for the [CODE] . It takes an update [CODE] lock when reading each row to prevent a common deadlock scenario. It could take a shared [CODE] lock, but that would still be blocked by the exclusive [CODE] lock held by the first transactio... | 8 | 18 | 1,321 | 2016-10-14T14:09:01.570 | database_errors | dba.stackexchange.com | |
104,209 | How does amazon's reviews that mention extracts topics from reviews? | Amazon product page contains a section called [CODE] . The section lists the main things that users liked or dislike about the product. For example see this page . How exactly does it work? This can be done using topic modelling using LDA. But this approach has several drawback. You need to choose number of topics upfr... | One possible approach I can see is as follows: Amazon considers (until now and based on its historic data, and checked every X time) a possible number of frequent categories (i.e. labels in a classification context) In the product you send, you can see the considered categories: and the most frequent terms users have w... | 2 | 2 | 214 | 2021-11-17T03:12:53.110 | data_quality | datascience.stackexchange.com | |
74,984 | SymmetricDS not using Lookup Transform on primary key | I'm syncing records between two MySQL databases using SymmetricDS, but need to keep the primary key (fieldname = "id") fields unique. Symmetric doesn't seem to want to obey the "lookup" transform_type - it always seems to "copy" the source table id to the target table id field (as well as to the "masterId" field in the... | The solution was found on SourceForge . I simplified the column transformation from this: [CODE] to this: [CODE] However, the reverse synchronization ('ext2int_accounts_trans') must then be explicitly set for each column. Note the sym_transform_table.column_policy must be set to 'SPECIFIED' because 'IMPLIED' will not i... | 0 | 0 | 1,128 | 2014-08-26T16:10:20.003 | database_errors | dba.stackexchange.com | |
393,842 | Crontab /etc/profile.d | I have a crontab script which runs fine from the interactive shell. However when running from crontab it fails because it doesnt run the scripts in /etc/profile.d/ (e.g. /etc/profile.d/java.sh) Whats the best way of fixing this? | begin the shell script with: [CODE] This causes bash to start as a login shell, which means it will read /etc/profile and ~/.bash_profile. | 4 | 6 | 4,733 | 2012-05-30T07:44:32.430 | infrastructure | serverfault.com | |
312,373 | SSH Connection Lost | I have recently started using iptables, and I executed iptables -F without knowledge of what it might do. And suddenly I have lost connection to the node. I can't even ping the node. Any help would be highly appreciated! | The [CODE] will have flushed (deleted) all of your rules, I guess your input policy is DROP so without any explicit ACCEPT rules you're locked out. Your best bet is to reboot the node and cross your fingers. | 3 | 5 | 1,143 | 2011-09-16T21:26:41.950 | infrastructure | serverfault.com | |
180,805 | Why did HTTPS become the standard method instead of S-HTTP? | Why did HTTPS win? Does anyone know of any specific reasons why Netscape and Microsoft both choose HTTPS instead of S-HTTP (RFC 2660)? It appears to me that S-HTTP is more flexible and does not require a separate IP or port to serve the correct certificate because S-HTTP is able to utilize the Host header. Was IP space... | EDIT: I have seen RFC 2817 called "S-HTTP" in a few places, but this in wrong and has nothing to do with the question, which was about RFC 2660, as @Dave Holland pointed out in his answer. Some elements of my answer could also apply to RFC 2660 as well, and it might be useful for comparison as there are similarities, b... | 7 | 4 | 2,395 | 2010-09-14T02:25:12.693 | infrastructure | serverfault.com | |
4,021 | Are there any tools to do change management with Active Directory / Group Policy? | We seem to be having a lot of problems related to "forgetting some mundane detail" while managing our Group Policy settings in Active Directory, so I am curious as to whether there are any well-regarded tools available for applying source control style practices to Active Directory configurations. It seems like there s... | Take a look at Microsoft Advanced Group Policy Management which offers GPO change management. It's a pretty good tool that they bought from Policymaker a few years ago. | 2 | 4 | 1,672 | 2009-05-04T14:24:06.593 | infrastructure | serverfault.com | |
957,068 | how do i get a vpc id from another account with terraform | I have an existing VPC in a separate account and am creating independent terraforms for more vpc's in new accounts. I wish to peer specific vpc's within each account but am finding it hard to programatically obtain the vpc_id from the target vpc's. As these vpc's are ephemeral so the vpd_id's will change I want to code... | If you're VPC peering across accounts you need to instantiate multiple AWS providers in Terraform, one for each account. You should then be able to use the [CODE] datasource with the specific provider instance for the peer account to retrieve the VPC id. The documentation for [CODE] shows how to use multiple provider i... | 0 | 2 | 1,561 | 2019-03-06T17:02:52.780 | pipeline_ops | serverfault.com | |
155,131 | Is it important to obfuscate C++ application code? | In the Java world, sometimes it seems to be a problem, but what about C++? Are there different solutions? I was thinking about the fact that someone can replace the C++ library of a specific OS with a different version of the same library, but full of debug symbols to understand what my code does. Is it a good thing to... | Don't Waste Your Time on Losing Battles As noted in many other similar answers for C++ and other languages, this is mostly useless . Further Reading Selected reads on the topic (not all are C++ specific, but the general principles apply): StackExchange Answers The Case for Code Obfuscation? What Are the Advantages of O... | 14 | 37 | 42,589 | 2012-07-01T15:33:41.393 | api_errors | softwareengineering.stackexchange.com | |
7,021 | How to locate the XPath of an element in eclipse accurately? | I am working on a project in which automation is done using Appium Tool. I felt it difficult to track the XPath of an Image or Textbox in Eclipse while scripting. Sometimes the XPath will be given as a Trial and Error method. So is there any way to track the XPath easily or wisely from Eclipse? | You can press F12 key in chrome and right click on the element you want to get and click on inspect element. Now you shall see the console with corresponding attributes,Now right click at the console will give you required xpath. Also Firebug an adddon of mozilla is helpful | 1 | 3 | 3,968 | 2013-10-22T13:37:05.590 | data_quality | sqa.stackexchange.com | |
389,834 | IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP | I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service: [CODE] I am running Apache/2.2.20 mod_jk 1.2.36 Tomcat 7.0.27 Could this have something to do with a timeout? Like the client closes the connection and the server is not able to read ... | I found the reason. Problem was caused by default configuration of Apache module mod_reqtimeout: [CODE] I guess BlackBerry clients wer hit harder because sending request body via RIM BIS infrastructure takes longer. Set the value to 100 seconds and monitoring if clients are still affected. | 4 | 3 | 18,141 | 2012-05-16T21:44:39.117 | api_errors | serverfault.com | |
730,732 | Cannot open IIS 8 default site by private IP or localhost, yet IIS “browse” to by internal DNS works | Getting a "HTTP 404 Not Found" when I enter the server's LAN IP in a browser ( http://192.168.1.70 - which the site has bindings for) or simply try to browse to localhost in IE 11. However, in IIS 8 I can successfully browse to " http://Server.MyDomain.com on 192.168.1.70" and everything works as intended. The static D... | In my particular case here, reinstalling the IIS 8 role was the solution. | 0 | 0 | 1,643 | 2015-10-22T04:31:17.363 | infrastructure | serverfault.com | |
409,774 | Best practice for Exchange 2010 for multiple SMTP servers | The problem we wish to resolve is failed Reverse SMTP banner lookups. Publicly we have one IP with a single host name and MX record: 123.123.123.123 mail.domain.com Internally we have 6 servers that send out that same one public IP address All our internal servers have the default SMTP sending banner, which means they ... | It's perfectly OK to set the FQDN on every server to [CODE] and continue to use the one IP. | 0 | 2 | 416 | 2012-07-20T21:35:37.987 | infrastructure | serverfault.com | |
241,487 | How do I upload files to httpd (www) folder in EC2? | As title said, how do I upload my php files into my newly installed httpd (/var/www/html) on a EC2 instance? I am trying to use cyberduck(using sftp), but apperantly, when I connected to my EC2 instance, it shows nothing (no files, no folders). Am I missing something/some settings?? | Check the rights the user you use to connect has. Try creating a separate which has sufficient rights to do this. | 2 | 0 | 2,554 | 2011-03-01T04:52:49.783 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.