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 |
|---|---|---|---|---|---|---|---|---|---|---|
479,308 | Aside from tools like 7-Zip, AxCrypt, and Kryptel, what is available that has multicore functionality and does AES-256? | I have a PowerEdge 1950 with 2 x E5405 2.00Ghz CPUs and 4GB of RAM sitting around. It's currently not doing anything at all so it's a perfect fit for this task. I have traditionally used 7-zip's command line tool on Windows to encrypt files that are no more than 5 GB. On my PC this doesn't take much time so it hasn't b... | The performance depends on: Encryption algorithm. The NULL one is the fastest, but has a trade off: it is completely insecure. The implementation of the algorithm (is it multi-thread, is it using the CPU extensions, how much memory is using - this is affecting the CPU cache hit ratio) The speed of the CPU and the exten... | 0 | 3 | 409 | 2013-02-15T19:27:59.857 | api_errors | serverfault.com | |
37,243 | DB2 UPDATE TRIGGER | I am trying to create a trigger in a [CODE] database that runs on the update of a column in one table, and then fills in another table with certain values. For example, there is a power unit table with a [CODE] column. Every time the [CODE] is changed, I need to to create a new row in the [CODE] table. The [CODE] schem... | 1. I notice in your trigger, your code says: [CODE] But shouldn't the VALUES clause contain [CODE] instead? [CODE] However, calculating vTA_ID with your query, may not be your most efficient option. 2. You could create a SEQUENCE object, and let it always calculate new values. [CODE] Then in your trigger, [CODE] 3. But... | 4 | 3 | 4,941 | 2013-03-21T14:41:35.330 | database_errors | dba.stackexchange.com | |
879,872 | What is Stdev of WRK test, which is better? | I ran a wrk test and result came as follows [CODE] What is Stdev here? Is higher better? | Stddev is Standard Deviation - a measure of how much the members of a set deviate from the mean value of the group. For latency I would say smaller is better as it means that $thing is taking the same time each time it is measured. | -1 | 1 | 1,147 | 2017-10-23T17:37:24.277 | infrastructure | serverfault.com | |
767,990 | The incompatibility between Cloudflare and the reverse DNS | I'm already activated Cloudflare for my website and to apply that I had to replace my domain default nameservers with Cloudflare nameservers. Now my website has to send emails to the mail servers, but I have a problem with that, especially with the 3 major mail servers. Gmail and Hotmail receive my website emails in Sp... | The PTR record will need to be set at OVH, however, before being able to do that, you will need to create an A record at CloudFlare for the servers hostname and set that record to not pass through CloudFlare. Say, for example, if your server name is server.domain.com, do the following: In CloudFlare, create an A record... | 1 | 6 | 4,981 | 2016-04-04T10:04:50.007 | infrastructure | 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 | database_errors | serverfault.com | |
211,631 | SASL LOGIN authentication failed: UGFzc3dvcmQ6 - Find the username | First let me state that the mail server is working fine and users can connect and send email. Basically there is a local web script connecting into the mail server trying to send mail every few minutes. It has the wrong password. Problem is we don't know what script is connecting in so we are looking for a way to get t... | We were able to trace the username by using Dovecot itself. In the [CODE] config we enabled verbose auth logging using [CODE] This put the information in [CODE] | 36 | 21 | 107,877 | 2010-12-11T21:47:15.287 | api_errors | serverfault.com | |
275,025 | Repairing Dynamics CRM 2011 Server | As stated above, I had a bit of an issue with my CRM 2011 server last week. I run a small computer repair company and use it to manage my clients. I was running the server in a VirtualBox VM and the host hard drive ran out of space. My original problem was that the virtual hard drive got corrupted towards the end. I wa... | The first step to solve you problem, is to enable the tracing on your CRM server. See http://support.microsoft.com/kb/907490 . The trace files should contain more information about the error (please post them here). | 2 | 0 | 1,322 | 2011-05-29T19:16:05.787 | database_errors | serverfault.com | |
1,002,214 | What is Split IO? | I'm trying to understand the meaning of split io/sec counter for physical disk in Windows Performance monitor and don't quite get the reason why the single IO operation might be split into several. According to Microsoft documentation: Shows the rate at which that I/O requests to the disk were split into multiple reque... | Each block devices can specify (at least) two different IO size: minimum block size: the minumum block size the device will ever accept (often 512B or 4 KB) maximum block size: the maximum block size the device can manage in a single transfer (generally 64 KB for Windows IDE and AHCI drivers). From the above is clear t... | 1 | 2 | 5,293 | 2020-02-07T15:09:06.937 | infrastructure | serverfault.com | |
90,078 | Bonding Nics with Linux to get better performance | I am trying to bond two nics together to get better performance. I have two 1000MBps Intel Nics. When I had one nic I was running some benchmarks getting 106 MB/s. This is pretty close to 1GBps. So I am happy with that. When I add a second nic and bond it together with Mode 0 (balance-rr) I still see the same 106 MB/s.... | I think you may be assuming that bonding can do more then what is actually possible. A single connection between two host will pretty much never be able to use more then the capacity of a single interface. Aggregation is useful when you have lots of parallel connections from many hosts. Check the description for mode 0... | 2 | 12 | 4,398 | 2009-12-02T06:16:11.337 | infrastructure | serverfault.com | |
400,888 | Windows 7 & 2008 does not ignore extra backslash in the middle of UNC path | So I have a GED system that store files following the following scheme: [CODE] and store that path in a DB. You can choose to store only by month in that case the path would be: [CODE] We didn't realize that while we were on windows XP and 2003 as they automatically remove the extra backslash. But it seems that windows... | Wouldn't it be better to adjust the database accordingly? Shouldn't be a big problem to replace \\ with \ ... ? | 1 | 3 | 250 | 2012-06-21T10:13:33.483 | infrastructure | serverfault.com | |
148,350 | Oracle: Add Reserved Word as Column Name | I'm trying to sync a table on test system to one in production. In production, as bad as it may be, I believe they used the reserved word SITE as a column name. [CODE] Above gives error: ORA-00904: "SITE": invalid identifier Same error without the quotes or with brackets. | Oracle SQL Reserved Words If you really want to use a reserved word, you can use it between double quotes, but that is where life becomes complicated. [CODE] | -1 | 5 | 9,906 | 2016-08-30T18:30:27.873 | database_errors | dba.stackexchange.com | |
594,755 | How do I properly configure Internet Explorer Connection Settings via Group Policy? | I've configured the location of our automatic configuration script under "User Configuration > Preferences > Control Panel Settings > Internet Settings > Internet Explorer 8 > Connections > LAN Settings > Use automatic configuration script", but when I look at the configured settings in Internet Options, the path is no... | When you configure the preference you need to press F6 to turn the red dotted line into green, in this way your setting will be applied. | 2 | 0 | 265 | 2014-05-13T11:36:22.843 | infrastructure | serverfault.com | |
456,329 | Domain name points to different IPs from different locations | I'm having this problem that seems odd to me. I have a domain name ( [CODE] ) which must point to the IP, [CODE] . It's ok when I try to reach it from my local PC or every other network that I have physical access to. The problem occurs when I try to ping the domain from it's own server using ssh! The domain name point... | Why would you have the server ping itself? Anyway, the A record looks fine to me, so try doing a dig of the domain from the server again. If it's still pointing elsewhere and you haven't set a ridiculously long TTL or updated name servers in the last couple of days, then the problem lies with what DNS servers your serv... | 0 | 0 | 568 | 2012-12-08T12:27:51.407 | infrastructure | serverfault.com | |
186,021 | How should I go about "overhauling" a large legacy application? | Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? For my next project, I've been tasked with "overhauling" a large legacy web application with many parts. It is a JSP application written in 2004 and it is used heavily by my company. This application was designed badly in that there is no separ... | I wouldn't suggest doing a rewrite a whole application. Especially one that is currently being used by the customer. You will never cut over to the new system until it can do everything that the old system does. While you are writing the new system, the customer and management are going to get impatient and want those ... | 6 | 9 | 1,614 | 2013-02-05T20:18:15.510 | data_quality | softwareengineering.stackexchange.com | |
437,220 | mod_rewrite remove trailing slash is causing loops | I have a site using mod_rewrite to make pretty URLs ... everywhere I read the removing the trailing slash is good for SEO and therefore I went with the rule: [CODE] I think the 301 redirect might impact performance but that's not my question... The thing is that removing the trailing slash is causing me a loop when I t... | The simplest solution to this will probably be to tell the .htaccess not to redirect if the file or directory exists Add the following two lines to the condition to prevent this [CODE] (You can also add -l if you use symlinked directories / files) Also, as you suggest, drop the 301, so your full htaccess will be: [CODE... | 3 | 2 | 3,578 | 2012-10-11T01:21:26.620 | infrastructure | serverfault.com | |
532,742 | Apache Intranet and SSH Tunneling | I'm trying to configure Apache to serve some intranet pages. Access to the intranet is made using SSH tunneling. Using the tunnel, I would like to access http://intranet.boss and expect those pages, but instead I get "connection refused" in Firefox. [CODE] Something like this. Later: Working! I needed to add [CODE] to ... | Consider using the SOCKS proxy feature in SSH instead of port forwarding. With most command-line SSH clients, it's the [CODE] option. Then, once you configure your browser to use the SOCKS proxy, you can just go to [CODE] , without having to hack [CODE] . | 0 | 0 | 1,029 | 2013-08-21T20:26:08.420 | api_errors | serverfault.com | |
691,154 | Powershell: A parameter cannot be found that matches | I am new to the Powershell world. Below is my first script [CODE] When I run this script in PowershellISE, I get the following error. [CODE] Unfortunately for me, it seems like "A parameter cannot be found..." is an extremely common and ambiguous error, saying that there is a problem, but never where. I was wondering i... | New-Object : A parameter cannot be found that matches parameter name 'TypeNamePSObject' It's not ambiguous at all, the error indicates [CODE] is not a known parameter of the [CODE] cmdlet. [CODE] Should be instead: [CODE] Note the space delimiting the parameter [CODE] and the value [CODE] . You may use tab completion t... | 11 | 14 | 144,252 | 2015-05-11T14:41:26.177 | infrastructure | serverfault.com | |
581,085 | XenServer 6.2: how to use a partition on install disk as SR? | I'm setting up an old spare server with XenServer 6.2 to run some test VMs and to get some experience on XenServer itself (we're used to our own linux+xen setup and to the usual VMware suspects). This specific system currently has two direct attached 500GB disks, but the use case is interesting (to us, at least) becaus... | The default install of XenServer already does what you want: It carves a smaller partition for the XenServer proper, then builds the rest of the disk into the "Local Storage" SR. In the process, it consumes the whole first disk, leaving no space for additional partitions. There's nothing special you need to do. | 0 | 1 | 7,621 | 2014-03-10T17:33:22.143 | api_errors | serverfault.com | |
731,574 | Samba 4.1 process_usershare_file: stat of /var/lib/samba/usershares/share failed. even though user can list that folder and stat file | I've got two identical users, one can access the share while the others not able to. The share's name is [CODE] , it's located in the folder [CODE] . [CODE] The two users in question are both members of the [CODE] group: [CODE] And as of their membership in the sambashare folder they're able to list [CODE] : [CODE] Wit... | The error message from "process_usershare_file" is very misleading, and is related to user_shares, that are intended to allow a local user logged on to the GUI to share folders with others workstations, windows-style. This setting is completely irrelevant on dedicated samba servers (where nobody ever works at the local... | 3 | 2 | 17,862 | 2015-10-25T22:57:40.187 | infrastructure | serverfault.com | |
1,050,184 | How to see updates to EBS volume when attached to multiple instances? | I have two ec2 instance running Ubuntu 18.04. I have created a Provisioned IOPS SSD (io1) volume and enabled multi-attach. I have successfully mounted the volume on both instances and can read and write to it without any issues. The problem now is if I modify a file on the shared volume from instance A, I cannot see th... | You'll need a filesystem / app that's multi-attach aware. For example Oracle RAC can use such volumes, while normal filesystems like [CODE] or [CODE] can't. They are designed to be mounted on a single host only. Let's step back - what are you trying to achieve? Share files between the instances I suppose? Your best bet... | 5 | 7 | 883 | 2021-01-17T20:49:45.113 | infrastructure | serverfault.com | |
379,731 | ipcop + active directory | im planning to install IPCop linux in my company. My problem is that the current router/dhcp/server is also running active directory. What configuration should I use to keep the old active directory service in the old computer and new services (dns, dhcp, etc) in other server? Thanks! | Pretty straight forward to disable these services on the windows box. But be warned, moving DNS is likely a bad idea. AD is VERY sensitive. Make sure when you move it that the client and server stay pointed to the same DNS and monitor the event logs to ensure AD stays healthy. | 0 | 2 | 357 | 2012-04-16T01:53:32.050 | infrastructure | serverfault.com | |
33,490 | Increased RAM, Worse Performance | Setup: Windows Server 2008 R2 SQL Server 2008 R2 SP1 240GB RAM TempDB is 8x16GB data files w/out auto-grow (128GB total) Physical/Stand-alone Server This server is used for ETL processing. We just installed more RAM in this server for a total of 240GB RAM. SQL Server services are the only real things running. The memor... | Thanks to everyone for your help. After pouring through some execution plans, it turns out there is a JOIN that is being processed differently based on the amount of RAM available. With less RAM it evaluates it with a Hash; with more RAM, it uses a series of Merge Joins. So basically it came down to poorly written T-SQ... | 9 | 3 | 1,774 | 2013-01-24T16:15:07.767 | data_quality | dba.stackexchange.com | |
446,512 | HP ESXi WBEM Agent Not Showing Power Supply Data | Server: HP ProLiant DL 380 G5 ESXi: 5.0.0 U1 (HP Custom Image) HP SIM: 7.1 (CentOS 6.3 VM) I have my basic hardware monitoring up and running. I cannot see events for power supply failure within HP SIM but I can see the event within the vSphere client. The vSphere client shows everything I can think of correctly, Proce... | After several days in production without restarting or changing anything the remaining missing WBEM data began showing up. All in all I'm disappointed at the speed that WBEM queries return. I have seen this now in 3 HP hosts I setup this way. I also noticed that after installing the HP tools you will get vCenter inform... | 0 | 0 | 932 | 2012-11-07T23:03:13.940 | airflow_errors | serverfault.com | |
61,433 | Normalize the output of a dense layer with linear activation | I have the following architecture of my network: [CODE] Now as the output of the network is linear ( [CODE] in tensorflow corresponds to a linear activation function), the output is unbounded. I need the square of the [CODE] of the output to be a constant, [CODE] (for energy constraint purposes). I do not want to use [... | Your way seems to be correct. I would suggest one other way that you might want to try (maybe it won't make your life better, but still): Since you want your data points to basically live on a sphere, you could train the angles in spherical coordinates . Fix the radius to $\sqrt{n}$ and this way your network has to lea... | 1 | 1 | 340 | 2019-10-08T13:40:01.747 | data_quality | datascience.stackexchange.com | |
90,811 | How to update a (very) large table without locking in MySQL | I have a large table (58+ million records) which represents a relation between two records (player and target) in a second table. Unfortunately, whoever designed our schema didn't think things through properly, and opted to use usernames to represent this relation, instead of the numerical ids for the user records. As ... | You can delete or update by one row in loop statement. In this case there will be no blocking but it will work a little slower. Use limit 1 to do this in procedure: [CODE] And call procedure: [CODE] | 7 | 1 | 21,100 | 2015-02-02T15:07:52.177 | database_errors | dba.stackexchange.com | |
981,337 | Sonicwall HA implementation with 2 buildings | I have a question about HA implementation. We're talking non-stateful failover. We have 2 NSA 3600 appliances. We have 2 buildings on-site (same lot, about 150 feet across the parking lot from each other). These buildings are connected to one another via 6 strands of fiber connecting 2 switch stacks. Everything is on t... | You do need both to have the same configuration but could, for example, set up two WAN interfaces using different X ports and then set up a "Failover & Load Balancing" group that contains both WANs. Then if you do an HA failover the LB would notice that the other unit doesn't have access to the primary WAN link and wou... | 0 | 1 | 72 | 2019-08-30T15:47:24.293 | database_errors | serverfault.com | |
724,047 | Avoiding swap on ElastiCache Redis | We have been having ongoing trouble with our ElastiCache Redis instance swapping. Amazon seems to have some crude internal monitoring in place which notices swap usage spikes and simply restarts the ElastiCache instance (thereby losing all our cached items). Here's the chart of BytesUsedForCache (blue line) and SwapUsa... | Since nobody else had an answer here, thought I'd share the only thing that has worked for us. First, these ideas did not work: larger cache instance type: was having the same problem on smaller instances than the cache.r3.2xlarge we're using now tweaking [CODE] : neither volatile-lru nor allkeys-lru seemed to make any... | 15 | 10 | 14,670 | 2015-09-22T15:31:22.230 | api_errors | serverfault.com | |
16,706 | Should we include 'Defect Impact analysis' section in the Bug report? | When a tester logs a new defect/bug, should there be a section on how the Bug impacts the business and how many modules/features it would impact? Is that a good bug reporting practice? | Yes, there should be some level of impact reporting in all bug reports. If following ISTQB/ISEB standards then this is accomplished via Severity and Priority measures. Severity is the functional impact, rated 1 to 5 (1 - Crashes, 5 - Cosmetic issue) Priority is the business impact and desire to fix it, rated 1 to 5 (1 ... | 1 | 1 | 1,737 | 2016-01-29T08:40:47.083 | data_quality | sqa.stackexchange.com | |
8,376 | Task to delete users without mount points in /home (using register and when) | I have a list of users that I want to delete (del_users), but I only want to delete those that haven't mountpoint on your /home directory. My currently code is: [CODE] When I execute this task appears the next error: [CODE] How could put a condition for delete users only if the result of first task is 0? | Several problems in your playbook. [CODE] is basically expecting a list, not a string containing a variable name. You need to expand your variable with a jinja2 expression => [CODE] It will be hard to give you the correct syntax without seeing the exact data structure of your result var but... Typically, the register f... | 1 | 2 | 259 | 2019-06-13T11:57:37.790 | pipeline_ops | devops.stackexchange.com | |
585,903 | IBM server x3400-7976KGJ support for VMWare ESXi 5 | I searched over internet but I haven't been able to find if an IBM server x3400-7976KGJ is compatible with VMWare ESXi 5.0/5.5; I need to install a Windows Server 2012 OS on this machine and with the current ESX 4.0 I need to patch the bios as I've already done to been able to install Windows 8. Someone has tested this... | There's an entire compatibility guide on VMware's site: http://www.vmware.com/resources/compatibility/search.php If your x3400 is the m2 or m3 it's compatible up to 5.1 u2 as shown on that site. | -1 | 2 | 2,249 | 2014-04-01T13:37:34.927 | infrastructure | serverfault.com | |
321,034 | Web Server Can't Ping to Outside/External IP's | I'm having this problem. I'm trying to connect to my datacenter, and It seems that my webserver can't ping to my router, and even can't ping to others pc in my network. Well, I'm new in this networking area. Perhaps, there're some services that's been blocked? Please advice. Thank You | Does the machine have an IP address, mask and gateway correctly configured? Is the ethernet connection up? | 0 | 1 | 1,482 | 2011-10-13T02:50:30.573 | infrastructure | serverfault.com | |
198,105 | Installing AppFabric on Windows Server Datacenter | we are running a virtual server with Windows Server Datacenter (32 bit) and I cannot install AppFabric on it. When I run the executable downloaded from http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=467e5aa5-c25b-4c80-a6d2-9f8fb0f337d2 I get the following error: "Either the version of this p... | Per the Additional Details section on the link you provided, make sure that you use the 6.0 version of AppFabric since you're running Windows Server 2008. | 0 | 2 | 478 | 2010-10-27T20:29:18.577 | data_quality | serverfault.com | |
28,539 | How can I find out what class each of the columns in the probabilities output correspond to using Keras for a multi-class classification problem? | I'm using transfer learning to build an image recognition model using a pre-trained VGG network in Keras and excluding the final fully-connected layer to get the output weights. I'm then using these output weights to feed into my new model which has a few layers along with a new fully-connected layer of my own that I'm... | The [CODE] attribute in Keras’ [CODE] creates a dictionary of the classes and their index in the output array: classes: optional list of class subdirectories (e.g. [CODE] ). Default: None. If not provided, the list of classes will be automatically inferred from the subdirectory names/structure under directory, where ea... | 10 | 5 | 14,076 | 2018-03-02T20:42:12.360 | data_quality | datascience.stackexchange.com | |
353,047 | Composable asynchronous programming in Java without too much GC | Assume I'm writing a library in Java for performing network calls. I want it to be efficient for cases like highly loaded reverse proxies etc (10s to 100s Krps coming in and out; client requests served in the same DC in under 1 ms; relatively simple processing of results), also, each incoming request might start severa... | I've started with CompletableFuture, but I'm feeling like it might generate too much garbage: Exactly where is this 'feeling' coming from? Have you tested this? each "composition" (thenCompose etc) creates a new object; Object creation is just pointer addition, and sometimes initialization. The expense of both is highl... | 3 | 4 | 476 | 2017-07-18T22:35:38.873 | pipeline_ops | softwareengineering.stackexchange.com | |
6,058 | Can I check whether ansible is on last batch of rolling update (serial: 25%)? | I'm using Ansible to update a pool of EC2 servers with a rolling update, in batches of 25%. In between batches, I'm pausing long enough for the server health checks to start to pass again (since they'll fail while the application server restarts). The question is, can I skip the delay on the final pass so the playbook ... | To solve this, I printed [CODE] and [CODE] , and eventually stumbled on the [CODE] variable, which is a list of hostnames in the current batch. [CODE] gives the full list of hostnames. (Do not use [CODE] for this purpose, because as of Ansible 2.7, it works but the docs say it gives something completely different.) The... | 2 | 3 | 516 | 2019-01-22T06:36:52.647 | pipeline_ops | devops.stackexchange.com | |
72,597 | How To Effectively Set Deadline Times As A Freelance or Home-based Developer | I recently got into home-based hours-based programming work and one of the problems I am having is that deadlines I say to my clients are not often met. Some factors come into play: I run into a coding problem that requires research time, which adds a couple of time to my specified deadline. There are times when my int... | Generally speaking you have two choices (and can take an intermediate position between them.) One is to accept a "hard" deadline. If you do this I would always add a very large fudge factor. Unless the job is simple and you have done something almost exactly like it before you should estimate at least 3x what you think... | 6 | 5 | 459 | 2011-04-29T22:53:04.093 | api_errors | softwareengineering.stackexchange.com | |
1,007,137 | CentOs Network Unreachable | I have got fresh installation of CentOS 7 on my VPS (done automatically via my provider panel) , but I have got problem with internet connection. For some commands, for example: [CODE] I get: Network Unreachable I got this message also when I am trying to install some apps via [CODE] - typically few mirros are skipped ... | IPv4 and IPv6 are not the same stack, you'll need a 6to4 provider or similar (like a VPN provider that allows you ipv4 access behind a ipv6 tunnel) if you want to access IPv4 sites via IPv6. Or ask your provider the $ of ipv4 connectivity. see How do i reach IPv4 addresses from an IPv6-only network? | 0 | 1 | 1,131 | 2020-03-16T17:28:22.763 | infrastructure | serverfault.com | |
610,139 | Dovecot MySQL Authentication SlowDown | I have an IMAP/POP3/Webmail server with Dovecot1 2.2.10 with a MySQL backend located on another server. The server runs with default configuration. [CODE] My problem is that sometimes when it gets overloaded it start refusing authentication (aka it says bad password) of the clients. It does this for all different types... | Don't know if the same than which happens with Cyrus IMAPd can happen with Dovecot. Let's try. The Linux kernel gathers real randomness, entropy, from multiple sources and events. This data can be read by any program from [CODE] . Well, sometimes if there's not enough 'real' randomness generated (for example, the serve... | 0 | 0 | 149 | 2014-07-04T09:53:37.440 | database_errors | serverfault.com | |
842,344 | Blocking empty subject line emails from being sent or received? | How can I configure Postfix, Dovecot, and/or SpamAssasin to reject all incoming and outgoing emails with empty subject line emails? I am running on a Debian 8.6. | If you want to REJECT the mail, which would be a good idea as it also informs the sender that you don't want to receive mail with empty subject, you should use Postfix header_checks . Add [CODE] to your [CODE] and then add there this regular expression for empty Subject: [CODE] In order to use this Perl Compatible Regu... | 2 | 5 | 2,887 | 2017-04-03T21:06:08.097 | infrastructure | serverfault.com | |
918,456 | dockerized jenkins failed building dockerfile work dir issue | I have a jenkins container and a pipeline which consist of building docker images. I have mounted the necessary mounts (/var/run/docker.sock, /var/run) for jenkins to use docker commands. I also bind mounted a folder from my host to jenkins as its workspace directory (/var/jenkins_home/workspace). Here is the Dockerfil... | I've solved my issue. I had to change the way I call my Dockerfile and changing the WORKDIR inside. | 0 | 0 | 1,338 | 2018-06-27T10:48:05.497 | pipeline_ops | serverfault.com | |
233,188 | how to undo system user creation | to troubleshoot a Ubuntu package manager problem I have to do [CODE] I want to know what is the command to undo the above before I try it. | Before any action, copy "/etc/passwd" to a safe place. Then, to recreate the user: [CODE] HOME,SHELL,UID look in the copy you made of [CODE] . | 0 | 1 | 300 | 2011-02-09T09:41:46.497 | infrastructure | serverfault.com | |
198,027 | Drastic performance difference between identical queries involving join on different tables | I have a Google cloud SQL instance with 1 CPU and 3.75GB RAM running MySQL 5.7. The following two queries, both of which involve a common table, have drastic performance differences and I cannot figure out why. Query 1 [CODE] Results: 439 rows in set (0.77 sec) Explain output [CODE] Query 2 [CODE] Results: 45 rows in s... | The first select needs to read 2430 nudges, the second 1081609, you can see that for yourself in the explain output. Reading more than 10% of records via an index is slower than reading all records sequentially, let alone reading the entire table. It would be interesting to try to avoid using an index on nudges for the... | 0 | 0 | 55 | 2018-02-15T16:31:53.240 | database_errors | dba.stackexchange.com | |
910,588 | leader_only is not working in Elastic Beanstalk | We are doing CI/CD for drupal site using Jenkins. Now, we need to run drush commands which we should run only in single instance. For this, we have created elastic beanstalk config script with parameter leader_only as true but it still runs drush commands in all instances at time of deployment instead of one instance. ... | It's difficult to say directly what is going on but what I believe is happening is after 2-3 deployments, multiple instances in your ELB environment contain the file because the same instance is not being elected as the leader during the deployment process. You need to delete the [CODE] file on all instances before cre... | 1 | 0 | 518 | 2018-05-03T15:54:50.310 | database_errors | serverfault.com | |
627,933 | configuring RRAS for site to site demand dial | I have a windows 2008 R2 server with RRAS installed. I need it to make a demand dial connection to a remote VPN server. The type is PPTP. What I've do so far: Installed RRAS. In the properties area I've enabled it to be an IPv4 router with LAN and demand-dial routing turned on. Under IPv4, it's set to enable IPv4 forwa... | Wow. I've been working on this problem off and on for 3 weeks.. and, of course, solved it after posting here. In the RRAS server properties, General tab, I checked the [CODE] setting under [CODE] . This was not automatically checked during the wizard setup for the RRAS server. I figured it was only supposed to be check... | 1 | 1 | 6,095 | 2014-09-11T20:07:21.313 | infrastructure | serverfault.com | |
303,090 | MInimum tree coverage | I would like to understand what would be the optimal method of finding minimum tree coverage of tree nodes. Let me explain. I have a self-referencing structure that represents a tree, with a limited depth of X. Nodes in the tree can be logically "selected". From the application perspective, it means that user would lik... | The effect you want can be achieved with a single pass over the tree, using a depth-first iteration. When visiting a node, you perform two conditional actions if all children of the node are selected, then you mark the current node as selected. if the current node is selected, then you deselect all children of the node... | 2 | 3 | 365 | 2015-11-20T08:51:59.903 | api_errors | softwareengineering.stackexchange.com | |
120,544 | Issues resolving DNS entries for multi-homed servers | This is difficult to explain, so bear with me. We have 2 domain controllers, each multi-homed to straddle 2 internal subnets, (subnet A and subnet B) and provide dns, dhcp, and ldap authentication. Both domain controllers each have 2 DNS entries. both entries have identical host names, but correspond to subnet A & subn... | At the risk of not answering your question - I don't understand the need to multihome your DCs - just put them on their own subnet (VLAN is better) which is routable from any subnet that needs it. This avoids the split DNS issue completely. I agree with @Ed Fries' comment about setting up sites - this was my initial th... | 2 | 5 | 2,985 | 2010-03-08T23:43:43.770 | api_errors | serverfault.com | |
800,628 | What does a permanent ZFS error indicate? | Several [CODE] were reported on my zpool today. [CODE] Edit: I'm sure sure if those [CODE] values are accurate. I was redacting data and may have mangled those by mistake. They may have been 0. Unfortunately, I can't find a conclusive answer in my notes and the errors are resolved now so I'm not sure, but everything el... | The wording of [CODE] is a bit misleading. A permanent error (in this context) indicates that an I/O error has occurred and has been logged to the SPA (Storage Pool Allocator) error log for that pool. This does not necessarily mean there is irrecoverable data corruption. What you should do is run a [CODE] on the pool. ... | 19 | 22 | 6,154 | 2016-09-02T04:23:23.523 | data_quality | serverfault.com | |
438,363 | Is the use of a catch block as a "rollback mechanism" a bad thing? | I have a service that performs a series of actions based on user information (name, address, etc) , one of the problems is that the User entity comes from a legacy third party API (as a repository) that did not enforce a strong validation on data, so some users may have invalid information, such as blank or incomplete ... | You are asking the wrong question. If exceptions are the way provided by an API for detecting some invalid state, you obviously must use them, that's not "good" or "bad", but simply inevitable. However, what looks like the road to a big-ball-of-mud hell is mixing up the business logic of the service with the validation... | 1 | 4 | 359 | 2022-05-02T00:40:43.617 | data_quality | softwareengineering.stackexchange.com | |
315,886 | Why don't languages that have big integer support have unsigned versions? | A cursory glance at C#, Java, and other languages indicates this is not a feature that's required. I tried searching for justification for this maybe from a language design team or blog, but I haven't found anything that explains why such a type is ignored. My current best guess is applications that use big integers wo... | If you have a use case where you never have to deal with negative numbers inside of any big integer calculation, then you could use the signed big integers implementation as well, and your performance guess is what I would expect, too, the performance differences would most probably be negligible. If you have a use cas... | 4 | 3 | 530 | 2016-04-15T23:19:30.207 | database_errors | softwareengineering.stackexchange.com | |
330,038 | DFS Replication, Losing folders | We lost a lot of folders in one part of our AD. I tracked down that we get a lot of errormessages about this in this form: How do we solve this? Why does this happen? (Some information edited) The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to d... | This means that the folder was changed in (at least) two different places before it was fully replicated throughout your replication topology. When this happens DFS-R uses an algorithm to determine which version should "win". You can prevent this by letting files fully replicated before you modify them at other endpoin... | 1 | 1 | 786 | 2011-11-11T08:33:46.673 | database_errors | serverfault.com | |
562,959 | Nginx + uwsgi... 502 bad gateway | So I am trying to set up Nginx with uwsgi for my Django app. Here is my /etc/nginx/nginx.conf file: [CODE] And my /etc/nginx/conf.d/vhost.conf: [CODE] When I go to localhost I get: [CODE] Any ideas? | Your Django app is not running. Start it (and make sure you got the socket path correct). | 1 | 1 | 3,735 | 2013-12-22T03:11:25.897 | infrastructure | serverfault.com | |
28,828 | inner join on PK with extra criteria slow despite indices? | Given the two tables below I am struggling to understand: why is the third query slow even though first two queries are fast what exactly is EXPLAIN saying can I do anything to significantly speed up the slow query? joining two tables on PK is fast: [CODE] so is just selecting PVs by timestamp range: [CODE] but joining... | The optimizer does not see that your conditions are correlated and picks the wrong access method. Basically, it considers two options: Scan the index on [CODE] until the first match on [CODE] and the first satisfied [CODE] condition. Scan the index on [CODE] until the first match on [CODE] . Since [CODE] is a part of t... | 3 | 2 | 1,376 | 2012-11-16T22:41:51.033 | data_quality | dba.stackexchange.com | |
166,096 | Designing Algorithm Flowchart Application | I need to develop an GUI application in C# where users can freely add conditional/statement blocks on the algorithm flowchart like the one shown below. By freely, I mean users can add a block on wherever the arrows are. I'm having some problems brainstorming how to approach this problem, especially what to choose for m... | I'd use a graph data structure. They are often implemented using adjacency matrices or adjacency lists. The MSDN has a pretty solid tutorial. The article covers both of the aforementioned structures. | 2 | 3 | 6,772 | 2012-09-25T11:04:33.780 | api_errors | softwareengineering.stackexchange.com | |
51,753 | Sales person performance prediction | I am trying to predict/forecast salesperson performance weekly, monthly, quarterly, and yearly based on the products that they sold over 3 years. As part of this effort, I grouped their number of units sold by the state, location, stores, product types, and sale dates. By using this information I grouped their id and m... | Here is a simple way of fitting a linear model to each salesperson by week, month and quarter. You'll need to extract the week, month and quarter from the date using the lubridate package. [CODE] | 1 | 0 | 88 | 2019-05-10T15:27:03.213 | data_quality | datascience.stackexchange.com | |
27,648 | Multi target classification for different types of target variables | I am new to machine learning and I got this task in my university. I have a dataset with over 100 columns and two target variables: $target1$ is categorical i.e. $0$ or $1$ and $target2$ is continuous i.e. values in range $0 \space to \space 100$. How can I predict this type of problem? I tried using multi-output class... | You have one classification task and one regression task, but sklearn's multioutput meta-estimators only support two tasks of the same type. The best solution here is to train two models: A binary classifier to predict $target1$ A regressor to predict $target2$ For example: [CODE] | 5 | 4 | 12,223 | 2018-02-09T11:18:47.883 | data_quality | datascience.stackexchange.com | |
402,741 | multicast network based on bridges between two hardware servers | [CODE] Is it possible to create multicast network between VPS1, VPS3 and VPS4? Server1 and Server2 are Linux server (Ubuntu OS is prefer) Do you have some ideas how to implement this network arch? Is it possible to create multicast network between VPS1, VPS3 and VPS4? Server1 and Server2 are Linux server (Ubuntu OS is ... | Your diagram is slightly unclear - I'm assuming that the two Ubuntu hosts are each connecting to the "router" device, which provides L2 and L3 connectivity. Anyhow - if the various VM's are on the same subnet (likely) then multicast will work between the hosts. Apart from making sure that multicast support is enabled o... | 0 | 0 | 281 | 2012-06-27T15:33:33.033 | infrastructure | serverfault.com | |
72,260 | Tuning Open-iSCSI initiator settings for VM LUNs | I have a bunch of VM servers running Xen VMs from iSCSI LUNs mounted in the Dom0 host via Open-iSCSI. It's just a simple single-path setup (redundancy is on the target side via clustered storage and a virtual IP) I'm considering using the settings from the Open-iSCSI README for iSCSI root, since that's basically what i... | First of all - what software/hardware you use for the target? In my experience iSCSI initiators and targets usually don't require tuning, instead you must tune a network. Try connecting initiator and target using direct crossover cable, test a speed in this way, I bet it should be good. In this case the switch is the b... | 6 | 3 | 2,896 | 2009-10-07T18:26:16.677 | infrastructure | serverfault.com | |
43,966 | Very High Interrupt CPU usage in Win2k3 VM on vSphere | I've been testing some software in a server virtual environment and I've noticed I get a huge amount of CPU usage on the Interrupts process. My question is, how does this relate to the virtual hardware platform as the rate is allot lower in a real system. Some how the hypervizor scheduler works hard to over come this p... | Have you read the VM's CPU usage from the guest or the host? Guest CPU usage figures are inherently wrong. Other than that make sure you've removed any unnecessary virtual hardware like floppies/serial ports etc. and make sure you're on the latest vmtools. | 1 | 1 | 6,261 | 2009-07-22T10:43:45.287 | infrastructure | serverfault.com | |
55,692 | Should I add multiple secondary indexes to search | I have a search screen on my app where the users can use up to 4 parameters to search. I have written a stored procedure to facilitate the search. [CODE] I have added one secondary index that includes the 4 columns [CODE] and [CODE] . [CODE] My question: is this one index enough for efficient search ? If the user runs ... | It really depends. If as in your example the users do a search for just the firstname and country then the index will be used. Let's say your user does a search by zip. At that point SQL may do a scan on your index (generally faster than a table scan) but an index starting with ZIP would be much faster. The problem is ... | 4 | 2 | 2,459 | 2013-12-27T17:08:54.003 | database_errors | dba.stackexchange.com | |
623,520 | PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so' | I have updated my php from 5.3.3 to 5.4.31. I have a Debian 6 Squeeze. [CODE] During the installation, the system ask me if I want to keep the actual php.ini or put the new one. I said to keep the actual one. Now, I have this 2 errors when I restart Apache.. What should I do to solve them? | If you are not planning to use APC then this can be safely removed from your PHP configuration. First, find your php.ini file and edit it. Find "apc" in the php.ini file, you should find a line that looks like this: [CODE] You can comment out this line by adding a semi-colon in front, e.g. [CODE] If you cannot find the... | 4 | 5 | 23,920 | 2014-08-23T09:22:45.493 | infrastructure | serverfault.com | |
388,394 | Find longest word in a string: are any of these algorithms good? | I'm trying to find the longest word in a given text, but it has to be done "old school": without using split, enumerate, etc. (I'm using Python but what I'm looking for is more of a pseudocode or a general algorithm). I'm struggling with the last word (or the last character). As a precondition, there are no leading or ... | String concatenation can be slow. If you just want to go "old school", and speed is important, then forget storing the current word, and continually concatenating letters onto it. Just store the start of the current word, as an index into the array, and the start of the longest word. Store the length of the current wor... | 1 | 27 | 4,256 | 2019-03-11T11:31:08.690 | api_errors | softwareengineering.stackexchange.com | |
400,786 | Modelling seats of a table in a social game | Assume we want to model a table where players can sit down to get together to play a game (card games, dice games, ...). Assume a few properties associated with each seat [CODE] Say the Table is simply modelled as [CODE] And I want to represent empty seats. Is it a better practise to have [CODE] or adding a Flag / Enum... | A [CODE] should know whether or not it is occupied . Simply because someone joins or leaves the game doesn't mean you need a [CODE] . The player has just vacated that spot at the table. That being said, the [CODE] and [CODE] properties are currently value types, meaning they will always have a value. In this case it ap... | 2 | 3 | 110 | 2019-11-08T08:54:59.213 | api_errors | softwareengineering.stackexchange.com | |
401,168 | Default permissions for courier imap folders | I'm using courier imap. When a mail client creates a new folder, it's created on the filesystem with 640 permission. I need it to be writable by the group, or 660. I currently have /etc/courier/imapd IMAP_UMASK=007, but that's not enough. I'm not sure what else to try. Any ideas? I'm using ubuntu server 12.04. EDIT: I ... | Well this stuff below is not going to work with mail server, but if in any case you can propagate the default folder permission via the following setfacl method shown below. In any case you want to change the way fopen works I would use ld-preload on it, and make fopen with 660 instead of 600. Function to be taken over... | 1 | 1 | 1,166 | 2012-06-22T02:47:08.650 | infrastructure | serverfault.com | |
145,187 | How to speed up string cleanup function? | I need to cleanup a string, so that certain ASCII code characters are left out of the string, and others are replaced. I am new to Postgres. My function [CODE] performs way too slow: [CODE] | The function should be noticeably faster with fewer assignments (none, actually, in this updated version): [CODE] Assignments are comparatively expensive in plpgsql. But I suspect you really want to remove all accents (diacritic signs) . Postgres provides the function [CODE] with the additional module unaccent : [CODE]... | 1 | 2 | 1,377 | 2016-07-28T08:04:42.580 | warehouse_errors | dba.stackexchange.com | |
9,807 | Execution plan issue requires reset on SQL Server 2005, how to determine cause? | We have a web application that delivers training to thousands of corporate students running on top of SQL Server 2005. Recently, we started seeing that a single specific query in the application went from 1 second to about 30 seconds in terms of execution time. The application started throwing timeouts in that area. Ou... | Probably Parameter Sniffing. To troubleshoot this without running Profiler 1) Add a GUID into the text of the query as a comment. e.g. [CODE] 2) Wait for the problem to recur so that it runs slow from the application and fine from SSMS. 3) Compare the query plans for the 2 different environments (retrievable from the b... | 4 | 3 | 424 | 2011-01-14T20:39:11.283 | database_errors | dba.stackexchange.com | |
288,736 | Implementing a series of independent Actions that are disparate but with common accessibility | I have a requirement to implement a type of AI for a project, the issue is that I am having trouble visualizing how the AI should actually be implemented. Essentially, I want the AI to be as dynamic as possible. That is, if I decide in the future to add another type of AI Action (as we'll call it), I don't need to rewr... | If I'm understanding correctly, you have an [CODE] , which can do things (like walk, talk, and so on), and want to use classes to be able to provide this entity with AI behaviours. These will be triggered in some loop (or by schedule, or whatever) and will then cause some behaviour in the entity (walking, talking, etc.... | 2 | 2 | 184 | 2015-07-05T01:55:57.000 | api_errors | softwareengineering.stackexchange.com | |
303,254 | Apache, SVN and Active Directory: how to avoid duplicate configuration? | I'm trying to linking the SVN hosted on Apache on a Windows Server 2008 to the Active Directory. I understood what do I need to do to manage the groups of users on repository level: [CODE] What bothers me is that there is too mach duplication: if [CODE] and [CODE] s change from repository to repository, everything else... | Your concerns stem from viewing Apache's configuration as code; it isn't. You'll drive yourself crazy if you think of it from that perspective. There's no logic structure, only some rudimentary conditional constructs on certain individual commands, and next to no variable manipulation. All of the things that let a prog... | 2 | 2 | 547 | 2011-08-20T02:30:15.657 | data_quality | serverfault.com | |
3,242 | What are some common problems that can occur when upgrading TestComplete 8.X to 9.0? | I managed to convert the project suite and all projects successfully and they are still running. I want to use this thread to collect issues that might still arise to warn others. | So far I found: Advantages in comparison to 8.7 Own script debugger, no more Microsoft Script Debugger necessary which did not work on one computer, breakpoints were not hit No longer crashing in double-clicking the log entries from within TestComplete until now Disadvantages in comparison to 8.7 Drop-Down box for func... | -1 | 0 | 476 | 2012-06-05T14:00:09.360 | data_quality | sqa.stackexchange.com | |
195,271 | Do tools, like Windows Workflow, inhibit development growth? | I’ve had this gut feeling about Windows Workflow (WW) for a while now. And, until now, I couldn’t think of the right words to say in order to explain it. Since I think I have a good way to verbalize it now, I thought I’d share. I believe there is a problem in our industry where a great percentage of developers take a l... | Windows Workflow is an abstraction, just like WPF, EF, Windows, and every programming language in existence. Like all good abstractions, it provides a way to leverage foundational concepts, building on the ideas created by others and improving on them. Without abstractions, there would be no growth at all, and no civil... | 2 | 7 | 371 | 2013-04-17T16:03:11.383 | api_errors | softwareengineering.stackexchange.com | |
180,064 | What should my SPN entries look like for each SQL instance? | I'm finding contradictory information for how exactly to format SPNs (Service Principle Names) to get the proper Kerberos connections, and how many I need for each SQL instance. This 2017 MS document contains the following: Beginning with SQL Server 2008, the SPN format is changed in order to support Kerberos authentic... | If you're only using TCP/IP to connect to your instances, you only need the ports specified. The Instance Names are used when connecting to the SQL Instances via the Named Pipes protocols. Sadly the MS article doesn't come right out say which format is required for which protocol, but it is derived from (many tests in ... | 10 | 10 | 22,429 | 2017-07-17T21:42:01.437 | database_errors | dba.stackexchange.com | |
206,822 | Log network traffic with process ID on Mac OS X? | I want to log all network traffic on a Mac OS X server (like tcpdump does), but including the ID of the process that is responsible. Using lsof only gives me the current connections, not the past ones. Is there a way to do this? Regards, Jochen | While the [CODE] is nice for viewing the snapshot of current connections, you can use the [CODE] to collect the data and process information as well. With [CODE] use the option [CODE] to display metadata for the captured traffic. [CODE] So for example displaying the process id and process name, you can do this: [CODE] | 6 | 10 | 13,441 | 2010-11-29T00:05:13.393 | infrastructure | serverfault.com | |
142,704 | Error after upgrading datastax to version 5 | After upgrading to DataStax Enterprise version 5, the node does not come up, and I get this error in the log: Insufficient permissions on directory /hints Where is this directory located? | Insufficient permissions on directory /hints I'm guessing that your "cassandra" user doesn't have permissions to add a new directory on its own. Similar to the tarball installation process, you'll need to create the directory yourself. where the location for this directory? By default, the location for /hints is: [CODE... | 1 | 2 | 116 | 2016-06-30T18:12:03.633 | warehouse_errors | dba.stackexchange.com | |
1,024,214 | MySQL / MariaDB client slow to start/load for user A but not for user B | We had a user (User A) starting the mysql client and it would take several seconds to load, the user felt that this just started out of the blue and hadn't done this before. It was causing a few scripts to time-out and there was a concern that it was an issue with the database itself. Upon investigation it was found th... | Given the above, we felt that ruled out an issue with the DB itself. We did verify that each user was using the same mysql client and had similar ENV/PATH setups. After giving it some thought we had 'User A' to start the client in verbose mode, which gave us our answer. [CODE] So if we take a look at this history file ... | 9 | 21 | 1,133 | 2020-07-06T15:07:58.957 | data_quality | serverfault.com | |
1,047,936 | BTRFS slow - maybe partially "full"? | My BTRFS file system has plenty of space free, but the "SINGLE" section seems to be almost full. Please see the output of btrfs fi usage here: [CODE] Is this high "Data, single" usage fine or should something be reconfigured / cleaned up to keep the file system operating smoothly? Currently, the file system has a very ... | If this is apart of an SSD or similar (NVMes for instance) then I would be worried about this yes. Even on spinners those shouldn't be loaded than 85% at the very most. In order to prevent the heads from potentially corrupting the data on the spinning platters. Assure that all flash storage devices are lesser of that o... | 1 | 0 | 1,747 | 2020-12-29T15:56:15.507 | infrastructure | serverfault.com | |
179,900 | How to update rpm/yum database? | For example I have installed mysql and httpd, but when I'm trying to 'yum update' then yum throws error that package is available but not installed. So, how can I update database of installed software? This command have no effect: [CODE] | If you've got a system with files from packages installed but an out-of-sync RPM database, you can use [CODE] to update the RPM database without actually installing anything. This is pretty messy, though, and really when you're in this state, it's time to start planning a reinstallation from scratch. | 2 | 2 | 27,481 | 2010-09-10T15:00:32.367 | database_errors | serverfault.com | |
333,530 | Oracle Redaction and Definer's Rights Stored Procedures | 0 I created a data Redaction policy for a field EMAIL in a Person Table in an ORACLE Data Base 12c. In the expression statment of the Redaction Policy is the exception for the Data base owner user : This user can access the EMAIL field without redaction. It works perfectly :) This field with redaction (EMAIL) is involv... | The error ORA-28081 is removed with the grant Exempt Redaction. In this case [CODE] | 0 | 0 | 47 | 2023-11-28T17:09:54.473 | database_errors | dba.stackexchange.com | |
699,489 | Is S3 a proper choice to keep live linux user home directories? | We are building an RDP cluster using Amazon EC2/S3. Users' home directories are on S3 (single bucket) and all EC2 nodes mount the same S3 bucket using S3FS. Each EC2 node uses the appropriate home directory of the user that logs in to that node. It does work, but is very slow, has random errors and is unpredictable. EB... | Is S3 a proper choice to keep live linux user home directories? Amazon has announced their EFS service, which is exactly what you need for this. Either use EFS or roll your own NFS server for home directories. | 0 | 8 | 1,120 | 2015-06-16T20:03:52.657 | infrastructure | serverfault.com | |
202,636 | Where is MSOLEDBSQL provider driver? "The 'MSOLEDBSQL' provider is not registered on the local machine." | This has been going on. At first MS said they will not support TLS1.2 for OLEDB then they said, they will. You can read about it here, where they said, the support comes in March 2018 Now it looks like package has arrived . I installed it. Then I ran soft without change to connection string using old style [CODE] . Tha... | The new OLE DB driver, MSOLEDBSQL , was released today. This new driver includes the support for the latest TLS 1.2 standards and is backwards compatible with SQL Server Native Client 11 (SQLNCLI11). See the Microsoft SQLNCLi team blog announcement . | 3 | 4 | 30,767 | 2018-03-29T16:15:30.567 | warehouse_errors | dba.stackexchange.com | |
116,524 | monitoring TCP/IP performance on Solaris | I am trying to tune a high message traffic system running on Solaris. The architecture is a large number (600) of clients which connect via TCP to a big Solaris server and then send/receive relatively small messages (.5 to 1K payload) at high rates. The goal is to minimize the latency of each message processed. I suspe... | [CODE] and [CODE] will probably be your best friends. First one for watching and timing the traffic, second one for measuring server's internal latency. | -1 | 2 | 670 | 2010-02-23T15:47:04.877 | pipeline_ops | serverfault.com | |
937,806 | Cannot create files/folders in new partition | I have created one partition from 500gb HDD and mounted it permanently. Now the problem is I cannot create anything in that partition. But I can able to create the files and folders with sudo access. I have mounted the partition in /media/user. I have changed the 755 permission for the user dir. Please suggest to fix t... | Try checking the user and group ownership of the directory (and its contents) using [CODE] . If you don't own it, that would explain the behaviour you described. That can be fixed with this: [CODE] This can happen with mounted filesystems that you use [CODE] to mount. So changing your mount command to this might help i... | -1 | 1 | 3,036 | 2018-10-30T06:47:43.593 | api_errors | serverfault.com | |
243,269 | mongodb - Replica set creation error: Quorum check failed because not enough voting nodes responded | I am configuring a mongodb replica set. From my current primary node, when [CODE] , it yields this error [CODE] On my [CODE] and [CODE] machines, I already added [CODE] option with the same [CODE] , [CODE] , and exposed firewall. As a proof, through command line [CODE] I can still connect to [CODE] 's mongo instance. T... | The answer is that all 3 machines must have the same version 4.0 | 0 | 0 | 3,050 | 2019-07-19T03:18:01.603 | database_errors | dba.stackexchange.com | |
17,376 | Exception in thread "main" java.lang.NoClassDefFoundError | I am trying to do this: http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/ Below is the screenshot taken from eclipse [CODE] Below is the error code taken while running: [CODE] Does somebody know how to fix it? | Have you added the Selenium Standalone JAR to your Java Project in Eclipse? In Eclipse, Expand your project Right click on Referenced Libraries. Point to Build Path Select Configure Build Path In the dialog box that appears remove any old libraries, add new ones and check and make sure you have added Selenium JAR . Onc... | 0 | 7 | 24,144 | 2016-03-02T19:59:01.567 | data_quality | sqa.stackexchange.com | |
316,623 | What is the correct way to setup a bonded bridge on Centos 6 for KVM guests? | What is the correct way to setup a bonded bridge on Centos 6 for KVM guests? I'd currently playing around with a setup of two KVM-hosts which will each host several guests. I have two HP DL380:s with 4 nics each. I'd like to use two nics (eth0, eth1) in a active-backup (mode=1) bond, for failover reasons, facing intern... | Not sure about CentOS 6, but on Fedora the bonding module is not added to the Linux kernel by default and therefore you need to create a file /etc/modprobe.d/bonding.conf with content [CODE] Reboot, and you should see bonding module loaded during boot. Since you have two bonded interfaces you might have to add another ... | 4 | 2 | 16,738 | 2011-09-28T23:38:52.603 | database_errors | serverfault.com | |
283,129 | Why do consoles sometimes hang forever when SSH connection breaks? | I've seen this with so many consoles (on Linux, Mac, ...), and with lots of different machines in many different networks. I can never pinpoint the exact reason, why this happens: All you have to do is log in to a machine via SSH. If the connection breaks for some reason (for simplicity, let's say the network cable was... | There is a "secret" keyboard shortcut to force an exit :~) From the frozen session, hit these keys in order: Enter ~ . The tilde (only after a newline) is recognized as an escape sequence by the ssh client, and the period tells the client to terminate it's business without further ado. The long-hang behavior on communi... | 149 | 240 | 103,002 | 2011-06-22T18:12:49.523 | infrastructure | serverfault.com | |
465,904 | How to route/forward/connect incoming SIP call through other SIP provider to a phone number? | I have 2 VOIP SIP accounts. One is for a landline (incoming). The other should be purely outgoing and allows for calls to my mobile phone. Basically I want to connect the landline to my mobile phone. With VOIP on my mobile phone, call quality is often bad, and generally, data connections (voice) never seem to be as goo... | The original context of your question is decidedly off-topic for Server Fault (it does sound like you're trying to do this for home use), and this is somewhat esoteric even if it were in the context of a business/corporate phone system, but it's an interesting problem so I'll take a swing at it. The way it sounds to me... | 0 | 3 | 7,433 | 2013-01-10T17:58:29.620 | infrastructure | serverfault.com | |
664,768 | redirect permanent http to https | System: Ubuntu 14.04 , Apache 2.4.7 I want all requests to http://domain.com and https://domain.com be redirected to https://domain.com . I also want to redirect requests to the "www" subdomain to the main domain.com host, whilst a few other subdomains (tools.domain.com and phpmyadmin.domain.com) will stay accessible o... | [CODE] means default With config like this: [CODE] The last virtual host is unreachable on ports 80 and 443 as any request on those ports will be processed by the relevant [CODE] virtual host. The [CODE] virtual host probably isn't required at all (are you expecting public users to use more ports ??). Working example T... | 3 | 2 | 17,940 | 2015-02-03T23:32:47.337 | infrastructure | serverfault.com | |
194,923 | What is an automated way to test that our exchange server is sending / receiving email? | Are there any simple, but automated, ways to test that Exchange is running properly? Specifically we're looking to see if Outlook users can connect to Exchange and email traffic is flowing. Occasionally our server has run into some virtual memory issues, and while we are trying to fix the cause of those issues it would... | This doesn't completely answer your question, but I wrote a script to Monitor Exchange Servers . (It was written for E2k3, but should work on E2k7, but E2k10 is iffy). As it stands now, it checks that the servers specified are pingable, Exchange Services are running, Connectors are running, Datastores are mounted, and ... | 2 | 2 | 1,158 | 2010-10-26T15:01:42.080 | infrastructure | serverfault.com | |
885,008 | Do azure linux vm supports ip based virtual hosting? | I have tried by attaching a second interface with a second public ip.But Iam unable to use that public ip.For ip based virtual hosting i need 2 public ip.(iam using ubuntu 16 vm)How to overcome this problem?Any solution? screen shot of second nic attached | If you want to use 2 Public IPs for your VM, you can also assign multiple IPs for your VM without adding multiple NICs. Scenario: Steps: Create a new Public IP resource. Associate the public IP address resource to a new IP configuration in the NiC of your VM After associating a Public address resource to a new IP confi... | 0 | 0 | 340 | 2017-11-24T11:59:56.287 | infrastructure | serverfault.com | |
252,558 | Automatically reload DB nightly | Nightly we dump our Production DB and load it into our Staging and Dev environments. A bash script is taking care of that and the steps to achieve this are the following: download the dump from the cloud drop the active connections to the DB revoke any connections to the DB drop the DB reload (recreate) the DB This is ... | In a same context, I was prefering to change the password of the applicative login, during the drop/restoration process. Is it possible for you? Make a query to list active connection from [CODE] table to identify the culprit(s). Hope this helps, Thomas | 2 | 1 | 85 | 2019-11-05T08:18:37.307 | warehouse_errors | dba.stackexchange.com | |
997,768 | Squid proxy server loads only Google sites | I have just installed Squid proxy server on a CentOS 7 system and everything went smooth but the proxy loads only the Google sites like YouTube, Google Search, and so on... when I visit another site it shows "ERR_CONNECTION_RESET" on my browser. My squid.conf file is the basic one but I commented all the "http_access" ... | It seems that your ISP is blocking the Squid HTTPS [CODE] tunnel. See https://superuser.com/a/529061/936854 I found a solution for CentOS 7 but unfortunately you will have to leave Squid and use 3proxy because it uses alternatives of the CONNECT tunnel. The solution is: Step 1: Install the following (the most important... | 0 | 1 | 891 | 2020-01-06T10:47:39.877 | infrastructure | serverfault.com | |
1,748 | Close -> A community-specific reason -> INCONSISTENT | If I try to Close -> A community-specific reason in the main DIY site, I have an option for This question belongs on another site in the Stack Exchange network and then can select Meta DIY. If I try to Close -> A community-specific reason in Meta DIY, I don't have any option for This question belongs on another site in... | It's because the question was previously migrated, and SE has extra steps for mods to migrate a previously migrated question. Unfortunately, those steps are currently broken (500, internal server error, fun times). I've left myself a note to revisit it later to move. | feature-request,close-reasons | 0 | 3 | 96 | 2023-06-06T02:13:49.053 | other | diy.meta.stackexchange.com |
41,963 | How to "swap" out production tables | I have a MySQL table that holds a few thousand records which go out of date very quickly. A few times a day we run a slow process which needs to pull data from multiple sources and re-populate the table. The catch is the table needs to be available all the time. My initial idea was to do the slow population process on ... | You can do swapsies by specifying both tables in your RENAME statement. [CODE] MySQL documentation on [CODE] says: The rename operation is done atomically, which means that no other session can access any of the tables while the rename is running. For example, if you have an existing table old_table, you can create ano... | 3 | 6 | 2,349 | 2013-05-10T23:30:07.017 | database_errors | dba.stackexchange.com | |
282,374 | Unable to shutdown immediate database - Oracle | whenever I want to shutdown the database, I get an error saying datafile header is media corrupt: [CODE] I do not mind losing those files, just need to be able to shut down the database. I tried reseaching online, but they all say in order for me to fix them I need to shutdown the database. | Since you do not mind losing these files, you can just simply drop the whole tablespace after making the datafile(s) in it offline as below. Steps to reproduce: [CODE] One way to drop: [CODE] If you have more files in this tablespace, execute the above [CODE] for all before dropping the tablespace. You will need to do ... | 0 | 3 | 1,169 | 2020-12-30T22:15:13.153 | database_errors | dba.stackexchange.com | |
491,124 | AWS-CLI - Can't find my config even through it exists | I installed Amazon Command Line Tools (AWS-CLI) using: [CODE] It installed successfully. I then created a file in this location: /opt/aws/aws_cred.txt [CODE] Then I ran this command: [CODE] Then I get this when I try to run this command: aws ec2 describe-regions botocore.exceptions.ConfigNotFound: The specified config ... | Compare [CODE] and [CODE] (Hint: one uses "smart" quotes.) Edit: to be less oblique, your use of smart quotes is causing the problem. | 3 | 2 | 5,750 | 2013-03-25T14:44:59.133 | infrastructure | serverfault.com | |
169,844 | Computer cannot be seen on the network | I am having an issue with a machine on my company network where it has joined the domain OK and the machine itself can happily connect with play with other machines on the network but nothing can connect to it (or indeed ping it). What I would like to achieve to to be able to remote desktop onto it (obviously I have tu... | As far as connecting to this PC via Remote Desktop goes, please verify two things and then run a test for me. Verify: The Windows Service "Terminal Services" (Control Panel, Administrative Tools, Services) is started (if not, right mouse click on it and select Start, if you cannot start, verify under its properties tha... | 2 | 1 | 576 | 2010-08-06T10:48:56.947 | infrastructure | serverfault.com | |
125,313 | Optimize slow query in PostgreSQL | I've got a slow query here... could you please help me to optimize it? Query: [CODE] EXPLAIN ANALYZE: [CODE] Just an update about it: The below query is good, the missing piece is that the quantity & cost selectors are interchangeable. Believe the i case is covered with joyleak's new implementation, I just need the a-c... | Although I'm not certian if this will speed up your query directly, I find it's best to start with simplfying your query by removing any extra tables and columns from your query (and sub-queries) that are not relvant. For instance I don't see a purpose for adding the big [CODE] subquery. I would suggest removing this (... | 1 | 2 | 272 | 2016-01-05T21:39:33.413 | database_errors | dba.stackexchange.com | |
1,051,284 | Rsync over ssh into a Docker mounted volume | I would like to make a [CODE] backup of a Docker volume on a remote host. This method should have the following advantages: rsync files with [CODE] and [CODE] permissions that are not granted to the backup host does not require additional port/s rsync any kind of docker volume This should let me rsync any volume withou... | Here is IMHO a somewhat more elegant solution: build a docker image based on alpine with ENTRYPOINT set to "rsync" , Dockerfile like this: [CODE] I called it alpine-rsync. pull that image on remote server Now you can invoke rsync with less escaping, with --rsync-path="docker run -v $DOCKER_VOLUME:/data -i alpine-rsync"... | 3 | 1 | 4,349 | 2021-01-26T16:34:17.213 | pipeline_ops | serverfault.com | |
1,060 | What alternatives are there for cross cutting concerns other than aspect oriented programming? | Aspect oriented programming promises to deal with cross cutting concerns, but I'm not completely sold on it yet. Have there been any other attempts to deal with this problem? | When possible, you can encapsulate cross-cutting concerns into separate modules that are then used throughout the app via dependency injection. This allows you to somewhat decouple the cross-cutting concern implementation from it's use throughout the code. This doesn't always work elegantly, though. That's the reason p... | 21 | 8 | 6,499 | 2010-09-05T22:52:19.313 | api_errors | softwareengineering.stackexchange.com | |
65,330 | SQL Server 2005 update only updates one instance | I am currently in the process of performing updates on a SQL Server. Our SQL Server contains two databases, lets call them [CODE] and [CODE] . I perform the first hotfix and the installer ends reporting successful installation. However, upon attemping the next hotfix in the sequence, it fails due to [CODE] possessing t... | Nope, they typically only do one instance at a time. There are definitely times when you wouldn't want to do all instances at once. What hotfix are you installing? | 0 | 1 | 70 | 2009-09-14T21:31:04.217 | api_errors | serverfault.com | |
990,967 | OCZ Revodrive 350 srs interrupts | We built some servers running Windows Server 2016 out of some "spare" parts with the following specs: Supermicro X10DRH-iT Dual E5-2620 v3 256GB Registered ECC DDR4 RAM 1x Adaptec 71685 RAID controller 8x Intel DC S3500 80GB SSDs 4x Intel DC S3500 240GB SSDs 4x 300GB 15k SAS HDDs 2x OCZ RevoDrive 350 480GB 1x OCZ RevoD... | OCZ Revodrive was a single-card RAID0 setup, actually. It had terrible reliability and performance consistency. I would not use it for anything other than some "fun" (or hobby) testing. If you really want to use your 3x RevoDrives, try changing PCI-E slot and running with a single RevoDrive at time. However I strongly ... | 0 | 1 | 120 | 2019-11-07T13:03:29.970 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.