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 |
|---|---|---|---|---|---|---|---|---|---|---|
280,325 | fast, say O(log2(N)), sliding median algorithm | So I know how to do a fast O(log2(N)) sliding max or sliding min algorithm. Brookes: "Algorithms for Max and Min Filters with Improved Worst-Case Performance" IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: ANALOG AND DIGITAL SIGNAL PROCESSING, VOL. 47, NO. 9, SEPTEMBER 2000 But I just cannot figure out how to do a slidi... | See https://stackoverflow.com/q/5527437/10396 for an implementation of a rolling median that uses a min-max heap to process each new sample in O(lgN). The heap keeps the data loosely sorted into two groups, one bigger than the median, one smaller. For each new sample, it swaps the the oldest item in the heap with the n... | 3 | 2 | 1,911 | 2015-04-28T00:12:00.753 | api_errors | softwareengineering.stackexchange.com | |
664,933 | Debian Wheezy, bind and generic config with views | I'm struggling for a last couple of days to make my [CODE] work. I believe, it have a very generic config, but somehow it won't serve a proper IP of my server to local clients, when the domain name is used ( [CODE] ). System is Debian Wheezy. [CODE] does not report any errors. Configs are as follows: /etc/bind/named.co... | From what I see the names of your config parts are misleading (furthermore, I can say that the Debian tradition of splitting one decent config file to over 9000 includes is misleading and counter-productive in general). Considering this : [CODE] I can say that your [CODE] is processed first, thus your local clients are... | 0 | 1 | 506 | 2015-02-04T13:44:25.363 | infrastructure | serverfault.com | |
885,763 | PHP not loading sqlsrv extension | I'm having trouble getting PHP to use Microsoft's [CODE] extension on 64bit Windows server 2012 R2 running IIS and PHP 7.1.7. When I run [CODE] I don't see that the extension has been loaded. I'm assuming I should be looking for [CODE] as the the extension name. There is also no error in the PHP error log of any sort o... | The first problem, which I haven't solved yet is my php error log isn't showing extension loading issues unless I change the log file name. After changing the log file name I received the following error: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\v7.1\ext\php_pdo_sqlsrv_7_nts_x64.dl... | 2 | 2 | 16,113 | 2017-11-29T15:18:51.793 | database_errors | serverfault.com | |
482,797 | ModPagespeed – Proxy Publisher Failure TIMEOUT | There's a certain website I visit repeatedly. Sometimes everything's okay, but from time to time I get the following error message while loading the page: [CODE] where "FAQ" is linked to http://code.google.com/speed/pss/faq.html#publisherfailure At the same time, the URI rewrites 'itself' to [CODE] I only encountered t... | This sounds like a broken origin server, which is (intermittently) failing to return a response to the PageSpeed Service proxy. This shouldn't have to do anything with your browser or operating system - if you can prove otherwise, that would be really interesting... Long story short: should ping the site owner to notif... | 0 | 0 | 1,379 | 2013-02-26T22:55:35.093 | infrastructure | serverfault.com | |
229,601 | Oracle DB union two select statements which return multiple rows | I am trying to create a union inside a stored procedure which unions two select statements. One of the select statement returns two or more rows. Thus I get the error "exact fetch returns more than requested number of rows", which occurs of course because I have more than 1 row being retunrned from the second select st... | Code Review Always define variables types with [CODE] where it makes sense. This way, when the table changes, you don't have to go back and fix code. Bulk Collect When you are receiving multiple rows from a query, you need to [CODE] a collection. Defining a Record, then a Table Type is one way to define a Collection Ty... | 0 | 0 | 1,088 | 2019-02-13T10:27:31.027 | pipeline_ops | dba.stackexchange.com | |
881,535 | Hyper-V fails to start any virtual machine | I just reinstalled the operating system, Windows 10, on my machine. Previously, I was able to use Hyper-V without problems, with the exact same OS image, but now it doesn't work. I have created an empty virtual machine, just with a virtual disk, and the default options. When I try to start it, I get the following error... | Maybe the Hypervisor "forgot" to start automatically, you can try to use the following command in an elevated command prompt: [CODE] | 4 | 3 | 7,273 | 2017-11-02T14:37:02.540 | infrastructure | serverfault.com | |
837,378 | How to verify RSA fingerprint for Linux AWS instance from Windows | The instructions for connecting to AWS Linux AMI states that when using putty, you should locate the SSH HOST KEY FINGERPRINTS section and note the RSA fingerprint. I am running the "aws ec2 get-console-output ..." CLI command but see nothing that looks like this fingerprint in the console output? I had then thought th... | The message seems to have changed, but the documentation has not. Look for lines like "Generating public/private rsa key pair". There will be several, one with "rsa", another with "dsa" and a third with "ecdsa". For example: [CODE] The key you're looking for would in this case be [CODE] . It's a much less convenient an... | 0 | 0 | 963 | 2017-03-10T00:26:42.613 | infrastructure | serverfault.com | |
734,915 | Custom URL for Google Apps | Requirement: I want to create custom URL to access my company google apps account. Ex: mail.companyname.com Effort made: https://support.google.com/a/answer/53340?hl=en Error : users are still able to access email from gmail.com Expectation:Employees should be able to access email through this custom URL only. | The original google URL will always still work. Your custom URL doesn't replace it, but works in addition to it. | 1 | 1 | 426 | 2015-11-09T10:27:07.903 | infrastructure | serverfault.com | |
1,042,913 | Why mails sent internally, disappear upon arrival? | I have a problem with internal mail flow. On one shared mailbox I have this issue, that when email is sent to it, some users don't get it. It's Microsoft Exchange Server 2016. I did use Test-Mailflow and was logged in over OWA, to confirm this case. What I have seen is that I have successful Test-Mailflow Result, and m... | Check your filters and rules. A filter/rule could be moving the emails to an obsolete folder and thus removing them. | 0 | 1 | 239 | 2020-11-17T14:34:53.580 | infrastructure | serverfault.com | |
496,775 | Mails are not getting delivered | I am facing the below error while sending the mail to yahoo and I have configured policyd on my server. [CODE] Please help me regarding this. | The error message: [CODE] probably means that your hosting provider blocks port 25 outbound unless you ask them to open it up for you. It may mean you have a firewall on your host machine that isn't allowing port 25 outbound. This is usually done because so many people configure their mails servers to be open relays or... | -1 | 2 | 56 | 2013-04-06T09:24:12.033 | infrastructure | serverfault.com | |
54,546 | How would you interpret the following vmstat output? | Consider the following five machines (named c, h, j, s and u) and their respective [CODE] outputs. Given the information from the vmstat output: Which machines would you consider being in a good shape? Why? What's your reasoning? Which machines would you consider being in a bad shape? Why? What's your reasoning? How wo... | Too short periods. It would be better to have vmstat 60. Well, nevertheless: c - is OK. h - has something in si/so. Taking into account the large swpd, if you find the performance less than acceptable, add 521-1024 MB more RAM (892948 kB ideally). j - is OK. s - is OK. A little bit swpd, but no si/so. u - has quite a l... | 11 | 5 | 8,915 | 2009-08-15T09:58:17.470 | infrastructure | serverfault.com | |
261,333 | Representing category splits in a personal finance database | I'm working on developing a personal finance applications (e.g. Quicken/Mint.com/etc..). I plan to store the data in a SQLite database. I'm stuck trying to determine how I want to represent splits in the database. Each transaction will be assigned a category such as "Food and Dinning" or "Rent". However, a single trans... | The table design for a double entry bookkeeping system has been pretty well understood for the last 35 years. You should be able to find hundreds of examples on the web. You may be able to find a model in the Data Models website. Double entry bookkeeping is probably overkill for personal finances, but you can probably ... | 1 | 1 | 1,490 | 2014-10-30T08:39:35.013 | api_errors | softwareengineering.stackexchange.com | |
777,900 | Using the service.check_command variable in Icinga2 action_url query string | I'm trying to make an [CODE] which will dynamically link from IcingaWeb2 to Grafana graphs. I have it working up to a point, but I'd like to add another variable...the [CODE] [CODE] variable, and it's not working...I assume I need to set that environment variable somewhere? I'd like this to work: action_url = " http://... | You cannot really use macros for that, because *_url is a configuration field. The web interfaces try to do some expansion, but can't handle everything. I'd recommend something like this in [CODE] : [CODE] Hope that helps | 1 | 2 | 1,777 | 2016-05-20T00:10:11.903 | bi_errors | serverfault.com | |
472,701 | Linux high load with ImageMagick convert utility and server freezes (blktrack output attached) | I'm using ImageMagick to convert a JPG to TIF file, and I'm using the limit options for Imagemagick as below: [CODE] When I run the above command the load on the server suddenly goes very high and the CPUs get in wait state for most of the time as below: [CODE] The iostat during this shows the following: [CODE] I'm not... | I have run your exact command line (although with a different picture I presume ;-) ) with and without the limit options. And I understood the problem: the limit options unit are in bytes. What does it mean? You set 256B for the maximum memory and 512B for the file mapping in memory. Thus instead of having nice big chu... | 3 | 2 | 2,440 | 2013-01-26T21:00:53.710 | infrastructure | serverfault.com | |
161,435 | best way to do the compile and check cycle | I am trying to learn lua and am experimenting on my linux machine. I am not a programmer, so I am looking for your help to give me some suggestions. What I want to accomplish is making my compile-rewrite-recompile cycle as efficient as possible. Here is what I do. I am using vim in one window to program. I have a shell... | Assuming you have your shell pane to the right of your Vim pane, and you want to use F6 as tdammers suggested, try this mapping: [CODE] . That way the shell pane is selected after make is run. You'll have to use regular tmux commands to switch back to Vim, of course. EDIT: The [CODE] > in the above mapping (which redra... | 1 | 1 | 290 | 2012-08-18T12:19:16.787 | api_errors | softwareengineering.stackexchange.com | |
155,704 | Efficient Trie implementation for unicode strings | I have been looking for an efficient String trie implementation. Mostly I have found code like this: Referential implementation in Java (per wikipedia) I dislike these implementations for mostly two reasons: They support only 256 ASCII characters. I need to cover things like cyrillic. They are extremely memory ineffici... | What are you using this trie for? What is the total number of words that you plan to hold, and what is the sparseness of their constituent characters? And most important, is a trie even appropriate (versus a simple map of prefix to list of words)? Your idea of an intermediate table and replacing pointers with indexes w... | 14 | 2 | 5,203 | 2012-07-05T11:25:42.027 | api_errors | softwareengineering.stackexchange.com | |
251,643 | Which language introduced the idea of private (hidden) variables? | I know C++ had private variables inside classes, and Java, C#, Javascript, and others picked up on that and ran with it. Aside from variable scope, most languages before that just made everything visible. Certainly in assembly, all of memory is accessible (except as limited by hardware). But was C++ the first language ... | One form of Javascript encapsulation is one of scope . There aren't modules as such - people just stuff things inside a function ( [CODE] ) and the things inside of that function can't be used outside. You can hide quite a bit in local scope, and many languages have had it (though arguably, without first class function... | 6 | 8 | 813 | 2014-07-29T22:48:33.983 | api_errors | softwareengineering.stackexchange.com | |
405,638 | Windows 2008R2 two node failover cluster creation fails | We have just installed two Windows 2008R2 Enterprise machines with identical hardware. When running the cluster validation everything is ok. When creating the cluster it fails with the following error: An error occurred while creating the cluster. An error occurred creating cluster 'CLUSTER04'. The parameter is incorre... | The fault was the number of ACL's applied to the computer object, after reducing the number of ACL's the creation of the cluster succeeded. | 0 | 2 | 737 | 2012-07-07T09:15:03.003 | data_quality | serverfault.com | |
35,259 | SSMS 2008 Object exploer not showing | Has anyone seen this issue. I am using SSMS 2008 (x64 Version 10.0.5768.0) on Win 2008 R2 machine. Management studio crashed and then when I launch it, it doesn't show Object Explorer even when I hit F8 or select it from View. The only time it works is when I select full screen. Thanks! | Nevermind.. I just fixed it... something might have been corrupt in my local profile setting. Renamed the SQL folder in Local and Roaming of App folder and it is working now. Thanks! | 3 | 2 | 74 | 2013-02-22T15:22:36.853 | warehouse_errors | dba.stackexchange.com | |
557,890 | classic asp app not working in IIS 8.5 | I've moved my classic asp app to win 2012 R2 (IIS 8.5). This app uses COM component. I've registered this component using regsvr32 and also exported older components from II 6 to II 8.5. I can see those components in control pane->component services. This app is not working properly. Code include Server.CreateObject("m... | Newer versions of IIS run under the ApplicationPoolIdentity account. If you go into the advanced settings for the application pool, you can try changing the identity under the process model section to NetworkService(What iis used to use, considered less secure now) or you can change the permissions to a different accou... | 2 | 3 | 14,940 | 2013-11-27T19:58:58.107 | infrastructure | serverfault.com | |
791,553 | Logs concerning failed IAX2 registration attempt missing on Asterisk server | I am trying to register a VoIP softphone (Zoiper app for iOS) with an Asterisk installation via IAX2. At present, this results in an error message "Registration Refused (29)" on the side of the softphone. Can I obtain more information about this error from the side of Asterisk? At present I don't see anything related i... | There are multiple logs in [CODE] , check them all Debugging from the console You can also start asterisk from the console and enable debugging for [CODE] [CODE] Then try connecting again from your client. You should see more info on the console. For more info in [CODE] debugging [CODE] And this asterisk*CLI> core show... | 3 | 3 | 3,590 | 2016-07-23T07:42:30.307 | infrastructure | serverfault.com | |
289,917 | Yum, OpenSSH and dedicated server over ssh | Quick question: In [CODE] there is [CODE] but I really need jailed root functionality (available from 4.8b1 I think). I am working on a dedicated server over ssh. Is it safe to yum remove openssh and then install newer version or will I loose connection once removed openSSH and will be unable to install new version/con... | While it is true that you can [CODE] or [CODE] , you only get security patches in RHEL updates -- very rarely new features. The current version in RHEL 5 is 4.3p2-72.el5_6.3 which probably doesn't have the chroot features you want. The good news is that you can build a RPM of the new(er) release that has the feature, t... | 0 | 1 | 288 | 2011-07-13T14:00:13.200 | infrastructure | serverfault.com | |
120,843 | mysqldump doesn't create tables or import any data | I am trying to import a mysqldump into a new database. When I run: [CODE] I get the following output: [CODE] However, when I look at the testimport database, there are no tables and no data. Even if I export a working database by: [CODE] and then import: [CODE] I get the same output, but nothing is imported into the [C... | You want to run the dump through the mysql client. Example: [CODE] | 16 | 35 | 34,425 | 2010-03-09T17:51:44.837 | database_errors | serverfault.com | |
272,440 | Optimizing a MySQL table for intense use | I have a table. Due to the nature of the website, in that table, if i have 400+ users or so, it will have in it inserted 100,000 new rows per hour. If i have near 4000 then for 2 hours or so, i will have a minimum of 500,000 rows inserted. This means about 800-1000 inserts per second, probably even way more than that. ... | it all depends on your usage pattern - do you need high performance for lookups in this table? will lookups be evenly distributed across the whole table or just latest data? if selects will mostly hit recently inserted rows - consider partitioning - check this and that . myisam almost + heavy write load sounds like a b... | 3 | 3 | 104 | 2011-05-22T12:11:41.890 | database_errors | serverfault.com | |
101,982 | How to set user-level security in 2007+ MS Access? | I've read this MS info which should cover my problem. There are quite clear steps: Open the .mdb or .mde file that you want to help protect. On the Database Tools tab, in the Administer group, click the arrow below Users and Permissions , and then click User-Level Security Wizard . The problem: I don't see "Users and P... | As I was stuck in not seeing "User-Level Security Wizard" , I made my way to access it by including this item to the custom ribbon tab: After that I was able to continue and create users for the DB. | 2 | 2 | 7,407 | 2015-05-20T04:27:57.950 | warehouse_errors | dba.stackexchange.com | |
327,453 | Can this batched insert be optimized with a #TempTable? | I have this task of importing rows from a source table to a destination table while doing some mapping of columns on the way. The rows are identified by a GUID, and only rows not already present should be imported. The job needs to be batched to enable interruption and resumption and to avoid excessive log growth. The ... | It seems like it might be better to just loop a range of dates to insert. For example: [CODE] Just keep track of the start and end, and increment them by a fixed amount on each run. If you are really set on batching it by a fixed number of rows, you can still use similar logic, keeping track of the top value. This tech... | 1 | 4 | 100 | 2023-05-23T21:04:46.283 | api_errors | dba.stackexchange.com | |
69,014 | Oracle Partition Table Space Issue | I have a table with list partitions on it. When i insert data i see that all the partitions have default initial size of 8 MB and I also noticed that when i truncate full table and check size it still shows 8MB for each partition even when they are empty. Can someone help me understand what could be causing these parit... | You don't mention your version - but assuming 11.2.0.2 -> 11.2.0.4, see My Oracle Support doc ID 1295484.1 "Initial Extent Size of a Partition Changed to 8MB from 64KB After Upgrade to 11.2.0.2 or Later" I won't copy and paste chunks of that doc here, but that's how it works in 11.2.0.2 and up. If you feel the need to ... | -1 | 1 | 2,278 | 2014-06-25T14:41:41.870 | database_errors | dba.stackexchange.com | |
307,044 | How do I prevent puppet interfering with manual server changes | A lot of our server configuration is managed via puppet. Puppet runs every 15 minutes via cron and applies configuration changes. If a server has problems I sometimes need to change configuration manually on the server (e.g try different settings, enable more logging). The problem is that puppet then overwrites my manu... | What I normally do is the following Manually stop puppet on that machine Have a nagios or monitoring tool of your choice alert that will warn me when puppet hasn't been run for more than 2 hours If you want to be extra cautious also make a pupet watchdog, one that checks that the /var/run file is in place, if you stop ... | 5 | 13 | 1,638 | 2011-08-31T23:18:19.213 | pipeline_ops | serverfault.com | |
15,328 | What is the proper AWS IAM policy for access to a single bucket that allows stacking? | I am working on a buildout where I am doing the following. Eventually I will need to make this scalable so I am not doing this manually each time. I have several clients dumping data into S3 buckets. Each client needs R/W access to just that bucket. For that, I can use this policy [CODE] On my end, I have several analy... | Let's start at the end: it looks like DenyAllOthers parts are causing the user to not have S3 access. Indeed: By default, all requests are denied . (In general, requests made using the AWS account root user credentials for resources in the account are always allowed.) An explicit allow in any permissions policy ( ident... | 1 | 1 | 415 | 2022-01-25T17:32:46.920 | bi_errors | devops.stackexchange.com | |
1,032,233 | Windows Server 2016 DFS-Replication backlog issue | I have 6 servers running Windows Server 2016 File Server DFS replication. I'm having trouble with my DFS File server replication, the report generated from the health report and [CODE] Result: [CODE] keeps on increasing, not decreasing. I have checked, that all of my File Servers are online and with more than 40% of fr... | So as already mentioned, the backlog increase can be caused by staging quota being too small. To narrow down the issue, you should be able to trace this by 4202, 4204, 4206, 4208, 4212 events. These can be logged on source or destination servers. There are other possible reasons for the issues you are seeing. Here is a... | 5 | 7 | 3,188 | 2020-09-01T05:58:28.480 | database_errors | serverfault.com | |
279,683 | archive_command: Can hardlink (ln) be used instead of cp? | We use Postgres 9.6, with 10+TB, with a multi-node cluster setup, managed by Patroni. The WAL archives and backups are managed by home grown tool [CODE] . The [CODE] was initially set to [CODE] . There is a background job ( [CODE] ) that pushes the archives to S3 periodically. The volume of WAL archives was higher (avg... | No, that is not an option and will lead to trouble. The first and most obvious reason is that the WAL segments exists only once, even if there is a hard link to it in another directory. If anything happens to the disk with the file, you have no copy and cannot recover. The second reason is more subtle and will lead to ... | 3 | 4 | 324 | 2020-11-14T08:57:44.683 | hadoop_errors | dba.stackexchange.com | |
842,040 | Ubuntu: setting up email server with multiple domains | I have a website setup on server-A, which is a shared hosting. I would like to host my emails on different server lets say on server-B (Digital ocean VPS) due to space issues. I have checked different tutorials online, but failed to create a scenario of mine. I want server-B to be an email server, I can install, postfi... | All you need to do is to set up an MX record, pointing mails for [CODE] to [CODE] . In BIND style: [CODE] Of course, you won't set up the MX records on "Server-A", but on your DNS server (which hopefully is different), and [CODE] must point to your "Server-B". | 1 | 0 | 1,119 | 2017-04-02T09:32:06.040 | infrastructure | serverfault.com | |
150,525 | How do you handle database security from a desktop application? | For about 10 years I've worked on various in-house desktop client applications with SQL Server data stores. Rarely did I start these projects - most are takeover work. One thing that seemed constant everywhere was that there was a single global SQL Server user account that this application used that granted it permissi... | I'm afraid adding a Web Service layer is probably the correct solution to your problem. Separating the client from the underlying database implementation will probably help you in the long run too. Adding a web service layer doesn't necessarily have to hurt performance... Indeed, with an appropriate API, a web service ... | 14 | 11 | 9,106 | 2012-05-28T17:37:20.377 | api_errors | softwareengineering.stackexchange.com | |
185,931 | 139 : Failed with error 'aborted', from rs4 to rs1 | aborted in mongodb in logs i found 2017-09-14T01:35:21.533+0900 W SHARDING [conn38309] Chunk move failed :: caused by :: ChunkRangeCleanupPending: can't accept new chunks because there are still 4 deletes from previous migration 2017-09-14T01:35:11.439+0900 I COMMAND [conn38309] command admin.$cmd command: moveChunk { ... | Ok, fast solution is give (at every shards PRIMARY) command rs.stepDown() what makes that PRIMARY status is moved to other node. That will release those (delete) locks. OK, result is so called orphan chunk, but that is not a problem, just little bit more diskspace usage. | -1 | 0 | 595 | 2017-09-14T08:06:24.117 | database_errors | dba.stackexchange.com | |
551,621 | Remote Desktop Clipboard Sharing - Security Risk? | If I connect to a server with RDP and share my clipboard with the server, are there any security risks of my clipboard being availble to other people logging onto the same server? e.g. I have a password saved in my local clipboard I connect to the server " [CODE] " using Remote Desktop, username " [CODE] ". My local pa... | I just tried it using the regular RDP client to a Windows Server guest. With clipboard off, it is "cleared" when a user connects to the guest. With clipboard sharing enabled on connection, it uses the contents of the connecting user's clipboard. So, there is no security risk in allowing shared clipboards. | 1 | 2 | 1,504 | 2013-11-08T11:53:58.530 | infrastructure | serverfault.com | |
56,911 | ssis convert ddmonyyyy dd/mm/yyyy | Hi guys trying to convert 16JAN2014 --> 16/01/2014. Any ideas??? i'm trying to avoid the horrendous expression of ? JAN : 1 ? FEB : 2 etc. etc. SSMS will quite happily do SELECT MONTH('16JAN2014') to get me the number of month however MONTH( "16JAN2014" ) will not work in SSIS. hmmm... tried code but keep getting error... | Use a Script Component to perform the conversion! Be sure to set your read / write variables of course! It's quite easy for use specific locale settings with the .NET framework, so a Script Component should be superior than trusting the database to correctly do the conversions for you. Using a Script Component to Parse... | 3 | 6 | 5,840 | 2014-01-16T14:15:13.410 | warehouse_errors | dba.stackexchange.com | |
832,705 | Concurrent uploads in SFTP | I'm trying to establish an ubuntu server designed to allow SFTP. The SFTP works, however I want to make sure that files don't upload concurrently. For example, if i was uploading [CODE] it's important that the server receives these in the order that they're uploading, if the server receives the finish file before one o... | SFTP doesn't care at all about this. Either change your system on the server side so it doesn't create an issue or on the client side so this problem is taken into account and the files are uploaded one after the other. | 1 | 2 | 361 | 2017-02-15T14:26:59.243 | infrastructure | serverfault.com | |
1,116,326 | Issue with 'mkdir(): No space left on device" in Docker Container. Might be some other issue though? | I have some docker containers (NGINX / PHP, MySQL, etc.) that have been running fine for years. However, recently I started seeing this error when running a PHP script in Laravel in the NGINX / PHP container. [CODE] From what I can tell, it looks like it is being thrown / generated when the web app tries to send an e-m... | There is no limitation to the amount of disk a container can access by default. There is an option available but restricted to some storage drivers: storage driver options More likely there is no more space left on the host device where the docker containers are running. You can verify it running: [CODE] Another reason... | 0 | 1 | 864 | 2022-11-22T14:44:56.163 | database_errors | serverfault.com | |
134,518 | Database design for a lot of rows with data archive | i'm new to database design on larger scale. I have some knowledge and experience with MySQL but now i have some performance issues. Currently i'm using MySQL with 3 databases: History Snapshot Static In history database i'm inserting data. For one user there are approx 5mio rows on month (users are slowly growing every... | A sliding time scale is very efficient by using [CODE] . Implement 14 hourly partitions using [CODE] . Use [CODE] to create a new partition every hour. Use "transportable tablespaces" (assuming you are using 5.6, or preferably 5.7, and InnoDB) to move the 'old' partition away from the main table to the archive table. M... | 0 | 1 | 866 | 2016-04-06T11:38:54.713 | hadoop_errors | dba.stackexchange.com | |
826,479 | Ubuntu 16.04 - frozen mdadm array | I had a working RAID5 array consisting of 6 4TB disks. Smartd reported that one of the disks started failing. I decided to do several things in one operation: 1) remove the failing disk 2) add new one to replace it 3) add a few more disks to the array and grow it Since I only had smaller disks for (3) I used LVM to joi... | Using LVM for this was indeed a mistake. Not only does it make an unnecessary complicated storage stack for anyone other than its creator, MD arrays are built before LVM arrays, requiring you to manually invoke MD scanning on your LVs that are acting as MD members. Additionally, avoid the use of kernel device names in ... | 3 | 8 | 1,938 | 2017-01-16T06:12:05.117 | database_errors | serverfault.com | |
71,653 | MySQL Cluster ndb_desc and parttions | I have mysql cluster with two datanodes and noofreplicas=2. According to documentation there must be 1 nodegroup, 2 partitions and 4 parts at all (2 primary and 2 backup). I have a table with 1000000 rows. I want to know how they distributed. [root@localhost ~]# ndb_desc users -d test_1 -np -- users -- Version: 10 Frag... | With [CODE] and two nodes, you will have [CODE] , meaning that you have no sharding at all (or one shard, as you prefer). All your partitions will be in both nodes. Your cluster will provide you high availability and better read throughup, but not write scaling . What you show are the statistics for the table users, if... | 1 | 1 | 456 | 2014-07-16T13:00:23.807 | api_errors | dba.stackexchange.com | |
267,663 | Create a key-preserved view across Oracle tables with descending indexes | I'm trying to create an updatable view between two Oracle tables which have exactly the same key structure. The existing tables are created by an ERP system and: Do not have primary keys - only a unique index. All fields are non-null, but one of the composite index fields is descending. Is there any way I can create an... | if you are not required to create view, but just to update using join, then we can use a workaround with a MERGE statement. [CODE] | 1 | 1 | 188 | 2020-05-22T04:18:25.233 | database_errors | dba.stackexchange.com | |
895,175 | How to free my IP if it was mistakenly blocked by SSHguard? | I use Ubuntu 16.04 server xenial. I use SSHguard in default conf (I didn't add any conf whatsoever). How to free my IP if it was mistakenly blocked by SSHguard? Say there was some kind of bug in SSHguard (as happened to me in the past with CSF-LFD) and my IP was blocked, how could I free it in SSHguard after logging in... | The Ubuntu Xenial [CODE] package creates a [CODE] firewall chain for both [CODE] and [CODE] (see file [CODE] if interested by details). So if you look into them you should find a rule banning your IP: use [CODE] . (I suppose from now on you are speaking about an IPv4 address, if it is IPv6 please replace [CODE] by [COD... | 6 | 14 | 13,427 | 2018-01-30T02:08:54.087 | infrastructure | serverfault.com | |
449,740 | Why is my bandwidth averaging 3 kbps on a 10 mbps device? | I have a server with a 100 mbps port and connection that I rate limited to 10 mbps/full duplex because I am only paying for a 10 mbps connection and there are steep overage charges. Ever since then, the bandwidth has absolutely plummeted. I turned off autoneg because I otherwise would not be able to limit the rate to 1... | You have created a duplex mismatch. Your port is set to 10/Full and your ISP's port is set to 10/Half. Either set your port to half-duplex (highly undesirable) or contact your ISP and ask them to set their port to 10/Full. According to Cisco's official training material for their most basic networking certification: Wh... | 3 | 7 | 358 | 2012-11-17T17:30:35.673 | api_errors | serverfault.com | |
145,053 | Solr vs 'this' word | There is a smal problem with solr. When I try to search text containing the word 'this' by issuing 'this' in the search console, solr doesn't find anything. However there are no problems with other words. Is it sort of reserved word or something like that? | Yes, 'this' is included in the list of default stop words . Please see the section titled solr.StopFilterFactory in the docs. Please also see the solr.KeepWordFilterFactory section. | 1 | 7 | 535 | 2010-05-25T12:42:15.697 | infrastructure | serverfault.com | |
203,956 | How can I access an internal server using a dns path? | Our build server is hosted in our office, but is accessible from the outside via build.mydomain.com. I have a dns entry on rackspace that points to the office firewall which in turn forwards :80 requests to the internal webserver. This works great from outside the office. I just go to http://build.mydomain.com and it w... | Split Horizon DNS Either ask Rackspace if they can configure it (I don't know if they support it). Or run your own internal DNS server with the proper configurations. | 2 | 4 | 4,487 | 2010-11-19T15:25:36.373 | infrastructure | serverfault.com | |
2,627 | Is it possible to create a robot account in bitbucket without creating a new email account? | Introduction According to this article a user account could be given to a robot for Continuous Integration purposes. Method The IT department created a new email account, this was used to login to the git repository, a ssh key was created, the public key added to bitbucket and finally the jenkins user was able to creat... | After doing some research and comparing various documents it seems that a bot account is basically a real user account and needs a separate email account in order to create such an account as using an email account to register a new account results in, e.g.: [CODE] . Combined with quote retrieved from the link that is ... | 6 | 4 | 3,753 | 2017-11-22T22:22:29.187 | pipeline_ops | devops.stackexchange.com | |
674,051 | DFS Namespace inaccessible when PDC is unavailable or moved | Our current setup uses two DFS servers acting as referral servers for our DFS Namespace. The data is replicated from the Live server to the DR server at our second location. The aim is to have the second server be always live for referrals but the folder targets are only enabled for the LIVE site. This all works fine w... | I have figured out the issue, it all stems from the default settings of the DFS Namespace environment. We are using a DNS only environment so need to recreate the DFS Namespace to DNS Only and to accept FQDN referrals, essentially following this article: https://support.microsoft.com/en-us/kb/244380 I had planned to do... | 0 | 1 | 8,873 | 2015-03-09T14:51:59.637 | database_errors | serverfault.com | |
405,391 | tmux won't run as non root user? | If I run tmux as root, it runs normally and fully functional. I created a couple users, and it will not run as any of the users. [CODE] I checked the outside $TERM is xterm and inside $TERM is screen as FAQs suggest that is most common cause of problems. I've used tmux regularly on many different systems, but I on this... | A more general way to solve a problem of this nature: [CODE] Look for [CODE] / [CODE] errors right before it exits - might find a general reason behind why you're getting this error (that is, see what directory it was trying to create, then make it manually and observe the error, it might be that it's trying to make [C... | 11 | 10 | 11,855 | 2012-07-06T14:06:22.657 | infrastructure | serverfault.com | |
268,274 | Can I use blockdev --setra on a formatted device or exisiting RAID Array? | I have an existing RAID Array and I want to increase the readahead setting. But the device has already been formatted and contains data that I cannot afford to lose. I'm unfamiliar with the blockdev command. Is it safe to run blockdev --setra=xxxxx on devices that have already been formatted? Will running the following... | "blockdev --setra" is perfectly safe. We have it in our init scripts to run on every boot on a couple of servers. You probably want to do the same after you have benchmarked a few values and decided which is best for your workload. | 2 | 3 | 3,495 | 2011-05-10T17:56:32.087 | infrastructure | serverfault.com | |
309,985 | where on multiple join postgresql | I have problem when query using postgresql I have several tables: numbers: id phone 1 08211111 2 08211112 domains: id name is_blacklisted 1 abc.com 0 2 123.com 0 3 456.com 1 domain_groups: id name 1 alphabet 2 numeric domain_group_domains: domain_group_id domain_id 1 1 2 2 2 3 number_domain_history: number_id domain_id... | if I want to select number by domain history where domain.is_blacklisted = 0: You only need three tables: numbers domains number_domain_history You can use a simple inner join: [CODE] Result: [CODE] Demo How can I perform search by times on number_domain_group_history ? ex: number_domains_group_history.times > 0 Simple... | 1 | 0 | 1,677 | 2022-03-21T15:14:01.740 | database_errors | dba.stackexchange.com | |
443,509 | ICMP Redirect Theory VS. Application | I'm trying to watch ICMP redirects in a lab using Cisco Packet Tracer (version 5.3.2) and I'm not seeing them, which leads me to believe that either my lab configuration isn't correct or my understanding of ICMP redirects isn't correct or that Packet Tracer doesn't support/use ICMP redirects. Here's what I believe to b... | This is three years old, but browsing old unanswered upvoted questions, so here goes: it's Packet Tracer's fault. I'm extrapolating from How to disable ICMP redirect packets in Cisco IOS? Notes: One should avoid ICMP redirects to begin with, their only use is in a sub-optimally designed network and even so the network ... | 4 | 2 | 716 | 2012-10-29T21:36:12.510 | infrastructure | serverfault.com | |
46,845 | Why can't the schema owner create a new table? | I have a DB user called STANMAN which owns the STANMAN schema. When I try to create a table as STANMAN, it says STANMAN has insufficient privileges. How could a schema-owner not already have sufficient privileges? Naturally, when I try to GRANT ALTER or GRANT CREATE, I get "Cannot grant, deny, or revoke permissions to ... | If you are using SQL Server 2005 or later then to create an table in a schema you need both CREATE TABLE at the database level and ALTER at the schema level. Ownership of a schema covers the ALTER permission requirement but not the CREATE TABLE one. CREATE TABLE is also granted by membership in the [CODE] fixed databas... | 1 | 2 | 4,950 | 2013-07-22T21:03:31.437 | warehouse_errors | dba.stackexchange.com | |
210,518 | MySQL upgrade from 5.6 to 8.0 | When trying to start MySQL 8.0 it complained about partially upgraded DD. Furthermore, it complained about not being to open a table S/AD.ibd which no longer exists there because we moved it to S/AD.ibd. We reverted back to MySQL 5.6 and it seems to be running fine now. It looks like it failed during converting the .fr... | Don't use [CODE] (or certain other things that could confuse the file manager) in a table name. Perhaps you can rename it? Update OK, [CODE] is the database name, [CODE] is the table name. No, you cannot move [CODE] files around. There is critical information in [CODE] that will get confused. It is possible to do [CODE... | 0 | 0 | 1,383 | 2018-06-25T13:26:44.100 | database_errors | dba.stackexchange.com | |
504,981 | Exchange 2010 SP1 Bare Metal Recovery won't start EMC | I have two Windows Server 2008 R2 machines. Server1 is running AD & Terminal Services, and Server2 is running Exchange 2010 SP1. They are both Domain Controllers. A disk on Server2 suffered a disk error - and the RAID1 configuration was set up incorrectly - thus leaving me to reimage a new disk (hooray for inherited jo... | So I couldn't really let it be in that state for too long. I ended up calling Microsoft and had them walk me through the process. At some point during the recovery process, the secure channel between the two DCs was broken. We reset the password using [CODE] This allowed replication to continue so I am back on line now... | 0 | 0 | 537 | 2013-05-04T09:33:57.907 | api_errors | serverfault.com | |
320,487 | Postgres stuck with `FATAL: the database system is starting up ` for hours. Should we wait or is this a sign for a corrupted DB? | I found answers to this problem suggesting that it might take a while to restart postgres. But now we are already waiting for over 2 hours which seems extremely long compared to the 5 minutes it usually takes. ( https://stackoverflow.com/questions/54922433/postgresql-fatal-the-database-system-is-starting-up-windows-10 ... | The database is running again. We are not entirely sure why but that is what we did: We figured out that while Postgres was starting we got a lot of [CODE] which were error messages responding to a lot of client requests trying to reach the database. We started the database on another port so that it can start without ... | 8 | 5 | 8,729 | 2022-12-02T13:34:37.597 | pipeline_ops | dba.stackexchange.com | |
702,309 | How to add a second DSL Connection to my network | We have vdsl 50 internet connection that fails from time to time. Therefore we planned to order a second line that is completly different e.g. cable modem based. What is the best way to integrate that into the network? Should we just use 2 gateways or should we integrate a reverse proxy or are there load balancer out t... | Get a decent router that allows "Uplink Balancing" and "Multipath Rules" (Sophos) or "Smart Link Backup" (Cisco). I'm sorry that I cannot give you a technically correct name. To get a concept of the idea, you could check a video by Sophos: https://vimeo.com/97463769 Basically with the Sophos you have the advantage, tha... | 0 | 0 | 239 | 2015-06-29T12:01:34.877 | infrastructure | serverfault.com | |
253,794 | "The local device name is already in use" error when connecting to user home directory shared folders | We have a Windows Server 2003 running active directory - the users login with their AD accounts from their PCs. We have setup a file server where each AD user has a shared network folder hosted on the server. Each folder is mapped as a network drive in Windows XP. While the users can initially access the mapped drive a... | How do you deploy those shared folders? If you do it via GPO, keep in mind that GPO has a refresh interval for User Configuration GP. So if you deploy the Drive via GPO but deploy the credentials via Logon Script, the GPO will overwrite the credentials after a certain amount of time, which can be edited in the Domain C... | 2 | 1 | 3,323 | 2011-03-30T18:20:36.547 | database_errors | serverfault.com | |
374,749 | Host rejected: cannot find your hostname - for one adress | We have computer with 91.221.27.120, 91.221.27.119, 91.221.27.121 and 91.221.27.118. I set in postfix: [CODE] When I add reject_unknown_client I get ONLY for 91.221.27.118 [CODE] I writed to access [CODE] It doesn't help. Can you help me? | rules in [CODE] are checked in the same order as it written in the configuration directive. In your example, restrictive rule for [CODE] is evaluating before permissive [CODE] . Try to change the order of those two directives. And, of course, you should have all your clients' IP's in [CODE] . | 0 | 2 | 1,246 | 2012-03-29T09:23:39.420 | infrastructure | serverfault.com | |
830,657 | How to open sendmail receiving port | I am trying to open port 25 for receiving mails from outside my server using sendmail. I want to read my mails with alpine and I don't need anything else. I have tried this: [CODE] connection is accepted by this command [CODE] but it is refused by this [CODE] How can I open this port for outside connections? | Edit: updated link (proofpoint have taken over sendmail) Sendmail FAQ 4.22 : Why can't I receive external mail? Several vendors have changed the way that sendmail is run. They decided that most people need a client-only version of sendmail. So it is listening only on the localhost interface . Check the system documenta... | 2 | 1 | 2,051 | 2017-02-05T03:47:43.170 | infrastructure | serverfault.com | |
466,733 | Error from IIS module after removed | I was trying out an IIS module on my development machine and stupidly installed it in a folder with an application that gets overwritten by source control. I've tried removing the module, but now every time I try to start my app pool it fails upon first request with an error in the event log -- "The Module DLL D:\Proje... | I was finally able to resolve it in IIS manager by clicking going to the "Modules" section for the server, clicking "Configure Native Modules...", selecting the module, and clicking Remove. | 1 | 1 | 840 | 2013-01-14T01:37:28.390 | infrastructure | serverfault.com | |
87,541 | What is the best approach for detecting the defect? | Assuming that we have 10 same objects, they are lined up and equidistant. If any of them is rotated a very small angle(5 - 10deg), what is best method to detect them? I am using a camera to capture the image. I want to divide the image into 10 parts and then feed each part into CNN model to classify the defect. Is that... | It is a possible way, but this class of problems falls under outlier detection in machine learning . The defining feature is that one can only train for usual events not rare events, there are few or even no data at all, so a different approach needs to be taken. Since usual neural network training requires adequate sa... | 0 | 0 | 91 | 2021-01-05T15:13:41.857 | data_quality | datascience.stackexchange.com | |
473,957 | nginx redirecting (not proxying) to the apache backend when a trailing slash is not provided | When I access [CODE] , my browser gets a redirect to [CODE] . However, it works fine when I access [CODE] . The backend is an [CODE] server listening on port [CODE] . [CODE] configuration: [CODE] I've tried: [CODE] Still the same issues. I've looked at similar questions but can't seem to get an answer to this one. Anyo... | The issue was that [CODE] 's [CODE] module was redirecting non-trailing-slash 403s to the URL with the trailing slash. Here is documentation on the [CODE] [CODE] . Turning off the directive was a workaround but I like the [CODE] feature. Just don't want to expose the [CODE] backend. After trying some things, I finally ... | 0 | 0 | 1,062 | 2013-01-30T20:01:43.410 | infrastructure | serverfault.com | |
306,855 | IIS7/appcmd - importing httpError configuration gives an error | In an effort to try and take the pointy-clickyness out of configuring IIS for our application, I've been looking at appcmd. Specifically it's ability to export config trees and reapply them with minimum fuss. Generally, this gives the exported configuration: [CODE] which I can then reimport at a later date with: [CODE]... | Funny. So the appcmd import seems to watch for the word 'error' as a real error, not accounting for this legit situation. I'll see if I can find out more information about that for you. As for a solution in the meantime, with appcmd, the best way to find out the syntax is to use Configuration Editor. Make the change yo... | 1 | 2 | 5,570 | 2011-08-31T15:05:41.353 | infrastructure | serverfault.com | |
381,526 | Adverse affects of killing DW20.exe on a Windows 2003 server? | I have a Windows Server 2003 virtual instance that I recently noticed DW20.exe was running constantly and entirely utilizing one whole core. I can't deduce what it's doing, except that it's PID is so low it starts right after boot. I'd like to kill this but do not know what the adverse consequences might be. What probl... | DW20.exe it's Windows Error Reporting tool (absolutely useless software IMO) so you can disable it as described in this KB article | 0 | 1 | 1,426 | 2012-04-20T13:05:31.340 | infrastructure | serverfault.com | |
24,314 | Using sys.dm_os_performance_counters and DIFF to display logins per second | PROBLEM Running my script below i can see the number of logins as an accumulated number to my instance: [CODE] Running it again 1 second later returns an increased value. The difference between the two appears to indicate the increased number of logins within that period of time (second) between the two executions. QUE... | Sorry, think this should work. [CODE] | 2 | 3 | 1,035 | 2012-09-14T07:49:32.353 | database_errors | dba.stackexchange.com | |
160,498 | sp_send_dbmail is populating 00 bits between all characters in a result set | I'm using sp_send_dbmail in a SQL agent job triggered nightly. The job queries our database and checks for product price updates, if there are some, it will send them in an email as an attachment to our e-commerce vendor. They have some automatic processes they will update our e-commerce platform, however their automat... | The file encoding for the attachments is standard UTF-16 Little Endian (LE) -- one of the various Unicode encodings. The first two bytes, shown in the first image, are [CODE] . These are the Byte Order Mark (BOM) , which is an explicit indication of the files encoding. And you can see in the chart on that linked Wikipe... | 1 | 5 | 850 | 2017-01-10T04:01:09.193 | database_errors | dba.stackexchange.com | |
392,033 | Varnish client.ip says 127.0.0.1 | So I have a setup like Nginx -> varnish -> apache2 If I get a request with a static file it is sent through nginx to varnish and back to nginx again since its a lot faster than letting apache2 server it. My problem is that when I do a [CODE] to see what the clients ip address is I am being told its 127.0.0.1 (X-Tabulex... | The value of [CODE] is [CODE] because [CODE] is the client. It wouldn't make sense for Varnish to mask this value -- even in situations like yours where Varnish is sitting behind a front-end proxy, you often want to base decisions on the ip address of the thing actually making the connecting to Varnish. What you really... | 3 | 3 | 5,824 | 2012-05-23T21:42:01.840 | infrastructure | serverfault.com | |
117,811 | How to read an excel file from a network machine using SQL? | I am trying to import some excel file data into a SQL table. I thought of using OPENROWSET for this. The issue is that the csv file is location in a different machine in the same network. How do I read this excel file? If this cannot be done using OPENROWSET, are there any other alternatives? Please advice.Please note ... | The SQL Server Import and Export Wizard offers the simplest method to create a Integration Services package that copies data from a source to a destination. This will create a package for you, which you can schedule via SQL agent job as explained in Scheduling SSIS Package Execution in SQL Server Agent , as per the des... | 3 | 4 | 3,449 | 2015-10-13T02:54:39.697 | warehouse_errors | dba.stackexchange.com | |
364,262 | Deleting blocked caused by thumb.db on Windows 2008 as a file server | I have a Windows Server 2008 which I am using to store media files. I am accessing this server via a mapped drive from my Win 7. Both are x64. When trying to delete folders, rename, move I get the following message. If I wait a while and retry, eventually the command passes. So after a while of managing my library, I h... | Would you consider completely disabling thumbnail generation a valid option? That would certainly work. Though it comes at the cost of some usability. Group policy User User \ Administrative Templates \ Windows Components \ Windows Explorer Turns off the caching of thumbnails in hidden thumbs.db files. This policy sett... | 5 | 5 | 12,787 | 2012-02-27T21:15:52.150 | infrastructure | serverfault.com | |
38,983 | File Not Found for All Nodes in Drupal | My Drupal installation is having all links to nodes show up with a File Not Found error. Admin pages and such are ok, it's just pages with ?q=node/# I tried using Update.php to fix anything, but that didn't do it. Any other ideas? | The node content was missing from that table and so they weren't working. Once the content was restored, everything worked like a charm. | 0 | 1 | 2,674 | 2009-07-10T15:43:39.643 | infrastructure | serverfault.com | |
700,689 | Finding users responsible for thrashing an NFS mount | I have a large multi user system, NFS mounting a large piece of shared storage. I can identify the source of all my network traffic - narrowing it down to a particular host - thanks to [CODE] . However I'm still having a little difficulty tracing which of the users is doing this - there's a few hundred, and there aren'... | Assuming that there is indeed a culprit (a single user) responsible for the majority of the 2.5k IOPS: I'd start with [CODE] - at that rate you should see one or a few users and processes standing out in the active processes on the box, mostly sleeping but quite often in ready state as well - I'd press [CODE] (to hide ... | 1 | 2 | 632 | 2015-06-22T12:42:37.947 | infrastructure | serverfault.com | |
1,802 | Strange latency in my wireless connection which has "full bars", mac mini only | I am experiencing strange latency on my mac mini (os x 10.5.6) when I'm using my wireless internet. It has "full bars". It only happens on the mac mini, not on the other two windows computers that are on the same wireless. It goes away once I plug my mac mini into my vista box using ICS. (using a crossover cable). The ... | Generally a good strategy for this type of network problem is to change-out or remove one component at time till it works. Or start with everything removed and add components until it fails. After, as suggested above, rebooting everything, I'd try Turning off the two Vista computers Other AP's nearby? Try changing the ... | 1 | 2 | 877 | 2009-04-30T22:27:18.247 | infrastructure | serverfault.com | |
168,988 | Can I setup two different VPN connections on a single Windows Server 2003 box? | I'd like to setup my Windows Server 2003 VPN system as follows: User A connects to public IP 1.2.3.4 / Firewall redirects 1.2.3.4 to internal IP 10.10.1.1 which is an IP setup on the Windows Server 2003 box running VPN / The 10.10.1.1 VPN server assigns an IP of 10.10.2.2 User B connect to public IP 4.3.2.1 / Firewall ... | I do not have a lot of experience in this area, but a while back a co-worker approached another more experienced one who wanted to do this from home so his various *nix assets could look into our network from behind a crappy VPN client with nothing but Windows 32-bit support (sounds like Crappoint). A little off-topic,... | 0 | 0 | 85 | 2010-08-10T18:28:50.193 | infrastructure | serverfault.com | |
124,472 | How do I use freetexttable against multiple tables? | I have a database which (amongst other things) contains tables for support tickets. Each ticket has a short summary, as well as a description. Each ticket can have multiple notes, each of which has an associated action which contains details. As well as this, a ticket can optionally have a ProblemAndSolution, which is ... | You have two options available: Create separate Full-Text Indexes on each table and UNION the separate query results. You would have to use your own meta-ranking criteria as rankings across different Full-Text indexes are not comparable. This could result in fairly complicated and nested queries to achieve the desired ... | 2 | 1 | 1,566 | 2015-12-23T17:02:20.277 | warehouse_errors | dba.stackexchange.com | |
582,936 | IIS Manager - can not connect using certain user accounts | I am having some trouble with what should be a very simple task. I have set up IIS 8 on server 2012 If I log in using a domain admin account, or the first admin account that was created when the machine was setup, I can connect to IIS Manager no problem If I try and connect using a user that I have since created locall... | I had the same problem and I found out that it require to run IIS Manager with administrator permissions. Try to run IIS Manager as Administrator and it should solve the problem. Or try to access the manager console from Computer Management (mmc), which must be run with Administrator privileges. | 7 | 9 | 22,988 | 2014-03-18T18:21:55.423 | infrastructure | serverfault.com | |
296,872 | Design Patterns when Class Needs External Awareness | When I was first taught Object Oriented principles, it was drilled into me that when using objects in a "hasA" relationship (or any similar situations where a helper object encapsulates a discrete smaller purpose in a bigger system), the owned class should not have awareness of it's greater environment, so, for example... | Your learning experience is textbook example of situation, where you are taught that something is wrong without being taught why is it wrong. While this is easy for teacher to do and easier for student to remember, it will soon be challenged by situation where it is just too limiting. And knowing why this rule exists w... | 4 | 6 | 344 | 2015-09-10T08:18:46.283 | data_quality | softwareengineering.stackexchange.com | |
561,778 | Validating HTTPS clients with certificates signed by other CAs than server's CA | I have an apache web server, ssl on that has a server certificate signed by a trusted official CA. Can I configure apache ssl to accept clients with valid certificates signed by CAs other than the CA that signed the server certificate ? I'm getting an [CODE] even though I have configured other CAs in apache and the ser... | Found out what's the problem. The certificate is signed by a chain of 3 CAs and I set SSLVerifyDepth to 1. Set it to 10 and it worked. | 5 | 4 | 11,541 | 2013-12-16T21:32:54.523 | infrastructure | serverfault.com | |
298,174 | Are hooks really subsumed by Slim Framework middleware? | I've been using the Slim Framework (v2) for a little while now to develop my user management system. They recently released Slim 3, and according to the upgrade guide , Slim v3 no longer has the concept of hooks. Hooks were removed as they duplicate the functionality already present in middlewares. You should be able t... | As it turns out, my understanding of the word "hook" (and my usage of hooks in Slim 2), is different from that of the developers of Slim. Apparently, the developers weren't even aware that people were using hooks to modify behavior at arbitrary points in the code - the assumption was that people were only using the [CO... | 0 | 1 | 1,144 | 2015-09-24T16:29:28.140 | data_quality | softwareengineering.stackexchange.com | |
265,326 | Exporting MySQL table data: "into outfile" fails, directory stays NULL after editing variables in cnf files | I'm pretty new to SQL, MySQL and Docker. I'm running a Docker MySQL container (I believe). My problem: In MySQL, the command [CODE] fails with the message The MySQL server is running with the --secure-file-priv option so it cannot execute this statement What I've tried: [CODE] outputs a value of NULL . Then, I changed/... | It could be you missed the [CODE] section for the configuration file however here is a complete example: [CODE] Another terminal: [CODE] | 1 | 0 | 807 | 2020-04-18T11:28:53.547 | pipeline_ops | dba.stackexchange.com | |
334,168 | Building NanoBSD inside a jail | I'm trying to setup a jail to enable building a NanoBSD image. It's actually a jail on top of a NanoBSD install. The problem I have is that I'm unable to mount the [CODE] device in order to do the 'build image' part. Is it simply not possible to mount an [CODE] device inside a jail, or is there some other knob I need t... | As you said, chroot is the way to go. You don't want to achieve security, just build and change the root so that your installation scripts behave correctly. That's what chroot is for. On some systems there isn't a chroot binary, but it's kind of easy to code a simple script that will achieve what everything you want (a... | 4 | 1 | 1,433 | 2011-11-23T17:53:27.063 | hadoop_errors | serverfault.com | |
515,498 | Postfix : intercept outgoing email by sender with amavis or custom filter? | we have some outgoing mail server with latest postfix and amavis. I would need to intercept some outgoing email for some given senders and forward them to a "logging" account + the regular receivers. From what I read looks like this job could be only done by a custom filter, since we already have amavis in place I was ... | Most, if not all, of what you want to do can be done with Sender BCC maps , and a simple filter on the BCC account, [CODE] or [CODE] being quite simple ways to do the secondary filtering. | 0 | 1 | 973 | 2013-06-13T09:58:15.547 | infrastructure | serverfault.com | |
770,470 | "sudo apt-get install php7.0-dev" not working | I am trying to install Xdebug to server and pre-requisite in tutorial I am following is php5-dev but I am using php7.0.5 so I tried [CODE] . It gives me [CODE] I tied to install libpcre3 and got a similar message about another package. I don't know what I am doing here so not sure what to do. Server is Ubuntu 14.04, Ng... | php7.0-dev is not in the trusty repositories (see here ), so it stands to reason that some/many of its dependencies won't be in that repository, either. Easy answer Upgrade to 16.04 LTS xenial when it is officially released next week April 21, 2016. It has php7.0-dev and all of its dependencies. See here . Hard answer ... | 2 | 1 | 9,363 | 2016-04-15T00:51:03.157 | infrastructure | serverfault.com | |
639,271 | New implementation of home and department shares; help me get it right the first time? | I've the rare opportunity to set up from scratch our first home and department share server in a mid sized company (about 250 people), and would like to make something that's reasonable. We're going to go with a windows 2012 system (we have an existing datacetner license). We also have a good AD setup. In my mind, it's... | Using different LUNs for different shares really seems like overkill. I can definitely tell you that I've never seen that done. They're all going to have a random-access pattern, so the workloads are going to be very nearly the same. Putting them on separate LUNs may make reconfiguring the storage w/o taking downtime m... | 4 | 6 | 132 | 2014-10-23T21:49:19.320 | infrastructure | serverfault.com | |
26,657 | How to configure "On-Access Anti-Virus" for a faster boot? | I am in the process of trying to optimize the boot process of our 700 Windows XP workstations, we regularly have complaints about the start-up and login times on site workstations. Looking at this in two parts, part one using BootVis to monitor and inspect the boot process; part two using Process Monitor to monitor the... | We are currently investigating SOPHOS speed issues and I have come up with the following suggestions which in our winxp sp3 environment has made a fair bit of difference: Exclude these files at within the On-Access section: c:\windows\system32\authz.dll c:\windows\system32\drivers\srv.sys c:\windows\system32\es.dll c:\... | 10 | 6 | 4,837 | 2009-06-16T15:45:24.597 | infrastructure | serverfault.com | |
581,674 | Serving multiple web-service instances | We're building an API-based web solution on Python which is going to be delivered to individual customers. Each customer is going to have a separate dataset. Currently, it's not a problem to deploy an instance of the application + database for each customer, but this is going to become nightmare with more customers: im... | In short, AWS + Cloudformation + Ansible (or some other CM software). With cloudformation, you can define your "nuts and bolts" infrastructure - networks, servers, RDS instances, etc., and deploy this infrastructure in a reliable, repeatable manner. This same cloudformation manifest would be deployed once for each cust... | 2 | 3 | 355 | 2014-03-12T23:51:03.943 | infrastructure | serverfault.com | |
168,432 | Creating Duplicate Table in SQL SERVER 2014 | I am trying to create a duplicate table in SQL SERVER. I changed the table name but all other objects like constraints are same. Do i have to change all the objects as they exists in the base table or i can have same objects name? I know it might sound a silly question but i am new to this. | Explicitly named constraints must be uniquely named within a database. If they are not unique, you'll see errors like this: Msg 2714, Level 16, State 5, Line 10 There is already an object named 'PK_SomeTable' in the database. Msg 1750, Level 16, State 0, Line 10 Could not create constraint. See previous errors. This is... | 2 | 3 | 96 | 2017-03-28T20:27:54.090 | data_quality | dba.stackexchange.com | |
883,629 | Providing an interface to ArangoDb that allows mongoDb style querying? | Problem I have an ArangoDb and would like for code written for MongoDb to use it. Theory They are both noSQL databases. Question Before I write my own interface are there any existing tools? Is this approach common? Or am I making my life unnecessarily difficult? | Jan from ArangoDB here. Can fully understand that you might want to make your life easier with such a portation tool but AFAIK there is no such tool to directly let your mongo queries be "translated" into AQL. And I think you might loose some potentials for optimizations. If you haven't seen the tutorial yet, we create... | 0 | 2 | 154 | 2017-11-15T19:38:24.477 | database_errors | serverfault.com | |
949,497 | Laravel Forge/LetsEncrypt SSL error "SSL_ERROR_NO_CYPHER_OVERLAP" | Some users have complained that they cannot access our site due to a "secure connection failure" i.e. SSL. The actual error code provided is [CODE] . Server is nginx with ubuntu 18.04. SSL has been installed via the laravel forge LetsEncrypt button. I have tested 4 of our sites using https://www.ssllabs.com and all see... | One potential fix around this is to edit the SSL cert configuration within: [CODE] I amended the TLS version and cipher certificates to the intermediate settings as recommended by mozilla. It appears as the default Forge setup in now for Modern browsers only, which means many are invalid. https://mozilla.github.io/serv... | 2 | 0 | 2,785 | 2019-01-17T09:58:44.743 | infrastructure | serverfault.com | |
338,600 | Simultaneously high swap and unused memory on Ubuntu server | I have an Ubuntu 10.04 web server in the cloud, with 1 GB of RAM. Here's a memory chart from Munin: but I'm having trouble making sense of it: on the one hand, unused memory is very high; but swap memory is simultaneously very high, and "committed" memory is way over what's actually available. Isn't swap supposed to be... | Isn't swap supposed to be used only if there's no real memory left? That's incorrect. When the kernel sees memory pages that have gone unused for a long time, it'll proactively swap them out (even if there is plenty of other free RAM), making that RAM space available for disk cache. | 4 | 6 | 1,015 | 2011-12-07T16:22:50.333 | infrastructure | serverfault.com | |
50,666 | performance testing tools for deskop application | I am searching for an open source tool to record the functionalities of a desktop application functionalities like starting and ending time of each operation like load report rendering and maintain the log of every single action as well. Any recommendation for desktop applications? | If you want to test application itself - the profiling tool for the programming language the application is written in is the best choice. Alternatively you can use "normal" desktop automation tool like Appium or LDTP In case you want to simulate hundreds/thousands of applications concurrently accessing backend/databas... | 0 | 1 | 108 | 2022-10-26T11:00:48.360 | data_quality | sqa.stackexchange.com | |
46,297 | How do I get the aggregate of a window function in Postgres? | I have a table containing a two columns of permutations/combinations of integer arrays, and a third column containing a value, like so: [CODE] I want to find out the average and standard deviation for each permutation, as well as for each combination. I can do that with this query: [CODE] However, that query can get pr... | You can have window functions on the result of aggregate functions in a single query level. This would all work nicely after a few modifications - except that it fails for the standard deviation on mathematical principal . The involved calculations are not linear, so you cannot simply combine standard deviations of sub... | 11 | 10 | 14,974 | 2013-07-12T23:56:16.103 | warehouse_errors | dba.stackexchange.com | |
939,488 | Unknown Database when trying to connect to an AWS RDS instance | I created a MySQL RDS instance, however, when I try to connect without writing the database name, it connects but does not allow me to create any tables. When I do write the name, the connection fails and I don't know why. Error I have my endpoint, user, password and the name of the DB, which is [CODE] (test in spanish... | When you create you create your RDS instance, there is an “Additional configuration” section, in which you can specify the database name, and it warns you that if no name is provided, no database will be created by default. But as others have pointed out, you can connect with your tool of choice without a database name... | 10 | 10 | 24,464 | 2018-11-10T20:57:41.710 | database_errors | serverfault.com | |
308,059 | Non parallel plan only in Azure when SESSION_CONTEXT is used | I'm observing strange difference between query plans that I'm getting on my local machine and on Azure SQL. I'm trying to implement row level security, where I read user identifier from SESSION_CONTEXT and then in TVF I check whether the user has access. On my local machine - SQL Server 2019 Developer edition, DB in co... | Is there any difference in SESSION_CONTEXT implementation in Azure that could be causing that? Yes. Although Azure SQL Database and SQL Server are built from a common code base, it is not at all unusual for one to be ahead of the other. Despite Microsoft marketing in years past, it is not always the Azure edition that ... | 7 | 7 | 1,063 | 2022-02-28T11:39:30.120 | database_errors | dba.stackexchange.com | |
664,177 | autostart rc.local 2>&1 redirect, 'open /dev/tty: No such device or address' | I'm trying to execute this command with rc.local: [CODE] Above command shows percentage of download some file. It works without any problem from user's shell after login but when I try run this from rc.local I get: [CODE] I found that "2>$1" does the problem and on: https://stackoverflow.com/questions/21786633/init-scr... | If it works from the shell but not from rc.local, chances are it has to do with the environment. The first thing I would do would be to replace commands with full path. For example: [CODE] | -1 | 0 | 888 | 2015-02-01T19:03:56.067 | infrastructure | serverfault.com | |
58,000 | Excluding the standard MySQL databases from replication | I have a prod database, say appdb, and I only care about the data in that db. Is it safe to declare [CODE] for each of [CODE] , as some tutorials show? I define my own analytics users on the slave and manage permissions there. I don't want extra users or tuning artefacts from master, in fact I may tune the slave separa... | There's no need to avoid replicating performance_schema or information_schema -- they are not real databases with real tables, they are generated by server internals to interact via SQL, but you'll notice from their table definitions that they aren't normal. They can't be altered, modified, dropped, created, updated, i... | 2 | 7 | 6,733 | 2014-01-31T18:24:07.810 | database_errors | dba.stackexchange.com | |
853,012 | Internet / proxy problems Internet Explorer (PAC file) | we have some internet/proxy problems in our network since 2 weeks. Users are getting sporadic errors "This page can't be displayed" in Internet Explorer 11 when trying to access websites - but not the whole time. Sometimes it works for 10 minutes, then it doesn't work for a minute, and so on.. Every user has set a prox... | Your firewall is blocking traffic that it should not, or traffic is being routed to the firewall that should not be. You proxy file is configured for direct for "172.16.0.0", "255.240.0.0", which includes address range: 172.16.0.0 - 172.31.255.255. The example you provided is for 172.27.217.119, which should be allowed... | 4 | 0 | 2,478 | 2017-05-30T12:35:18.130 | api_errors | serverfault.com | |
750,377 | google load balancing external ip | I am trying to setup Google Compute Load Balancer to HTTP content route between my Google Compute Machines and my appEngine application, depending on the URL. I can get everything setup but it appears right now I can only route to InstanceGroups, which must be made up on GoogleCompute VM's. It seems strange to me that ... | At this moment, Google Cloud HTTP(S) Load balancer only provides global load balancing for HTTP(S) requests destined for Compute Engine VM instances. Google App Engine has its own way of the scaling . Nevertheless, if you see adding support of App Engine to HTTP(S) load balancer could be a useful feature, feel free to ... | 2 | 1 | 613 | 2016-01-20T02:54:14.897 | infrastructure | serverfault.com | |
460,149 | Apache2 mod_proxy with gitlab on different server | I am desperately trying to configure gitlabhq in multi tier set-up, I have one proxy server websrv01.kosare.perlur.cz where I run Apache2 with mod_proxy, and then I have multiple Web Applications running on different servers. I have one gitlab-backend.kosare.perlur.cz where I have gitlabhq installed and when I try to c... | Not sure if it's the answer, but I find using both [CODE] and [CODE] for the same urls suspicios. Try without the rewriterule. Also, you mention that connecting to the backend works. Did you try that on the proxy machine? | 1 | 0 | 562 | 2012-12-21T21:16:36.973 | infrastructure | serverfault.com | |
541,561 | Restoring Postgres 8.3 dump in 8.4 | I need to move a PostgreSql database from 8.3 Windows to 8.4 running on Linux (Ubuntu Server 12.04). The restore aparently is ok, but when I try to show data in my program I get an error saying that some characters are not supported on WIN1252 encoding. The original database has this properties: Encoding: WIN1252 LC_CT... | The Windows-1252 character set is known in Ubuntu by its other name [CODE] . Generally no corresponding locale is installed by default on Ubuntu because Unix folks prefer [CODE] or [CODE] . However the charmap should be provided by the [CODE] packages. Assuming this package is installed, you may issue a command like th... | 1 | 1 | 1,719 | 2013-09-25T13:55:59.017 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.