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 |
|---|---|---|---|---|---|---|---|---|---|---|
101,152 | problem with enableing apache mod rewrite on xampp | I'm trying to enable the mod rewrite on apache for xampp, I've uncommented the code [CODE] also I have the AllowOverride All as well but it's still not working, I get the error 400 which says Bad request! Your browser (or proxy) sent a request that this server could not understand. so I tried to install the zend server... | AllowOverride enables .htaccess files. my guess is you have a bad .htaccess in the path of the website. If you have some invalid syntax in the .htaccess file you will get a server 500 error. turning on rewrites also is not enough you have to add the line RewriteEngine On to either your virtualhost or .htaccess file and... | 0 | 1 | 4,350 | 2010-01-09T08:15:21.490 | api_errors | serverfault.com | |
358,365 | Windows compatibility with Unix/Linux newline "\n" | A follow-up to Difference between '\n' and '\r\n' . It's been few decades since the schism was introduced. Nowadays, when documents are being exchanged over the internet, typically with no prior knowledge of the client's preference of line endings, the clients have to deal with both [CODE] , [CODE] . To me it seems tha... | Windows Notepad ( [CODE] ) doesn't interpret a standalone [CODE] as a new line. It's not necessarily "modern" but pretty much "mainstream". If you're writing text files, every day user should be able to edit, don't focus on [CODE] only and instead write your program in a way to accept all three styles (since some older... | 3 | 1 | 3,547 | 2017-09-30T06:05:22.297 | api_errors | softwareengineering.stackexchange.com | |
749,697 | Some Exchange server users can't send email from mobile devices | I am facing a strange problem. I have configured some users to use their mail box from their mobile devices and outlook using POP3 and SMTP connection. The problem is that they can receive emails but they are not able to send emails. Whenever they send an email it goes to Outbox with a message status "Failed". This pro... | Why are you using Outlook and mobile devices with POP3/SMTP? Outlook should be using Outlook Anywhere for remote connection and mobile devices using ActiveSync. That will avoid problems with sending email through some of the most heavily scanned and blocked ports. With POP3 you will lose email, it is just a matter of w... | 0 | 0 | 2,658 | 2016-01-17T07:43:35.317 | infrastructure | serverfault.com | |
258,728 | How dangerous is it to take shortcuts when coding Web based applications? | I started working as a Web developer few months back. Previously, I had no prior professional experience in programming besides school classes and fun-side projects I did on my own. I am the only person there that really know how to code. I'm a fast learner and I know I can make a lot of stuff from PHP and JavaScript/j... | This is basically long-term vs. short-term choice. You may implement a feature in an hour doing dirty hacks, Or you may spend the next week studying the actual needs of the users/your boss, translate them into requirements, refactor the code to accommodate the code base for the new change, write tests, implement the ch... | 4 | 12 | 739 | 2014-10-11T04:25:37.570 | data_quality | softwareengineering.stackexchange.com | |
9,436 | SQL Server 2008 - Cannot create index on Indexed View | I am attempting to create an index on a view. The view is contained in a different schema than the underlying table it's based on. When I attempt to create the view, I get the following error: Msg 1938, Level 16, State 1, Line 1 Index cannot be created on view 'vwCdSimThk' because the underlying object 'CDSIM_Thk' has ... | Well apparently the owner is different. You might have done that without even realizing it. Try changing the owner: [CODE] | 1 | 5 | 2,676 | 2011-12-19T20:30:27.707 | database_errors | dba.stackexchange.com | |
244,095 | how to make ext4 more reliable? | As ext4 introduced more reliability than ext3 with block journals, is there any chance to suppose it 100% reliable? What if enabling block journaling on it, which is disabled by default? I have an embedded linux device, after installation keyboard and monitor is detached and it works standalone. My duty is to make sure... | What do you mean by reliability of a file system? If you want to minimize chances of data loss in case of a sudden system abort (power failure/kernel panic/whatever), you may try data=journal and sync options. This will kill performance, but reduce risks of data loss. I think you should better define what you mean by r... | 0 | 0 | 1,516 | 2011-03-07T07:51:18.483 | infrastructure | serverfault.com | |
132,812 | Install Oracle Drive and TNS for Windows XP? | I am building a box with Windows XP with some applications. One application requires connection to an Oracle database on remote. I have installed OracleXEClient.exe from Oracle download. The installation does install "Oracle Provider for OLE DB" driver. My problem is that I still cannot make connections to the remote O... | Oracle XE client does not have a tnsnames.ora. To connect using the odbc use the instructions on this page or, as Gary said, c:>sqlplus /nolog SQL> connect user/pwd@127.0.0.1:1521/xe should work as well. | 0 | 1 | 2,473 | 2010-04-15T17:50:27.223 | database_errors | serverfault.com | |
745,905 | host a 500gb mysql database in RAM memory | I have a 500gb mysql database. Assuming that buying RAM is not a problem (memory is cheap), is it practical or even sane to host an entire 500gb mysql database in RAM memoery for faster accessing speeds? | Yes this is entirely possible (some) HP Gen 9 servers for example support 1.5TB of RAM which should be ok for a 500GB database. | 0 | 3 | 595 | 2015-12-30T07:41:49.753 | database_errors | serverfault.com | |
91,642 | Performance of bitwise operators on byte column vs individual bit columns | I'm designing a database schema at the moment, but have a performance query. Our table needs to have (at least) two flags, or boolean values. We can call these IsComplete and IsExportable. The obvious way to put these into a table is as two separate bit columns, but it occurred to me that we could put it into a byte co... | The answer to any performance question is "it depends." Discrete columns can be fast and byte column flags can be fast too. In absolute terms you can probably save a bitwise operation by having discrete columns here and there so discrete columns are theoretically faster. A theoretical bump shouldn't be the main reason ... | 3 | 2 | 3,071 | 2015-02-10T23:55:14.353 | warehouse_errors | dba.stackexchange.com | |
202,192 | Slowness on SQL Server 2008 with Windows Server 2008 R2 | I am facing a performance problem on our server. The main reason seems the versions of OS and SQL Server. Once I install the SQL Server 2008 on Windows Server 2008 R2, the response time of my web site becomes very slow. Whereas, if I use SQL Server 2008 on another machine which has Windows Storage Server 2003 R2, the r... | I faced a similar issue in the past, with the the same SO and Sql Server version, with a particular DB. My problem was related to the transaction log, i needed to backup/clean it and also needed to free some more space in th drive and after i really could notice the performance going up again. I don't knwow if by any c... | 0 | 1 | 3,268 | 2010-11-15T21:11:47.710 | database_errors | serverfault.com | |
616,266 | What would cause Windows to create temporary paging file? | After recent scheduled reboot when I remote to a server I get the following error message. Windows created a temporary paging file on your computer because of a problem that occurred with your paging file configuration when you started your computer. The total paging file size for all disk drives may be somewhat larger... | It could lead to instability because your if your server uses all of the RAM and all of the space in the page file, applications will probably crash. A 656 MB page file is extremely low. Depending of the availability needs of your servers & the % of RAM used you might want to schedule an early reboot. Unless you have a... | 2 | 1 | 6,892 | 2014-07-29T11:55:59.930 | infrastructure | serverfault.com | |
294,056 | Using parameter with cursor in stored procedure | I'm using SP that gets date as parameter, I'm trying to use the varable inside the query but SQL doesn't seems to "see" it [CODE] | A variable or parameter is visible only within the scope in which it is declared. The parameter [CODE] is visible in the body of your procedure, but not in the dynamic script your procedure is generating and executing. Even though the dynamic script is declaring a variable with the same name and type, the value of the ... | 0 | 4 | 97 | 2021-06-10T08:34:38.240 | database_errors | dba.stackexchange.com | |
796,804 | SSD vs Battery Backed Write Cache | I have been saddled with some servers with crap Dell H310 and H330 controllers (which don't have BBWC and provide about 15mb/sec write performance on spinning disks). I can upgrade the controllers to H710's (which do have a BBWC, but most likely require a rebuild as they apparently require a RAID setup, while I'm using... | Battery-backed write cache allows you to acknowledge writes as soon as they're received into cache. This is faster than SSD. It won't help you on reads, though, and any time your cache is full and the client is still writing, you'll go back down to the speed of the disk. If your workload is in any way read intensive (d... | 2 | 6 | 1,569 | 2016-08-15T01:26:34.137 | infrastructure | serverfault.com | |
341,232 | Installed over 4G RAM on 32-bit OS? | Possible Duplicate: 32-bit Windows Server address > 4GB RAM - How? I know that for 32-bit OS, the addressable memory space for each process is "4G" (maybe just 3G in user space...). If I have a 8G RAM, is it correct that all of the processes can still utilize (shared) these 8G memory but each of them are limited to a m... | On 32bit systems applications can map over 3GB (on Linux up to 64GB) of RAM using so called [CODE] (Physical Address Extension) support. | 0 | 2 | 289 | 2011-12-15T14:01:16.300 | data_quality | serverfault.com | |
707,222 | Nginx not responding with rails app deployed on aws ec2 instance using capistrano | I have a rails application deployed through capistrano on an aws ec2 instance and have passenger nginx installed on the server as well. Whenever I try and access my application using the DNS or the public IP provided, all I get is the browser loading for a while ending with no response, not even an error page from ngin... | You have a process that binds to port 80 already. Check it out via [CODE] Once you get its PID (1234 for instance) send a signal to gracefully shutdown the process: [CODE] If it doesn't help and process is still running wait a bit then send another signal type to PID: [CODE] After this you can start Nginx again with no... | 1 | 0 | 1,132 | 2015-07-20T22:42:26.073 | infrastructure | serverfault.com | |
39,787 | MySQL tuning (my.cnf) for very large tables and ad hoc queries | We are an email marketing company and recently switched our setup to MySQL. We need to configure mysql (my.cnf) for extreme performance. We have tried to configure my.cnf but heavy queries can get stuck for many many hours without any result and same queries take one or two hours to complete on sqlserver (8GB Ram). It'... | very large tables more then 70Million to query If you have more than 70 million tables then you need to get a big stick and apply it repeatedly to the person responsible for this. There's lots of things you do to improve the performance a database (and ignoring this line, some small changes could massively increase the... | 3 | 0 | 20,138 | 2013-04-11T15:12:30.980 | database_errors | dba.stackexchange.com | |
336,195 | Finalize GroupAggregate parent using Partial HashAggregate child nodes in Postgres query plan | I have seen in some query plans that the parent is a Finalize GroupAggregate but its child nodes are Partial HashAggregates. When does this make sense? As an example, I have a query that resembles something like: [CODE] There is no sorting involved, so why does it choose a GroupAggregate at the top? And why are the par... | As the other answer explains, the individual child workers have duplicates between them. The parent needs to remove these duplicates. Both hashing and sorting are valid methods to remove duplicates. the parent is a Finalize GroupAggregate but its child nodes are Partial HashAggregates. When does this make sense In this... | 0 | 0 | 72 | 2024-02-23T18:59:00.403 | database_errors | dba.stackexchange.com | |
48,660 | Comparing binary 0x and 0x00 turns out to be equal on SQL Server | It seems that SQL Server considers 0x and 0x00 equal values: [CODE] This outputs [CODE] . How can I get true binary bit-for-bit comparison behavior? Also, what are the exact rules under which two [CODE] values are considered equal? Also note the following behavior: [CODE] Background of the question is that I'm trying t... | I couldn't find this comparison behaviour specified anywhere in BOL. But the Connect Item Invalid equality comparison for varbinary data with right padded zeros states that Basically, the standard leaves it up to implementation to treat strings that differ only by [trailing] [CODE] as equal or less. We treat it as equa... | 8 | 6 | 11,998 | 2013-08-24T11:06:18.690 | database_errors | dba.stackexchange.com | |
314,745 | SSL/TLS Version in Nginx | I installed Nginx and enabled SSL. [CODE] Everything is working so far. The only thing that annoys me is that Chrome shows that the Server is using SSL 3.0 when you click on the lock/https icon. This version of SSL is deprecated (see https://vorb.de ). When I visit an error page, everything is OK, since it shows TLS 1.... | I had similar problem, commenting below line helped fixing the error. Final code looked like below - [CODE] | 0 | 1 | 7,125 | 2011-09-23T08:23:09.277 | infrastructure | serverfault.com | |
416,321 | mdadm RAID 5 Failed with 2 Drives while rebuilding | I have a RAID 5 array with 3 Disks ( [CODE] ) Over last weekend I was prompted that [CODE] had failed. so replaced the drive, added it back into the array and let it rebuild (1.5TB) It stopped at about 64% with an error, found out that [CODE] is failing as well. I imaged [CODE] onto a new drive ( [CODE] ) and [CODE] on... | [CODE] Storing important data (on ANY system, no matter how reliable) without a backup is indeed the problem! Having no backup, and having experienced a failure mode for RAID 5 for which there is no proper recovery path, you are now what our British friends would refer to as " Right Royally Rogered " (actually they wou... | 4 | 5 | 2,852 | 2012-08-10T15:17:08.380 | infrastructure | serverfault.com | |
277,187 | Replacing a Hard Disk in RAID 5 Array with Newer Version | Recently, 1 out 4 disks in my RAID 5 array failed. I searched for a replacement part and learned that only a newer version of the hard disk is available. This "newer" version has the exact same specs as it's predecessor. When I called the customer service department to order the replacement part the tech vehemently cla... | I was in the EXACT same situation as you. I had a drive die on my PE 2900 with a PERC 5/i last week actually. The server is probably 5-6 years old at this point, and original drives are not available. Dell sent me out a new drive which was not identical to the original, but advised me that it would work perfectly. I pu... | 3 | 4 | 1,318 | 2011-06-05T16:52:05.250 | infrastructure | serverfault.com | |
862,052 | NETLOGON EventID 5723 for Managed Service Account | I'm receiving NETLOGON errors EventID 5723 which states: "The session setup from computer [AccountName] failed because the security database does not contain a trust account [AccountName] referenced by the specified computer." The only problem is the account being referenced is NOT a computer account. It's a Managed Se... | As a matter of fact, Group Managed Service accounts are indeed a type of computer account. If you take a look at the objectClass attribute on one of them, you'll see a list of classes including: computer msDS-GroupManagedServiceAccount organizationalPerson person top user Additionally, the sAMAccountType attribute is s... | 1 | 1 | 2,250 | 2017-07-13T17:34:40.803 | infrastructure | serverfault.com | |
507,644 | File access from client Windows Server 2012 works with procmon enabled, otherwise doesn't | Windows Server 2012, running Terminal Services has a client application installed. The server part is located on another Windows Server 2012. The client application is an old one, based on dBase. The problem is, said application cannot create emails using extended MAPI from the client computer. When you try to create a... | Process Monitor uses API hooks to intercept file/registry access calls to the API. It logs them and then passes them to the API. This is also how most antivirus and rootkits work. More info: http://www.codeproject.com/Articles/2082/API-hooking-revealed | 1 | 0 | 655 | 2013-05-14T12:08:08.727 | infrastructure | serverfault.com | |
116,922 | Linux Cache Clear for Storage Performance Testing | Is there any way to make linux remove from memory all cached disk data? Our goal is to time some performance tests on various storage configurations and have each one start with a clean slate cache-wise. | How about this: [CODE] | 1 | 3 | 853 | 2010-02-25T20:31:03.497 | infrastructure | serverfault.com | |
734,370 | Iptables configuration in CentOS for GCM commands | I am planning to enable iptables for my CentOS VM. Have configured the below rules. But for GCM (Google Cloud Messaging) commands it fails to receive reply from GCM server. If i disable iptables it works perfectly. [CODE] Can someone guide me on the exact port for GCM to work? I read it in many places that its 5228,522... | If you're looking to connect a service which is listening on ports 5228, 5229, and 5230, the related [CODE] rules should be [CODE] , not [CODE] , because you're looking to accept packets coming from the service to your machine, and those ports will have a source port of whatever port you're connecting to, and a destina... | 0 | 1 | 617 | 2015-11-06T03:48:45.170 | infrastructure | serverfault.com | |
36,410 | How to deal with Optional Input | I'm from the vision world and only worked with pixels from 0-255, ignoring any side effects. My current problem is different, in the way that I cannot rely on the input data. What my problem is: I have a number of inputs. Each input is categorical (for now) and optional. For example I have a number of user features, {m... | It sounds like you essentially have a sparse input problem, similar to doing something like a recommendation system. Imagine trying to recommend a film to somebody based on films they have already watched and rated. There would be many many films they have not seen, so you (in a sense) have missing data. This was the c... | 1 | 0 | 710 | 2018-08-03T07:09:43.657 | data_quality | datascience.stackexchange.com | |
78,208 | Dynamic Images in Tableau | A Tableau Workbook I'm working on has different users logging in to see the data for their company. In the dashboard I have created a dynamic image that shows the customer logo depending on who is logged in. I created this by going to the Map drop down and using Background Images. The field that controls which image is... | Found the fix by creating this calculated field: {EXCLUDE [ColumnName] : COUNTD([ColumnName]) = 23} This would exclude all of the customers when all were shown. Then I added this to the Filters card and the color marks card. | 0 | 0 | 588 | 2020-07-23T15:59:51.577 | bi_errors | datascience.stackexchange.com | |
216,602 | What is the IPv6 equivalent to IPv4 RFC1918 addresses? | Having a hard time wrapping my head around IPv6 here. A lot of the lingo seems targeted at enterprise-level IPv6 deployments, discussing link-local, site-local, global unicast, scopes, etc. Not a lot of solid information on really small networks, like home networks. I want to check my thinking and make sure I am gettin... | The "Unique Local Address" is exactly what you're looking for. [CODE] gives you enough bits that if you generate a random number instead of just picking one the chances of collision are small. Does this mean I'll need extra protections so my router would not automatically start advertising these private IPv6 addresses ... | 41 | 18 | 36,200 | 2010-12-28T03:15:45.383 | pipeline_ops | serverfault.com | |
1,132,802 | Postfix SMTP Relay Access Denied | I know that there are already many similar queries on this site, but I could not find a solution for myself in any of them. I have postfix version 3.6.4 configured for smtp. I need it to forward mail to recipients only from google. But when I try to send the mail, I get an error: [CODE] When I add the Google IP address... | Add the following lines to the configuration file "/etc/postfix/main.cf": [CODE] Create the file /etc/postfix/google_domains and add the following line: [CODE] Reload Postfix to apply the changes. | 0 | 0 | 203 | 2023-06-07T12:31:36.547 | infrastructure | serverfault.com | |
390,663 | Windows redirect by port? | Possible Duplicate: Forward Incoming Traffic with Windows hosts file? In Windows you can redirect traffic from a host by using the [CODE] file. [CODE] example [CODE] Is there a way to do this with all traffic from a port? Something like [CODE] I have seen on linux you can do this with [CODE] . I have heard of solutions... | You may be able to do this with netsh interface portproxy command, read here for more info: http://technet.microsoft.com/en-us/library/cc776297%28WS.10%29.aspx [CODE] Never used it before but seems to be applicable here. | 0 | 1 | 5,688 | 2012-05-19T15:09:34.747 | data_quality | serverfault.com | |
1,013,995 | GCP Data Fusion error running Dataproc pipeline | We are trying to deploy a basic instance of Data Fusion in the our Architecture. We are able to deploy it but when we run a simple NY Times Best Selling Books Under $10 pipeline from the Hub/Pipelines we get an error when hit [CODE] button. We have successfully deployed this pipeline in a fresh project but when we depl... | Because Dataproc VMs run many of OSS services on VMs and each of them use a different set of ports there are no predefined list of ports and IP addresses that you need to allow communication between in the firewall rules. What you should do instead is to allow intra-cluster communication between all VMs over all ports ... | 1 | 0 | 529 | 2020-04-24T16:10:26.280 | pipeline_ops | serverfault.com | |
1,141,596 | Nginx returns different SSL certificates for one domain | Problem summary: one nginx server one domain with SSL certificate when accessing the site from one network, nginx returns the correct current certificate (1), and when accessing from other networks - some other one (2), expired a couple of years ago The old certificate (2) is missing from the server, it's not in any ng... | Seems very confusing. Difficult to diagnose without configs etc. I would break down your debugging into steps. Stop Nginx. Try from both networks. If your site is still responding you have a problem. Temporally remove/comment out the Nginx config for the working correct cert. Replace with a default "Welcome to". Try th... | 0 | 0 | 311 | 2023-08-15T13:29:11.477 | api_errors | serverfault.com | |
338,924 | Solution for snmptrap required | This is the command which I have written: [CODE] getting error as: [CODE] What is the solution? Something is missing in command line? | The syntax for SNMPv3 is significantly different from SNMPv1 ... and unfortunately, many of the options that [CODE] expects are very sensitive to position on the command line. You're not the only one to be tripped up by this. :-) You can try something more like the following: [CODE] The option immediately following the... | 0 | 0 | 913 | 2011-12-08T11:38:45.220 | infrastructure | serverfault.com | |
230,665 | Materialized views Performance | Postgres’ docs note: While access to the data stored in a materialized view is often much faster than accessing the underlying tables directly or through a view, the data is not always current; https://www.postgresql.org/docs/9.6/rules-materializedviews.html Why is it “often much faster?” | The data of a MV is stored in a regular table, there is no magic to that. But access is typically (much) faster for multiple possible reasons: multiple tables joined already smaller row size with only relevant columns for common queries pre-computed values pre-selected rows, possibly in expensive ways possibly much les... | 5 | 12 | 14,758 | 2019-02-25T13:34:46.037 | warehouse_errors | dba.stackexchange.com | |
1,501 | Configure Docker to use SSL for a private registry on Windows 10? | Trying to use a customer registry from a Windows 10 system - a native Docker client in PowerShell. [CODE] Importing the authority certificate to local user store via Windows tooling works for itself but has no effect here. | The official Docker documentation says: Docker recognizes certs stored under Trust Root Certification Authorities or Intermediate Certification Authorities . That is, you can proceed as the following : Start > "Manage Computer Certificates" (also available in the control panel) Right-click on "Trusted Root Certificatio... | 4 | 10 | 13,445 | 2017-07-10T15:55:52.687 | pipeline_ops | devops.stackexchange.com | |
260,573 | PostgreSQL won't start because it "Cannot allocate memory" | I'm running PostgreSQL 8.4.5 on Ubuntu 10.04. I run an EC2 instance with a few sites running on nginx. Most of these sites run on Django and connect to this Postgres instance. For some reason, at 8:45pm tonight, Postgres went down. I logged into the machine, and I see this error message: [CODE] The first thing I did wa... | You can use the 'ipcs' command to list all the SHM segments. If a program crashes without deleting them, they may be lying around consuming memory; you can remove these manually with the 'ipcrm' command. | 5 | 4 | 20,985 | 2011-04-17T04:53:42.740 | database_errors | serverfault.com | |
574,156 | chown / owner group permission confusion on lamp stack | I've got a few problems with permission/owner group setup on my VPS. It's running LAMP (Ubuntu 12.10, apache2, mysql 5.5, PHP 5.5.8). I've setup vsftpd as a forum platform I'm running needs ftp access to install it's own updates/modifications, etc. I'm confused about owners and groups. The ftp user is "ftpuser" for exa... | By adding [CODE] to the [CODE] group you are allowing [CODE] to modify files owned by the [CODE] group not the other way around. You could add [CODE] to the [CODE] group. If you don't want to give the FTP users permission over your web app (which could be a nice idea) you could create a third group (e.g., [CODE] ) and ... | 1 | 2 | 3,877 | 2014-02-08T13:58:50.203 | database_errors | serverfault.com | |
904,869 | Why does ipa-getkeytab fail on samba server? | I am not a systems person, please forgive my lack of knowledge. I have set up FreeIPA 4.5 on Centos 7. I was able to successfully manage user login to a test server (Fedora 27). So, FreeIPA is "working" (in that capacity anyway). I am trying to use FreeIPA to manage access rights for a Samba server (again, Fedora 27), ... | We had to add a record for the domain to our router, which acts as a DNS server for our LAN. So, locally the domain resolves to the IP of the FreeIPA server. After the above DNS correction I was able to successfully add the Kerberos key to the Samba server. | 0 | 0 | 348 | 2018-03-27T20:07:16.550 | infrastructure | serverfault.com | |
923,238 | How to update/detect increased storage volume size /w Linux | I have upgraded my storage and increased the size of total volume. When I check the extended size in storage management page (MSA2040), it shows everything is alright and its extended. But when I check from my OS, it still shows the old value. Size before upgrade was 9.4 TB, size after upgrade is 13.2 TB. When i [CODE]... | You just need to grow the XFS filesystem. In this case, [CODE] should work. | 1 | 4 | 774 | 2018-07-24T07:14:56.970 | infrastructure | serverfault.com | |
795,084 | Windows 10 1607 keeps connecting to internet in the background | I just installed windows 10 version 1607 and since yesterday i am seeing hidden connections to the internet. I have wireshark installed and i see a constant connection to ips such as 23.14.84.171, 23.14.84.160, 216.58.192.110, 208.65.155.48, 13.107.4.50, 23.14.84.161,23.14.84.177, 23.14.84.168, 8.253.0.30, 8.253.0.62, ... | This is the delivery optimization feature introduced in Windows 10. Here is a blog that explains further: https://blogs.technet.microsoft.com/mniehaus/2016/08/16/windows-10-delivery-optimization-and-wsus-take-2/ You can disable this behavior in the UI here: https://privacy.microsoft.com/en-us/windows-10-windows-update-... | -1 | 0 | 2,005 | 2016-08-05T14:25:08.540 | infrastructure | serverfault.com | |
235,757 | A specific problem with architecturing a part of our application | Firstly, I'll try to describe the real world model of what we are trying to express in C# code. We have a device called M100. It's purpose is to read\write data from\into cards (plastic or ULTRALIGHT cards such as MIFARE). It can be with one up to 3 antennas (the device read\write data through antenna). One of antennas... | Your problem is exactly same kind of problem this exercise on software design describes. Instead of designing the code around specific device, you should design abstraction that describes process of reading a card. Then, this abstraction can be concretized to specific devices. If you design you software this way, the p... | 1 | 1 | 176 | 2014-04-12T09:26:09.700 | api_errors | softwareengineering.stackexchange.com | |
269,498 | How to put MAX() inside AVG() in SQL | So I am having SQL error: "Cannot perform an aggregate function on an expression containing an aggregate or a subquery." I know you will ask me to just put it on a variable but this piece of code is inside a view. SQL does not allow us to put variable inside a view. [CODE] I already tried putting in a derived table. [C... | So I still added the derived table [CODE] As you can see I included the [CODE] and put the alias in the avg() [CODE] Doesn't look good but its working | 0 | 0 | 23 | 2020-06-19T20:02:18.357 | warehouse_errors | dba.stackexchange.com | |
563,156 | Apache 2.4.6 (User mod 403) | Hello (Sorry for my bad english) I have a big problem on my server (Debian) I have do the upgrade and for all my clients (mysite.fr/~user) I have an error 403 : In /etc/log/apache2/error.log [Mon Dec 23 13:56:08.295684 2013] [authz_core:error] [pid 22110] [client 127.0.0.1:51723] AH01630: client denied by server config... | Solved In /etc/apache2/conf-enabled/security.conf (i have the file version for apache 2.2) So i have add [CODE] It's good have a good day | 2 | 1 | 265 | 2013-12-23T13:18:45.320 | api_errors | serverfault.com | |
648,420 | Lync 2013 Windows Phone client - Unable to sign-in. Request failed with the WININET errorCode (UcwaAutoDiscoveryRequest) | Summary: Windows Phone Lync 2013 client unable to login to Lync Server 2013. But other device iOS, Android, Windows desktop client all fine. In detail: We have a client with Lync Server 2013 deployed. We are using the full Enterprise Voice functionality with mobility. We have a Server 2012 R2 ARR IIS Reverse Proxy in p... | (sorry for the late reply) The after troubleshooting the issue we found that the following two items contributed to the problem. When both of these two items were resolved, Windows Phone and Android Phone Lync 2013 client were able to login. Resolved problem 1: SSL certificate The SSL certificate that was used on the R... | 0 | 0 | 1,656 | 2014-12-02T06:12:39.563 | infrastructure | serverfault.com | |
97,266 | Managed Hosting vs Co-location | I am working on a project that will require for us to upload huge HD video files to a server. For simplicity, I was considering Managed Hosting at Rackspace with Cloud Files. However, the main work flow bottle neck would be the upload times. Our first batch of video is 30GBs, and with a single typical current uplink co... | If you're going to be consistently uploading HD video from your job site, you should probably buy a bigger pipe. Incidentally, Rackspace takes courier/mail delivery all the time of USB harddrives, DVDs, etc, with client data on them. That may be an easier way to transfer the data. | 0 | 2 | 629 | 2009-12-24T19:43:38.553 | infrastructure | serverfault.com | |
338,040 | When I apt-get anything I got this erro“E: Sub-process /usr/bin/dpkg returned an error code (1)” | for example when I "sudo apt-get install libmemcache0", I got: [CODE] What can I do? I am using linode and no grub. | As a temporary fix to make apt happy you could probably adjust your [CODE] file so that the system does not try to run [CODE] . This should permit the post install scripts to finish without errors. It will obviously not update the boot loader or switch your system to use the newer kernel. Since you are using a kernel s... | -1 | 2 | 356 | 2011-12-06T07:38:56.610 | infrastructure | serverfault.com | |
337,262 | Apache and Nginx - Forwarding .htaccess requests to Apache? | A really simple one but it's alluding me entirely. I've set up nginx as a proxy for Apache and at the moment it's only set to allow requests for certain files through to Apache, the config line is below. Problem I'm having, I need it to send .htaccess through also and every change I've tried has failed! Probably someon... | By ".htaccess request" and "send .htaccess through" you seem to be implying that the web browser should request the .htaccess file and the web server should deliver it. This really isn't now it's supposed to work, it's so far off I'm sure I've misunderstood. What .htaccess is actually for is for giving apache specific ... | 1 | 0 | 556 | 2011-12-03T03:15:14.577 | infrastructure | serverfault.com | |
787,020 | Run shell script on the event of "possible SYN flooding" | I'd like to write a script that gets all the stats I need (top IPs, used memory, netstat, etc) at the time I got an SYN flooding, and write to a report file. So, is it possible to trigger a script/command when the kernel alerts for "possible SYN flooding on port XXX" ? Jun 27 22:12:21 xxxx kernel: [xxxx.xxxx] possible ... | In short: yes! But that depends a bit in the syslog daemon you're running. Syslog-ng allows that with the [CODE] destination. Rsyslog offers [CODE] . | -1 | 2 | 302 | 2016-06-29T21:14:33.817 | infrastructure | serverfault.com | |
308,118 | After Migration my Website is not opening | My Site is http://homeodisha.com/ After migration to a different server its not opening "500 Internal Server Error" My Base location is "/home/odisha/public_html" Below is my .htaccess file [CODE] | Try getting rid of [CODE] | 0 | 1 | 93 | 2011-09-04T08:18:26.147 | api_errors | serverfault.com | |
271,015 | Why do mainstream OO languages not have immutability on class-level built-in? | I regularly write classes which can only have immutable instances, much like string. I am wondering why Java or C# or VB.NET don't have immutability built-in into the language? That way, I can communicate immutability better to my fellow programmers and also make assumptions about state in the class. For instance: immu... | C# does have immutability built in. So does Java, and VB.NET. Mutable: [CODE] Immutable: [CODE] Note that I'm using "immutability" hear to mean "set once during object construction." Constants are not very useful in this context, because they can only be set at compile-time. If you dig deep enough, every programming la... | 3 | 6 | 539 | 2015-01-24T19:17:06.867 | api_errors | softwareengineering.stackexchange.com | |
877,159 | How to project / measure physical host wait with multi-core guests in ESXi | I’ve heard that if you have a guest with N virtual cores under ESXi, the hypervisor waits for N total logical processors on the host to become available simultaneously before delegating work from the guest to the hardware. Therefore, the advice is that you should very carefully consider increasing the guest by X cores ... | Hyper-threading is lying about the number of cores to get a few percent boost. You do not have 24 cores, you have 12. Although, I would feel a little better about fully using those 12 cores for guests with hyper-threading. When a guest crosses the size of a node, you will have NUMA effects upon accessing remote CPUs or... | 3 | 1 | 81 | 2017-10-06T00:09:10.720 | spark_errors | serverfault.com | |
742,900 | How to allow both/either public key and/or password authentication | I am trying to get Komodo to connect to a remote server. However, as I understand it, Komodo doesn't support public ssh keys. I edited the /etc/ssh/sshd_config file and set both [CODE] However, when I try to connect I keep getting the following message: [CODE] How can I set the server up so that it accepts both types o... | Your configuration looks ok. Once you have changed the sshd_config file, you need to restart sshd so that it can read the new config. | 1 | 1 | 1,922 | 2015-12-14T14:13:45.337 | api_errors | serverfault.com | |
362,983 | how to restrict /wp/wp-admin files to my private ip adresses | I have a wordpress site under /wp directory, with nginx web server.I want to restrict /wp/wp-admin files to my private ip adresses and return an error to unathorised clients. the problem is wp-admin folder can be easily restricted but files are still reachable! [CODE] | The way to do this is with a [CODE] stanza in your config file, such as: [CODE] Your question made it sound as though you had tried this already without success though? Can you post your exact configuration for this directory? | 3 | 2 | 2,432 | 2012-02-23T12:08:58.133 | infrastructure | serverfault.com | |
900,091 | Unusual Device Name In Windows Authentication Logs - JCIFS | I've seen a few articles with similar host names, however, I can not seem to find a definitive cause. We have seen some Windows security logs (from DC) linked to the lockout of an account; the host was not our usual format, but was in the following format: JCIFS0_11_5C Has anyone seen these, and could possibly shed lig... | JCIFS is a JAVA Linux component for connecting to Windows assets, via SMB(Samba). If you are seeing that coming from a lockout event, it is most likely an issue in which some Linux system (appliance?) is configured to authenticate/authorize using a certain credential that most likely had a password change. Some process... | 0 | 0 | 1,256 | 2018-03-05T17:54:08.223 | api_errors | serverfault.com | |
915,726 | Difference between amgtar and GNUTAR | We have a few hundred systems backing up to a tape library using AMANDA. Every day we get an email with a long list of STRANGE backup results. Almost all of these are because a log file was being written or a file-based cache was being updated on a web server. For example (5 machines showing a variety of STRANGE messag... | We made the change and haven't had any issues. Unfortunately, no more information about it... | 1 | 0 | 418 | 2018-06-08T03:39:43.563 | database_errors | serverfault.com | |
1,153,367 | Why do calls from our Google Cloud Function deployed in europe-west6 (Zürich) originate from an US located IP address? | We have a Google Cloud Function deployed in europe-west6 (Zürich), which makes HTTP calls to an API. In our server logs these HTTP calls originate from the IP address 35.203.247.36, which is showing the US as the origin. I was expecting a source IP address from Switzerland. This causes some issues with geoblocking conf... | So expanding on some of the comments: When you look at the actual routing of traffic to that IP , for example with a looking glass from https://he.net , that shows a route over a Swiss internet exchange, suggesting that the IP-address is indeed located in Switzerland. The observed IP-address, [CODE] is part of a large ... | 3 | 2 | 149 | 2024-02-11T17:49:40.713 | infrastructure | serverfault.com | |
1,081,931 | How allow a set of IPs and deny everything else? (.htaccess and apache 2.4) | I need allow internet access from a set of IPs and deny everything else. How can I do that? I tried this: [CODE] this: [CODE] and this: [CODE] also this: [CODE] I couldn't find the correct way to do the restriction. | This should do it: [CODE] | 1 | 1 | 777 | 2021-10-27T19:23:36.673 | infrastructure | serverfault.com | |
241,402 | Failed to allocate BUFs during DBCC CHECKDB | I am writing to see if anyone can help me out with a problem that I just can't seem to figure out. This one is going to be a doosey and I am going to try and list out as much of the important info that I can but if I miss anything please let me know and I would be happy to provide whatever info you might need to be abl... | Well it turns out after a couple of months of working with Microsoft on this issue they have determined that it is now a "known issue" with DBCC CHECKDB and VLDB's and that a fix will be coming in SQL 2016 SP3. When I asked if the issue was present in SQL 2017 they said that it was and that they will most likely releas... | 3 | 2 | 402 | 2019-06-25T18:45:10.443 | database_errors | dba.stackexchange.com | |
606,988 | Running Zenoss from VirtualBox in OSX - Login Fails | I downloaded the OSX version of Zenoss to trial it. Unpacking the .zip results in virtual hard drive files (.vdmk etc). I spun it up in a VirtualBox machine, and after a bunch of stuff loaded I'm presented with a screen... [CODE] When I enter login: admin pass: zenoss (as described in their FAQ ) I get told the login i... | You are looking at some very old documentation. The 4.2.x series install PDF says to use user:root password: zenoss | 0 | 0 | 288 | 2014-06-21T15:52:58.643 | infrastructure | serverfault.com | |
47,638 | In which cases shouldn't we drop the first level of categorical variables? | Beginner in machine learning, I'm looking into the one-hot encoding concept. Unlike in statistics when you always want to drop the first level to have [CODE] dummies (as discussed here on SE ), it seems that some models needs to keep it and have [CODE] dummies. I know that having [CODE] levels could lead to collinearit... | First, if your data has missing values, [CODE] by default will produce all zeros, so that perfect multicollinearity doesn't actually hold. Also, from a data manipulation standpoint (without regard for modeling), it makes some sense to keep the symmetry of having a dummy for every value of the categorical variable. In a... | 9 | 3 | 8,188 | 2019-03-19T19:55:36.497 | data_quality | datascience.stackexchange.com | |
505,089 | Ubuntu 12.04: Apache2 symlink to Windows Drive | I have Ubuntu 12.04 and Windows 7 on the same machine. [CODE] Here is my /var/www [CODE] My /media/Data/xampp/htdocs/mysite is like this: [CODE] I noticed that the permissions for this directory is [CODE] - I think this is causing the problem. I also could not see the [CODE] directory when I browse to [CODE] So, how wo... | In order for Apache to follow symlinks, you need [CODE] in your configuration. You should also make sure the www-data user has read permissions on the files, and read and execute permissions on the directories. | 0 | 1 | 95 | 2013-05-05T03:00:43.670 | infrastructure | serverfault.com | |
395,497 | apache/debian squeeze server loading directory listing instead of website | when you navigate to mywebsite.com/ you see an apache page showing a folder called mywebsite.com/, clicking there then takes me to mywebsite.com/mywebiste.com which doesn't exist, so wordpress shows me the a 404 error. I'm trying to host a wordpress site at mywebsite.com/ but I think I have some kind of directory listi... | I solved this issue by replacing the [CODE] with [CODE] | 0 | 0 | 207 | 2012-06-04T20:07:16.747 | infrastructure | serverfault.com | |
477,082 | Varnish not passing user IP correctly to MediaWiki | I'm running a setup with Nginx, FastCGI, APC, Memcache and Varnish to host a MediaWiki installation. I'm having some issues with recent changes showing up as coming from 127.0.0.1 in the case of anonymous users. I suspected the issue to be that Varnish doesn't pass on the user IP to Nginx properly, but I do have this i... | You must configure MediaWiki so that it will actually obey the [CODE] header. Without these settings, MediaWiki will ignore it. (For historical reasons all of these configuration options refer to Squid...) At a minimum, these lines must be in your [CODE] : [CODE] | 1 | 3 | 846 | 2013-02-09T00:40:00.347 | infrastructure | serverfault.com | |
285,169 | how to implement read-only rows or snapshots of rows | In my application I have objects with 3 levels of hierarchy. To model this in SQL Server, I have a ParentObject table with an Id column, ChildObject table with an Id and a foreign key ParentObjectId, and a GrandchildObject table with an Id and a foreign key ChildObjectId. A ParentObject may have many ChildObjects and a... | You could make them Temporal Tables , and add a ParentObject.SnapshotTime column. Then every time you update that column, you'll get a new version of the parent object, and you can issue temporal queries on the related tables. | 0 | 1 | 147 | 2021-02-11T00:34:53.917 | api_errors | dba.stackexchange.com | |
199,089 | Count how many records belong to 2 categories in a n to n relation | I have a database containing articles whose schema is more or less the following: [CODE] What I need is to find a way to understand how articles and collections are related, and one of the metrics is "how many articles belong to "collection 1" AND "collection 2". I thought I found a working query, but I think I'm missi... | When you join [CODE] to [CODE] to [CODE] , each article may be tied to multiple topics. And, multiple topics may be associated with each collection. So, you may be counting the same article multiple times. For example: Collection A is tied to topics a,b,c Collection B is tied to topics b,d,e Article 1 is tied to topics... | 1 | 2 | 129 | 2018-02-28T23:01:33.390 | warehouse_errors | dba.stackexchange.com | |
128,496 | How to deal with Users Needing to Enter Mixed Data Types in MS SQL Server | I have a form in a C# application that I can't change with a data table bound to a query. The user enters a mark for a student's task or 'A' for absent. However, the person who designed this had the underlying table as all varchars, when really it would be nice to have decimals for marks and char for 'A'. To this end, ... | The presence of an [CODE] trigger does not prevent SQL Server from validating the data-types of the [CODE] statement against the data-types of the target columns. The error message: Msg 245, Level 16, State 1, Line 70 Conversion failed when converting the varchar value 'A' to data type numeric. indicates that SQL Serve... | 4 | 3 | 1,615 | 2016-02-07T02:15:14.387 | database_errors | dba.stackexchange.com | |
34,196 | Download pdf in headless chrome and selenium | Script.py [CODE] Issue The script runs fine and i can see the file is found but it doesn't download it. | This issue is currently being looked at on GitHub (contains a possible solution too). This is actually seen as a feature and its functionality is intended. There is a work around in Java on stackoverflow and a python version here . | 1 | 1 | 14,342 | 2018-06-12T09:14:21.677 | data_quality | sqa.stackexchange.com | |
869,022 | Tomcat7 not sending responses to remote clients | I have Tomcat7 installed on an AWS EC2 machine running Ubuntu 16.04. I start Tomcat7 on port 8080, and, from that same machine, can telnet to localhost 8080, execute "GET /", and see the index page. However, when I telnet to it from a different machine, a connection is made, I can execute "GET /", but then the connecti... | Disappointingly, the problem was a firewall doing port verification and thus killing the requests. So anything starting with "GET " was being blocked outbound, which is why I was seeing the results I did. Changed it to port 80 and suddenly everything works. | 1 | 0 | 1,254 | 2017-08-16T19:31:18.873 | infrastructure | serverfault.com | |
1,006,814 | Need .py files to execute in the same directory with .html and .php files using mod_wsgi | I'm running CentOS 8.1 with Python 3.6.8, and Apache/2.4.37. I'm new to mod_wsgi. I found this "hello world" example and got it to work: https://www.ionos.com/community/hosting/python/use-mod-wsgi-to-run-python-as-a-web-application-on-centos-7/ The problem I'm having is that this appears to require each .py file to be ... | The mod_wsgi also has [CODE] that could be useful in your case, e.g. [CODE] If you don't require the shorter paths, you could also use [CODE] for the whole folder: [CODE] That would be equivalent to: [CODE] This is similar to how you'd use mod_python's Publisher Handler : [CODE] For more examples, please refer to mod_w... | 0 | 0 | 454 | 2020-03-13T12:28:05.120 | infrastructure | serverfault.com | |
1,107,229 | Error: The response is not a valid json response. WordPress Windows server | I personally rented a Windows virtual server and installed and set up mysql+phpadmin+IIS and after that I started my email server and tested it and everything was ok, then I installed WordPress and set DNS records and went to upload the website, when the problems started, at first, the predefine upload volume was small... | Reset the permalinks Before you try anything else, you should try resetting your permalinks to resolve the invalid JSON response error. Navigate to Settings > Permalinks in your WordPress dashboard. Then ensure that the correct permalink setting is selected and click the Save Changes button. Now try updating a page. Th... | 0 | 0 | 359 | 2022-08-02T21:17:47.517 | database_errors | serverfault.com | |
895,483 | SQL Server 2014 enabling TLS 1.1 along with TLS 1.2 | I have a Windows Server 2012 R2 which is a DC with SQL Server 2014 (Express) updated to the latest SP2 with CU10 12.2.5571.0 (testing environment). I disabled all protocols except TLS1.1 and TLS1.2 by setting the registry keys in the path: [CODE] . I initially enabled only TLS1.2 but I need also TLS1.1 for backward com... | I verified that in order to use the protocol TLS1.1 the following keys must be set: SHA hash Enabled ( Enabled key set to 1) [CODE] TLS 1.0 protocol Enabled ( Enabled key set to 1 and DisabledByDefault set to 0 for both Client and Server) [CODE] [CODE] NOTE: After changing those keys restart the machine so that the Sec... | 0 | 0 | 8,046 | 2018-02-03T09:04:12.193 | database_errors | serverfault.com | |
898,164 | Unable to delete Azure Recovery Service Vault | I'm unable to delete Azure Recovery Serice Vault. No resources are attached to it but it's still throwing error ** Vault cannot be deleted as there are existing resources within the vault. Please ensure there are no backup items, protected servers or backup management servers associated with this vault. Unregister the ... | It seems you error is not complete. I have seen this error a few times and it should have provided you the container to Unregistered. I see this normally when Azure SQL Database long term backup retention is enabled, if that's the case article below should help you out. Configure long-term backup retention - Azure SQL ... | 0 | 1 | 2,502 | 2018-02-21T09:12:07.593 | pipeline_ops | serverfault.com | |
1,060,698 | Nginx warning - upstream sent more data | I have a bunch of Nginx + PHP8.0-fpm installed in the north. When crawlers visit a page and the request contains the If-Modified-Since header, but the page has not changed, the site returns the "304 Not Modified" header. If the request protocol is HTTP / 2.0, everything works correctly, but if the request protocol is H... | You may be erroneously assuming there is no content because Nginx has not forwarded it to you. Take the logged warning as "Nginx dropped data the upstream sent even though it should not have sent any". 204/304 is hardcoded to behave like zero content-length. The bug with Nginx is the misleading message - yet it is like... | 1 | 0 | 2,890 | 2021-04-17T15:15:27.817 | infrastructure | serverfault.com | |
271,120 | Test driven development workflow for two programmers | We are currently starting with TDD and we want to work in parallel in two programmers - one for writing test ( Programmer A ) and one for writing actual code ( Programmer B ). Problem is, how to synchronize our work. Let's say A writes first test method, so B can start working on actual code. Our current workflow is th... | In TDD, writing tests and code is interwoven, the cycles are typically very short, sometimes minutes, sometimes less. And TDD is a whitebox technique - when writing the next test, you know exactly what is missing in the current state of the implementation and you design the test exactly for this case. So if you really ... | 2 | 8 | 623 | 2015-01-26T08:42:21.493 | api_errors | softwareengineering.stackexchange.com | |
657,918 | Remote PS session fails on non-domain server | I'm trying to connect to a non-domain joined remote Win2008R2 server using PS from a Win8 host (same subnet, it's a local VM). Tried everything I could find, nothing works. SERVER: [CODE] CLIENT: [CODE] Oh and RDP works fine between those two hosts with the same credentials. Even this works: [CODE] | On client side [CODE] On server side [CODE] for https [CODE] for http [CODE] Test with [CODE] Edit: Set TrustedHosts with PowerShell Or with PowerShell (as Admin) [CODE] And check (don't need Admin for that) [CODE] | 15 | 21 | 85,899 | 2015-01-07T16:33:04.913 | infrastructure | serverfault.com | |
54,351 | Oracle expdp et impdp : order of schemas? | When I try to export and then import many schemas from one Oracle DB to another one, I get errors because grants and synonyms cannot be recreated in the target DB; the reason is probably that the schemas are not imported in the right order . So : With impdp, is it possible to define the order in which the schemas are t... | You have no direct control over the order on objects creation. Anyway, you can try to perform a full export, and then, run an impdp only of the schemas you need. For example: [CODE] and then import all the schemas you want (in the order you need): [CODE] I have not done a test, but you can give it a try. Hope it helps. | 2 | 1 | 2,091 | 2013-12-03T13:55:25.510 | database_errors | dba.stackexchange.com | |
112,407 | What to do if boss always postpones major decisions about requirements and overall design? | When starting a new project, my boss always avoids to make fixed decisions. He is usually saying: ok, just start to write something and be as generic as possible. When you're finished we look how we continue. His argument is basically that you never know and "agile development". To keep the question as generic as possi... | Build prototypes Just start drawing screens that don't do anything at first (presumably you have enough to do that?) You should be able to make it partially functional slowly, and eventually refactor some of the bad code when it becomes more clear what you are trying to do. It's a common problem that they don't know wh... | 12 | 12 | 720 | 2011-10-04T20:54:55.010 | api_errors | softwareengineering.stackexchange.com | |
834,817 | How do I tell if a site is using CloudFlare reverse proxy services? | I'm investigating the impact of the leak of CloudFlare payload data due to a parser bug on services that we use. It's relatively easy to tell if a service is directing traffic to CloudFlare via DNS: [CODE] Does CloudFlare terminate all traffic directed to them this way, or if not, is there a way to independently tell w... | Method 1 (Most Accurate) Visit the IP you receive upon DNS lookup: [CODE] So, going to 104.16.0.17 in my browser gives me this: Direct IP access not allowed If you would want to automate this, I'm sure you could use curl or a similar tool, but on an individual site-by-site basis, this is the easiest way I can think of ... | 2 | 4 | 4,223 | 2017-02-24T21:54:38.057 | infrastructure | serverfault.com | |
285,276 | Design Pattern - DLL per Strategy | I usually found myself designing my application in the following way: One DLL containing interfaces for a desired subsystem. For example, [CODE] . One new DLL per each strategy (or implementations ) of the said subsystem. For example: [CODE] [CODE] [CODE] This will result in a very big solution with a lot of projects, ... | I think that the advantages of this approach far, far outweigh any disadvantages. What you're achieving here is more ore less a perfect "implementation" of the [CODE] in [CODE] by way of the [CODE] pattern - that is to say, your application depends "down" on an interface defined in [CODE] and the individual implementat... | 8 | 3 | 3,500 | 2015-05-29T11:59:19.707 | api_errors | softwareengineering.stackexchange.com | |
332,338 | How to prevent Oracle accounts from locking due to bad passwords by a particular source? | We're having trouble with certain clients repeatedly attempting to logon to important service accounts that they shouldn't be using with old/bad passwords, causing the account to lock(timed) and thus breaking the application that does own that account. Due to SOX requirements we are not allowed to remove the [CODE] lim... | Option #1: Change the account in question. Not just the password - use an entirely different account name . It should only require a small outage while all the known clients are updated with the new credentials and this activity would permanently close the door on this miscreant code entirely. You must have this option... | 0 | 1 | 328 | 2023-10-19T23:59:57.843 | database_errors | dba.stackexchange.com | |
111,616 | Handling false positives and legacy code warnings in static-analysis of C++ code? | We have a large "legacy" C++ code base on which no static analysis is run at the moment. Every now and then, we are thinking about at least using cppcheck , maybe via Visual Lint . (I've also briefly checked the sites of Coverity or Klocwork or RedLizards/Goanna.) However, I do expect a huge number of found warnings an... | For each of these tools you can select which classes of warnings you want to see, and which to suppress. I've got some experience with Klocwork, and the granularity of the selections there is pretty good, as well as the actual reporting, i.e.: you can filter out the "old" errors, and only see the incremental changes, w... | 5 | 6 | 3,450 | 2011-09-30T09:05:58.907 | api_errors | softwareengineering.stackexchange.com | |
222,753 | Linking tables to extract value based on closest previous date | I'm going to use an example that was previously posted but modify it to match my problem: TOCs bu Date: [CODE] Water Levels by date: [CODE] Desired result: [CODE] I modified the proposed solution that was previously posted, but that solution didn't JOIN the 'location' fields, and I couldn't get it to work anyway. I wou... | You can use a (CROSS) APPLY operator for this purpose. But please have a look at data you have supplied, there is some incoherence in these dates. [CODE] [CODE] [CODE] Location | MeasurementDate | DepthToWater | TOC | Elevation :------- | :------------------ | :----------- | ---: | :-------- WC1 | 26/07/2006 00:00:00 |... | 0 | 0 | 44 | 2018-11-16T17:38:41.900 | warehouse_errors | dba.stackexchange.com | |
238,007 | Outlook Trust Certificate SBS 2003 | I have a client that has Windows SBS 2003. They currently have remote mail enabled, ie: mail.clientdomain.com.au/exchange prompts to accept to use the certificate, then allows them to use remote mail in the internet browser. I am trying to setup Outlook on a remote computer to use RPC over HTTP. Is there a way to get t... | Open up IE. Navigate to https://mail.clientdomain.com.au Up next to the address bar, click where it says "Certificate Error" and go down to "View Certificate" Install certificate and choose to put it in the "Trusted root certification authorities" store Oh...and buy a signed cert...they're only ~$30/year...it's not wor... | 0 | 1 | 285 | 2011-02-21T01:29:50.457 | infrastructure | serverfault.com | |
302,027 | How to Tune MariaDB Database System With Right Parameters | I have a MariaDB Galera 3-Node Cluster as the DB system but since I built, it is working with the default parameters. I only changed the parameter as max_connections=3000 . It has been about 6 months that the system is live with a r/w connection traffic about 100-500 connections per seccond, but the problem is one of t... | [CODE] Run [CODE] to see how many connections it actually used (since the last restart of the node). Use this metric to help in deciding on a value for [CODE] . https://mariadb.com/kb/en/galera-cluster-system-variables/#wsrep_slave_threads says (for [CODE] ): 0 is not valid 1 is safe you could try a small number Leave ... | 1 | 1 | 586 | 2021-11-02T14:14:10.403 | api_errors | dba.stackexchange.com | |
803,692 | Windows Updates based restart - bypassing | I have a powershell script that is working at Night in office PC - (wiht out admin privileges)- the problem is at night time Updates are getting pushed and system is restarting and script wont start since I do not have batch execution or other similar right. There is a way to 'end task' windows updates though powershel... | If you do not have administrative privileges you won't be able to stop/kill the windows update service or task. Even if you did have the appropriate permissions, interfering with windows update on a production server seems like a bad idea on a number of different levels. Rather than fiddle with windows updates, I think... | 0 | 0 | 767 | 2016-09-17T09:02:48.320 | infrastructure | serverfault.com | |
869,866 | HP PCIe 8GB FC Adapter not visible on Windows Server 2012R2 | Anyone who can assist me. I have a HP Proliant GL360, On Boot, the HP PCIe 8GB FC Adapter drivers are visible. Once logged on the server, when I go to Network Connections, I can't see the adapters. OS: Windows Server 2012 R2 Datacenter | when I go to Network Connections, I can't see the adapters Hahaha, are you trolling us? it's not a network adapter! Seriously, it's an FC HBA, you need to install the HBA drivers and MPIO, connect it to an FC switch, zone the HBA into a VSAN that's linked to an FC array of some form that's also presenting LUNs to the p... | -1 | 4 | 459 | 2017-08-22T11:23:31.773 | infrastructure | serverfault.com | |
124,461 | Checking SQL AlwaysOn backup target with fn_hadr_backup_is_preferred_replica, different answers with different permissions | I've implemented AlwaysON backup with Ola's script, those are running fine on designated server configured for backup. I would like to automatically check backups using sql-scripts fired from a monitoring system using a dedicated account just for this. This account has no permissions except public und view server state... | You have to GRANT the user [CODE] and [CODE] on availability group. | 5 | 2 | 331 | 2015-12-23T15:57:04.500 | database_errors | dba.stackexchange.com | |
310,686 | What is the best way to insert data that is not yet in the table? | I have a data set that has grown bigger. Before I could afford to re-create the table anytime, but the writing operation is now taking too long. I cannot do something like timestamp-based delta inserts because it could be that historical data is added to my dataset: [CODE] The data has a very long format, few columns a... | Look into the MERGE statement. Unfortunately each database has it's own syntax, especially Oracle and MSSQL differ very much. but it will do what you need. | 0 | 0 | 29 | 2022-04-08T05:13:15.180 | data_quality | dba.stackexchange.com | |
15,342 | WebDav files cannot be opened, only copied | I have a WebDav folder ("Web Disk") set up via CPanel and mapped to a Windows XP boxes and Windows Vista boxes. On the Windows XP boxes, none of the files in the WebDav folder can be opened by double-clicking and there is no Open right-click option. The users can copy the files out to a local folder or browse from with... | There are two clients in Windows for using Webdav. One is so called Mini-Redirector, other one is Webfolders. You're using Webfolders client, which allows you browsing via shares. When you try to open any file, this client actually passes URL of the file to the program. Most program cannot handle that. MS OFfice progra... | 0 | 1 | 3,017 | 2009-05-30T02:56:59.660 | infrastructure | serverfault.com | |
174,249 | Why would the Parallelism (Repartition Streams) Operator Reduce Row Estimates to 1? | I'm using SQL Server 2012 Enterprise. I've come across a SQL Plan that is exhibiting some behavior I don't find entirely intuitive. After a heavy Parallel Index Scan operation, a Parallelism (Repartition Streams) operation occurs, but it is killing the row estimates being returned by the Index Scan (Object10.Index2), r... | Query plans with bitmap filters can sometimes be tricky to read. From the BOL article for repartition streams (emphasis mine): The Repartition Streams operator consumes multiple streams and produces multiple streams of records. The record contents and format are not changed. If the query optimizer uses a bitmap filter,... | 12 | 9 | 11,923 | 2017-05-22T20:17:07.340 | database_errors | dba.stackexchange.com | |
504,918 | Get logged on user in init.d script | I have created an init.d script to control a process as a service, in RHEL 6.x. In the script, I am using /sbin/runuser to start the process as an unprivileged user. This part of the script is working fine. The script is operated as sudo service scriptname operation example, sudo service httpd restart Additionally, I w... | [CODE] runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /. LANG , TERM The only environment variables passed to the init scripts. I don't really get the point of what you want to achieve but you might want to try the [CO... | 0 | 0 | 571 | 2013-05-03T21:29:36.017 | infrastructure | serverfault.com | |
164,707 | After insert trigger only using single inserted virtual table row | I have a trigger that updates multiple columns in a table for rows inserted into another table. A record inserted into the fuelTransactionInfo column, updates a column in fuelTransactions, based on the "info code", finding the correct row using fuelTransactionId. I'm just denormalizing some data for easier reporting. T... | The reason it's not working is that your join causes each row to be updated multiple times, but each update sees only the original values, not the cumulative values of previous updates. So your updates are in effect cancelling the previous updates. (Or maybe SQL only allows one row update per statement. Either way the ... | 3 | 1 | 4,059 | 2017-02-17T15:44:41.570 | warehouse_errors | dba.stackexchange.com | |
174,767 | postgreSQL how can I make this work with an aggregation alias? | postgreSQL 9.5.6 How can I make this work using the percent_error alias? [CODE] A query like this work: [CODE] But not this - exactly the same as the first example above except here the last line is using percent_error alias: [CODE] | I think the simplest way is to use a subquery: [CODE] dbfiddle here The actual query plan that you get is exactly the same as with your original query; however, the intent is made (in my opinion) much clearer. This is conceptually equivalent to having a [CODE] (although the implementation in PostgreSQL is quite differe... | 1 | 2 | 798 | 2017-05-28T04:18:31.540 | database_errors | dba.stackexchange.com | |
134,324 | To update or to not update? | Since starting working where I am working now, I've been in an endless struggle with my boss and coworkers in regard to updating systems. I of course totally agree that any update (be it firmware, O.S. or application) should not be applied carelessly as soon as it comes out, but I also firmly believe that there should ... | Security and agility should be balanced against stability and uptime when determining your patching strategy. Your push-back approach for this should be along the lines of 'Okay, but you need to know that we're now at risk of these servers becoming compromised and having our data stolen, or having the servers be render... | 12 | 10 | 1,880 | 2010-04-21T07:22:35.310 | infrastructure | serverfault.com | |
14,541 | NameError: name 'MyStreamListener' is not defined | I'd import 'tweepy' package for accessing twitter data for analysis and visualization in Python. Afterwards I did setup oauth authentication and everything else but on the next step, which is STREAMING TWEETS for me am using MyStreamListener. This causing me a Name Error -- NameError: name 'MyStreamListener' is not def... | You need to override StreamListener() class. [CODE] | 0 | 1 | 4,643 | 2016-10-15T13:25:37.450 | api_errors | datascience.stackexchange.com | |
25,417 | Jmeter-Performance Testing Results | I have done performance test using Jmeter for the below shown requirement. Having 15 users , 30 seconds for ramp-up period and to schedule for 1800 seconds duration to run the test, [CODE] I have done this test in INDIAN server and got the following results, [CODE] But the thing is, I need to find response time for US ... | So what is your problem (apart from high response times)? Just point JMeter to the US server and re-run your test. I would recommend keeping [CODE] and [CODE] blank for the HTTP Request samplers and use HTTP Request Defaults to provide the endpoint server. This way you will be able to change the server from Indian to U... | 2 | 1 | 274 | 2017-02-10T06:25:48.270 | data_quality | sqa.stackexchange.com | |
78,738 | sharepoint development concept issue -- about site and application | I am developing on SharePoint Service 3.0/SharePoint Server 2007. I always read document says create an application or create a site (collection). The term application and site always make me confused. Could anyone help to clarify what is the relationship between a SharePoint application and a site (collection)? For ex... | It's fairly easy: A Web Application has a one-to-one mapping with a IIS Site. You can have multiple web applications on your sharepoint server, mapping to different IP Addresses and what not, or to use different Application Pools in IIS. A site collection is one or multiple sharepoint sites, that share the same Content... | 1 | 1 | 665 | 2009-10-27T16:12:42.913 | hadoop_errors | serverfault.com | |
95,588 | "show procedure status" displaying the non existing databases stored procedures in mysql server | i have taken a mysql server backup using mysqldump and imported the backup file in another mysql server.Import failed because of disk full issue. Only 11 databases are created out of 15 . when i issue show procedure status command, i can see the procedures related to the missing databases( 4 databases) also along with ... | Yes. There is not much else to say about your question. If you have recovered the [CODE] table, but not the databases, you may see the procedures but not the databases. This is because you can export and import them logically "--routines", which will create [CODE] statements, or physically, recovering the mysql.proc ta... | 0 | 0 | 324 | 2015-03-18T14:33:55.220 | database_errors | dba.stackexchange.com | |
414,395 | Linksys SE1500 Ethernet switch issue | I just bought a Linksys SE1500 Ethernet switch and I'm trying to set up a small standalone network for pentesting and security research. However, when I do a network scan with one of the computers using the eth0 interface, nothing happens. DHCP is enabled on all the machines. This may seem trivial but..... should I tur... | There's nothing in the spec of that switch that says it is a DHCP server, so I suspect your problem is that you don't have one at all. Only the home/very small business switch/router products that act as your internet gateway as well as a switch tend to come with a DHCP server, so the lack of one on something that clai... | 0 | 1 | 816 | 2012-08-05T05:55:28.573 | api_errors | serverfault.com | |
450,611 | High disk I/O - jbd2/sda2-8 process | I have run a file server on a CentOS 5.8 final server. My only concern at the moment is what appears to be intermittent but continuous high disk I/O activity causing a general slowdown because of jbd2/sda2-8 process. jbd2/sda2-8 is making use of /dev/sda2, which is the 2nd partition of the first harddrive (IE: root par... | I don't know if this is helpful, but we had a similar problem which turned out to caused by one of the disks in our RAID array starting to fail. This meant that every write was taking many times longer than it should have been. We eventually found it when we rebooted and the RAID controller finally detected the issue, ... | 28 | 13 | 55,050 | 2012-11-20T19:38:07.890 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.