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 |
|---|---|---|---|---|---|---|---|---|---|---|
952,758 | GFS2: How rename clustername / lockspace / fsid / locktable name in Ubuntu 18.04 | Some time ago I created my first GFS2 to do tests: [CODE] From [CODE] : -t clustername:lockspace The "lock table" pair used to uniquely identify this filesystem in a cluster. The cluster name segment (maximum 32 characters) must match the name given to your cluster in its configuration; only members of this cluster are... | The change is easy (if you already know where to look; not was my case). Two different ways: Hardway (my first guess): [CODE] Easyway (although not very obvious/intuitive if you don't know tunegfs2 command and relation between "locktable name" and "filesystem label"): [CODE] This is also useful if you want to change th... | 1 | 1 | 1,748 | 2019-02-07T10:15:46.393 | infrastructure | serverfault.com | |
675,838 | what could cause a not so busy redis server to close connection? | We have 17k tcp connection in CLOSING state on redis server. My understanding is that only client would initiate closing a connection, not from a redis server. So I should see 0 connection in CLOSING state on redis server. Does anyone have some experience and know the root cause? The actual connection# in 'redis-cli in... | This is caused by the phpredis library we are using to connect to the redis server. Basically phpredis sends a [CODE] command to ask the redis server to close the connection. But right after doing that, phpredis closes the tcp socket itself, causing both sides trying to close the connection. Therefore the server has so... | 0 | 1 | 3,566 | 2015-03-16T14:29:32.523 | database_errors | serverfault.com | |
355,339 | "Agile" process and discovery phases, how are they actually supposed to work? | So most companies i've been at say they are agile, but really aren't. I understand...it's hard to transition but I was put as the owner of the QA department in a small company and im really trying to get an actual process going. So one thing that HAS worked is actually get a Kanban board system setup for Issue tracking... | If the five steps that you outlined, when followed, lead to working software on a timeline which your stakeholders find acceptable, then there is no problem. Don't worry whether or not it is "agile" or anything else. But if there are problems, you should state what they are. In your question, you seem to state that you... | -2 | 2 | 582 | 2017-08-09T03:46:32.733 | api_errors | softwareengineering.stackexchange.com | |
404,003 | Setup SVN repository subfolder specific write permission | I need to setup a SVN repository which the devgroup should have full privilege to read and write except for two sub folders /1 and /2. For /1 and /2, four users should have write permission and all other users should only have read permission. I put the following into the configuration file, but people in devgroup stil... | You cannot remove permissions from a user already granted, therefore, by providing read/write access at the root of the repository to the [CODE] you have provided it to all sub-trees. The way I would achieve this is by segregating your project areas into different repositories with different permissions and then using ... | 3 | 1 | 2,164 | 2012-07-02T08:55:37.600 | infrastructure | serverfault.com | |
160,241 | Minimum and Maximum Number of Tuples | Consider Relations R and S where are R is having m tuples and S is having n tuples . m R union S R intersection S R-S S-R R NATURAL JOIN S R Left OUTER Join S R/S My Work R UNION S max : n+m ( union we add all the tuples from both relations) min: 0 ( taking m=n=null ) R INTERSECTION S max : m ( m min: 0 ( taking m=n=nu... | Yes, your answers are mostly right, except a few mistakes: 1. [CODE] max : n+m ( union we add all the tuples from both relations) Correct , when R and S have no common tuple. min: 0 ( taking m=n=null ) Wrong, the minimum is [CODE] (the greatest of the two sizes, m and n). When all the tuples of R also exist in S. And m... | 3 | 4 | 40,548 | 2017-01-07T03:33:53.253 | data_quality | dba.stackexchange.com | |
15,794 | mySQL query optimisation — multiple joins or select … where not in (select distinct…)? | Background I have a Drupal install accessing a large users database (~200k rows) and my "People finder" functionality needs to access all those rows (in a random order). I don't seem to be able to use [CODE] and [CODE] from within Drupal's UI (and I have a slightly different Drupal-specific question on Drupal.SE at Slo... | I would add an index on [CODE] . In a many-to-many table with two columns [CODE] , you almost always will need both indexes: [CODE] and [CODE] in one query or the other. I think this index would help in this query. Try various rewritings of the query and the [CODE] they produce. About your suggestions, the first is not... | 6 | 3 | 8,402 | 2012-03-29T13:46:59.067 | database_errors | dba.stackexchange.com | |
385,287 | How this diagram can be improved | I'm looking for failures in this "token based login" design, besides the UML "syntax" errors. Theoretically speaking, it will do the trick when implemented on an small project. If true, sorry about my english. Thaks in advance. EDIT: Is 1) this model something useful and clear? 2) Will it work when implemented? 3) Besi... | Useful and clear will depend on who you are communicating with and about what. This appears to be a reasonable diagram with which to discuss how authentication occurs in a particular application. Work when implemented? I'm not sure how good your team is about filling in the missing details surrounding this diagram. If ... | -5 | 0 | 117 | 2019-01-10T18:55:33.687 | api_errors | softwareengineering.stackexchange.com | |
368,954 | Single UCC certificate on a server for SSL connections to various web sites on different servers | Background Currently we have some servers that are going to give service to a certain region, thus they have their own unshared users, although we need to establish a secure connection in order to make the site function correctly. Problem By now we only have one single domain SSL certificate that permits just one site ... | It is possible to use one UC certificate for multiple sites. However, there are some constraints: All of the domains hosted with that certificate will be visible on that certificate. example.com, example.org, example.co.uk will all be visible on the certificate. Your SSL provider may not issue a certificate with additi... | 0 | 0 | 188 | 2012-03-12T20:35:05.623 | api_errors | serverfault.com | |
1,073,816 | nginx sub-request authentication not working as expected | I want to add access controls to an entire vhost on a reverse proxy. I am using nginx sub-request authentication to do this. The expected interaction is that the user will either get an error message with a link to the login page or have the login page rendered at the requested URL. On completion of the login process, ... | Always a good idea to RTFM Nginx will relay a WWW-Authenticate header if it is returned by the auth_request provider ( http://authprovider.example.com:8081/gateway/index.php in the above). However I will leave the question open, as I'm confused/concerned about the custom error page resulting in a 302 redirect followed ... | 0 | 0 | 2,031 | 2021-08-07T12:35:05.907 | api_errors | serverfault.com | |
760,567 | Windows Server 2008, can't get a dynamic previously mirrored disk to boot | I have a Windows 2008 installation that will no longer boot. The server had 2 disks in software RAID using the operating system. One disk failed and was removed and I was able to boot again using the mirrored option on the boot options. At that point I was unable to back up - and I altered the 100MB system reserved par... | Boot from a windows installation CD or USB drive. When setup screen shows up, press SHIFT + F10 to open command prompt. Enter [CODE] , then make sure System Reserved volume has no drive letter assigned to it, then mark it as active (Diskpart command [CODE] ) Also make sure windows' drive is assigned to drive letter [CO... | 0 | 0 | 349 | 2016-02-29T19:29:37.257 | infrastructure | serverfault.com | |
457,042 | Unique local and Global address | I use a DHCPv6 server (Centos) to configure hosts with a global IPv6 address. For the internal communications I want to use Unique Local addresses (ULA). Can I configure 2 DHCPv6 servers on the same link so that the host have both adresses(global and ula) ? I only get a fd80:abcd::254 address on my Win7 laptop and not ... | You don't need two DHCPv6 servers, you need one server that gives out both addresses. And don't forget to include both prefixes in your Router Advertisements! | 2 | 1 | 827 | 2012-12-11T12:38:15.053 | infrastructure | serverfault.com | |
149,989 | fast free BI DB | I'm looking for a good DB to run aggregations on. I need to run queries of style: [CODE] and get results fast. I did a little benchmarking with this data: facts ~420,000 rows, product ~600 rows, customer ~360,000 rows. the aggregation gets back 6 countries and 4 product-categories (24 rows). with SqlServer i'm getting ... | All relational dbs should be "good at aggregations". Thats what they're designed for. Most db's follow similar design rules. To produce your result, they all have to do the same math. Im not familiar with other products but to consistently achieve response times like that you'll need to have the data in memory already ... | 0 | 1 | 82 | 2016-09-18T22:47:55.977 | api_errors | dba.stackexchange.com | |
951,478 | SSL certificate for service - not for FQDN | My org deploys a data server and a client device (two devices) in customers' internal networks for them to use our solution; the client device only connects to the data server; however any one customer site may not necessarily provide a static IP or a hostname, nor guarantee the persistence of the devices' IPs. The onl... | Ship a self signed certificate and provide a possibility for the customer to upload their own certificate. That's how everybody does it, because it's the only option that really works. An administrator who sets up a service expects this, and has the option to install a valid certificate for his users. After reading the... | 3 | 4 | 2,056 | 2019-01-30T11:24:07.247 | api_errors | serverfault.com | |
134,743 | How to replicate MySQL table in different servers? | I am searching for some solution for the following problem: I have two MySQL Database servers in different locations. I need copy a specific table from Server A into the same table of the Server B (duplicate table). This is a live table and it receives 3-6 insert/updates operations per minute (on average) I need that t... | Start by splitting your confidential info out of the table. Make a 'parallel' table ('vertical partitioning'). The new table would have the same [CODE] as the original, so they can easily be [CODE] together. To avoid replicating the new table, either use [CODE] on the slave or put the table in a different database and ... | 0 | 1 | 2,142 | 2016-04-08T08:29:18.877 | bi_errors | dba.stackexchange.com | |
30,116 | Exchange Server 2003: Auto-BCC | We are Windows Server 2003 SBS and only recently we started using the bundled Exchange Server 2003. Being unfamiliar, I can't seem to make it auto-bcc (like in qmail), I've tried using the "Rules" of each user account, but the "Sender" field is not what I want. Let me outline in detail Original Email: peter@abc.com -> ... | Using Active Directory Users and Computers open the properties for the Mark user account. On the Excgange General tab click the Delivery Properties button and add John as the forwarding address. From your posting you probably want to tick the box "Deliver messages to both forwarding address and mailbox". If you want to... | 0 | 2 | 1,614 | 2009-06-23T05:34:55.193 | infrastructure | serverfault.com | |
67,580 | What is the best way to convert a block number to a file name in FreeBSD? | Today I found the following message in the daily log mail I get from a FreeBSD server: [CODE] What is the best way to find the file corresponding to above block number? | You can (and probably have to) resort to [CODE] (8) for this -- the [CODE] command should be able to track down the inode, from which you can get the file name. [CODE] More details can be found in this mailing list post to freebsd-questions | 2 | 2 | 202 | 2009-09-22T05:59:17.277 | infrastructure | serverfault.com | |
978,931 | VNC ISPSystem glitches on high resolution | I am trying to perform an installation of Android x86 8.1 RC2 on VPS through the means of ISP panel, via VNC. Here is what I see in any VNC client (noVNC, VNC Viewer): Such a bug only appears after the initial installation, after the boot menu. It looks like when the resolution has changed into the higher one, it occur... | Solution Boot Menu -> Tab -> vga=ask https://linuxhint.com/set_screen_resolution_linux_kernel_boot/ | 0 | 0 | 126 | 2019-08-12T15:11:23.000 | infrastructure | serverfault.com | |
123,714 | Some fundamental questions about Transformer | In the Transformer framework, a token as an input (time = $t$ ) $y^t$ is given by a sum of the original embedding of the token $x^t$ plus, a position embedding factor $v^t$ , i.e., \begin{align} y^t = x^t + v^t. \end{align} Here, each symbol denotes an $R^{d}$ vector, where $d$ is the size of the embedding. The positio... | 1. Why Does Transformer Work Good with Positional Embeddings? One question often thought about is why adding positional encodings to token embeddings don't mess up their meanings. Let's explore: High-Dimensional Space : Transformers usually have high dimensions, like 768. But there are these mini sentence transformers ... | 0 | 0 | 89 | 2023-09-15T12:32:28.133 | data_quality | datascience.stackexchange.com | |
889,793 | baffling regex issue in Exchange | I have a transport rule in Exchange 2010 which is not behaving itself, and I get berated by the EMC if I try to fix it. The objective of the rule is block any email coming from a domain with "us" at the end of the address, except if it comes from a domain which ends in a legitimate US state abbreviation, such as NY.US ... | Well, you're using the backslash incorrectly. I'm not sure why you're trying to escape one of those periods, but that's not proper syntax, and that's why the EMC is telling you there's a problem with your use of the backslash character . A backslash is used as an escaping character before a special character. Special c... | 1 | 0 | 391 | 2017-12-27T18:40:37.130 | infrastructure | serverfault.com | |
150,652 | Mac OS X, MySQL Preference Pane doesn't work | I downloaded and installed MySQL 5.1.47 for OS X 10.6 using the DMG archive: [CODE] I also installed [CODE] and [CODE] . [CODE] is a Preference Pane. The problem is, whenever I attempt to start/stop MySQL from the Preference Pane, System Preferences just hangs. It runs at about 50% CPU forever, eventually I have for fo... | I had the same exact problem. I also tried the (currently) latest version, mysql-5.5.9-osx10.6-x86_64.dmg, but that didn't work any better. Here's what worked for me: Turns out I had chosen "Install for this user only" (it was the default choice) when installing the preference pane. Upgrading won't help because it repl... | 2 | 3 | 4,697 | 2010-06-12T04:47:22.693 | database_errors | serverfault.com | |
690,014 | How to migrate from ide to virtio in RHEL 6.5 KVM guest with LVMs | I want to migrate a IDE-using, LVM-based KVM guest running RHEL 6.5. I found this steps in this page : 1) Run virsh edit . From there, edit the config file and adjust all lines of [CODE] so they look like this [CODE] Furthermore, remove all [CODE] lines so that libvirt can regenerate them appropriately. 2) Inside the g... | You don't need to do anything else. Go shutdown and start the VM. | 0 | 2 | 3,468 | 2015-05-06T14:03:46.870 | infrastructure | serverfault.com | |
209,862 | Is it possible to compile a higher level language to readable C++? | C++ is a great language in many ways, but some things in particular are cumbersome to write without an IDE. As a VIM user, it would be very interesting if I had access to a higher level language which enabled me to write C++ with S-Expressions and possibly with Lisp-like macros, allowing for the generation of clean cod... | Compiling higher level languages to lower level ones is cake. There's countless examples of it being done. Without going off on much of a tangent, we can point to early C++ compilers that compiled down to C. When you start throwing "clean" and "readable" into the mix, however, things get really tough. Clean, readable c... | 12 | 13 | 1,979 | 2013-08-29T18:48:53.700 | api_errors | softwareengineering.stackexchange.com | |
457,254 | Map a domain to another subdomain - Rackspace | I am using a subdomain as a parameter to an ASP.NET MVC 4 application. It's working well. Now I need to test my approach, so I have the application hosted on appharbor. It works well with subdomains here too. Our DNS registers are on Rackspace, but I have no control over it. Another guy is responsible for that. So, mya... | You could use a CNAME to point abc.com (or a sub-domain, wildcard or @ record of abc.com) to the host abc.myapp.com. Or you could set up an A record for abc.com (or a sub-domain, wildcard or @ record of abc.com) to the IP address of the host abc.myapp.com. Of course you have to make sure that the host abc.myapp.com wil... | 0 | 0 | 514 | 2012-12-11T23:26:09.567 | infrastructure | serverfault.com | |
74,803 | oracle<sid> (LOCAL=NO) | yesterday we restarted our database on production and after that we started listen post one hour. We saw later in the night that server was flooded with oracle (LOCAL=NO) and stopped accepting request for new connections. Later we killed the processes and system was back to normal. any idea what could have been caused ... | The part that says [CODE] suggests that your issue was related to Oracle Enterprise Manager Grid Control Agent. Did you have issues with the Oracle Agent at that time? Check your Agent with [CODE] (after setting agent environment). The agent also has some log and trc files you could check. If you connect from a differe... | 0 | 1 | 4,688 | 2014-08-24T15:43:44.313 | database_errors | dba.stackexchange.com | |
531,156 | RAM Warning R815 DELL | I tried to set a R815 DELL server with 192GB capacity. The problem is that when I turned on the server the following warning message appeared : warning : the installed memory configuration is not optimal. I have 16x8GB RAM model m393b1k70dh0-yk0 and 16x4GB model m393b5273dh0-yh9. Both are Registered and compatible, so ... | First of all there's a difference between 'not optimal' and 'doesn't work' - it's really only a minor warning. But it is right, it's not currently in one of the supported configurations (see page 27 of THIS ), that said it should still work just fine - just not...well, optimally ok. On page 92 of the OWNERS'S MANUAL , ... | -4 | 5 | 1,246 | 2013-08-15T07:42:32.420 | infrastructure | serverfault.com | |
108,235 | Why is gridsearchCV.best_estimator_.score giving me r2_score even if I mentioned MAE as my main scoring metric? | I have a lasso regression model with the following definition : [CODE] The best estimator was found to be [CODE] with best score of [CODE] (MAE). I wanted to use the best predictor to score my test dataset [CODE] which gives [CODE] I tried to use predict to check the value if it corroborates if I manually check with a ... | This is the default behavior for any Scikit-learn regressor, and as far as I know, it cannot be modified. So for regressors, the [CODE] method will return the $R^2$ and $Accuracy$ for classifiers. ( check ) If you want to evaluate the best estimator with MAE you simply have to do: [CODE] Hope it helps! | 0 | 1 | 986 | 2022-02-16T22:09:12.080 | data_quality | datascience.stackexchange.com | |
212,554 | Database not visible in SQL Server Management Studio | A colleague was overwriting a test database with a production database by doing a restore in SSMS (SQL Server 2005). He realized he had set the restore path incorrectly and canceled the operation. At this point the database disappeared from SSMS. The test database .mdf and .ldf files are still in their expected locatio... | Just do the restore again, checking the REPLACE option in the second tab of the restore screen. When the restore the canceled the old database was gone and the new database was only partially restored. If you refresh the object explorer it should be removed from the list as it isn't there. It might show in a restoring ... | 1 | 4 | 4,917 | 2010-12-14T17:57:53.367 | database_errors | serverfault.com | |
117,360 | Finding the rows with the minimum value per group | How do I get the min timestamp value of the same Id number with its corresponding Value using SQL? Would anybody help me with this problem? (Please see attached image below) Sample Table Sample Table of what should be the result | Filter the data based on RANK (Transact-SQL) : [CODE] The solution involves ranking the rows in the desired Timestamps order, giving ties the same rank, and restarting the numbering when the employeeCode changes. We return rows that rank #1: [CODE] Output: For more general 'n' rows per group problems, please see: Retri... | -3 | 2 | 126 | 2015-10-08T04:54:02.170 | warehouse_errors | dba.stackexchange.com | |
853,777 | Restrict server from accepting connections on a certain port from a different hostname | I have some services running on my server. The server is reachable under other domains, too. I made some subdomains to separate the services from each other but they can be reached from the main domain as well as on the other domains. I'd like to know how I can restrict my server from accepting connections on certain p... | A service running on any port doesn't know which hostname the user is using to connect unless the protocol using the port has a method of changing that information, like HTTP does with [CODE] header. Otherwise, after the hostname has been resolved to an IP address with DNS, the IP address is used for the connection. Th... | 0 | 1 | 78 | 2017-06-03T08:30:37.177 | infrastructure | serverfault.com | |
381,404 | OS X bootpd as dhcp server not giving out ip addresses | I'm experimenting with PXE lan-boot on my Mac OS 10.6; After some prolonged trouble shooting, I've gotten to the point where LaunchD is nicely running [CODE] with the following options: [CODE] The physical setup is: [CODE] When testing with a mobile device over the router's wifi I get: [CODE] but the device never recei... | Well after quite I few changes I have it working, I'll try to remember what I did to correct it: Firstly I did not notice the other error that was appearing in the startup output: [CODE] The problem here is that with a mask of [CODE] , the [CODE] should end in .0: [CODE] With your server address still [CODE] Secondly, ... | 3 | 4 | 10,513 | 2012-04-20T03:50:48.197 | infrastructure | serverfault.com | |
69,459 | What is the most efficient PHP accelerator for a shared hosting environment? | Just wondering if theres any performance benefits for using something like APC over eAccelerator (for PHP) on a shared environment. | Not sure about in replacement of eAccelerator, but generally APC is better to use than eAccelerator as it is more actively developed than the latter and has a much better release cycle. Also it's probably worth pointing out that APC will be integrated as part of the core of PHP with the forthcoming PHP6 (though you'll ... | 0 | 2 | 685 | 2009-09-29T00:21:11.440 | infrastructure | serverfault.com | |
194,767 | What's the best way to iterate through the table to update a column in each row? | I have a table containing some 3.2 billion rows. It has become necessary to add in a column titled [Daylight] with a datatype of bit. I ended up writing a statement to iterate through each station, for each day of the year. This is taking so insanely long, that I'm now exploring other options, along with the added bene... | Your code won't work as is. You're missing a lot of [CODE] loops. Also, your [CODE] query will update every row in the table. Not only will that take a long time, but you'd be left with wrong results at the end of it even if the rest of your code was fixed. I'm not aware of any easy answers for updating a column in an ... | 2 | 3 | 3,784 | 2018-01-05T22:45:38.953 | database_errors | dba.stackexchange.com | |
18,163 | exporting test cases from TFS MTM to excel | My company has recently migrated to TFS and I'm using Microsoft Test Professional 2015 (MTM) for my test cases. I have created my test plan with requirement based suites to log my test cases against, but I'm struggling to see how I export the requirements and cases together. I've had a look on SE but i'm unable to find... | The Team section on excel will allow you to connect to and export any TFS query you have access to. Queries will work against any TFS object that has a base type of Work Item. Since a requirements-based test suite uses (in the Scrum template) Product Backlog Items and Defects to define requirements, you need to build a... | 3 | 2 | 8,475 | 2016-04-19T11:11:01.227 | data_quality | sqa.stackexchange.com | |
220,444 | Should we always write Defensive null check in code? | Are there any scenarios where we should not write defensive checks for null? Should we write defensive code or check for NULL every time we have passed a parameter or received a value back from a method? Will this put an extra burden on the compiler? | The ideal way to deal with null pointers is to forbid them by contract if a method cannot handle them. It depends on the language how well this is supported: In Java, you can use the [CODE] annotation (or similar ones provided by IDEs like IntelliJ and Eclipse) on any method parameter that is not allowed to be null. Un... | 1 | 4 | 4,147 | 2013-12-06T08:06:17.303 | api_errors | softwareengineering.stackexchange.com | |
154,032 | Sql Server: A seemingly strange behaviour of BEGIN TRAN - COMMIT | First create two tables: [CODE] Please, observe the following SQL code: [CODE] Running it outputs the following error: [CODE] And there is no result . All as expected. Now let us change the error to a syntax error by replacing [CODE] with [CODE] . Here is the error: [CODE] But this time there is a result: Why? What is ... | You can control the behaviour of your first example by specifying: [CODE] At the top of your script, then you don't get a result. You do get a result as you describe if you specify [CODE] . The reason for the different behaviour is the second example "replacing [CODE] with [CODE] " contains a syntax error i.e. the EXEC... | 7 | 6 | 722 | 2016-11-02T13:40:36.623 | database_errors | dba.stackexchange.com | |
17,721 | kube-prometheus-stack/grafana - Getting "too many redirects" error | I have a Kubernetes cluster with the [CODE] Helm chart ( https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack ) installed. NGINX is used as the reverse proxy. We are using Kubernetes 1.24. I am running into a problem when I attempt to access the Grafana dashboard. I am getting the ... | A responder on the Grafana/Helm charts GitHub site ( https://github.com/grafana/helm-charts/issues/2383 ) pointed out what was wrong with my config. Turns out I do not need the [CODE] for the grafana.ini. Once that was removed the issue has been resolved. | 0 | 0 | 747 | 2023-04-20T13:11:13.633 | bi_errors | devops.stackexchange.com | |
942,501 | Understanding gcloud's persistant disk in order to sustain file write throughput | I am trying to understand gcloud's local SSD performance. I want to understand what specs of local SSD I would need in order to store 1000 files that are 1/10 of a megabytes in size (100k) per second. Also, what is the difference between "Write throughput per GB" and "Write throughput per instance" ? | The behavior of the performance quotas are in the documentation you cited : disk IOPS and throughput performance increases linearly with the size of the disk until it reaches the following per-instance limits So, increasing reads/writes and throughput, per GB of disk size, up to a limit for one VM instance. Adding resi... | 0 | 1 | 704 | 2018-12-02T05:35:38.050 | infrastructure | serverfault.com | |
541,962 | Network Patch Panel Connections | So i have a client where we just installed a network rack system with 2 48 port patch panels and 2 48 port switches. Traditionally I would patch down the ports to the switch on a as needed basis. Meaning I would only connect from the patch panel to the switch if the connection was going to be used. My colleague and the... | Your question is likely to be closed as "opinion based"...as there really isn't a right/wrong here. Patch them all down...nice and pretty if possible using custom length cabling and/or cable management. Then handle it all in the switches. Disable ports that aren't in use or to be used. It will look nice, save time late... | 0 | 1 | 232 | 2013-09-26T19:21:15.977 | infrastructure | serverfault.com | |
647,504 | Remote Desktop Services - Licensing issue | I am currently going through the process of setting up remote desktop services on one of our Windows 2012 hosts. I have just activated the box as the remote desktop licensing server. For the time being we are only going to be using the trial, I know there is a 90 or 120 day trial available. My issue is with the remote ... | I managed to solve this, for some unknown reason the Remote Desktop Manager service was failing to start, a reboot seemed to fix it and all is now well. | 1 | 0 | 565 | 2014-11-27T09:55:05.480 | infrastructure | serverfault.com | |
951,708 | Apache 2.4 Reverse Proxy, Multiple ports, One Server, Multiple context roots | Hello everyone and thanks for looking at my post! :) My Problem I am trying to setup a reverse proxy for one server listening on multiple ports for two different context roots. Only allowing connections from specific IP addresses. Question I think I have a configuration but was wanting some advice on the below code. Wi... | The config of apache should look like: [CODE] The idea of this config is to make apache act as a proxy for internal host. I name the host of apache [CODE] and the host where the application run [CODE] The same config should apply for port 8080 | 0 | 0 | 2,853 | 2019-01-31T14:38:11.703 | infrastructure | serverfault.com | |
875,332 | Installing nginx's updated version (1.11.x) on Ubuntu 14.04 | I'm on Ubuntu 14.04 LTS and following this well-known guide . Currently I'm getting errors after doing the following: 1) creating [CODE] in [CODE] , 2) doing [CODE] 3) [CODE] The errors are: [CODE] What's the problem and how do I fix it? [CODE] contains the following: [CODE] | The problem is that you copied the commands verbatim from the website. The website "prettifies" some characters, among them the hyphen. It replaces the ASCII character [CODE] with [CODE] , which are not easily distinguishable. Replace all occurrences of [CODE] in the commands with the correct hyphen and run the command... | 1 | 3 | 603 | 2017-09-25T12:24:20.147 | infrastructure | serverfault.com | |
328,387 | Monitoring and autorestarting Jetty if it runs out of memory | How can I monitor health of Jetty instance and automatically restart instance, if it runs out of memory? | I would look at something like Monit to watch the process and set a memory threshold for restarting the process. Using Monit , you can have a statement like: [CODE] | 2 | 2 | 1,506 | 2011-11-07T07:02:05.387 | pipeline_ops | serverfault.com | |
559,594 | Various application shortcuts (Excel etc.) showing generic icon on SBS 2003. All users logging on to server affected in same way | Numerous shortcut icons are not being displayed properly for numerous applications (all MS Office shortcuts- Word, Excel, PowerPoint, Adobe Reader, as well as Group Policy Management) on our SBS 2003 server. Purging the icon cache did not resolve the issue. The issue affects any admin account that logs on to the server... | Here is something that might help, without knowing more about the problem or access to the machine, it would be difficult to figure out why it happened. But at least we can try to give you steps to resolve the issue, please let me know if this worked: http://en.kioskea.net/forum/affich-175531-fix-blank-or-white-shortcu... | 1 | 1 | 267 | 2013-12-06T00:03:17.150 | database_errors | serverfault.com | |
282,182 | Connecting to local Oracle Server via MacOS SQL Developer | I am new to Oracle SQL, but I want to give it a shot and play around with the HR schema. I don't want to use a VM, because I had a lot of issues with them. Setup: Oracle Server setup on WIN64 PC. HR and SYS works fine. (10.0.0.10 --> to understand later on) Trying to connect via MacOS and SQL Developer (10.0.0.23). On ... | Your [CODE] file is set to listen on localhost rather than your 10.0.0.10 ip. Change that, then restart the listener and make sure your instance is getting registered with it. Note that your [CODE] Isn’t involved here as you’re specifying everything in your sql developer connection, but you also need to correct the [CO... | 0 | 1 | 1,021 | 2020-12-26T22:23:27.377 | database_errors | dba.stackexchange.com | |
261,689 | Apache httpd processes overwhelming server | Randomly Apache seems to freak out and eat up cpu usage and overwhelms the server. The amount of daily pageviews is only around 8000 so it can surely handle this traffic. It also seems to happen randomly. Has anyone heard of this happening before and possible solutions? Some basic server stats: Running WHM/Cpanel lates... | A few things you can check: Is this server a VPS (the swap/buffers are 0k which typically happens on VPS servers)? If this is the case the slowdowns may be due, in part or in whole, to other sites on the server. If this is the case you can either switch VPS providers or move to a dedicated server. Check the output of /... | 1 | 2 | 504 | 2011-04-20T00:59:35.153 | pipeline_ops | serverfault.com | |
367,624 | Recommendation for a command line tool to backup to Amazon S3 | I have read a couple other threads on here, but I am looking for a reliable solution for backing up a Windows 2008 server to Amazon S3, I would like to sync my file changes to amazon on a daily basis. I tried a tool called "S3.exe" ( http://http://s3.codeplex.com ) but that doesn't seem to be working. I tried using the... | S3 AUTH KEY SECRET will not work from batch script. Use S3 PUT with /key: and /secret: options. Works really nice for backups, especially with /sync option. | 4 | 2 | 1,821 | 2012-03-08T13:23:20.107 | database_errors | serverfault.com | |
716,716 | Debugging slow server response time | I'm testing response time of my VPS server: [CODE] The values are typically round 300ms, Google suggests that it should be lower than 200. Looks like this does not depend on the CMS used, the same with Wordpress and other platforms. Simple php pages with almost no includes have values round 175. Maybe it's some Apache ... | There are a number of factors that could be contributing to this: DNS Lookup (how fast the DNS servers respond to your VPS) Network latency from your server out to the internet (how many ms it takes for a request to get through the network stack to the outside world) Distance latency between your VPS and the remote web... | 1 | 1 | 2,044 | 2015-08-25T18:09:01.753 | infrastructure | serverfault.com | |
33,970 | I have administrative rights on Windows Server 2003, so why am I denied access to a folder? | A recent attempt to upgrade a piece of software failed because it couldn't access a folder. I tried to take a look at the folder in Explorer and was told: D:\folder is not accessible. Access is denied. When I look at the properties of the folder and click on the Security tab, a message pops up saying: You do not have p... | You would have to take ownership of the folder. Under the Security tab, go to Advanced, switch to the Owner tab, and replace ownership on that folder (and its subfolders if you need it). Once you do that, you can change the permissions as you need. If you cannot take ownership, you're not really an administrator. | 6 | 16 | 22,171 | 2009-06-30T17:28:53.120 | infrastructure | serverfault.com | |
294,496 | Run T-SQL Script Using Powershell via SQL Agent Job | Tried to think of the best subject title; however having a problem getting this done. I'll give my preferred way, but open to any best method to get this done. I have a tsql script that is done, formatted, perfect, does what I need. I want to run this script against multiple servers, scheduled as a SQL Agent job to run... | We have a database for maintenance tasks on all servers, housing things such as Ola Hallegren's backup solution, and Brent Ozar's blitz scripts. If it were me, I would create a procedure there with the script contents, then create a SQL Agent Job to call it on the schedule you like. Then, you can script out the job, as... | 0 | 1 | 327 | 2021-06-18T14:26:16.357 | warehouse_errors | dba.stackexchange.com | |
301,320 | Why is my server's SAS drive 147 GB when most are 146 GB or does that matter? | I need to replace a failed drive in my Dell server's RAID 1 configuration. I pulled the drive and it's a Hitachi Ultrastar 15000rpm / SAS 147 GB. The supplier I usually order from only has SAS 15k drives that are listed as "146 GB" (Fujitsu, HP). I assume this is probably OK, but I want to make sure (oh and that the De... | This doesn't matter. The drives are fairly interchangeable when you see references to 146GB, 146.8GB and 147GB disks. These are typically the same disks, however you can also just stick with Dell part numbers in case there are firmware revision considerations. There should be a replacement part number on the drive you ... | 2 | 2 | 533 | 2011-08-15T18:55:59.667 | api_errors | serverfault.com | |
1,111,652 | My DNS A records are not fully propagating | I have the NS from my domain provider pointing to my server, which is hosting the DNS records. From the DNS records I have A records pointing to my other server where the website is hosted. on a DNS propagation website I put in the URL and check A record and approximately 4 out of the entire list show the actual new se... | I literally just had to wait. Took nearly 4 days for some reason. The reason which I have not been able to find. | 1 | 1 | 205 | 2022-09-27T08:53:16.790 | infrastructure | serverfault.com | |
966,535 | Grafana with postgresql on Google App Engine Flex | Hi I am trying to deploy a grafana docker container to a google app engine flex. Grafana will use postgresql (cloud sql) as internal database. I am currently using this Dockefile: [CODE] and this app.yaml: [CODE] I have also activated the Cloud SQL Admin API After doing [CODE] however I get [CODE] I have also tried [CO... | There are 2 options to connect to Postgresql from App Engine. You can either connect through TCP or via Unix Sockets. App Engine flex supports both, standard supports only sockets. When I look at your app.yaml, it looks like you already set up the correct connection name for a TCP connection. On the other hand, the con... | 0 | 0 | 775 | 2019-05-09T10:35:17.550 | bi_errors | serverfault.com | |
7,270 | Testing the popup with Selenium IDE | Getting below error : Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds. It's like when I click on the lookup icon a new window opens and when I select some value there and the page red... | you can use Java AWT Robot class to handle the scenario. using this class you can perform mouse actions on basis of screen coordinates or you can use AutoIT to automate this process for handling windows popup which cannot be done by selenium itself because it works only on web elements. | 2 | 1 | 14,924 | 2013-12-05T08:04:18.823 | data_quality | sqa.stackexchange.com | |
14,114 | What items to check for test case to pass in Selenium automation | I have to automate the testing for a web application. No manual test cases are available. The application mainly shows graphs of consumption(Kendo Charts). What can I check to determine whether the test has failed or passed. | It is totally depends on your requirement and based on that you can decide that if test is pass or fail. Generally you can verify following : 1 - Correctness of data which graph represents. 2 - Graph layout in different browsers. 3 - Ensure that if data changed then is it reflecting in graph or not. 4 - If there are mu... | 1 | 1 | 636 | 2015-08-04T08:40:07.350 | data_quality | sqa.stackexchange.com | |
997,398 | Error accessing a local Web Server from Internet | I have installed xampp web server in a windows 10 Virtual Machine. I have checked that the server is accesible from the localhost I have downloaded the NoIP software to refresh the ip. Then i have tried to access the web server using the NoIP provided by NoIP but it doesn't work, it says: " http://192.168.0.1/intercept... | I'm reading this question as "I want other people on other networks to be able to access my server". If I got that wrong let me know. 1) check [CODE] and make sure the line that starts with [CODE] dosen't include localhost or 127.0.0.1. If it does Apache is only listening on localhost, so it won't matter weather we for... | 0 | 1 | 1,272 | 2020-01-02T18:58:11.700 | infrastructure | serverfault.com | |
1,062,787 | ZFS pool continually DEGRADED or FAULTED | I've got a pool in [CODE] with 5 drives in it. I'm not sure exactly when, but all of the sudden all the drives went from always being [CODE] with no read, write or checksum errors to randomly spitting out all sort of issues. [CODE] I've done some basic troubleshooting: SMART shows that everything is fine (apart from so... | After almost a month of debugging, it's safe to say that it was indeed the chipset's SATA controller. @shodanshok brought to my attention that there is a "significant age-related SATA issue" with intel chipsets, and some extra googling showed that I wasn't the only one. I've bought some new hardware, alongside a LSI 92... | 2 | 1 | 1,031 | 2021-05-06T16:20:21.347 | infrastructure | serverfault.com | |
771,399 | combined local and remote journald logs | I am using journald forwarding using [CODE] (local site) and [CODE] (remote site) on centos7 with systemd-219 on both machines. Local journals are stored in [CODE] whereas remote uploads are stored in [CODE] . I'm able to view both seperatly using [CODE] or [CODE] . I am now trying to get a combined view using [CODE] ,... | The fix appears to be coming in https://github.com/systemd/systemd/pull/4970 | 3 | 2 | 3,205 | 2016-04-19T11:04:31.570 | hadoop_errors | serverfault.com | |
350,942 | ip address not in network | i'm using [CODE] . my ip address is [CODE] . when i start and login to my machine, i'm still on the network in which i'm still reachable on the [CODE] of our company. but after a few hours or so, i can no longer be accessible via [CODE] . on my local, my ip address displayed on the [CODE] is [CODE] and there's 0 member... | TL;DR It could be a company's firewall that blocks ipmsg communication after a time of inactivity. Detailed: ipmsg depends upon UDP port 2425 (and TCP for attachment transfer). If there is a network device between you and your peer that performs network address translation (NAT) chances are that you simply fall off the... | 3 | 2 | 274 | 2012-01-18T07:10:45.040 | infrastructure | serverfault.com | |
107,147 | Finding optimal indices, different query competing indices | My schema: [CODE] I've around 5.000.000 entries with varying [CODE] and I've two queries I regularly perform against this table. Think of [CODE] usually having 200 to 500 chars. There are about 600 distinct [CODE] in this table. Query 1: [CODE] For this query I've an index on [CODE] . Query 2 [CODE] For this query I cr... | The query planner seems to think that [CODE] is more selective than [CODE] . Are your table statistics up to date? Check the [CODE] column in: [CODE] To really force the issue, you can use a temporary table: [CODE] The first query only uses a condition on [CODE] , so the optimizer can only use an index that starts with... | 3 | 1 | 108 | 2015-07-16T05:54:26.923 | database_errors | dba.stackexchange.com | |
173,582 | How to setup a web server with remote SMTP | I have 2 severs, both running server 2008 (R2) One is the web server, one is running as a mail server. The setup I want is that any mail sent from apps (php, asp and asp.net) on the web server are sending mail through the mail server's SMTP server...but this seems to be proving trickier than i'd hoped. The mail server ... | What you want to look to set up is SMTP-AUTH. We do exactly what you're looking to achieve by creating what we call "proxy accounts" which are nothing more than dummy accounts to satisfy the SMTP-AUTH requirement while protecting the SMTP server from becoming an open relay. Here is some PHP that describes how to specif... | 0 | 0 | 710 | 2010-08-23T15:10:10.653 | infrastructure | serverfault.com | |
388,726 | Moving Large Files Between Servers | I NEVER have to do this. But I know its a common problem. Yet, I'm not sure how to tackle it. I have a server (Windows Server 2008) that I access remotely. This server is NOT on the same domain as my local machine. I need to copy a 700MB file from my remote server down to my local machine. What is the best and quickest... | Your approach should work, however you need a double backslash: [CODE] Furthermore make sure that the Windows Firewall and any third party firewall is disabled or allows these connections | 0 | 2 | 480 | 2012-05-13T20:21:11.100 | infrastructure | serverfault.com | |
829,233 | Drop first packet with iptables | Our servers are getting UDP-flood spoofed ip attacks. I think, we can solve this problem with iptables and i want to make a rule with iptables. When a ip tried to send a udp packet, iptables will block this. And after this first packet, for 10 secs. other packets will be accept. How can i make this with iptables? | Try [CODE] This should permit the second and subsequent packets from any given address in a rolling ten-second window; others will be DROPped. As usual, getting them in the right place in your existing ruleset is both vitally important and your problem. If you aren't restricting this by port, make very sure you don't l... | 0 | 2 | 1,310 | 2017-01-29T08:00:38.983 | infrastructure | serverfault.com | |
84,515 | Should I use one-to-many or many-to-many to log previous records? | I have 2 tables, company and interns. the initial relationships are, An intern belongs to only one company. A company has many interns I have a slight problem with these relationships. If the student changes to another company halfway through but needs the record of the previous company to be kept, is it correct if I c... | I don't think there is [CODE] relationship exists in this case as the [CODE] will always be associated with a single company. I would prefer to go with say a [CODE] (or [CODE] ) table to save [CODE] , [CODE] and [CODE] or any other attributes associated with change of company. | 0 | 1 | 41 | 2014-12-06T13:42:25.097 | warehouse_errors | dba.stackexchange.com | |
244,167 | Backup a database from Azure SQL Managed Instance and restore to on premise SQL Server | I have three databases that I am migrating to Azure SQL Managed Instance. One is a Utility database, just a small collection of generic functions and procedures. One is the OLTP database for a web application. The third is a read-only archive of the OLTP database containing historic data for analysis and reporting as w... | Bacup-restore from a MI is not supported. The backpac extraction fails when it finds few dependencies or unsupported features.This is because SSMS as it verifies your extraction. Try using SSDT (Visual STudio) and you can skip verify extraction (this is by default unchecked) : Open SQL Server Object Explorer Connect to... | 6 | 2 | 9,252 | 2019-07-30T23:22:10.003 | database_errors | dba.stackexchange.com | |
165,364 | Why none of the sql_mode(s) are recognized by MySQL? | When trying to launch MySQL from the terminal using [CODE] I get the following error: mysql: [ERROR] unknown variable 'sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' Out of the possible three places that MySQL is looking for the .cnf file... | Your problem is very simple You have the following [CODE] sql_mode is not an option of the mysql client. That's why the error message is [CODE] . Note how [CODE] and [CODE] do not appear in the mysql client options: [CODE] SOLUTION sql_mode is an option for mysqld. Simply change the group header to [CODE] [CODE] You do... | 7 | 12 | 25,484 | 2017-02-23T21:04:15.257 | database_errors | dba.stackexchange.com | |
79,648 | Code reuse: Reusing complex method vs. cherry-picking parts | I am currently facing a situation where I am not quite sure how to best proceed. Background I am planning a new data import process, which will import personnel and salary information from a text file produced by a different system. We already have an import process for the data in question, but the format of the impor... | So you have an old import process, and need a new one, for a different data format. The old code is not decoupled from the exact input format. My advice is to start from scratch, and copy-paste whatever parts are useful. Make sure your new code does decouple the input and output function, and has solid test cases for b... | 5 | 6 | 648 | 2011-05-27T11:11:56.010 | api_errors | softwareengineering.stackexchange.com | |
116,783 | capistrano still asks for the 1st password even though I've set up an ssh key? | Background: I've setup an ssh key to avoid having to use passwords with capistrano per http://www.picky-ricky.com/2009/01/ssh-keys-with-capistrano.html . A basic ssh to my server does work fine without asking for passwords. I'm using "dreamhost.com" for hosting. Issue - When I run 'cap deploy' I still get asked for the... | got it with: [CODE] | 0 | 1 | 3,275 | 2010-02-23T01:06:35.423 | infrastructure | serverfault.com | |
101,374 | Capture and Replay workload | We have a new server which we are migrating too and want to see the potential benefits of the hardware. So the idea is that we capture a workload and replay this against our new box. My question is however in regards to seeing the performance benefits. I will be running some perf counters but ideally we want to see how... | Every time I had to do this, I used the RML Utilities (x86 and x64 package download links can be found on this page ). Basically, you just have to set up a server-side trace using one of the templates included in the package. The captured trace can be analyzed using ReadTrace (included in RML Utilities) and it populate... | 7 | 7 | 2,498 | 2015-05-13T09:13:27.707 | warehouse_errors | dba.stackexchange.com | |
560,681 | Routing and remote access on Windows Server 2012 locks out RDP and ping | I have a server with 2 network cards, one unplugged and not in use and the other on a public IP address. Using remote desktop, I setup Routing and Remote Access (VPN access with NAT), assigned the VPN a private IP range (192.168.1.100 - 199) and routed it through the network card that's connected with the public IP. I ... | This is a bit old but I'm pretty sure it's because you turned on the packet filtering feature which is enabled by default in the wizard. | 4 | 1 | 945 | 2013-12-11T13:51:42.160 | infrastructure | serverfault.com | |
799,012 | dynmap through mod_proxy on a external webserver | My setup consist of two servers, one for hosting websites and one for doing the heavy lifting (for example Minecraft). I am using Spigot to power some plugins and one of the plugins is dynmap (which is a interactive map for showing the world and the players online). More information regarding the dynmap is here: https:... | Alright, after several hours of trial and error. And alot of different eyes that took a look I finally came up with a config that looked like this: [CODE] This works (in my case), but I know that I have to redefine all rules if there is a change in the catalogue structure. Everything works as I should with this config.... | 2 | 0 | 6,374 | 2016-08-25T08:00:18.173 | infrastructure | serverfault.com | |
1,018,996 | Postfix, Dovecot Virtual Mail Server Unable to Restrict Access Different Hostname for SMTP, IMAP & POP3 | I want to restrict access for SMTP for smtp.example.com, IMAP for imap.example.com & POP3 for pop3.example.com for my own mail server which i am building using POSTFIX & Dovecot i tried different ways and documentation but unable to do this all domains are accessible all services on the same server whole setup is on th... | You can't do this in the IMAP, POP or SMTP protocol as these protocols do not advise the server the domain they are connecting to - The client simply resolves the domain to an IP and connects to that. This means that you will need to assign different IP addresses for each domain name, and then somehow filter access bas... | 0 | 1 | 226 | 2020-05-28T03:21:23.183 | infrastructure | serverfault.com | |
95,926 | Excluding particular words from a string on a WHERE clause | I have a table that stores invoices and I'm trying to get stats out of it, unfortunately the table is poorly build and some crucial information is all mixed up on a nvarchar field, information such as whether the invoice has been cancelled or if part of the charge is exempt resides on this field in a very daliesque str... | Its not too difficult to build a query that does it. First create a query that joins on a table using LIKE with wildcards. Then exclude everything from this query. To see what I mean, see this simple example: http://sqlfiddle.com/#!6/619fb/2 Or alternately I have reproduced an example here: [CODE] Performance may be an... | 3 | 7 | 23,494 | 2015-03-22T18:36:32.440 | warehouse_errors | dba.stackexchange.com | |
1,080,128 | How do I extend the expiration date of every DNSSEC signature in bind9? | I have a dnssec-secured domain that needs to remain valid for 8 weeks when all masters become unreachable. To my understanding, setting [CODE] to [CODE] in the zone's configuration file should generate [CODE] s that last 64 days and that are automatically resigned by bind9 every 7 days. When I finished implementing thi... | As of bind version 9.16.15 (~2021), it seems that bind only allows control over when [CODE] records expire when custom dnssec-policies are used: First, a custom policy is defined with the options [CODE] , [CODE] , and [CODE] set to the desired values. Then, the custom policy is enabled for a given zone by setting the [... | 1 | 0 | 2,839 | 2021-10-10T15:14:05.530 | infrastructure | serverfault.com | |
960,293 | NGINX two domains SSL presents wrong cert | I have two domains, both of which are wildcards. Both use https only eg. *.example.something.com *.example.com The issue is that nginx seems to always present the default certificate (example.something.com), which is not valid, when I go to https://t12345.example.com . My current nginx.conf file has the following entri... | You haven't created a [CODE] block which matches the hostname you are trying to access, so nginx serves the request using the first [CODE] block with a matching [CODE] directive. To solve the problem, create a new [CODE] block or add the appropriate [CODE] to an existing [CODE] block. If these are really wildcard certi... | -1 | 1 | 1,495 | 2019-03-27T16:10:19.170 | infrastructure | serverfault.com | |
397,084 | Folder permissions when using /etc/skel and pam | I have a Red Hat 5.8 server that is bound to active directory and users are authenticated via active directory when they log in via sftp. User home folders are created during login using /etc/pam.d/system-auth. The specific line that creates the home folder is session optional pam_mkhomedir.so skel=/etc/skel/ umask=006... | I don't think that you would want to keep the mkhomedir.so module from recursively changing all files, since public_html may not be the only folder/file that you have in your skeleton. But as far as I know the module doesn't allow non-recursion or excluding other specific directories from the umask. You can certainly r... | 3 | 1 | 4,857 | 2012-06-08T23:10:37.847 | infrastructure | serverfault.com | |
633,811 | Shellshock: How to check SLES-11-SP3-Server packages for modifications? | I'm sure my SLES-11-SP3-Servers were open to the shellshock-security-vulnerability for a few days, since I wasn't able to patch them for that time as the patch-server in our intranet was broken down. :-( Now I'm looking for a way to check the installed packages for modifications in order to determine if the servers hav... | Unfortunately that is not a reliable check. A smart attacker will not change files owned by packages, but install them elsewhere. You would need to check all files (with something like tripwire) -- but that is now impossible since you don't have a good reference point. Of course it is possible to verify the package fil... | 0 | 0 | 165 | 2014-10-06T10:57:30.257 | infrastructure | serverfault.com | |
120,315 | What do you do when working with multiple languages with different capitalization schemes? | I'm making a webapp using Django. The Python convention for naming variables is lowercase_with_underscores, but the Javascript convention is camelCase. In addition, I've seen many people use lowercase-with-hyphens for CSS identifiers. Would you suggest using all three naming conventions where appropriate, or picking on... | Use the right one for the language. It helps others when they are maintaining the application, and it helps you context switch between languages quicker as the language you are currently working in looks as it should. | 8 | 15 | 163 | 2011-11-17T15:51:20.737 | api_errors | softwareengineering.stackexchange.com | |
277,900 | Migrating puppet clients to new puppetmaster | How can I migrate our existing puppet clients to point to a new puppetmaster server? I'd rather not manually go to each client box and generate a new certificate. When trying the obvious -- rsync all the files from /etc/puppet and /var/lib/puppet to the new server -- we got the certificate error [CODE] I was able to wo... | Are you looking to keep both puppet masters up and running for a time, and migrate clients over a little at a time? If so, you're stuck touching each client system regardless; whether it's to point to a new master, or add a hosts file entry, or some such. If that's the case, then you might as well just start the new ma... | 8 | 3 | 6,576 | 2011-06-07T16:10:51.410 | pipeline_ops | serverfault.com | |
65,520 | Syncing updates to master in master/slave setup [semi-sync replication] | Background info I have two MySQL 5.5 servers set up in a Master/Slave configuration with Semi-synchronous replication. The database is being used for a high-profile WordPress site. Problem It seems to work great except for one thing: When the master is down and changes are made to the slave, they are not written back t... | You are almost there. I guess you have missed the [CODE] & [CODE] variables. Set [CODE] to the total number of servers. Set [CODE] to a number between 1 and [CODE] for each server. example: Server 1: [CODE] = 2, [CODE] = 1 Server 2: [CODE] = 2, [CODE] = 2 | 2 | 2 | 418 | 2014-05-21T00:10:02.570 | database_errors | dba.stackexchange.com | |
1,023,378 | Directory index of /var/www/html/opencart is forbidden Nginx | I have install multiple php frameworks (Cakephp and Opencart) on nginx web server. Cakephp is working fine in root directory. Opencart is in subdirectory in where i am getting errors. Here is my nginx config file. [CODE] } | Try this: [CODE] | 0 | 1 | 3,573 | 2020-06-29T18:22:59.060 | infrastructure | serverfault.com | |
898,147 | Copy/paste disabled after running remote desktop in windows7 | I have 64bit windows 7. When I run remote desktop to another server or computer, copy/paste disabled on whole of my PC! I enabled copy/paste option on remote desktop, but it is not working. I can not copy/paste between remote machine and my PC and I can not copy/paste anything in my PC. When I disconnect from remote de... | Try to run the following commands on your remote machine one by one. [CODE] But this is temporary fix. For permanent use online tools. | 3 | 1 | 1,925 | 2018-02-21T06:50:44.183 | infrastructure | serverfault.com | |
268,102 | Postgres- update a value in a array on particular index | I have a column named [CODE] that is of type [CODE] . ids can be null or of any length It has values based on certain hierarchy. My use case is I want to update value that is at a particular index. For example [CODE] . How can I achieve this? I looked at PostgreSQL documentation here but couldn't find anything that cou... | Indeed there is no such function, but you can easily write your own: [CODE] (If you never need it for anything different than [CODE] then you can replace the [CODE] and [CODE] with the equivalent types) Then you can use it like this: [CODE] | 2 | 3 | 4,259 | 2020-05-29T07:45:20.003 | database_errors | dba.stackexchange.com | |
727,264 | Running logstash under SELinux | I want to run logstash as root to allow it to read all logs (granting it access to every log is very tiresome). However, I don't want it running amok on my server, I thought about constraining it under SELinux. The options I see are: Create an entire new label for logstash. This also means creating labels for logstash ... | I would rather make a custom policy because it's cleaner and makes you in control of what is happening. Custom policy As I understand it is a java-based daemon which you will be running so probably is sensible to make it run as [CODE] . Then you will need to give (read only?) access to all the log files to the logstash... | 2 | 3 | 1,274 | 2015-10-07T08:06:25.933 | infrastructure | serverfault.com | |
156,751 | SQL Server 2014 SQL Job CmdExec and access denied | I have a little trouble with SQL Agent Job. It should execute program in network directory like [CODE] . Job Step uses proxy account with credentials of a user, which can full access that directory. Unfortunately job still can't access network directory with error: Access is denied If I set permission on directory to [... | When you configure a Proxy account, you have to check "CmdExec" subsystem in order to use CMDExec with this Proxy Account. | 3 | 2 | 5,498 | 2016-11-30T10:40:48.310 | database_errors | dba.stackexchange.com | |
345,605 | Permission denied for many directories with Rsync | I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up through all the files, but that would take forever. Any help would be greatly appreciated. | Run the rsync again, but drop the -v (so that you only see errors, rather than a complete work log) and add -n (which 'emulates' the rsync, saving you the time of actually transferring the files.) You could also leave the -v, but use shell redirection to send errors to a different log. The following should work: [CODE]... | 1 | 2 | 556 | 2011-12-31T18:44:58.003 | database_errors | serverfault.com | |
307,900 | Setup ejabberd with SQL Server 2008 | Here's what I have got so far. Windows 2008 Server 64 bit. Installed the latest version of ejabberd, ejabberd-2.1.8-windows-installer.exe. The windows service starts up fine but seems ineffective. However, using the start & stop scripts work. I am able to login to the admin page which so far doesn't seem that versatile... | Make sure to use the corect verion of the ODBC config utility based on the program you are using. In this case, you would want to use the 32 bit version: http://www.ejabberd.im/node/4369#comment-form | 3 | 0 | 1,702 | 2011-09-02T21:40:49.757 | database_errors | serverfault.com | |
270,642 | Monitoring slow queries on large database (Percona 5.6) | I am looking for a solution to monitor very large production database (many replicas, over 200 tables, some of tables have 10-50 GB of data) with a lot of traffic (a wide set of query complexity). The main goal is to keep an eye on heavy queries after application code change. We have experienced that new code introduce... | You can use pt-query-digest --processlist While there are four different ways to use it, IMHO the best way to use it is to poll the processlist and collect metrics every hour. This method does not need a slow query log. I have suggested this before (See mysql 5.7 general_log table has user_host but the file does not ) ... | 0 | 1 | 411 | 2020-07-08T21:03:54.800 | database_errors | dba.stackexchange.com | |
270,325 | Integrating large PostgreSQL table as partition for a new table | I currently have a relatively large table containing timeseries data (628+ mil. live rows). The table definition (some names changed slightly) at the bottom of question. I want to attach the existing table as a partition to a new (partitioned) table. However, the existing table has a singular [CODE] primary key (mainly... | Proceed like this: Don't create a primary key constraint on the partitioned table for now. Rather, create unique indexes on the new partitions that will later become partitions of the primary key index. As soon as the large table is old enough that you don't need the data any more, drop it. Then you can create a primar... | 2 | 2 | 1,334 | 2020-07-03T10:16:03.500 | data_quality | dba.stackexchange.com | |
15,153 | Specify image in Dockerfile based on building client platform/architecture | I have a somewhat specific, Swift-based problem. It seems that none of the official Swift images on Dockerhub support the M1, and instead the only seemingly reliable arm64 Swift images are found at swiftarm/swift. This means that manifest querying will always fail for an M1 for something like [CODE] . Additionally, try... | - [CODE] it is possible to build with arch parameter depending on this arch is whether host arch or docker image arch. | 0 | 1 | 79 | 2021-12-20T22:13:40.230 | pipeline_ops | devops.stackexchange.com | |
640,824 | Multihomed Cisco VPN server | I am trying to configure Cisco 1841 with two external IPs to accept VPN connections on either external interface and maintain data flow through the interface on which VPN connection did happen. My Cisco has two external links: one is slow but unlimited and cheap, second is fast but has monthly data allowance. Idea is t... | Since you are using cryto maps to encrypt specific traffic, the external vrf option is probably not going to work. One other option would be to use policy-routing like you suggested, but since you are trying to policy route packets generated by the box, you need to use the [CODE] syntax. This is an example, it might wo... | 0 | 0 | 242 | 2014-10-30T10:41:44.497 | infrastructure | serverfault.com | |
898,674 | Kubernetes python client change name of ConfigMap | I have the following deployment spec: [CODE] I want to use the kubernetes python client to change the name of ConfigMap from config-web-2-5 to config-web-3-0 [CODE] However, the client returns the following error: [CODE] From the client src, I can see that this error occurs when the path isn't found in the deployment o... | The path is not correct. Correct path is: [CODE] not [CODE] | 0 | 0 | 584 | 2018-02-24T00:48:48.123 | pipeline_ops | serverfault.com | |
281,484 | Help needed with several engines use case | We are developing an app, aprox 50k RPM read, 1k RPM write, it ask via key and get a JSON. The search is always made by key. I'm inclined to use one MySQL 8 table with a Id field and JSON field with innodb. Seems simple, cheap and fast accessing by index. Each index can have n rows (30 max), total size of table less th... | So any of those options EXCEPT ElasticSearch will probably work ok for you (equal hardware under the hood considered). ElasticSearch is quite possibly the opposite use case from what you described. It's primarily best for tokenizing full text (like parsing email messages for example) and searching it efficiently, you m... | 0 | 1 | 17 | 2020-12-14T02:42:40.977 | database_errors | dba.stackexchange.com | |
290,460 | How to count absence days from differents shift? | I have a problem when in the counting of the employee absences depending on different shifts, so all employees do not have the same shift, and what I should get is the group and the absences of this group ( the group contains some employees ), Groups table [CODE] Employee table [CODE] Working_days table [CODE] Timetabl... | It seems like you may be going about things in a much more complicated way then they need to be. Generally for figuring out things like Holidays, Weekends, and other Date-centric Facts, a [CODE] table makes things a lot simpler. There's a lot of articles out there on how to generate one, this article being a good examp... | 3 | 3 | 161 | 2021-04-26T09:42:57.680 | warehouse_errors | dba.stackexchange.com | |
977,448 | How to untar a very large file with missing space | I have reinstalled my server and before that i did a backed up. My backup is a tar file without special compress option (meaning that the size of the tar file is approximately the same than the size of the info backed up) and after that, the tar file, is compress with lz4. The backup.tar.lz4 has 350 G and the backup.ta... | You can use [CODE] . Stream the file from a source server with [CODE] and [CODE] and untar on the destination server using [CODE] , [CODE] and [CODE] . Connect the commands using pipes. See http://toast.djw.org.uk/tarpipe.html for a similar example. | 0 | 3 | 713 | 2019-07-31T15:15:58.050 | database_errors | serverfault.com | |
905,908 | How to fix "To log on to this remote console session, you must have administrative permissions on this computer."? | I have a Windows 2003 server box that was removed from the domain and re-added to the domain. That is when a domain user lost its access to "Microsoft Remote Desktop" with this message: To log on to this remote console session, you must have administrative permissions on this computer. I configured this > 10 years ago ... | The domain user needed to be re-added to the local group of admins. Login to the box with an account with administrative permissions Computer Management (Local) System Tools Local Users and Groups Groups ( Administrators [CODE] ... finally select the domain user account here [CODE] (of course) | 0 | 0 | 412 | 2018-04-04T09:12:53.120 | infrastructure | serverfault.com | |
1,141,595 | Replicate local user policies between PC's | I used the Local Policy Editor Management Console that applies local policies to a specific user on a Windows 10 PC. After saving the new policies, I want to replicate it to other PCs. When I opened it on another PC with the same user, I got an error saying that there was no mapping between the account names and securi... | I have found PolicyPlus to be the best tool for my needs. I began by importing a default user policy into PolicyPlus, subsequently refining specific policy settings. After making these adjustments, I proceeded to export the modified policies into a file and stored it on an external drive. For each computer, I created a... | 0 | 0 | 96 | 2023-08-15T13:16:50.360 | infrastructure | serverfault.com | |
81,522 | What permissions do I need to grant on service accounts on SQL root path when relocating? | During a Win2012 with SQL Server 2012 two-node cluster installation, I accidentally set the system root to be the mount point volume hosting folders for the various attached LUNs for the system and user DBs. I relocated them post-installation to the volume I have for the System DBs and made the corrections to the start... | I was able to get guidance from the following MSDN link: Configure Windows Service Accounts and Permissions . The pertinent section (bookmarked in the link) is "File System Permissions Granted to SQL Server Per-service SIDs or Local Windows Groups". The short version for the solution is that either Read, Execute or Ful... | 1 | 1 | 2,387 | 2014-10-30T20:05:24.780 | database_errors | dba.stackexchange.com | |
234,080 | Filtering out duplicate domains from URL column using Postgres full-text search parsers | I have a PostgreSQL database containing [CODE] and [CODE] downloaded by a web crawler, with the following tables: [CODE] The [CODE] and [CODE] fields in the [CODE] table contain URLs. I am running the following query to extract scored links from the top-ranking search results, for pages that haven't been fetched yet: [... | After asking around on IRC, the Postgres mailing list, and a few other places, this is the best I've been able to come up with. I'm going to put it up in case it helps someone else with similar problem,and also because I'm hoping that someone can tell me how to improve on it. I first created the following views: [CODE]... | 1 | 1 | 775 | 2019-04-06T08:34:24.567 | data_quality | dba.stackexchange.com | |
297,003 | How do I sync configuration between my ubuntu servers? And how do I automatically restart services when their configuration changes? | First of, I'm fairly new to this whole linux thing... So be gentle. The setup: I have a couple of Ubuntu servers... A pair of DNS servers running Bind, and a pair of servers running Nginx and HAProxy to load-balance requests to some back-end servers. Now, the Bind servers pretty much keep each other up to date by doing... | You might want to look at either Puppet or CFengine . Both offer ways to keep configurations in sync, and execute commands after syncing. They operate under different philosophies though, I cannot say which would work best for you, you would have to read up and test which best suits your environment and workstyle. | 1 | 4 | 2,254 | 2011-08-03T08:45:00.930 | infrastructure | serverfault.com | |
31,506 | "connectivity libraries needed are not found" error in IBM Data Studio | UPDATE I am getting the following error when I try to create a new database in IBM Data Studio v3.1.1.0. [CODE] I have already started the instance using [CODE] command. After searching exhaustively, I am not able to find any help on the internet regarding this error. | You may need to point IBM Data Studio to the database drivers. They are usually installed with DB2 under /myDB2_InstallationDirectory/SQLLIB/java. The drivers themselves tend to be db2jcc.jar db2jcc_license_cu.jar There are other drivers in that folder as well, but these two tend to be the main ones for Java (which IBM... | 0 | 0 | 1,797 | 2013-01-06T15:25:19.160 | bi_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.