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 |
|---|---|---|---|---|---|---|---|---|---|---|
241,245 | IPTables Logging a Flood of "TCP INCOMPLETE" Messages | Currently trying to investigate what appears to be load-related problems with a web server and I've found a flood of logs from IPTables that I don't recognize. They all look like this: Feb 26 12:03:52 dop002 warning [2559556.039033] IN=eth1 OUT= MAC= snip SRC=88.115.48.62 DST= snip LEN=56 TOS=0x00 PREC=0x00 TTL=54 ID=1... | This is an ICMP Type 5 message. RFC 792 Description [CODE] | 1 | 2 | 1,074 | 2011-02-28T17:22:07.207 | infrastructure | serverfault.com | |
365,061 | High load average, low CPU usage - why? | We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the CPU to be idle, lots of memory to be available, no swapping, no I/O, but a high average load. The software stack on this s... | With some further investigation, it appears that the performance problem is mostly due to a high number of network calls between two systems (Oracle SSXA and UCM). The calls are quick but plenty and serialized, hence the low CPU usage (mostly waiting for I/O), the high load average (many calls waiting to be processed) ... | 104 | 50 | 251,863 | 2012-02-29T22:29:52.427 | database_errors | serverfault.com | |
397,018 | C++ API design: using references vs smart pointers in a getter API | I'm trying to design an API for an object manager that registers and retrieves different related objects. When I want to retrieve an object, I can query it by its object id. I'm wondering if I should be returning a smart pointer or a reference in this case. Here's code to fully illustrate the design and some associated... | Relevant documentation: https://en.cppreference.com/w/cpp/memory/shared_ptr/operator%2a https://en.cppreference.com/w/cpp/container/unordered_map/at https://en.cppreference.com/w/cpp/container/unordered_map/operator_at Both methods appear to use the "operator at", which is the square brackets ( [CODE] ), sometimes call... | 3 | 1 | 2,604 | 2019-09-05T22:03:06.120 | api_errors | softwareengineering.stackexchange.com | |
879,543 | Scheduled task not showing dialog box | We have a utility scheduled in Task Scheduler on Server 2008 R2 that just ran into an issue I haven't dealt with before. The utility hung up (no activity for a day), and selecting end did nothing to end it, so I had to manually kill the task through task manager. After I did, I tried running the task in debug mode from... | In order for these dialogs to appear, you need to run the task in the userspace. So the option: run whether or not the user is logged on cannot be used. This way, it will interact with the desktop and everything the task does is shown to the user. This obviously means that the user must be logged in for the task to run... | 0 | 0 | 278 | 2017-10-20T21:32:29.203 | infrastructure | serverfault.com | |
2,150 | MySQL export/import yields error | When trying to export and import an 58G database yields the following error: ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes Dump created using [CODE] and import is just [CODE] MySQL versions: Import: 5.1.49-1ubuntu8.1 Export: 5.1.41-3ubuntu12.10-log (Ubuntu) | This sounds like a character set conversion issue to me, the clue being bytes rather than characters . Are you going from ASCII to a multibyte charset, e.g. Unicode? Check the target database, check your environment ( [CODE] env vars), check the dumpfile itself (e.g. if you were using UTF8 in the source that's Unicode ... | 3 | 3 | 525 | 2011-04-11T18:07:30.883 | database_errors | dba.stackexchange.com | |
313,330 | Applying conditional statement in Oracle DB | In the Oracle DB there are three tables, see below. Table: 'People' Table: 'Dogs' Table: 'Cats' Here is a Fiddle with data to test : http://sqlfiddle.com/#!4/d7cb4 Depending on the result of a query from the 'People' table, how can I proceed with a different query to request data further either from 'Dogs' or 'Cats' . ... | Depending on the result of a query from the 'People' table, how can I proceed with a different query to request data further either from 'Dogs' or 'Cats'. You shouldn't . The two table structure (shown) are identical , which suggests to me that they should be a single table with an additional "type" field to identify w... | 1 | 1 | 465 | 2022-06-14T12:12:10.750 | database_errors | dba.stackexchange.com | |
675,710 | Apache can't access from wan on archlinux | Information: Archlinux via vmware Have ports 8080, 443 and 80 forwarded to the local ip from router running pfsense I can access the webpage from lan via local ip. My httpd.conf: [CODE] My iptables.rules: (Replace wanip with my wan ip) [CODE] I can access by ftp, and ssh from wan. I use virtual hosts for subdomains. (I... | Turns out there was another program on my network that was hogging my port 80 on another system. Figured it out after tracking the connection. | 1 | 0 | 207 | 2015-03-16T02:04:32.833 | infrastructure | serverfault.com | |
1,066,544 | deprecated 'sshKeys' metadata item | centos | latest guest environment already installed | When login into GCP VM from browser i get a popup saying The VM guest environment is outdated and only supports the deprecated 'sshKeys' metadata item. Please follow the steps here to update. A: I followed the instruction and updated the guest environment as mentioned here and run following cmds [CODE] B: As a result, ... | Faced a similar issue while migrating an old VM. I had to remove [CODE] from old vm and update the guest environment. Also make sure that you have installed followings: [CODE] | 1 | 2 | 137 | 2021-06-13T01:29:35.250 | infrastructure | serverfault.com | |
58,762 | Data Warehouse design for reporting against data for many time zones | We are trying to optimize a data warehouse design that will support reporting against data for many time zones. For example, we might have a report for a month's worth of activity (millions of rows) that needs to show activity grouped by the hour of the day. And of course that hour of the day has to be the "local" hour... | I've solved this by having a very simple calendar table - each year has one row per supported time zone , with the standard offset and the start datetime / end datetime of DST and its offset (if that time zone supports it). Then an inline, schema-bound, table-valued function that takes the source time (in UTC of course... | 10 | 18 | 4,387 | 2014-02-12T16:40:39.300 | data_quality | dba.stackexchange.com | |
206,388 | Storing menu items with user permissions | I'm creating a menu system in PHP and MySQL. I will have several different menus and each menu will have a set of menu items connected to it. On the site, I also have different user permissions, some users can see all menu items and some items are hidden from some users. I'm curious on how I could handle the permission... | I will model it using an ER diagram. A [CODE] is the access granted to a [CODE] on a given [CODE] . A ROLE is a set of pre-defined permissions which is given a name A [CODE] can have many ROLEs granted to it. Having permissions assigned to roles instead of users, makes the administration of permissions much easier. The... | 11 | 18 | 22,501 | 2013-07-29T13:21:17.730 | database_errors | softwareengineering.stackexchange.com | |
225,891 | One vs. Many Tables for Frequently but Asynchronously Updated Columns? | As part of my Postgres 10 schema, I have two tables; [CODE] and [CODE] -- both have the same columns. [CODE] has about 20 (+/-) columns, and holds the most up-to-date information for accounts. I need to keep a timestamp showing when the information came in, but each of the 20 columns gets updated at a different time. S... | You should use one table and views for Current and History data. Reasons: This is easier to update (just add a new data row with a newer timestamp) easier to maintain on tables changes does not need move logic which can fail the views can easily be changed to view full history (with current data) without table joins | 2 | 0 | 89 | 2018-12-28T03:18:17.110 | data_quality | dba.stackexchange.com | |
574,717 | btrfs: Looking for experience on btrfs error modes on bad sectors / read errors / medium erros | While running a Hadoop cluster that uses HDFS (so data is already replicated 3x) we experience often issues with ext4 because some bad sectors (the filesystem is unable to read or write to them) causing ext4 to remount the filesystem read-only.. So far so good and we working on replacing the disks but I've stumbled abo... | I am definitely NO expert and have very little experience on filesystem in general. So, take what I write with pinch(or handful of salt) :) Now disclaimer aside: Btrfs (to the best of my knowledge ) is not YET fault tolerant and it needs serious working in that department.If my memory serves right ZFS should serve your... | 3 | 1 | 1,818 | 2014-02-11T14:13:49.840 | data_quality | serverfault.com | |
411,816 | Magento Connect problems on Linux | 1. I'm running magento 1.7.0.2. Upon trying to install the "Blank" theme found at http://www.magentocommerce.com/magento-connect/blank-theme.html with Magento Connect (version 2.0, 1.0 did not work), I get the following error message: "The server is temporarily unable to service your request due to maintenance downtime... | 1. Have you tried downloading it again. I've noticed that the server hosting the extensions have had some problems. 2. If your Magento directory is owned by the same user that is running PHP, you don't need to have world-writable permissions. Mod_php, FastCGI PHP and php-fpm are all different and in some cases might no... | 0 | 0 | 507 | 2012-07-27T11:32:23.177 | infrastructure | serverfault.com | |
327,799 | Sharing Website Content : AddThis vs Separate Integration of Social Networks | We have a requirement to add share buttons ( Facebook, Twitter, G+, LinkedIn, WeChat) on all the pages of our website (excluding some of the landing pages) We did a POC for the same with the AddThis plugin and it integrates very well and quite comfortably with our website . But we have been asked by our architect to us... | When you use add this you create a dependency on a 3rd party tool (and server since you dont get the source code) So you can balance the effort needed to create and maintain your own buttons versus the dependency risk as well as the additional costs. Since the effort to create and maintain these buttons (render, load i... | 3 | 1 | 215 | 2016-08-07T19:24:23.377 | api_errors | softwareengineering.stackexchange.com | |
345,576 | Debian Linux missing a lot of config files and packages | Is there a way to reconfigure Debian so that it could install the essential packages and configuration files? The files/packages that are missing includes the sudoer file, tcpdump, nano and a lot more. Can someone recommend a list of essential packages for Debian so I can install it manually? I am pretty sure the Linux... | The bare minimum you describe is exactly that... A bare minimum install. It is impossible to predict what you want to use your system for and therefore impossible to suggest a list of packages. You need to install additional software on your Debian system just like you would any other platform. Look at the APT Document... | -1 | 3 | 364 | 2011-12-31T14:30:58.810 | infrastructure | serverfault.com | |
180,482 | Get correct row version based on combination of dates - query simplification | In the example below, I need to fetch the row that has the latest data based on a combination of dates. I cannot simply do [CODE] as it does not return the correct data. The way that it works right now is to get the [CODE] then do a self join to obtain the [CODE] then self join to return the row values. Is there a bett... | If I've understood what you are trying to do correctly then [CODE] May well perform better - especially if there is a covering index on [CODE] | 2 | 2 | 129 | 2017-07-21T18:03:28.820 | warehouse_errors | dba.stackexchange.com | |
346,986 | Server Returning Internal Error after Centos/PHP upgrade | I need some guidance to fix my server. I have a VPS with CentOS, Apache, Linux, PHP and plesk. Yesterday, I made an update using yum of PHP 5.1.6 to 5.3.8 and CentOS. Updated php.ini and restarted services.but something went wrong since server is returning a 500 internal server error to all sites since then. My apache ... | The first place to look is in your error logs. Both the Apache error log (usually in /var/log/httpd/error.log on CentOS) and the PHP error log (not configured by default but look for the [CODE] line in your php.ini). Once you find the error message, add it to your question. | 0 | 1 | 1,819 | 2012-01-05T16:28:40.843 | api_errors | serverfault.com | |
235,209 | Experience of replacing fans in Dell Poweredge 1850 | I've recently aquired a Dell Poweredge 1850 (1U rackmount server). Spec wise, it's great for what I need it for (running VMWare with a few VMs, pfSense firewall etc). The problem is it's not going to sit in a server room / data centre and the fans in it are massively noisy! I can handle a bit of noise, but this thing i... | I'm about to do the same with a cheap as chips 1950. It cost me a couple of hundred quid including 24Gb RAM and is ideal for some VM stuff. But, it's under my desk in the office and it's noisy as hell (although not as bad as the Compaq DL - which I never turn on as a consequence). There's a lot of complaining in the De... | -1 | 2 | 4,187 | 2011-02-14T10:41:04.140 | infrastructure | serverfault.com | |
377,175 | How to solve form submission consistency in a web application? | Imagine that you have a form with which you can edit some data, let's call it a Person form. Let's imagine that a user opens up this Person form, receives the current data that is stored in the database and starts editing it. During this time another user opens the same Person form, receives the same Person data, quick... | This is a pretty common problem, and one of the reasons that web applications tend to commit right away after any change. Sometimes the right answer is do nothing. You have to decide up front how you intend to do this in order of complexity: Last commit wins (default behavior) Actively lock the record to prevent edits ... | 6 | 11 | 364 | 2018-08-20T17:39:16.193 | api_errors | softwareengineering.stackexchange.com | |
1,064,313 | ambassador service stays "pending" | Currently running a fresh "all in one VM" (stacked master/worker approach) kubernetes [CODE] on Ubuntu Server 20 LTS, using cri-o as container runtime interface calico for networking/security also installed the kubernetes-dashboard (but I guess that's not important for my issue ). Taking this guide for installing ambas... | It gets the IP address when you change [CODE] to [CODE] because it uses a node's IP address. It can't do it with [CODE] because you are running a kubernetes cluster on VM and it doesn't have any [CODE] available. Tutorial is designed for [CODE] or clouds users. You can see it here: Note: If you are a Minikube user, Min... | 0 | 2 | 1,055 | 2021-05-21T11:48:31.153 | pipeline_ops | serverfault.com | |
888,472 | dashboard to show eventlog errors, warnings (traces) etc. | i'm after a dashboard (tfs?) to show what's currently going on with my MVC website. We write errors to the event log, and I duplicate that to a trace which I'm displaying 'live' with dbgview but I'm after something a bit more polished. What should I be using? thanks. | There are a lot of products out there (both commercial and free) that collect event logs (and log files) and allow you to create dashboards and custom searches. Since you're running Windows you can take a look at EventSentry - has a flexible dashboard and supports alerts as well. It offers system health monitoring as w... | 0 | 1 | 41 | 2017-12-16T20:26:27.940 | bi_errors | serverfault.com | |
178,437 | Snort rules for syn flood / ddos? | Can someone provide me rules to detect following attack : [CODE] I'm having problem with rules since packet comes from random source. My current rules is : [CODE] this rules only can detect from one source ip only. | Use " by_dst " to track by destination instead of "by_src" if you are worried about distributed attacks. Edit: if i used "by_dst" normal request will also be counted in this rule, which this should not be case. ... that is why snort is no substitute for actively administering your server - a DDoS looks a lot like being... | 6 | 2 | 37,884 | 2010-09-06T10:56:40.263 | infrastructure | serverfault.com | |
202,403 | Create multiple output tables from one query | I'm an inexperienced Postgres user and need help if someone can suggest it. I require output tables of column 'county' so all counties in the table have their own table. I need independent tables for each to use separately. My source table is 'my_counties' and 'county' contains the variable county names I wish to separ... | I'm an inexperienced Postgres user and need help if someone can suggest it. A few things, this is a bad idea, you probably want Table Partitioning because essentially you're creating partitions of another table. If you don't want to partition a table, you probably want a [CODE] which sits as a table on the disk, but it... | 0 | 0 | 1,068 | 2018-03-27T13:11:31.010 | warehouse_errors | dba.stackexchange.com | |
8,150 | How to create clusters of position data? | I am asking this question because the previous one wasn't very helpful and I asked about a different solution for the same problem. The Problem I have lateral positions, [CODE] , of vehicles over time which were recorded as the distances from the right edge of the road. This can be seen for one vehicle in the following... | I doubt any of the clustering algorithms will work well. Instead, you should look into: segmentation (yes, this is something different), specifically time series segmentation change detection (as you said, there is a rather constant distribution first, then a change, then a rather constant distribution again segment-wi... | 4 | 3 | 246 | 2015-09-22T01:35:33.447 | data_quality | datascience.stackexchange.com | |
293,198 | Implementing the State Pattern with Object.setPrototypeOf() | Take a look at this implementation of the state pattern in JavaScript: [CODE] Two advantages that I like here are that the context (lightBulb) doesn't have to keep a reference to the active state, and that it doesn't have to define a [CODE] method just to delegate that call to its active state's [CODE] method. In other... | This would work, but it's a very unusual way of accomplishing this task, so I would avoid it unless it's meant to be part of a learning exercise in how prototypes work. Just to make sure we're on the same page, the "typical way" I have in mind is this: [CODE] I would prefer this "traditional" version over your "circula... | 1 | 1 | 1,807 | 2015-08-08T22:44:14.430 | api_errors | softwareengineering.stackexchange.com | |
482,191 | What's causing so many "httpd: <ul></ul>" entries in /var/log/messages? | On a low-powered VPS I maintain, which also functions as a production server, I keep an eye on logs to crisis-manage should a site get an influx of traffic or something goes haywire (tail a bunch of log files, top, iostat etc). This is infrequent, but can happen. There's half a dozen WordPress installs (all up to date)... | Something - probably PHP - is writing to [CODE] or [CODE] , most likely to [CODE] . Search your plugins for anything related to Logging into [CODE] filedescriptors. | 4 | 0 | 383 | 2013-02-25T10:16:15.637 | infrastructure | serverfault.com | |
9,139 | How to Add Federated engine after installing Mysql | I have Mysql 5.5.18 and upon show engines: show engines; +--------------------+---------+------------------------------------------------------------+--------------+------+------------+ | Engine | Support | Comment | Transactions | XA | Savepoints | +--------------------+---------+--------------------------------------... | I have managed to find a solution... there is a plugin already available at [CODE] i just logged in to mysql as root and run the following query [CODE] then i added federated to my.cnf and restarted mysql | 7 | 5 | 28,264 | 2011-12-14T09:20:45.673 | hadoop_errors | dba.stackexchange.com | |
1,109,212 | Limit php-fpm memory usage on a constrained server | I "move" this question from superuser as I think it's more appropiate here. I've actually found sort-of duplicate questions, but none has solved my problem. General scope I have a Nextcloud (php) instance running in a Olimex LIME2 home server, which has only 1GB of RAM. I'm quite happy whith the hardware, but I'm hitti... | Consider using [CODE] to limit RAM requests. Maybe automatic queue will cover the load in time when you push multiple requests via the pic downloads. How many cores available on your server? View profile for contact info. | 2 | 0 | 2,597 | 2022-08-27T00:03:24.097 | pipeline_ops | serverfault.com | |
155,201 | Trying to use a SmartHost with my Exchange 2010 server | I'm trying to use a SmartHost with my Exchange 2010 Server . SmartHost details : Secure SMTPS: [CODE] Configure your existing SMTP settings (in your email program) to: use authentication (enter your Internode username and password, enter your username as username@internode.on.net). enable SSL for sending email (SMTPS).... | Internode (an iiNet for that matter) are very fussy when using SmartHosts. Even though you're authenticating with your username and password, because your email is not being sent from an @internode [CODE] address, they may be rejecting your email. I had this happen with iiNet, on a business account. They were happy to ... | 1 | 0 | 3,771 | 2010-06-27T03:33:34.153 | api_errors | serverfault.com | |
331,533 | Sloppiness in Activity Diagrams | As follow-up to this question I started digging in the UML specs regarding control flow in activity diagrams. Consider this simple example: Notice that it neither has [CODE] nor [CODE] . I know (though I actually can't find the location) that the specs state that a flow is terminated when it has no outgoing edge. So if... | Yes, the flow will start at [CODE] . From the UML 2.5 specification: [15.2.3.2 Activity Nodes] An ActivityNode is enabled to begin execution when specified conditions are satisfied on the tokens offered to it on incoming ActivityEdges... [15.2.3.6 Activity Execution] ... nodes that do not have incoming edges and requir... | 7 | 6 | 491 | 2016-09-20T10:59:47.620 | api_errors | softwareengineering.stackexchange.com | |
285,510 | Looking for a way to interpolate a base URL that won't conflict with Underscore template code | At my workplace, we have dev and production environments, and a separate server that serves static files for each environment. In my code, I make references to the URL of this static file server. Manually switching the references between servers would be a large chore, so I'm trying to incorporate a [CODE] task into my... | I ended up using the gulp-preprocess plugin. My code looks like this now and it's working well so far. [CODE] | 0 | 1 | 434 | 2015-06-01T16:24:13.003 | api_errors | softwareengineering.stackexchange.com | |
209,969 | Exclude Folder redirection GPO for specified computers | I'we set-up a GPO for folder redirection wich works fine. Now i would like to achieve that this policy would not be applied to specific computers. It's supposed to be done with another object: Computer configuration->Administrative templates->System->Group policy -> UserGroupPolicyLoopbackMode(Replace) Within this seco... | Found the answer. Problem was in the order of GPO's applied. After i moved the second GPO to apply first, all is working fine. Makes sense, doesn't it. | 1 | 1 | 3,909 | 2010-12-07T14:46:23.340 | infrastructure | serverfault.com | |
407,818 | Overriding attributes with Chef Solo | I'm trying to install Maven 3 using Chef Solo and the following cookbook: http://community.opscode.com/cookbooks/maven The cookbook installs Maven 2 by default, and the first time I ran it, it installed Maven 2 as expected. Later on I modified my [CODE] file to look like this: [CODE] But Chef isn't updating Maven to ve... | Hmm. There should be chef output that indicates what's wrong. Looking at the cookbook, I see that it's trying to download maven 3 as: http://www.apache.org/dist/maven/binaries/apache-maven-3.0.3-bin.tar.gz (as specified in maven/attributes/default.rb, as the maven.3.url attribute). If you try to wget that URL, you'll g... | 2 | 2 | 2,276 | 2012-07-14T23:49:39.210 | pipeline_ops | serverfault.com | |
325,287 | Is there a router for "personal wireless" space at my office connected to a hardline? | I have a wireless system; however, in my office the signal is week. The internet company will hardwire a connection but I am using my iPad thus needing the wireless. I understand there is a device (router) that will allow short range wireless for this purpose. What is the device? | As I understand your question, you're after some sort of wireless point which has only a very short range, presumably to prevent others accessing it. While that is certainly possible it's a really poor way to go about it and would result in extremely low throughput. A far better, and certainly more normal, method would... | 0 | 1 | 175 | 2011-10-27T10:48:18.183 | infrastructure | serverfault.com | |
795,206 | What CHKDSK exactly logging and reporting, 'flashing' messages on prompt? | Seems nobody interested in giving answer to be exact about this 'issue' on last post. So i just re-writing up new thread with question as more simply. enter image description here This is the screen just before exiting chkdsk. There were bad sectors on the disk. In that case some files, I heard, could be deleted when c... | As I told in another answer, files are not deleted during [CODE] operation. It only goes through the data in the disk, and if some part of a file is in a bad sector area, then another sector is allocated to replace that bad sector. That sector is empty, which means that the file is still corrupted on that position. So,... | -2 | 1 | 115 | 2016-08-06T08:15:50.620 | infrastructure | serverfault.com | |
95,184 | anonymous blocks inside a transaction | I have the following script: [CODE] When I place it in file ( [CODE] ) and execute it with: [CODE] ... the table gets created and the rows are inserted. When I try to wrap the anonymous block inside a transaction (so that I can explicitly set and control the transaction isolation level): [CODE] ... I get instead: [CODE... | There is a semicolon missing after the [CODE] statement: [CODE] The first example works, because the semicolon is optional at the end of a script. That's also why the semicolon after [CODE] inside the block is optional. | 2 | 3 | 3,624 | 2015-03-13T13:16:18.090 | warehouse_errors | dba.stackexchange.com | |
4,104 | Docker swarm custom scheduler | We have a 6 node docker swarm running and we often see bad scheduling (clean inbalance) happening. I've researched this subject, and it seems docker swarm as standalone used to allow a way to choose different strategies to its scheduler, but since swarm was integrated into docker it only supports the spread strategy. I... | The scheduler itself is not swappable. However, you can set memory constraints and reservations on containers in your service : [CODE] The constraint will kill the container if it exceeds the limit even if the host has more memory available. The reservation will ensure that amount of memory on the host is available for... | 0 | 1 | 366 | 2018-05-15T10:47:53.157 | pipeline_ops | devops.stackexchange.com | |
729,118 | Why command from script file isn't found by windows? | I've added drush command to environment variable. When I go to cmd and run drush command all works ok. But wheh I'm trying to call drush command inside script file, eg: [CODE] an error is raising: drush: command not found | I'm guessing you run some alternate shell like [CODE] on windows. Seems possible that you added this command to msysgit's [CODE] but the script is executed with the windows builtin [CODE] which is not aware of your alternate shells [CODE] . | 1 | 0 | 24 | 2015-10-15T09:14:28.170 | infrastructure | serverfault.com | |
225,529 | How to Backup to Azure Storage? | A day before I tried to back up our ddbb log file to azure storage. So, the transact is simple [CODE] Credentials are defined apart, [CODE] I got the error below: [CODE] I tested that credentials with a bulk insert on the same container I was pointing with it works fine. The SAS token was generated with full permission... | No policy were made on the container since I understood (Is my fault here?) that SAS token already had full access. Backup to URL requires a SAS Token generated from a Container Access Policy with fixed start and Expiration Dates. An Storage Account-scoped SAS token will not work. | 0 | 1 | 130 | 2018-12-21T05:27:51.350 | database_errors | dba.stackexchange.com | |
874,679 | Troubleshooting WebLogic Apache Plugin Loading on Windows | Running ApacheHaus build of 2.4.25 of Apache on Windows. Using Oracle Weblogic Server Plugin 12.2.1.3 Unpacked \fmw_12.2.1.3.0_wlsplugins_Disk1_1of1\WLSPlugins12c-12.2.1.3.0\WLSPlugin12.2.1.3.0-Apache2.2-Apache2.4-Win64-12.2.1.3.0\lib to C:\apps\Apache24\wl_plugin\lib Made sure PATH contains C:\apps\Apache24\wl_plugin\... | I had the same problem on Win7 x64, it turns out I needed to install Microsoft Visual C++ Redistributable (x64) for Visual Studio 2012 | 1 | 1 | 4,318 | 2017-09-20T16:22:05.600 | database_errors | serverfault.com | |
46,670 | What is the difference between NULL and \N while loading data from a csv using load data local infile | I have a table which has four fields [CODE] Now, I am trying to load following data [CODE] and the third field in table is coming out as NULL, which is the expected result. In another case, I am trying to load following data [CODE] and it is also loading the third field as NULL. Here is my question : What is the differ... | Depends on your options [CODE] and [CODE] used in the [CODE] statement. MySQL documentation From MySQL doc: Handling of NULL values varies according to the FIELDS and LINES options in use: For the default FIELDS and LINES values, NULL is written as a field value of \N for output, and a field value of \N is read as NULL... | 3 | 3 | 18,335 | 2013-07-19T11:09:58.107 | warehouse_errors | dba.stackexchange.com | |
341,134 | Unit tests for constructors | If I make a class, that in the constructor accepts an array or collection, but this array or collection is optional (the parameter can be null), and then I store that collection in the object in question, in the constructor i need something like: [CODE] Should I unit-test such kind of code? like check if it works when ... | Technically, what you should test depends on your test goals . But in general, you should try to test everything that can go wrong. Here: [CODE] You might have forgotten to use the [CODE] parameter, i.e. the above statement is missing. This can be checked by a test that depends on the [CODE] provided to the constructor... | 2 | 4 | 7,658 | 2017-01-28T16:15:43.990 | api_errors | softwareengineering.stackexchange.com | |
111,701 | CommunicationException when shutting down JBoss 4.2.2 | I have deployed an application using JBoss 4.2.2 on a 64-bit RHEL5 server. Since there are other JBoss servers, I had to change some port configurations so that there would be no conflicts when starting the server. So right now I'm using ports-01 from the sample-bindings.xml file that came in the docs/examples/binding-... | Shutdown.sh launches a separate java program that sends a JMX request to the jboss server process. It doesn't reference any configuration files to discover the new port, it just assumes the defaults. (how could it? you're not passing it your configuration directory) So to connect to your jboss server running on the non... | 1 | 0 | 2,623 | 2010-02-10T21:26:47.180 | api_errors | serverfault.com | |
489,085 | Getting wrong Hostname from tracert | Noticed this while using VNC to users computers. When I do a tracert using hostname it completes but at a different hostname. All my users are using Microsoft VPN. I'm assuming this is a DNS issue but I'm not sure where to look for the problem. | It's reverse DNS. Whatever DNS server you are using is either not tied in with those machines, or perhaps it's that the computers that are VPNing in are not always registering their VPN DNS address, so an old one is still there. If you are doing AD integrated DNS, it's also possible that the reverse DNS entries do not ... | 0 | 1 | 959 | 2013-03-18T23:40:46.593 | infrastructure | serverfault.com | |
333,316 | SQL 2005 Deadlocks: Running Traces & Examining Logs | We have a 3rd party commercial application which we believe is causing deadlocks to occur on our SQL Server 2005 (64bit) machine. Coming away from a 1 & 1/2 day training with the software vendor last week to help us better administer the software, I'm now doing some research on how to best use SQL Server Profiler and T... | Running a trace on a SQL Server will impact the SQL Server. The basic rule of thumb is that anything that you do on the server takes resources. Can you cause performance problems running a trace or SQL Profiler against the SQL Server? Yep, you sure can if you don't have any filtering in place. If you are having deadloc... | 1 | 2 | 208 | 2011-11-21T18:02:05.890 | database_errors | serverfault.com | |
275,016 | How to reorganize MS SQL Server database | I'm looking for a way to reorganize a MS SQL Server database. By re-organize I mean that both tables and indexes are left with no fragmentation. The resulting database will only be used in read-only mode. One of the aims of the exercise is to release space in the database and the other is to try to make it go as fast a... | Edit 1: Aaron noted in a comment that compression can be beneficial here. Good point. Compression options include columnstore indexes (clustered or nonclustered - let's not go into details at this point), row compression and page compression. As you know, backup and restore will give you a binary copy of the database, ... | 2 | 1 | 2,982 | 2020-09-05T11:43:44.973 | database_errors | dba.stackexchange.com | |
111,626 | Difference between Bridging, Switching, Forwarding a frame? | What is the Difference between Bridging, Switching, Forwarding a frame? What is the difference between Control Plane Vs Forwarding Plane and Slow path Vs Fast Path? How are the above terms related to these? Can someone explain how a packet travels from an ingress port (on an I/O card) to an egress port (on another I/O ... | This is all manufacturer and device-specific. In some cases, it's even firwmare / OS specific. Devices that move packets around (Ethernet switches moving Ethernet frames, IP routers moving IP datagrams, ATM switches moving cells) try to do so in the most efficient manner possible. This often means using custom chips (A... | 0 | 1 | 2,366 | 2010-02-10T16:29:59.323 | infrastructure | serverfault.com | |
349,546 | ES / CQRS concurrency handling | I recently started to dive into CQRS / ES because I might need to apply it at work. It seems very promising in our case, as it would solve a lot of problems. I sketched my rough understanding on how an ES / CQRS app should look like contextualized to a simplified banking use case (withdrawing money). Just to sum up, if... | I sketched my rough understanding on how an ES / CQRS app should look like contextualized to a simplified banking use case (withdrawing money). This is the perfect example of an event sourced application. Let's start. Every time a command is processed or retried (you will understand, be patient) the following steps are... | 25 | 26 | 6,806 | 2017-05-24T18:57:33.457 | database_errors | softwareengineering.stackexchange.com | |
115,525 | Confusion about Domain Management | I've done a Whois and see that the domain I need to work with is registered to Tucows. A company called GSI is actually hosting it. My client, who owns the domain but knows basically nothing about this, wants to change hosting providers (legal requirement). So, in order to do this, I will have to somehow get into Tucow... | There are several things that can get confusing: Q: Where was the domain registered? A: Tucows Q: Who hosts the DNS zone for the domain? A: GSI Q: Who hosts the web site for the domain? A: Could be anybody Q: Who hosts email for the domain? A: Google Apps The answer to all 4 of these questions can be, and often is, a d... | 0 | 1 | 358 | 2010-02-22T19:39:03.443 | infrastructure | serverfault.com | |
209,097 | Algorithm to pick user | I need an algorithm for picking a user. Users are identified by letter {A, B, C, ...} and are ranked by number {1, 2, 3, ...}. Rank is the degree of likelihood to be picked, so a rank 2 user is twice as likely to be picked over a rank 1 user, and rank 4 is four times as likely, etc. So let's say four users are {A, B, C... | Put each user [CODE] times into a suitable data structure (bag, multiset, list, array). Such a data structure should already be available for your language, you probably don't need to implement it yourself. Sample a random element from that data structure. Such an operation should already be available, you probably don... | 5 | 4 | 968 | 2013-08-22T05:26:39.460 | api_errors | softwareengineering.stackexchange.com | |
107,271 | Input- and Output Data Shape Difficulty | I'm a Keras beginner. My main problem right now is how to build a model that suits my data. For the Model itself I'd like to build it so the inputs/outputs are: Input Data: (List that contains) three integers e.g. [24, 63, 122] Desired Output: (A list containg) 32 floating point values in range 0 to 1 e.g. [0, 0, 0, 0.... | Then the issue is likely that the output shape of your model does not align with the shape of your [CODE] dataset. The model expects a matrix of shape [CODE] , whereas you are providing a matrix of shape [CODE] , meaning an extra dimension of two values. In addition, if you want the outputs of your model to sum up to 1... | 0 | 1 | 367 | 2022-01-20T13:40:19.677 | data_quality | datascience.stackexchange.com | |
201,845 | How to get rid of DIGI passport certificate prompt | Currently, I am giving users access to DIGI passport port through HTTPS. The problem is, user will be prompted some kind of certificate prompt. How do I get rid of that problem, so that users can straight away access the port through HTTPS without having to click on the prompt? (in details please) Thank you in advance | You're most likely using a self-signed certificate. Clients can't verify the authenticity of self-signed certs, so they throw up the dialogue that you're seeing. To get rid of that, you'll either need to import your root CA certificate into all of your clients' browsers or perhaps more preferably, just purchase a certi... | 0 | 0 | 161 | 2010-11-15T03:18:53.877 | infrastructure | serverfault.com | |
38,610 | Need advice on network/internet architecture | I'm going to be purchasing, setting up, and maintaining a small office network in about a month. I have most of the software side figured out, but I'm still a bit fuzzy on the hardware details. First off, a bit of information about the network: 5 users initially, 15 users at the MOST after more employees are hired All ... | I think you're over killing it. Grab a Cisco Small Business RV042 router or even go up a couple of models to the 16 port one, but personally I like to seperate the router from the switch. The router will take care of your internet connection, & VPN connections for your employees. Its one less server to take care of, le... | 3 | 4 | 483 | 2009-07-09T20:55:22.290 | database_errors | serverfault.com | |
422,847 | Global Reverse DNS look-ups not working | I am moving from an old server to a new one and everything went well until I got to the DNS server. I cannot get the reverse look-up to work. I cannot find any misconfiguration but I'm not an expert. rDNS locally works but from other Inet hosts it fails. named.conf: zone "5.253.159.in-addr.arpa" IN { [CODE] }; Zone con... | You've set it up correctly on your server, but your server is not marked as authoritative for 123.5.253.159.in-addr.arpa. Your reverse DNS is managed by your ISP (the whole 5.253.159.in-addr.arpa zone): [CODE] You have 2 solutions to solve that: ask your ISP to define the [CODE] record for you on their DNS ( [CODE] and... | 4 | 4 | 2,094 | 2012-08-30T11:52:23.570 | infrastructure | serverfault.com | |
917,811 | MS Server 2012 TLS Connection Issue | We use a well known payment system and access from our RDS server (MS Server 2012) has totally stopped today. I can't help but think it is related to cihpers and/or TLS/SSL version. The application throws (which looks like a generic Win error) of.. [CODE] Then If I drive into the event logs I can find multiple logs sho... | Turns out it was 'use TLS 1.1' and 'Use TLS 1.2' that I needed. I wasn't using a browser, but I assume that the application uses these settings for the web request and that as mentioned in the other answers TLS 1.0 is switched off as part of PCI-DSS 3.1 See [CODE] | 4 | 3 | 42,698 | 2018-06-22T14:47:35.183 | infrastructure | serverfault.com | |
891,287 | How can I apply "shopt -s extdebug" to my shell by default? | I am trying to build a pre-exec checker in bash (using [CODE] ) In order to fail the command when the pre-exec hook fails, I need to run [CODE] (which fails the command when trap DEBUG command returns non-zero RC). If I run [CODE] in my shell as a command, this works perfectly fine (the preexec checker just grepped for... | OK, figured out the answer. [CODE] is required (in addition to [CODE] ) to have the functionality work in sub-shells. And somehow, [CODE] is treated as supershell of actual interactive shell, in a sense, if you don't add this, it won't take effect on interactive command prompt. So, you need to add both command to [CODE... | 1 | 1 | 1,403 | 2018-01-08T23:31:14.733 | infrastructure | serverfault.com | |
228,927 | Physics Engine with Fixed-Point Positions | Fixed-point object locations allow for worlds which are much more scale-able. Using a 64-bit integer (per dimension), and 0.1 millimeter precision, a world can be created which is 100% numerically stable, and 12,000 astronomical units across. I have been looking all over the internet, and I can't seem to find a physics... | I've never heard of one. And there are reasons why nobody does it that way. First, numerically-intense computations moved to floating point decades ago because of the amount of headache involved in keeping track of the decimal point across multiplications, divisions, and exponentiations. The moment you hit transcendent... | -2 | 6 | 1,185 | 2014-02-14T00:04:12.393 | api_errors | softwareengineering.stackexchange.com | |
57,308 | How to automatically grant permissions to application created databases in SQL Server 2008 R2? | So I have an application that automatically creates a new database after the database it is currently in reaches a fixed number of rows. I need to be able to automatically assign a user within the installation the db_datareader role for the automatically created database. I'm kind of at a loss here, any help is greatly... | Add the user to the DB_READER role. Like this: [CODE] Copied from https://stackoverflow.com/questions/456346/t-sql-to-grant-db-datareader-and-db-datawriter | 1 | 0 | 2,885 | 2014-01-21T16:34:27.863 | database_errors | dba.stackexchange.com | |
284,855 | Unable to connect to postgres inside a docker container | I've started a new [CODE] docker instance as: [CODE] Then I attached to it: [CODE] Created a cluster: [CODE] Which led to: [CODE] Started the service: [CODE] Tried both ways to connect, but none was successful: [CODE] What could I have done wrong? | postgres peer authentication depends on the linux/unix user that runs [CODE] being the same as user in the [CODE] parameter. As you are running on root locally this isn't true. Having a [CODE] user outside the container won't necessary map to the [CODE] user inside the container. Recommend changing authentication mecha... | 1 | 1 | 1,678 | 2021-02-06T21:40:16.110 | pipeline_ops | dba.stackexchange.com | |
246,764 | nginx: dump HTTP requests for debugging | Ubuntu 10.04.2 nginx 0.7.65 I see some weird HTTP requests coming to my nginx server. To better understand what is going on, I want to dump whole HTTP request data for such queries. (I.e. dump all request headers and body somewhere I can read them.) Can I do this with nginx? Alternatively, is there some HTTP server tha... | Adjust the number of pre/post lines (-B and -A args) as needed: [CODE] This lets you get the HTTP requests you want, on the box, without generating a huge PCAP file that you have to offload somewhere else. Keep in mind, that the BPF filter is never exact, if there are a large number of packets flowing through any box, ... | 19 | 32 | 34,597 | 2011-03-13T01:05:18.957 | infrastructure | serverfault.com | |
23,470 | Successful test from OpenScript fails in Test Managger with “Find Object Timeout” error (Oracle) | I am trying to execute in Oracle's Test Manager, an automatic test which I created in Oracle's OpenScript. My script in OpenScript is executed successfully as you can see below: When I execute the same test in Test Manager, I get a [CODE] . You can see below the error: Because of this error, I have added the following ... | Remove the index attributes like [CODE] and [CODE] statements might fail if the page is loaded faster then your script. Use [CODE] with 2 parameters and 2nd parameter value to be true: [CODE] OR Use: [CODE] where [CODE] is a global variable maintained at master script level. | 4 | 1 | 362 | 2016-11-03T15:52:32.207 | database_errors | sqa.stackexchange.com | |
464,293 | Folder synchronization between 2 servers | I would like to share my problem with you. My boss wants that I will create 2 folders on two different servers. My first server is located at Germany and second one is in India. I have admins access on India Server and Remote access on German Server but Not admin access. Simple user access on German Server. My boss wan... | You can have a crontab running a [CODE] command You could do that over an existing vpn connection, or over ssh, or a locally mounted directory. A good starting point in your case could be this document showing rsync over SSH and the crontabs and commands needed rsync has the advantage that, after a (quite cpu intensive... | 2 | 4 | 2,766 | 2013-01-09T07:27:21.833 | infrastructure | serverfault.com | |
138,658 | Storing last N samples in a table coming from multiple clients | I want to store some last [CODE] (say fixed 50) samples in a table indexed by [CODE] . They're coming from multiple clients. The requirements of which last [CODE] are weak (the use case is to show some recent samples for debugging a stream of messages). But I want them to be relatively current, so my clients will updat... | My idea is to use new table to store next index to update for each user: [CODE] Just fill it with [CODE] s for each user. I would use it as a kind of serial like this: [CODE] You will get next index and increase it at the same time. Then you calculate modulus [CODE] so it acts as a round-robin queue. To insert new samp... | 1 | 1 | 41 | 2016-05-16T18:39:34.423 | warehouse_errors | dba.stackexchange.com | |
303,116 | Powershell SMO changing database context from master when setting database to SINGLE_USER | I am trying to set a database to single user using SQL Server SMO and have the code below. This code is an abridged excerpt from a larger restore script [CODE] The account I pass into [CODE] has the following permissions in SQL Server: [CODE] When I run the Powershell code above, it fails on the [CODE] line with the er... | I don't know about the PowerShell / SMO side of things, but there is something you can do that will work without requiring any modification to the PowerShell script. Just allow [CODE] to connect to any database (without adding that login to any particular database) by granting the [CODE] instance/server -level permissi... | 3 | 1 | 514 | 2021-11-25T15:28:36.790 | database_errors | dba.stackexchange.com | |
8,549 | How do I set/get heap size for Spark (via Python notebook) | I'm using Spark (1.5.1) from an IPython notebook on a macbook pro. After installing Spark and Anaconda, I start IPython from a terminal by executing: [CODE] . This opens a webpage listing all my IPython notebooks. I can select one of them, opening it in a second webpage. SparkContext (sc) is available already, and my f... | You can manage Spark memory limits programmatically (by the API). As SparkContext is already available in your Notebook: [CODE] You can set as well, but you have to shutdown the existing SparkContext first: [CODE] If your workload is the same for all analysis, then editing spark-defaults.conf as cited above is the way ... | 12 | 20 | 47,655 | 2015-10-21T18:17:22.190 | spark_errors | datascience.stackexchange.com | |
20,792 | Appium + Android Camera : How to automate android camera scenarios using Appium? Any work around? | I'm trying to automate an [CODE] on a [CODE] using [CODE] in which I have an application. In order to complete a registration, the application will ask the user to take a Selfie, so when the user clicks this button the device camera opens up. the only thing, that is missing, is that I can't find a way how to click on t... | @ASR7, No - I would like to correct below things We can not automate android mobile app automation using Selenium. Selenium is use to automate web/browser automation Facility in order to automate Android mobile app test case, one may use Appium 3.1 BTW & Answer to your Q - It doesn't allow to identify elements from ano... | 2 | 1 | 7,354 | 2016-07-29T17:49:58.283 | data_quality | sqa.stackexchange.com | |
350,751 | Simple Load Balance Architecture | We currently have a simple 3 server setup: Cloud NGinx/Apache web server (NGinx serves static, dynamic is proxied to Apache/PHP backend) Dedicated Database server Cloud Outgoing email + monitoring server We're at the point where we need to scale up/out our web server. We're looking to acheive the following: Minimise do... | I would chose B, because the advantages you name are correct and compelling. When you have two web servers you already have to solve the problem of keeping content in sync on multiple machines; adding a third is trivial, so the cost of syncing static content from whatever source to the load balancer is easy. Disk space... | 0 | 1 | 849 | 2012-01-17T18:35:59.477 | database_errors | serverfault.com | |
486,256 | nginx, apache http authentication | I have an nginx reverse proxy server which feeds into a varnish cache with an apache backend. The php is running as a fastcgi process started from apache. I was attempting to get some php software working however the basic HTTP Authentication dialog was not accepting any usernames or passwords. I did some digging aroun... | Loosing track of HTTP Authentication seems to be not an issue of nginx or Varnish . This rewrite rule is not for making authentication header fields accessible to Apache but to the Fast-CGI backend (assuming authentication should be recognized inside PHP ). Authentication headers are usually hidden from Fast-CGI. You c... | 1 | 2 | 1,449 | 2013-03-09T14:33:07.070 | api_errors | serverfault.com | |
431,805 | Upgrading PHP from version 5.3 to 5.4.7 | Quickly so to speak I have noticed this topic around, I have searched and there are plenty of solutions. However these solutions do not work for me, not only that but I'm intending to learn more about the Debian based OS. Questions I would like to know how to upgrade PHP 5.3 to PHP 5.4.7 compiling it from source myself... | You will likely need to install [CODE] via [CODE] and then try again. This will install all the header files and other dev tools for this library. It's quite possible that this is necessary for other modules as well. This is one of the reasons that it's a much better idea to install from binary packages and not clutter... | 2 | 2 | 2,434 | 2012-09-25T14:57:52.947 | database_errors | serverfault.com | |
1,149,351 | How to set up the relayhost to send emails to other external SMTP servers using PostFIX? | I am currently configuring an SMTP server on OCI but have some doubts. I would like to send emails with my domain to external servers such as GMAIL, OUTLOOK, and others. I had configured the "relayhost" with my domain and port 587, but it started requesting SASL authentication. So, I removed it and tried again, and I n... | You don't need to use relay host when you want to send mail to Google and so on. You would need your postfix server to configure an sending only mta, preferably using smtp over tls. You can use letsencrypt for the tls/ssl part See also here for some guidance https://gist.github.com/lodi-g/9f89d102aa51e9e50da5d7954ddc59... | 0 | 1 | 153 | 2023-12-07T15:49:55.163 | api_errors | serverfault.com | |
180,856 | Integration of SharePoint 2010 with TFS2010 | We have performed following steps as of now- Install TFS2010 10.0.30319.1 (RTM) on Windows Server 2008 R2 Enterprise(app tier) SQL 2008 SP1 with Cumulative update 2 on Windows Server 2008 R2 Enterprise(data tier) Reporting Service is installed on app tier. After this installation worked fine we installed SharePoint 201... | Sounds like you're trying to add MOSS to TFS post installation of TFS? Did you try this: http://blogs.msdn.com/b/tfssetup/archive/2010/10/04/tf249063-the-following-web-service-is-not-available.aspx | 1 | 1 | 1,334 | 2010-09-14T07:56:54.013 | infrastructure | serverfault.com | |
308,283 | Installing nginx get "Broken packages" | I'm trying to install nginx [CODE] on my Debian Lenny, but I can't cause of this: The following information may help to resolve the situation: The following packages have unmet dependencies: nginx: Depends: nginx-full but it is not going to be installed or nginx-light but it is not going to be installed E: Broken packa... | It actually appears other developer had installed PHP 5.3 himself and so the whole thing was somehow failing. Once i uninstalled it and installed PHP from Debian packages it all went smoothly. | 0 | 0 | 1,586 | 2011-09-05T13:06:27.450 | infrastructure | serverfault.com | |
461,050 | How to configure Virtual Box to handle multiple wireless network connections simultaneously | For testing purposes, I would like to set-up multiple (say 3-5 to begin with) virtual machines, be able to run them all at the same time, and have each access a unique wireless connection. The machine has a standard USB wireless adapter. We have access to a Verizon Wifi hot-spot that allows up to 10 unique connections.... | No need to distinguish between wired and wireless here, just used bridged networking for these VMs and select your wireless adapter as the parent adapter. | 2 | 1 | 411 | 2012-12-26T23:14:21.453 | infrastructure | serverfault.com | |
109,367 | memory error- python N-th order Markovian transition matrix from a given sequence | Ok. What is wrong with you code! I am trying to calculate transition probabilities for each leg. The code works for small array but for the actual dataset I got memory error. I have 64 g version python and maximized the memory usage so i believe need help to code efficiently. import numpy as np [CODE] Again, code works... | Ok. I found the problem. I was using very big numbers to represent IDs, instead i replaced them with numbers starting 0 to up. So the above code works like a charm and no memory problem. | 1 | 0 | 110 | 2022-03-25T22:29:53.897 | data_quality | datascience.stackexchange.com | |
726,410 | How to monitor the pid of each command in shell script? | In my situation, I have one shell script running rsync and tar in the background. Rsync is used to transfer files, and tar is doing compression after rsync is finished. My problem is how to monitor the pid of rsync, and tells tar command to start when the pid of rsync doesn't exists anymore. The shell script may looks ... | its quite easy: you need to store the pid-variable with: [CODE] To check id the progress is still running just go ahead with kill -0 like: [CODE] (If the code dont run properly - iam very sorry. i've been writing in bed :-)) For explaination: 'kill -0 $PID_1' return 0 or obviously 1. If its 0 the process is running and... | 0 | 4 | 1,696 | 2015-10-02T22:45:46.310 | infrastructure | serverfault.com | |
410,652 | How do I deploy MS hotfix KB959628 exe/msp via a gpo easily? | I have been given a Microsoft hotfix that I need to deploy over the entire domain. I want to use GPO as the users do not have admin rights and Office was not deployed from an administrative point. It was deployed randomly on an individual basis. I tried converting the exe into an msi but when I ran the msi it just extr... | Yes, actually. If you don't have WSUS/SCCM/etc solution you use to push out patches, the easiest solution is a GPO with a startup script. For example, what I've done below for a different hotfix. (This is my batch file) echo off reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix\KB968730"... | 5 | 6 | 8,863 | 2012-07-24T13:44:57.187 | infrastructure | serverfault.com | |
229,386 | Multiple network interfaces and UDP packets distribution | I have a Linux server with 2 1Gb network interfaces eth1 and eth2. If I start 2 clients listening to the same multicast address and each client connects through a different NIC (say client 1 listens to the multicast through eth1 and client 2 through eth2), then client 2 gets duplicate UDP packets. If both clients use t... | It's because multicast listens once per interface. Each interface subscribing to a particular multicast address will receive the packet. Without more info on what you're trying to do and why, I guess I would just say "don't do that". | 0 | 1 | 1,907 | 2011-01-31T22:49:35.117 | data_quality | serverfault.com | |
215,422 | Creating Conditional Rules for Column Values | I am currently working on the following table in SQL Server [CODE] In this table for the [CODE] column there are the following values possible: [CODE] I would like to set up my table so that if a new record is trying to be created, [CODE] goes from [CODE] to [CODE] if the [CODE] is not equal to 4. Essentially unless th... | Yes, you can create a table check constraint without going to triggers or stored procedures. This is valid for Sql Server 2008 or higher: [CODE] | 3 | 7 | 3,777 | 2018-08-20T19:56:11.337 | database_errors | dba.stackexchange.com | |
404,649 | SQL Server NETWORK SERVICE account permissions | My SQL Server Windows service is set to use the NETWORK SERVICE account. The server is installed to [CODE] . However looking at the permissions on that folder, NETWORK SERVICE does not have any permissions. The groups which are allowed access to that folder are... CREATOR OWNER - who is this? SYSTEM - sounds fine - so ... | The group SQLServerMSSQLUser$Computer_Name$MSSQLSERVER should be a local group created during SQL Server setup, and if you specified network service as the service account during setup that user should be in that group. That membership allows access to the MSSQL folders and files. | 0 | 1 | 2,935 | 2012-07-04T07:36:45.697 | database_errors | serverfault.com | |
381,804 | C#/SQL Server: Login failed when connecting from remote machine | I've got an SQL Server 2008 Express set up on one machine and am trying to connect with my C# app to the server from another machine (both Win 7). The server machine has a user account for me in the system. The SQL Server is configured to use Windows Authentication. Firewall on the server machine has inbound rules to a... | If you are using trusted logins, you should not provide any login name. Connections will be made using whatever you are logged in with. Are the two computers members of the same Active Directory domain? If not, you can try creating the same account on both machines, including matching passwords. I am not sure if that w... | 1 | 0 | 7,665 | 2012-04-21T13:11:23.617 | api_errors | serverfault.com | |
1,149,779 | nginx won't start after I have updated the ssl certificates? | So, I have recently changed the hosting of my website to Amazon EC2 and am using the key and certificates which I purchased from Godaddy. So this certificate was already being used for my another website domain which is hosted in Godaddy itself. As I was allowed to add other domains to this existing certificate - I did... | So, it was enough to get rid of the passphrase. And for the next issue, as per my last edit in the question, Finally I found the answer here https://stackoverflow.com/a/49311134/1503130 So Godaddy issued an intermediate certificate which I had to chain and create a combined certificate and then it all worked. | 1 | 1 | 197 | 2023-12-14T11:09:59.337 | api_errors | serverfault.com | |
749,387 | improving soho network security | My wife & I work from home (with two separate businesses, both in their early stages) and we have two teenage kids who represent the biggest risk. I am concerned about threats to our business data which is stored on a NAS (eg Cryptolocker) and wanted to improve security. We aren't exactly MI5, so precautions have to be... | First, to protect the NAS, ensure only the computers you want to have access to it do. For example protect it via authentication. Some NAS's such as those from Synology have internal firewalls. If yours has this, turn that on and allow only your computers access to it, though you'll have to set up a static IP for the c... | 0 | 0 | 335 | 2016-01-15T13:40:03.750 | database_errors | serverfault.com | |
433,112 | Cron for a user not working in Plesk 10/11 | I'm having a strange problem with plesk and I can't seem to find an answer anywhere on the official support, so I hope somebody here can shed some light. I'm simply trying to run a script via cron using the 'scheduled tasks' in the user control panel. The command is set to: php /var/www/full/path/to/script and it works... | I've found an answer, even if it is a little bit "inelegant" and probably doesn't address whatever causes the problem in the first instance. However, it may stop a few more people tearing out their hair. The solution is to edit the crontab file for the user and change that SHELL variable, however, I have no idea where ... | 0 | 1 | 5,776 | 2012-09-28T22:12:36.283 | infrastructure | serverfault.com | |
229,699 | SQL Server 2008 Error when restoring DB backup: "specified cast is not available" | I was using SSMS to restore a database backup onto another database in a SQL Server 2008 instance, when I received the error message: "specified cast is not available". The backup was made on a SQL Server 2005 instance. Any help would be appreciated! | I can't recall/find what causes it Your backup is most likely password protected You can do a manual RESTORE without using the GUI | 0 | 0 | 830 | 2011-02-01T15:21:47.630 | database_errors | serverfault.com | |
246,740 | GROUP BY after ORDER BY/LIMIT/OFFSEt? | I have two tables [CODE] and [CODE] , where [CODE] has a row [CODE] that corresponds to the [CODE] column in [CODE] . (So an event can have multiple dates). ` Now I am trying to get the unique events of the first five eventdates after a certain date. I tried this query: [CODE] but the following error is thrown: ERROR: ... | If I get it right, you can use window functions: [CODE] In the inner select, the events are given an ordering number per event. In the outer select, the oldest one per event is chosen and the result is ordered by this date. If this is not what you meant, you can change your query so that the order by becomes determinis... | 1 | 1 | 13,836 | 2019-09-02T08:21:30.700 | data_quality | dba.stackexchange.com | |
319,945 | Using and designing asynchronous APIs with naturally synchronous parts | I've been programming for a long time, but very rarely with anything asynchronous (and not often with anything to do with multithreading, either). Mostly for the fun of it, I'm writing a program to download song lyrics, and save them to music files (via e.g. ID3v2 tags). I have most of that in place by now: I have two ... | The problem here isn't about starting many tasks and waiting for them, but about running callback/signal-based in a sequential manner. Use a concurrent function which takes the function which creates the ordered structure and the function which iterates through the ordered structure as arguments. For example, in the co... | 3 | 1 | 1,174 | 2016-05-31T20:32:54.667 | api_errors | softwareengineering.stackexchange.com | |
143,823 | Multicast image restoration with adaptive speed | I'm curious to know if there are any tools for restoring disk images (or even transferring files) via multicast -- for any platform, especially if the project has source available -- where the multicast rate adjusts itself on the fly. On the Mac, all multicast solutions I am aware of (such as Deploy Studio, and NetRest... | FOG does multicast disk imaging - excellent when you have a group of identical machines to image. Runs from a Linux server, can definitely image Windows and Linux clients, I have no idea if it works on Macs or not. I have no idea what voodoo is involved in Mac imaging. I have no idea if they can PXE boot. | 1 | 1 | 1,204 | 2010-05-20T17:22:46.970 | database_errors | serverfault.com | |
342,697 | Prevent sudo, apt-get, etc. from swallowing pasted input to STDIN? | I often write up wiki instructions to install various server packages on Ubuntu (11.10 Oneiric at the moment). They always involve things like: [CODE] but when you cut and paste this to a terminal, either sudo, apt-get, or some subshell randomly swallows the subsequent lines of input, and only the [CODE] happens. Is th... | A way to both avoid the cut-and-paste problem, as well as safely run the commands in succession is to put them on the same line separated by [CODE] which will only execute the [CODE] on the successful completion of the [CODE] : [CODE] Afterall, if the first command fails you probably don't want to continue executing th... | 6 | 6 | 1,906 | 2011-12-20T11:58:45.187 | infrastructure | serverfault.com | |
418,247 | High CPU usage resulting in server crash | running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a seperate box. Last couple weeks, performance has been steadily degrading to the point where I can no longer even remote in... | I assume its a memory problem. Apache is eating a lot of RAM. PHP also has a lot of memory leaks. You should configure it to restart its worker threads after handling some low amount of request (100 is a good number). Look in /etc/init.d/php-cgi (or similar) for a line "PHP_FCGI_MAX_REQUESTS=20" ... that the limit. Als... | 2 | 4 | 5,866 | 2012-08-15T18:24:50.903 | database_errors | serverfault.com | |
183,074 | How to get postfix or php mail() to output to files (Snow Leopard) | I'm trying to test an application which sends mail in PHP on my local server and need some way to redirect emails to output to files rather than actually sending them. I've searched google extensively, and it appears that the solution varies with OSX 10.4 and 10.5, and I can't find any info for 10.6 which I am currentl... | Postfix allows you to hook in a content filter (more info at http://www.postfix.org/FILTER_README.html ). This could be a script that writes the contents somewhere on disk and send it back to postfix for further delivery. The FILTER_README.html shows a simple shell script that you could extend. | 1 | 1 | 456 | 2010-09-21T06:14:03.473 | infrastructure | serverfault.com | |
425,973 | VSFTPD - FTP over TLS - Upload stops after exactly 82k? | I installed a VSFTP daemon on a CentOS server, using a RSA certificate for logging in using explicit TLS. Now, I cannot upload more than 82k. With files under that limit, there is no problem. The FTP works like a charm. But as soon as a file reaches 82k with FileZilla (81,952 bytes to be exact), the transfer will stop,... | It sounds like the problem is at the client side. Have you tried another client program: [CODE] , [CODE] , ...? http://trac.filezilla-project.org/ticket/7837 https://savannah.gnu.org/support/?107660 | 5 | 2 | 3,700 | 2012-09-10T14:16:39.067 | infrastructure | serverfault.com | |
441,840 | Which Server 2008 R2 roles install SQL and how can it be managed? | I have a two part question: 1) Which server roles or other functions built into Microsoft Windows Server 2008 R2 will also install SQL along with them? 2) Since no management tools also get installed, how can the instance in SQL be managed? Specifically how would you limit the memory that this instance is using up? I'm... | Windows System Resource Manager, Windows Server Update Services, and Active Directory Rights Management installs the "Windows Internal Database" engine, which is a flavor of SQL Server (think 2005). I haven't tried this myself, but you could probably download the SQL Server 2008 Express tools and connect to the engine ... | 2 | 2 | 449 | 2012-10-24T15:01:06.120 | infrastructure | serverfault.com | |
1,073,377 | Limit exceeded for cluster creation on Azure Kubernetes, where to cleanup? | I have deleted the old clusters by deleting the resource group completely. But when I try to create a new cluster, I am getting error as limit exceeded. As you can see in the below error. {"code":"InvalidTemplateDeployment","message":"The template deployment 'microsoft.aks-20210803135741' is not valid according to the ... | If you have deleted the resource group, and it has completed OK then this should not be using your core quota. If there is nothing else in your sub using the core quota then you would need to raise a support ticket to get that resolved. However, the easiest solution is just to raise the quota. You can do this by raisin... | 0 | 1 | 680 | 2021-08-03T08:32:53.853 | data_quality | serverfault.com | |
34,564 | MySQL Create table syntax error | [CODE] Produces [CODE] Doesn't work. However if the 'l' at the end of 'interval' is removed. It works. [CODE] I don't understand if this is a problem with attempting to use 'interval' and 'interval_count'. What's going on here. | The word "interval" is a reserved word. You can still use it if you quote it correctly. See the MySQL Manual for a list of the reserved words and how to use them. In fact, "interval" is the first example in the link provided: [CODE] | 1 | 3 | 4,959 | 2013-02-12T04:02:08.417 | database_errors | dba.stackexchange.com | |
557,881 | Nginx configure to handle request from Redis | I'm trying to configure handle request direct from nginx using redis cache, cache already added to redis the problem is to configure nginx get the cache from redis URL is like http://example.com/action.js?param1=10¶m2=text Redis key is depend on param1 in the following example it use the full path as the key for re... | from http://wiki.nginx.org/HttpEchoModule#Variables [CODE] | 2 | 1 | 3,315 | 2013-11-27T19:16:39.460 | database_errors | serverfault.com | |
157,555 | Scoring/analysis of Subjective testing for skills assessment | I am lucky in the sense that I have been given the opportunity to be a 'Technical Troubleshooter' for our offshore development team. While I am confident and capable of dealing with most issues, I have come across something that I am not. Based on initial discussions with various team members both on and offshore, a re... | A "skills assessment" to me sounds like the classic problem of mixing requirements with solution. I would backtrack and document the business problem and expected benefit. I don't know the specifics in your case, but an example might be: Problem: "40% of the candidates we hire do not meet our needs, which causes our te... | 4 | 1 | 1,559 | 2012-07-20T08:13:52.730 | data_quality | softwareengineering.stackexchange.com | |
547,905 | Debian's Wordpress with broken plugin path? | I've installed an Wordpress from Debian Wheezy package system and the plugins folder appears to be broken. As stated in the error log files of Apache2: [CODE] The plugins are looking for an URL based on the full path, and not on the relative path. I can "temporary fix" the problem making a symbolic link to /var on the ... | I've found the solution. The problem was in the file: /etc/wordpress/config-myblog.com.php The line: [CODE] Should be: [CODE] It's strange because the first directory is just a symlink to the second one, since I'm only hosting one blog in this machine. But this solves the problem. | 2 | 0 | 739 | 2013-10-22T19:36:40.340 | infrastructure | serverfault.com | |
646,616 | How to release the physical and virtual memory used from the mysql server? | Several php scripts are executed via crontab on my CentOS 6.5, every php script contains a least one database request. Depending on the size and type of the php object, too much physical memory is allocated by mysqld service in some specific cases. Sometimes, there is only 15MB free memory from 1.7GB, the swap memory i... | If it's the MySQL eating up all the memory, then you have to tune down its values or increase the server RAM. If you have told MySQL that it can have 16 GB of RAM but only 8 GB is available, well, then things do happen. You don't keep a party for 20 people in your average hotel room just to find out that the room is to... | 0 | 7 | 5,435 | 2014-11-24T11:51:47.783 | database_errors | serverfault.com | |
1,103,643 | Proxy all requests from Nginx to a backend, except one static file | I use Nginx to reverse proxy a backend API. However, I would like Nginx to serve one static file named "readme.html" when a request is made to "/". I did extensive research. The most promising solution seemed to be that one: https://stackoverflow.com/a/15467555/2237433 . Trying to apply that solution to my case, here i... | You can explicitly rewrite "root" request URI: [CODE] Or you can use [CODE] as your index file: [CODE] | 1 | 0 | 2,194 | 2022-06-20T01:57:27.543 | pipeline_ops | serverfault.com | |
211,212 | Use of ANY function for multiple values | I am trying to use the ANY function of PostgreSQL to search the value from array interger type column. My SQL: [CODE] But it is giving me below error: ERROR: operator does not exist: integer[] = integer Can anyone tell me why I am getting this error while I am typecasting it? Expected Result should be like: [CODE] | The reason for the error is that your code compares an array to an integer, i.e. the array in the column with any of the values in the array [CODE] . From the comments, it seems that the wanted result is when the two arrays (column and given array) have at least one common item, i.e. they overlap. The operator for "ove... | 4 | 4 | 9,648 | 2018-07-03T08:45:06.317 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.