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
1,011,338
How to enable Password Based Authentication wiith SSH in Centos QCOW2 Image?
I need to deploy a CentOs Cloud Image on private server(kind of bare metal server). So i download CentOS cloud image and customize it with [CODE] having SSH enabled with Password Authentication by running [CODE] having following commands. [CODE] And [CODE] looks like [CODE] Before deploying and booting up i have manual...
To allow console connection with ssh (login without password) you need to add the following command. Your problem will be resolved. [CODE]
0
0
1,283
2020-04-07T19:44:09.413
api_errors
serverfault.com
312,273
Having .htaccess No-Cache problems with Safari 5.1
I am trying to make it so that if anyone tries to download a swf file from my site (by going to http://mywebsite.com/direct.swf , for instance) they can't, they are just redirected to the homepage on my site. The following directives work great for this on all other browsers: [CODE] And it was working on Safari before ...
It sounds like Safari is newly broken. You may need to file a bug with Apple.
1
0
547
2011-09-16T16:58:13.090
infrastructure
serverfault.com
17,012
squid cache disk configuration
just wondering how far drive configuration will affect squid cache performance. what kind of drive configuration that fast enough for squid ? is it true that block-level parity strip raid faster than byte-level one ? is mirrored drive config will decrease squid cache write process ? how much swap space that squid realy...
1) since it's cache, you don't care about the data, so a striping RAID0 would be very good. 2) yes, block level is faster. That's RAID3 vs. RAID4 3) nop, but again, you are mirroring trash data 4) 200MB plus some rounding. Have a look at all the settings about objects' sizes: if you have enough RAM, fitting 0-50MB into...
1
1
2,096
2009-06-01T17:24:43.727
infrastructure
serverfault.com
275,802
Citrix XenApp 6, cannot connect to licenceserver
i try to install Citrix XenApp, first install Webinterface und XenApp to one Server and licence-manager to an other server. I can connect to Port 27000 on licenceserver with telnet and can go to Webinterface from licence-server. On the XenApp Server i run Delivery Service Console and check the policy Licenceserverhost ...
The Message comes because i remove the Startup-License. I upload my own license-file and replace the startup-license. So the connection to license-server does'nt work. When i copy my startup-license back to the license-server all works well. Regards Rene
0
0
838
2011-06-01T09:26:59.543
infrastructure
serverfault.com
993,603
Creating an Array containing a Hashtable
I'm trying to create an array that contains a hash table. Here is the code I am using. [CODE] It outputs With the error text repeated for all apart from the first value. I would like to have something that I could access like $mailboxes[X].Name rather than $mailboxes.Name
The [CODE] cmdlet will help you here, try this. [CODE]
1
1
369
2019-11-28T11:51:15.810
infrastructure
serverfault.com
158,630
RMAN - no datafile found during recovery
I'm running a 12.1 SE database on Oracle Linux 7. I am getting nightly errors/warnings from my rman scripts about missing datafiles when trying to recover. I have been running rman to a local drive using the following script: [CODE] Due to diskspace concerns, a second disk was added and I tried to move rman to use this...
Asking the database to do the impossible. You changed the TAG, so you created a new initial set of image copies. As diskspace was becoming increasingly tight, I changed the backup script to use a different TAG to try and force a new set of backup images to be create on the new disk. This seemed to work - the new set of...
3
6
2,355
2016-12-19T22:21:19.843
data_quality
dba.stackexchange.com
512,374
jabber connection to another servers doesn't work under firewall
When firewall turned on, jabber server do not connect to another jabber servers. When turn off - all good. The config is (deny by default, allow all outgoing connections): [CODE] Connect to 5222 port established good and connection to other users on this server also good. But to another server's users nothing work. btw...
First, ensure 5269 is also open on the server-side. Are you using SSL server connections? If so, you'll need 5223 on both sides. http://www.accessgrid.org/agdp/guide/ports/1.03/x112.html
-1
1
577
2013-05-31T18:34:55.473
infrastructure
serverfault.com
319,562
Using two transactions at the same time without getting Lock wait timeout exceeded
I use MySQL 5.6 I'm trying to make a test framework on PHPunit, I use two different db connections (from two different systems it has to be 2 different db connections not a choice). By default many testing frameworks enable transactions, so whatever you do in your tests would not really be saved in the DB. Right now bo...
(Some debugging suggestions) [CODE] a single row cannot, by itself, get such a timeout. Was it part of a longer transaction? That is between [CODE] and COMMIT`? If so, we need to discuss the rest of the queries inside that transaction. What is the value of [CODE] ? If that is OFF and you do not have an explicit transac...
0
1
858
2022-11-12T09:35:25.723
database_errors
dba.stackexchange.com
919,534
Need help increasing performance of logstash
We are in the process of deploying an ELK stack and need advice and general recommendations regarding the performance of the cluster and more specifically, logstash. So the current setup we have now is that we have 1 kibana node, 2 logstash nodes and 4 elastic nodes. The logstash nodes are using 8 vCPUs and 32 GB RAM e...
Here are some tips to help you along with your performance tuning mission. Use multiple pipelines where possible Logstash 6.0 introduced the possibility to easily run multiple pipelines. You can use this to split out event processing logic if it makes sense. E.g. you if can distinguish two or more types of inputs/outpu...
0
0
2,223
2018-07-05T06:57:39.753
database_errors
serverfault.com
556,219
Iptables port forwarding on AWS EC2
I have AWS VPC with 1 public subnet and 1 private subnet. I have my web-server running on port 80 in private subnet. I want this webserver be accessible form public internet Yes, The VPC security groups have correct configuration so this is not an issue. No, I don't want to use ELB or nginX/Haproxy. Lets not get into t...
With only the [CODE] rule, your webserver will try to send the reply directly to the (public) source IP of the client, which it probably can't reach from its private subnet. You will also need an SNAT or MASQERADE rule on the router for this to work. Something like this: [CODE]
0
1
14,490
2013-11-20T10:33:32.660
infrastructure
serverfault.com
446,389
Apache multiple virtual hosts with ssl certificates
Possible Duplicate: Multiple SSL domains on the same IP address and same port? I have an problem with Apache and multiple SSL certificates. In case if i config it only for one domain, everithing works fine, but when i add another one as virtualhost it returns an error: [CODE] I tried many combinations of virtualhosts c...
Each IP address/port can only serve one SSL certificate. In order to get more than one SSL to work, you'll either need another IP address (recommended) or bind the second SSL certificate to another port on your IP (functional, but a pain for your site visitors b/c the port has to be included in the URL). Check with you...
0
0
6,280
2012-11-07T15:28:42.050
api_errors
serverfault.com
194,473
SaaS licensing on Win2k8 R2 with SQL Server 2008
Possible Duplicate: Can you help me with my software licensing question? I've got a product which I would like to start marketing as a SaaS product - I'm just a bit at a loss when it comes to licensing. The product requires .NET web services, ASP.NET, and runs off of a SQL Server DB. I looked into using MySQL and Mono,...
If your application authenticates users (so you are able to uniquely identified a user) then you need to comply with microsoft licencing in this area which means A CAL for every user, if and only if, all of your users are internal to the company or if they are external users, you can go down to routes: Use Windows Serv...
1
3
706
2010-10-25T11:51:19.663
data_quality
serverfault.com
363,863
Installing mdbtools on CentOS
I'm attepting to install mdbtools on CentOS and whilst running [CODE] I get the following: [CODE] GLIB is definitely installed though so I'm struggling. Any ideas ?
[CODE] is packaged in EPEL , so you can add that repo and install it with yum, which is the preferred way to install software on CentOS (and any other distribution). What you are lacking though to install from source code is likely the development package of [CODE] containing the C header files.
1
1
2,263
2012-02-26T13:25:28.600
infrastructure
serverfault.com
976,558
Can I remove an accidentally created disk from an already existing zpool?
I am using FreeNas 11.2 U5. One disk configured as Raidz-2 has been damaged and a new disk has been installed to replace it. However, by mistake, Volume Manager created a new stripe disk. So, There are... A damaged Raidz2 volume with one disk (Originally 4 disks) a single-disk Stripe volume created. [CODE] I try to rem...
Back up your pool! You're close to losing data, and any further mishaps could put you even closer to data loss, or push you over the brink. You can try: [CODE] but I don't think that will work. The [CODE] option tells [CODE] to just outline the result of what would be done, but don't actually do it. -n Do not actually ...
1
1
2,606
2019-07-24T18:41:51.540
infrastructure
serverfault.com
128,117
Internet Dropping?
I have a virtual DC running DNS and Routing and Remote Access, that routes ALL workstations Internet traffic out to the Internet, this works fine but noticed that the Internet drops occasionally. I've checked with our service provider (Managed Communications) and they are adamant that it's not their fault. The Internet...
It appears it was the ISP, managed comms after all. Turned out to be a faulty bonding device. It took 3 months to admit it was their fault.
1
0
170
2010-03-31T14:44:59.763
infrastructure
serverfault.com
17,121
Teradata: How to design table to be normalized with many foreign key columns?
I am designing a table in Teradata with about 30 columns. These columns are going to need to store several time-interval-style values such as Daily, Monthly, Weekly, etc. It is bad design to store the actual string values in the table since this would be an attrocious repeat of data. Instead, what I want to do is creat...
Disclaimer: I have never built a Teradata system, so I can't claim this from first-hand experience, but I will explain the reasoning. I think that Teradata will be able to produce this view efficiently. From what you say, it appears to do little more than join some very small dimension tables against a fact table. The ...
5
4
1,725
2012-04-26T18:54:57.660
warehouse_errors
dba.stackexchange.com
20,628
Best books on Managing a Software Development Team?
The canonical books on software development is fairly well established. However, after reading through a dreadful book full of bad advice on managing programming teams this weekend I am looking for recommendations for really good books that focus on the management side of programming (recruiting, performance measuremen...
Peopleware: Productive Projects and Teams . If you read one book make it this one. It covers how to set about making your developers productive and backs up why these things are important with hard numbers. The chances are that you won't get all of them implemented (too many companies have ingrained cultures which will...
13
16
26,017
2010-11-22T15:46:21.310
api_errors
softwareengineering.stackexchange.com
114,612
How do I match the number of the features of new text data to the data used in the training of the model
I am working on a classifier for some twitter data to predict who it was tweeted by. I am only using the text of the tweets to build the model. After all text related preprocessing here is how I prepare and vectorise train and test data [CODE] The output shape has 3792 features. I want to be able to do something like [...
If you obtained only 19 features it's likely because you used [CODE] instead of [CODE] for your instance. It's important to understand what the 'TfidfTransformer' does: In the 'fitting' part, it assigns an index $i$ to every word in the training data vocabulary. 3792 is the size of your vocabulary. Note that it's commo...
0
1
20
2022-09-22T11:24:33.580
data_quality
datascience.stackexchange.com
568,543
OpenVPN Configuration Setup
I have a CentOS 6.64bit machine that I installed OpenVPN on. I want to have OpenVPN setup internally as a VPN to replace QuickVPN(it's horrible, fragile and randomly will work on Windows 8.x and not even supported by Cisco anymore). I can't access the internet when on the OpenVPN connection. I have the following iptabl...
Networking It looks like you're assigning your clients to the same subnet as your main network. When you use [CODE] as your device, your server gives each client a /30 block. I think some of your numbering choices were defined by the way you would set up an OpenVPN server with a [CODE] device (bridge) instead of a [COD...
-1
1
298
2014-01-20T15:10:54.973
infrastructure
serverfault.com
455,251
Issues with Server 2012 using DFSR running on Hyper-V 2012
We have a number of Server 2012 systems, all of which run virtualised on Hyper-V 2012 server. We are having problems with two such virtual instances, both of which are used as file servers, whereby they occasionally stop responding to requests to serve files to clients. After logging on to the server, attempts to shut ...
Ok I am not sure if this will be of any help but the factor I have in common with you is that i had my drives connected to a PERC H310 controller and I was running a file server in a Virtual environment mapping its data drive to a Raw disk connected to the same H310. At random times usually during periods of High I/O T...
5
1
10,871
2012-12-05T10:42:12.647
infrastructure
serverfault.com
242,788
SSRS 2017 - Client found response content type of '', but expected 'text/xml'
I've got SQL Server 2017 Developer installed on my workstation, and just installed SSRS 2017. I am able to navigate in the SSRS portal, and upload files of dummy data, and create KPIs. However, when click "+New", then "Dataset" or "Data Source", I get the message "Something went wrong. Please try again later." The only...
I couldn't figure out the specific failure reason here, but found that if I switched to a domain account instead of "Virtual Service Account" or "Network Service" built in to Report Service Configuration Manager and then restarted the machine, things started working properly
2
0
3,639
2019-07-12T21:17:24.403
database_errors
dba.stackexchange.com
68,841
AUC ROC metric on a Kaggle competition
I am trying to learn data modeling by working on a dataset from Kaggle competition . As the competition was closed 2 years back, I am asking my question here. The competition uses AUC-ROC as the evaluation metric. This is a classification problem with 5 labels. I am modeling it as 5 independent binary classification pr...
As you would have seen in the research, AUC ROC prioritizes getting the order of the predictions correct, rather than approximating the true frequencies. Usually, like in the credit card fraud problem you link to, the impact of one or two false negative is more devastating that many false positives. If those classes ar...
4
6
432
2020-02-28T00:37:20.400
data_quality
datascience.stackexchange.com
598,364
Imapsync doesn't sync unicode characters properly
I am using [CODE] to migrate my e-mail account from a CPanel (courier) mailserver to a Debian/Dovecot one. The issue I am facing has to do with some folders that contain Unicode characters. For example a mailbox folder containing Greek characters ιs migrated as [CODE] . Does anybody hava a solution on this?
String "INBOX.&A5QDtQO7A8QDrwOx- &A6QDzQPAA78DxQ-" is the correct IMAP foldername code to represent something a more friendly email software could represent as "INBOX.Δελτία Τύπου" So first, you should check both mailboxes at host1 and host2 from the same email client, it is possible that what you consider an issue is ...
2
3
1,746
2014-05-24T20:20:52.423
infrastructure
serverfault.com
361,152
SSH traffic redirect for LXC containers
I use LXC containers for ssh hosting and I would like to redirect SSH/SFTP traffic (using port 22) to the container's private IP address but on a user/IP basis. That is - one source port, many destinations. ssh ahes@server.com we have user 'ahes', private IP for this user container is 10.10.66.66 redirect traffic to 10...
Set an HTTP proxy listening at port 443 and enable forwarding connections to port 22 at the internal LXC IPs. Then, when using ssh/sftp clients, use the ProxyConnect option combined with netcat/socat/proxytunnel/whatever. Another common solution is to set up an SSH gateway (for instance, a dedicated LXC on the same box...
3
2
3,194
2012-02-17T10:48:24.063
pipeline_ops
serverfault.com
537,654
How do I get SonicWALL Global VPN to work with Windows 8.1?
I have been running SonicWALL Global VPN v4.7.3.0403 on Windows 8 without trouble for more than a year. Today I upgraded to Windows 8.1 RTM and noticed that it disabled my Global VPN connection. I tried to repair the situation by uninstalling and reinstalling Global VPN, but that suddenly caused my computer to lose all...
Upgrade to version 4.8.6.0826 which you can download from https://www.mysonicwall.com/firmware/FreeDownloads.aspx once you've become a registered member.
4
4
83,876
2013-09-10T03:54:48.733
api_errors
serverfault.com
153,497
Enumerating and mapping network drives (Windows 7 Pro/Windows Server 2003)
I had a working script for Windows XP clients, distributed via group policy from Windows Server 2003 PDC. This is the main part of the script: [CODE] How to do the above in Windows 7? EDIT: Error message... [CODE] After further inspection I can see something is wrong with networking, here are the symptoms: pinging and ...
I would recommend looking at Group Policy Preferences for mapped network drives in Windows 7. To support Group Policy Preferences on Windows XP and Windows Vista you will need to install the Group Policy Preferences Client-Side Extensions on the clients - you can do this through WSUS if you have that. The feature was a...
1
1
1,087
2010-06-22T08:15:55.090
database_errors
serverfault.com
527,907
Redirect a subpath to a external host with Nginx
I need to create a quite simple map in Nginx redirecting a subpath to another server that is located in the same subnet. Nginx server: 192.168.0.2 Tomcat server: 192.168.0.3:8443 I tried to put this in the server section [CODE] but all I get accessing http://www.myservice.com/tomcatapi/ is a 500 error page and in nginx...
Let's look at your rewrite line: [CODE] You're taking the bit in brackets (i.e. everything after [CODE] ), which gets assigned to [CODE] , and using that as the sole contents of your rewritten URI. In your example, there is nothing after [CODE] , so the rewrite ends up empty, and this is what nginx is moaning about. If...
22
17
24,114
2013-08-01T10:07:24.713
api_errors
serverfault.com
286,275
Change or set domain id on a vm
Is it possible to set a domain id for a vm in xen at all? I'd imagine that changing it while it is running would be problematic, but if I can even set it in the config file or when [CODE] is run that would be helpful.
The domain ID is set dynamically, at the time of the [CODE] command. IDs are sequentially assigned integers. If a domain is restarted, it will get the next available integer ID for its domain ID. If you have 30 guests running, and you start them all at boot, they will be assign domain ID numbers 1 - 30 (the dom0 takes ...
1
1
2,181
2011-07-01T20:33:56.147
infrastructure
serverfault.com
855,359
Postfix-PostfixAdmin-Dovecot: Set up for multiple Domains
[CODE] Yes, i've seen this kind of question on serverfault, but never in this way (postfixadmin) I have 2 Domains (domain1.de and domain2.de) and 1 Mailserver (mailserver.domain1.de). SPF, PTR/ReverseDNS, DKIM, DMARC Records are set for both domains. Until a few days ago i only had one domain (domain1.de) and the setup...
Lösung/Solution: https://serversupportforum.de/forum/mail/60287-postfix-dovecot-postfixadmin-2-domains-sender-address-reject-not-owned-admin.html Would be great to see more effort for concrete questions on serverfault...
0
1
1,975
2017-06-12T20:53:56.967
database_errors
serverfault.com
391,788
why ttcp duplicate 4 first byte of my data?
I want try to use ttcp for send udp data like below: [CODE] but when I see in wireshark actually sent 5 packets in first one 12345 and in others 1234 why ?
The following process occurs: The [CODE] program sends the data requested. The [CODE] program closes the input pipe. The [CODE] program shuts down the "connection", sending the additional packets that you see. If you do [CODE] , you'll see that it sends the data requests, and then 10 seconds later shuts down the connec...
0
1
85
2012-05-23T10:35:24.853
data_quality
serverfault.com
608,055
CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH
This may seem trivial to some, but I have been developing on Windows all my life and only moved to Linux this week - all is new to me. I've been following The following guide on how to install php extensions on Linux. It worked perfectly for the mbstring extension, however, when I tried to do the exact same for bz2 and...
You need the devel package installed: [CODE] which package includes [CODE] . This is generally true for RH/CentOS components when you're planning on going off-piste and compiling your own stuff; the [CODE] package contains the necessary stuff to allow you to compile against [CODE] . The separation is done so that those...
4
3
14,049
2014-06-26T09:16:17.933
infrastructure
serverfault.com
120,082
Would it be possible to create an open source software library, entirely developed and moderated by an open community?
Call it democratic software development, or open source on steroids if you will. I'm not just talking about the possibility of providing a patch which can be approved by the library owner. Think more along the lines of how Stack Exchange works. Anyone can post code, and through community moderation it is cleaned up and...
As a direct response to this quote from the original question: Everybody goes their own way and implements their own subset of what they feel is important, open-source library or not. My two cents: Design by committee is a failure to start with . Do you really want to have to import every single feature every single pe...
0
7
309
2011-11-16T15:14:33.303
api_errors
softwareengineering.stackexchange.com
32,874
Stateful views in SQL Server
Actually I got stuck while searching a materialized view approach in SQL Server. My problem was that I have two databases and I have created some views whose functionality is to read data from one DB to another. For instance, a view in DB "A" is picking up the data from DB "B". It worked perfectly, but suddenly today I...
You could set up transactional replication from your main server to the server on which the views are materialized, and then, use a non materialized or materialized view based on their independent merits More info: You have server A and Server B, with A hosting DB A and B Hosting DB B Now, you can configure transaction...
1
1
214
2013-01-14T04:37:08.860
database_errors
dba.stackexchange.com
264,249
SQL Router Not Applying Round Rubin
I configure sql router under three machines and found if I use simple command [CODE] then its not applying round rubin connection request but when i use with protocol parameter then its working fine [CODE] I want to connect with normal command like mysql -u ia -pTest@123 --port=7001 and round rubin should work in this ...
Every connection has a -h 127.0.0.1 or as you have a --protocol=TCP" on local computers to use round-Robin. The problem is on linux computers mysql tries to open a socket connection, where you can' use Roud-Robin. The same is true for Windows computers, but there mysql uses named pipes so you have to force the connecti...
0
0
41
2020-04-03T13:00:51.327
database_errors
dba.stackexchange.com
139,385
Oracle 12c Rman Duplicate Archive Log Not Verified
I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs. I am running a full database and archive log backup before executing the [CODE] c...
Could you please tell us how you connected to rman? For example: [CODE] The reason for you problem is that the two databases have trouble communicating with each other. If you use [CODE] because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows. Lets say yo...
3
1
3,529
2016-05-24T15:40:09.893
database_errors
dba.stackexchange.com
213,907
MYSQL Multiple table optimization for advanced search
I have a [CODE] table where there is the basic information of each user: [CODE] On the other hand, I have a `user_data' table in which we put every other data: [CODE] Basically, the data is stored as a [CODE] => [CODE] I fetch the data in the following fashion: [CODE] I made that second table this way because there is ...
Don't use MyISAM, use InnoDB. http://mysql.rjweb.org/doc.php/myisam2innodb EAV is inefficient, especially when you normalize either of the columns. http://mysql.rjweb.org/doc.php/eav And read more about Entity-Attribute-Value schemas in stackoverflow.com You are missing some critical indexes that are critical to perfor...
0
0
279
2018-08-02T12:49:22.807
database_errors
dba.stackexchange.com
22,811
Is there an overview over recommender system architectures?
I want to learn more about the recommender system topic. I am very interested in the usage of different database systems for this use case. My problem is that I cannot find a good overview of different architectures of recommender systems , especially with the focus on the database part. Can someone help me out with a ...
A great source is the personal page of Xavier Amatriain (former Head of Engineering at Netflix and Quora). There are several links at publications detailing the system and architecture of recommender systems. In particular you could take a look at this Building industrial-scale real-world recommender systems , there is...
3
4
1,514
2017-09-04T09:10:24.857
data_quality
datascience.stackexchange.com
844,188
Shut down windows server 2012R2 KVM VM
Question: Does anyone know how I can get the Windows 2012R2 virtual machines to shutdown when sent the signal by the cluster resource manager? Background: I am running Windows 2012R2 servers as Virtual Machines (VMs) on KVM, using corosync/pacemaker for high availability. To migrate a VM from one node to the other, the...
According to [1] the "allow system to shut down without logon" policy is present in ws2012r2. All KVM (well, actually qemu) does is send an ACPI shutdown command to the guest, and after that the guest should handle the request. Just like with real hardware, the alternative is a manual shutdown or pulling the power ( [C...
2
3
5,663
2017-04-12T19:07:06.527
infrastructure
serverfault.com
1,043,651
apache 2.4 config to allow ELB health check
I have an EC2 instance behind an AWS Application Load Balancer, running apache 2.4 The health check is configured to do a GET on /health/ I have virtual hosts configured, and two vhost entries - one with the servername, and one to handle incoming requests directly to the IP address. aaa_first should be loaded first, an...
Change [CODE] to [CODE] . [CODE] matches against URL not filesystem paths. From the docs : The directive limits the scope of the enclosed directives by URL ... sections operate completely outside the filesystem. This has several consequences. Most importantly, directives should not be used to control access to filesyst...
0
1
5,010
2020-11-23T22:06:56.633
api_errors
serverfault.com
202,012
SSRS report stuck on Loading but ExecutionLog says otherwise
I have a report that is stuck on loading in the reporting server portal (it's been over a day). However when i check the ExecutionLog... [CODE] ...it says that the status is 'rsSuccess'. Here is the AdditionalInfo XML which might help... The query took about 1 minute to run which is how long it took to run in SSMS. Ren...
Sometimes the browser will time out or otherwise not return a rendered report even though the process is still running in the background and ultimately succeeds. The browser will likely not even tell you it failed, it will just keep spinning or return a blank page. The logs are indicating "success" meaning the process ...
2
1
10,784
2018-03-22T13:56:14.707
bi_errors
dba.stackexchange.com
60,207
Choosing an optimizer to perfectly fit a neural networks to training data
In short, my query is: Which optimizer(s) should one choose to experiment for a fully connected neural network if she wants perfect fitting (mae Details: In my particular case, the input of the function is 60-dimensional and the output is 1-dimensional (the training data set is prepared by solving a forward model). The...
There's no free lunch , only bunch of tips. Your search space always depends on the problem you're tackling, and there's no one that fits them all. You need to run experiments to check this. Additionally, your net's architecture is one of the parameters, so it's hard to tell if your net will even be of sufficient capac...
3
1
375
2019-09-15T00:15:02.403
data_quality
datascience.stackexchange.com
570,793
HAProxy pgsql-check error
I use HAProxy 1.5-dev21 to load balance PostgreSQL connections over some read-only Postgresql 9.2 servers. Version 1.5 of HAProxy implements a pgsql-check option , similar to mysql-check. Here is my typical HAProxy configuration for such pool: [CODE] That works, I mean HAProxy detects that slave1/slave2 are up and I ca...
I am not sure if this is really a problem. HAProxy documentation says that It is a basic but useful test which does not produce error nor aborted connect on the server. This check is identical with the "mysql-check. Oh the other hand, mysql-check description is little more detailed: the check consists of sending two My...
0
1
4,581
2014-01-29T16:57:01.133
database_errors
serverfault.com
282,162
MySQL InnoDB Cluster - Add instance issue with local port
I have an issue to add instance to MySQL InnoDB Cluster using MySQL Shell. Here are the steps that I have done: Login to one DB-01 node Run command: mysqlsh shell.connect('username@ip-address:port'); cluster = dba.createCluster('cluster-name'); Checking the cluster status: cluster.status(). Here is everything ok. I hav...
Your IP ranges most probably don't fall in the range of IPs that would be automatically added to the allowlist: https://dev.mysql.com/doc/refman/8.0/en/group-replication-ip-address-permissions.html For that reason, you must manually configure the allowlist: https://dev.mysql.com/doc/mysql-shell/8.0/en/configuring-innod...
2
2
2,922
2020-12-26T14:49:29.033
database_errors
dba.stackexchange.com
197,067
Does change the license under which Linux is released need the permission of all the copyright holders?
As far as I know Linus holds the copyright to Linux. While looking around in the kernel sources, I see that almost every file has it's own copyright holders. For example the file [CODE] in the Linux kernel contains: [CODE] And the COPYING file in the root directory contains: [CODE] So if Linus would want to change the ...
Yes, he would need permission from every person who has contributed code to the project. This is because those people have only given permission to redistribute their code under the GPL. Some other projects circumvent this by requiring that contributors assign their rights to the project.
6
10
645
2013-05-04T20:57:25.343
api_errors
softwareengineering.stackexchange.com
20,354
scipy fit for t distribution seems broken for bi-modal data
I am using the scipy.stats.t.fit function, and I am surprised by the results. If I fit on some bimodal data, say [CODE] I get [CODE] That is, the scale is effectively zero, and I will never be able to sample anything near 5, just the more frequent data point 1. I guess you really can't fit on data that is too different...
The t-test has many assumptions. That dataset violates several of them: Data should be sufficiently large (>30 independent points) Data should be approximately normally distributed Given that the assumptions are violated, you can not expect to valid results.
1
1
249
2017-07-11T16:08:00.073
data_quality
datascience.stackexchange.com
216,925
How To Find Reasons of Why Site Goes Online/Offline
Seems today a website I manage has been going online and offline throughout the entire day. I have no idea what is causing the issue so I am seeking guidance on where to start. It is a Wordpress based site. So here is what I DO know: I use a program that pings the server every minute and when the server is not respondi...
The load average in the 30s is high and the CPU is 100% busy. CPU usage is pretty even across your HTTPD processes so it's not one specific rogue process. Basically your server is not capable of handling the number of concurrent HTTP requests it is receiving. It may be that you could do something to reduce the amount o...
0
1
985
2010-12-29T06:53:10.847
infrastructure
serverfault.com
566,689
Postfix - how to send maximally 5 emails in 2 minutes
I try to set Postfix through the anvil command so that can be sent altogether maximally 5 emails in 2 minutes, seemingly this is not possible as can be sent emails without any limitation. Maybe I have not found the right settings for the master.cf file regarding to the options smtpd and anvil or similar. Many Greetings...
iirc, all these settings apply per remote server (or domain) that it's connecting to, so 5 messages per 120s per remote mailserver or domain.
1
1
1,324
2014-01-12T06:23:14.857
infrastructure
serverfault.com
295,752
Linux boot: md raid FS not ready (sometimes)
Using Ubuntu 11.04 (latest patched) I have 5 RAID-1 file systems that are automatically assembled during the boot process (Note: none of the system FS [CODE] , [CODE] ... are raid, only user FSes). Once in a while, during boot, an MD cannot be assembled (seemingly) and Ubuntu asks ( edit: exact message ) [CODE] But the...
Finally I found two answers. The answer (update 2012-05-02) There was a problem after the update from Ubuntu 11.04 to 11.10. And the MD arrays are not ready yet, when they are tested by the system. A race condition. The solution was on ubuntuforums.org Floppy disk problem Opened the box, and checked all cables and conn...
2
0
1,311
2011-07-30T05:00:33.153
data_quality
serverfault.com
751,033
How to find out raid in linux: cat /sys/block/sda/device/raid_level vs dmraid -s in Redhat?
I am trying to find what raid level and what storage controllers are there in my remote HP server. I can find out the following details which storage controller, size of the disk, model etc. But how to find if the raid is active and if, which raid? One more clarification, I need here: So, I read raid can be defined in ...
You need to use HP's RAID utilities to get this information. I;m assuming you did not build this server. This information is readily available from the HP Smart Storage Administrator utility. It's called [CODE] . Please try running that command. For RHEL6, the download link is here . Once in, you can type: [CODE] and [...
1
1
2,980
2016-01-22T12:41:48.057
database_errors
serverfault.com
233,373
Changing setting in applicationHost.config to Allow has no effect on 500.19 error
I have a web site using .NET 4 and ASP.NET MVC3 running in IIS 7.5. I get the following error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMo...
A co-worker found a solution and posted it here . I would recommend using appcmd.exe to allow overriding the different configuration sections. More info on that can be found at ( http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/ ). To answer your question directly, you can globally unlock the config se...
0
1
4,492
2011-02-09T16:38:21.417
api_errors
serverfault.com
109,770
How do I estimate the benefit of one business method over another when all my data is confounded?
I'm trying to estimate the benefit of using one method over another, but the existing data is confounded and I'm struggling to figure it out. So my company submits debit orders to customers to collect a monthly payment. Sometimes customers reverse the charge or don't have enough money, so the payment fails and we don't...
The only way is to obtain two comparable datasets for method A and method B. How exactly to do that is specific to your data and likely involves expert knowledge, but I can at least try to sketch possible directions: If there are cases where customers were randomly assigned A or B and you have clear indications of thes...
1
0
17
2022-04-07T12:11:05.160
data_quality
datascience.stackexchange.com
129,682
How to reduce RAM consumption when my server is idle
We use Slicehost, with 512MB instances. We run Ubuntu 9.10 on them. I installed a few packages, and I'm now trying to optimize RAM consumption before running anything on there. A simple [CODE] gives me the list of running processes : [CODE] As you can see there is nothing serious here. If I sum up the RSS line on all t...
You've got a total of 156996 KB of memory used for programs, and a further 343684-156996=186688 KB used for buffers & cache. That means that about 22% of memory is used, not 60%. These buffers are used to store the contents of your disks, either before they're written to the disk, or after they've been read in case you...
2
13
2,290
2010-04-06T09:56:32.810
infrastructure
serverfault.com
145,462
Column must appear in the GROUP BY clause or be used in an aggregate function when using CASE statement in ORDER BY clause
I have a PostgreSQL database that contains events. Events can have multiple date ranges. Date ranges are stored in a separate table. I’d like to get the IDs of current and upcoming events. IDs of current events should be outputted first, followed by IDs of upcoming events. This is my current SQL query: [CODE] However, ...
If all events have the same [CODE] : [CODE] But then the column should be in the [CODE] table once per event. If not, your sort order is ambiguous . I would start by asking how the same event can have different date ranges? Your setup is broken either way.
0
2
1,307
2016-07-31T15:54:20.420
database_errors
dba.stackexchange.com
124,952
How to filter a dataframe and get a sub data frame based on frequency?
I have a data-frame. Lets call it df. My data frame has a column with categorical values e.g. a column named Place. But the problem is that there are many different (string) values in that column and many of them are really rare. Thus, I want to delete these categorical data with low frequency so that I could use dummi...
Yes, you can use a percentage threshold = (frequence /total rows of the dataframe)> threshold. You can choose threshold according to your dataset. Here, I have chosen 10% i.e. 0.1 [CODE] Canada 0.304348 Egypt 0.304348 US 0.260870 UK 0.086957 Mexico 0.043478 Name: Place, dtype: float64 Filtering out the rows i.e. thresh...
1
1
63
2023-12-07T12:50:43.713
data_quality
datascience.stackexchange.com
495,297
Using Linux /proc/meminfo to avoid overloading server via swapping
I am trying to find a metric to use that will tell me if starting another process estimated to use N bytes of memory will have an adverse impact on system performance. I know that the [CODE] fields [CODE] , [CODE] , and [CODE] can be added together to give the total memory available to programs. However, I would prefer...
After experimentation, it seems like Active memory is a good indicator. What we observed is that as free memory dropped to zero, very low frequency page outs would occur as inactive memory started being swapped out (for our system, on the order of 10s to 100s per second). Actual swapping would result in 10-to-100 times...
1
0
458
2013-04-02T06:44:07.863
infrastructure
serverfault.com
430,327
Is it bad practice to run different versions of code in different environments? (i.e. test, prod)
As an example, let's say you have the following pseudocode: [CODE] assuming that the operation is permission sensitive, such that you need these perms to run in test (otherwise the code would break because of aforementioned perms errors), is this good/bad practice, and what's the best solution? Is this code a security ...
I think you know the answer to this question already: No, it's not great to run different code in test and production. This increases the risk when you move to production. However, it's better to run different code in test and production than to not test stuff. In the specific example you've given of permissions, it so...
1
7
542
2021-07-16T14:36:57.507
api_errors
softwareengineering.stackexchange.com
644,641
Split horizon DNS with GoDaddy & Microtik routers
I'm looking into a simple split horizon DNS implementation. Using GoDaddy for my Internet DNS and Microtik routers for LAN DNS in a couple locations. In my office I have a server, on the Internet is [CODE] , but on my office network, I've been using a DNS entry on the Microtik with a different name [CODE] . My most nai...
I checked back on this today and found [CODE] was only resolving to the local address from one of my local sites... Realized the behavior I posted the question about originally was because the local routers DNS cache still had the value from the Internet cached. Clearing the DNS cache of the router allows the split hor...
1
0
560
2014-11-15T21:16:37.560
infrastructure
serverfault.com
203,767
Postgresql - how to securely delete the storage freed when a table is dropped?
For a system with sensitive information stored in a PostgreSQL 9.5 database, in which data stored in a table that is deleted must be securely deleted (like [CODE] does to files), and where the system is persistent even though a particular data set won't be, I'm trying to figure out my options for securely deleting the ...
[CODE] removes the table files from disk filesystem. If you need them securely erased you could perhaps look for a filesystem that supports that. On linux SSD filesystems, mounting with [CODE] (or running fstrim after dropping) will hide the content of the deleted files from consumer-grade forensic tools (like photorec...
5
2
2,480
2018-04-12T15:20:16.973
database_errors
dba.stackexchange.com
251,890
Passing Anonymous Type to a Bound Control
Generally speaking, I'm fairly opposed to the use of anonymous types in real-world code (except in LINQ and some other specific scenarios), but I'm looking right now at a situation where I need to bind an ASP [CODE] control with a collection of tuple values and they're looking pretty tempting. Basically, I need to show...
No And your assumption about it not being statically typed is wrong too. From the documentation : Anonymous types are class types that derive directly from object, and that cannot be cast to any type except object. The compiler provides a name for each anonymous type, although your application cannot access it. From th...
7
1
1,318
2014-07-31T21:57:58.093
api_errors
softwareengineering.stackexchange.com
158,835
vSphere Virtual Machine Windows Explorer runs slow
I've a number of Server 2008 and 2003 virtual machines running on vSphere 4. When using Windows Explorer on any of them, it runs very slow, e.g. 60 seconds + to change a folder. These folders are also shared, and browsing them from the clients over the network is perfectly fine. It's doesn't matter if I use vSphere Cli...
It appears to be Kaspersky. I'd tried disabling it, but apparently not enough. After some more Google-fu, removing it entirely fixed it, and then reinstalling it seems to remain okay.
0
1
546
2010-07-09T06:11:04.177
infrastructure
serverfault.com
726,394
Can't Access VMware VM Remotely
I have a VM several layers away that I want to access remotely, but I can't get to it for some reason. I've tried several things to figure it out, and I wonder if I am missing something. I would like to RDP into the machine or access the web application running on port 80 on the VM. Here's the setup... VM in question: ...
Maybe is a problem with the Network Adapter, I solved it by go to Edit option in VMWare, Virtual Network Editor and Restore Defaults .
1
0
1,400
2015-10-02T21:29:52.157
infrastructure
serverfault.com
66,002
Algorithm selection rationale (Random Forest vs Logistic Regression vs SVM)
I want to understand the criteria of selection of ML algorithms, i.e., what are the guidelines on which algorithm to be selected in which case? The reasons I know are: Logistic regression to be picked in case we want to advise the impact on y variable on what changes on any x variable. Random forest works good on mixed...
I suppose I will suggest as a starting point and expand on what you suggested by just adding the following Knowing the type of data you are working with and it's characteristics, (categorical, supervised/unsupervised, data size etc.). Knowing what accuracy requirements you need, timeframe and computational power you ha...
2
1
410
2020-01-07T06:34:00.153
data_quality
datascience.stackexchange.com
334,286
A network share folder is invisible to users
I have a network share folder that I was recently cleaning up permissions to. I took off the four individual names from the access permissions to the folder, and added a new security group (Universal) with standard Read/Write permissions to that folder, then added those 4 people to the group. However... now nobody can ...
You may be encountering Access Based Enumeration . Basically, if your user account does not have read permission on a directory, it is hidden from view. As already mentioned, this is because you removed the users explicitly defined access and replaced it with a group, and the affected users logon tokens do not include ...
7
10
7,971
2011-11-23T23:17:10.217
infrastructure
serverfault.com
170,171
SQL Server Enterprise Edition: Use more than 4GB of RAM on a 32 bit Machine?
I would like to install SQL Server 2008 on a 32 bit machine. I have read that it is possible with the SQL Server Enterprise edition to increase the memory over the 4GB? Is this true? Any documentation? I couldn't find anything solid from Microsoft or anywhere else reputable except SQL server forum posts! Thanks all for...
Is this the type of information you're looking for as a starting point?
1
3
1,492
2010-08-13T12:44:01.213
database_errors
serverfault.com
534,341
Content Security Policy Configuration Problems
I have a server running nginx and I would like to add CSP. However I'm encountering difficulties even after following numerous guides I will either get an error from nginx or they just don't work. Here is what the header looks like at the moment: [CODE] Using this entry however causes nginx to report that there's an er...
You forgot the closing quotation mark (") and semicolon (;) on line 40. Nginx shows the error on line 80 because it is the next occurrence of a quote in the file.
0
3
3,442
2013-08-28T05:36:39.083
infrastructure
serverfault.com
454,194
disk space keeps filling up on EC2 instance with no apperent files/directories
How come os shows 6.5G used but I see only 3.6G in files/directories? Running as root on an Amazon Linux AMI (seems like Centos), lots of free memory available, no swapping going on, no apparent file descriptors issue. The only thing I can think of is a log file that was deleted while applications append to it. Disk sp...
If a file that has been deleted is still open by a process, the space will not be reclaimed until the process closes the file (or is killed). If you can not identify the process that is holding a file open, then a reboot will help as that will close all running processes (and so close all open files). Another considera...
8
4
15,741
2012-12-01T19:06:32.890
infrastructure
serverfault.com
1,022,204
azure virtual machine changed the public IP after a stop/start
I had an issue on one of my virtual machines where after a stop/start it changed the public IP address Which was been used by some IOT client devices to reach my server. Now they not able to communicate with our server Is any way I can revert it ? Antonio
You need to check the configuration of your VM's public IP address and ensure that the assignment is set to Static, and not Dynamic. Unfortunately you will not be able to get the old IP address back, but once you set your current IP address to Static, you will be able to keep it even if you restart your VM.
1
5
1,748
2020-06-19T18:52:01.760
infrastructure
serverfault.com
52,317
Freeing Unused Space SQL Server Table
I have a table in SQL Server 2012 Express with a lot of unused space. I need to free up space in the database. | NAME | ROWS | RESERVED | DATA | INDEX_SIZE | UNUSED | |-------------|--------|--------------|--------------|------------|--------------| | MyTableName | 158890 | 8928296 KB | 5760944 KB | 2248 KB | 3165104 K...
The only thing we have done is replaced [CODE] on every row with a much smaller image (this is how so much unused space is there) From doing some experimentation the most space effective method would be to drop the allocation unit and repopulate it (if you have a maintenance window to do this in). Example code that ach...
13
12
37,717
2013-10-28T10:56:57.607
database_errors
dba.stackexchange.com
129,911
Does Apache ever give incorrect "out of threads" errors?
Lately our Apache web server has been giving us this error multiple times per day: [CODE] We raised our ThreadsPerChild setting from 50 to 100, but we still get the error. Our access logs indicate that these errors never even happen at periods of high load. For example, here's an excerpt from our access log (ip address...
While your configuration settings have room for improvement, such as what Embreau mentioned, they may not be the direct cause. It's potentially your application or something along the stack causing the issue. For example, if your application was waiting for a response from a database it could eventually cause all threa...
2
2
8,094
2010-04-06T21:26:08.417
database_errors
serverfault.com
31,828
Subqueries run very fast individually, but when joined are very slow
ypercube solved the problem. Subqueries were totally unnecessary, and the whole thing works with plain joins. It is still strange that MySQL's optimizer could not make use of my original query, though. See below for the question and lots of details. Plus a complete solution at the bottom of my question. It is based on ...
You don't need all the derived tables. You are joining the basic ( [CODE] ) too many times. You can write the query joining it only once. Compound indices are a must for EAV designs. Try adding an index on [CODE] and then the query: [CODE]
8
6
23,760
2013-01-12T07:12:25.233
database_errors
dba.stackexchange.com
1,023,376
CORS blocked by No "Access-Control-Allow-Origin" on dockerized Angular frontend app and Spring Boot dockerized backend
I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the data from the backend, I face the error with regard to CORS policy-related, such that on the browser I see the following...
It is the web client (wherever the web client that is blocked happens to be placed in your setup) that does the actual blocking, so you need to permit the source address the client is intending to use with the injected Access-Control-Allow-Origin header. This header and value must be known by the client prior to it sen...
2
0
9,462
2020-06-29T17:57:47.480
api_errors
serverfault.com
1,128,536
nftables: getting a per-port whitelist to work
Setup: Ubuntu 20.04, created a bridge "br0" with brctl, added three physical ports to it: enp10s0, enp7s0 and enp5s0. The desire: enp5s0 and enp7s0 should be able to talk to each other on the bridge unimpeded (in the end, there will be more than these two, so I'm trying to keep the rules as simple as possible). enp10s0...
The problem is about ARP rather than IPv4. If anything (except TCP destination port 3389) coming from enp10s0 is dropped, then any frame of type ARP is dropped. Thus a system on enp10s0 side won't be able to send ARP queries to systems on other ports, and will never discover the correct MAC address associated to an IPv...
1
1
312
2023-04-12T16:11:41.470
infrastructure
serverfault.com
329,332
Unable connect to SQL Server on SSMS and Got error 10054
I have an issue with connecting to a server on SSMS SQL Server. I got this error 10054 when i tried to connect : SQL Server error 10054 [CODE] I've tried on other laptop, some of the laptop can connect it, some cannot. I also have tried different SQL Server version (19 and 22) and also tried different SSMS version (19....
Error Message The cause for [CODE] errors according to Microsoft is: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host.) A connection was successfully establish...
1
1
4,922
2023-07-15T05:25:21.610
api_errors
dba.stackexchange.com
349,660
What do relational databases gain by setting a predefined data type for each column?
I'm working with an SQL database right now, and this has always made me curious, but Google searches don't turn much up: Why the strict data types? I understand why you'd have a few different data types, for example like how differentiating between binary and plain text data is important . Rather than storing the 1s an...
SQL is a statically-typed language. This means you have to know what type a variable (or field, in this case) is before you can use it. This is the opposite of dynamically-typed languages, where that is not necessarily the case. At its core, SQL is designed to define data ( DDL ) and access data ( DML ) in a relational...
46
50
3,850
2017-05-26T18:13:58.753
api_errors
softwareengineering.stackexchange.com
439,338
restore root account on ubuntu running in EC2
Possible Duplicate: root locked out of EC2 How can I restore root account that is running on EC2 Ubuntu platform? In the /etc/passwd the root username got replaced with something like this - "text with space" Now I cannot log in using the root password. I was able use a user account to login but this user account does ...
You enable the root account on Ubuntu by first reading the strong warnings in the documentation , and then if you still want to proceed... [CODE] If the [CODE] file is corrupt, you can fix it by running [CODE] See also this question for information on enabling root access via ssh .
0
2
120
2012-10-17T13:33:46.023
data_quality
serverfault.com
342,402
Exploiting Apache Spark Data
and sorry if the question seems a bit naive. I'm currently reading tutorials about Kafka & Spark and there's something I can't figure out : how to exploit / expose the data Spark received. Here's what I'm trying to understand : A lot of events Kafka broker Spark receiver Map/Reduce/Transform/Aggregate/MLearning Storage...
Spark programs are just java, scala or python code, so they can write data to all the same places any program can write them. In fact, spark does not actually do anything unless you write the end result somewhere with an output operation. If the end result of a spark job is small, it can be written to a relational data...
2
3
356
2017-02-16T19:30:13.613
api_errors
softwareengineering.stackexchange.com
331,049
Why do req.params, req.query and req.body exist?
I'm new on Node.js and Express and now I'm observing that when I change the method on my calling app the params are in [CODE] , [CODE] or [CODE] and it depends by the method. Now my questions are two: Are there some differences between these three objects? (something that could explain why a different method refill a d...
All three properties are populated from different sources: [CODE] comes from query parameters in the URL such as http://foo.com/somePath?name=ted where [CODE] . [CODE] comes from path segments of the URL that match a parameter in the route definition such a [CODE] . So, with a route using that designation and a URL suc...
7
19
44,152
2016-09-14T15:02:52.050
api_errors
softwareengineering.stackexchange.com
283,883
How memory limit for backup process is calculated?
How "memory limit" for backup process is actually calculated?
You must have got the output after using trace flags in command something like [CODE] . If you read the How It Works: How does SQL Server Backup and Restore select transfer sizes on this TF it says WARNING: This trace flags should be used under the guidance of Microsoft SQL Server support. They are used in this post fo...
2
1
500
2021-01-24T19:31:53.960
database_errors
dba.stackexchange.com
1,089,911
How can it be possible dkim fails whereas spf pass
I have set up a postfix which sends emails. I have configure spf, dkim and dmarc (with p=none). I have checked with mail-tester: spf and dkim work fine. I have set up a dmarc rua in order to receive dmarc reports. I have seen something strange in rua reports: Sometimes SPF and DKIM are OK. And sometimes DKIM fails (whe...
SPF and DKIM are completely different mechanisms which can fail independently. SPF checks whether the host delivering a message is allowed to send mail with that sender domain. DKIM checks whether the mail was authorized by the domain owner. So all four OK/FAIL combinations are possible: SPF ok, DKIM ok: The mail is de...
0
4
2,169
2022-01-13T13:38:34.683
infrastructure
serverfault.com
671,704
Strange issue with Nginx compiled from source and Nginx from official Fedora repository
TL;DR Nginx, compiled from source, had trouble process .php files, while with the same PHP-FPM configuration, nginx , from official Fedora repository, worked like a charm on DigitalOcean 512MB Fedora 21 x64 VPS. What is the reason behind it? I am using DigitalOcean 512MB Droplet with Fedora 21 x64 VPS. I compiled Nginx...
Solved it finally. SELinux was forbidding PHP-FPM from accessing the file since web content was served from /srv. Running the following command [CODE] solved the issue. Thank you everyone for helping. Reference: https://www.if-not-true-then-false.com/2011/install-nginx-php-fpm-on-fedora-centos-red-hat-rhel/
0
0
63
2015-02-26T17:25:56.630
infrastructure
serverfault.com
669,787
InnoDB “Table xx Is Full” during database alterations
I am running Percona Mysql Server 5.6.14-56 on CentOS 6.3 64bit. Server has plenty ram (96gb) and storage free. File system type: ext4 [CODE] I tried to make some alterations to a table with 42M records (about 12.5gb in size (about 50% of that is indexes)), and today it showed me the Table Is Full error. I checked the ...
Table alteration involves /tmp partition as intermediate storage for explicitly and implicitly created temporary tables. You have to use the tmpdir on a partition that big enough. Add the next line to the [CODE] [CODE]
1
2
4,614
2015-02-19T08:18:15.527
database_errors
serverfault.com
151,966
Problem setting up Master-Master Replication in MySQL
I am attempting to setup Master-Master Replication on two MySQL database servers. I have followed the steps in this guide , but it fails in the middle of Step 4 with [CODE] It simply returns an empty set. I get the same 3 errors in both servers' logs. MySQL errors on SQL1: [CODE] MySQL Errors on SQL2: [CODE] The errors...
Ok, well, I figured this out on my own. There were several files in /var/lib/mysql/ with names like sql1-relay-bin.00000x (where x is an integer). A post I found on another site suggested deleting these files. I did, and sure enough, everything worked. Apparently, they were remnants from previous incomplete attempts at...
2
2
3,893
2010-06-17T02:29:05.087
database_errors
serverfault.com
130,568
What is non-CDB @ Oracle ?
I'm reading about Oracles PDB and CDB, and their test performances http://www.oracle.com/technetwork/database/multitenant/learn-more/oraclemultitenantt5-8-final-2185108.pdf They compare PDB with non-CDB's. But I dont understand what a non-CDB is. Here is the definition from the document "multiple stacked single-instanc...
A non-CDB is anything that isn't a CDB; that is, any database before 12c, or a 12c database created without the enable pluggable database clause . If you create a non-CDB it isn't Multitentant and is a single-instance standalone like a pre-12c database. Is non-CDB one single Database process with several databases or I...
6
6
10,250
2016-02-26T09:51:16.180
database_errors
dba.stackexchange.com
379,643
Error Monitoring On The Apps Which I'm Selling
I'm developing JS and PHP scripts and selling them on various marketplaces. But I need to track/monitor errors on my scripts. Usually, I use Sentry for own web apps, but I'm not sure if it's okay to use it for the scripts which I'm selling. Because this scripts will contain some authentication tokens with write permiss...
Instead of using the same API key used to send the error logs, use one API key per user. In other words, a person purchasing your library will have to generate his own API key, and then give it to the library he purchased. This way, the person will be identified, and the level of identification depends on your specific...
1
1
197
2018-10-08T18:14:01.610
pipeline_ops
softwareengineering.stackexchange.com
450,618
Does the Visitor Pattern necessitate traversing a structure of instances?
I have a class hierarchy of elements (more static) with different operations on them in another class hierarchy (more flexible). During execution there is exactly one element given, and based on it's type I want to perform a given operation. Instead of using some chained conditional like [CODE] I decided to use the Dou...
I have a class hierarchy of elements (more static) with different operations on them in another class hierarchy (more flexible). ... I decided to use the Double Dispatch technique: [CODE] Based on this, I'd say you've implemented the Visitor pattern exactly , and furthermore it's a well chosen design precisely because ...
2
4
214
2024-01-18T10:43:50.970
api_errors
softwareengineering.stackexchange.com
894,190
Storage Spaces Direct - how to use newly added disk as local and prevent auto pooling / auto-select?
Environment: Windows 2016 FCI cluster with S2D running SQL Server cluster on 2 VMs in Azure. New vhd disk has been added to a single VM in the cluster with intention to use it as local. Because 'AutoPool' is enabled, it grabbed the disk and marked its Usage property as 'Auto-Select'. Question: how do I change that sing...
You can easily do what you want, check this link out: https://docs.microsoft.com/en-us/powershell/module/storage/get-storagesubsystem Get-StorageSubSystem Cluster* | Set-StorageHealthSetting -Name "System.Storage.PhysicalDisk.AutoPool.Enabled" -Value False As a side effect: I'd check AlwaysOn Availability Groups (AGs) ...
4
5
1,840
2018-01-26T03:29:25.787
database_errors
serverfault.com
390,053
I want to connect to SQL Server Express remotely through windows firewall
I have a VPS windows 2008 with SQL Server Express installed on it. I want to access the SQL Server Express database from my PC. I can access it when I disable windows firewall, otherwise I cannot. I used this batch from Microsoft to solve the problem but nothing happened. [CODE] Thanks
Sounds like SQL Server is not installed using the default ports. I recall SQL Express used to do that, because it installed a named instance rather than the unnamed default. Open the SQL Server Configuration Manager and check the following settings: Expand "SQL Server Network Configuration" in the left pane, then the "...
1
1
1,044
2012-05-17T14:35:57.080
database_errors
serverfault.com
598,476
How to use realmd in Ubuntu 14.04 LTS to join an Active Directory domain?
I want to use [CODE] to join an Active Directory domain from Ubuntu 14.04 LTS. To do that I just installed [CODE] and some dependencies with this command: [CODE] . After the installation I tried to join my domain with the command [CODE] it asked for the Administrator password but them crashed with this output: [CODE] A...
I have outlined all the steps necessary to get this up and working. There are a series of bugs regarding the install of the packages. All of the underlying software works great, but there are a few steps you have to take to make things work: http://funwithlinux.net/2014/04/join-ubuntu-14-04-to-active-directory-domain-u...
9
7
36,544
2014-05-25T18:49:42.310
infrastructure
serverfault.com
293,221
Possible to block a Java applet from writing log files?
We use a custom build Java applet daily on a host, but each time it writes a debug log file. We don't have the source code for the applet. It is possible to somehow block the applet from writing this log file? It would be really nice, if read and write permissions could be disabled for the Java Applet.
In the JRE's [CODE] directory is a file called java.policy . There are any number of capabilities you can add/deny in there, based on app/class/jar name?. If I remember correctly, a user can have a [CODE] in their home directory allowing you to control things on a per user basis. There is also a little GUI in the JRE [...
2
2
304
2011-07-22T23:00:38.003
infrastructure
serverfault.com
868,490
pfSense Traffic Graph: total doesn't add up
I am new to pfSense, but my network and monitoring skills are okay. I am trying to understand the Traffic Graph. I have read the documentation . As far as I understand the graph on the left side should display the total throughput on the selected interface. And the list on the right side should display the details for ...
Graph is in MBytes, chart is in Mbits. I found your question because I'm trying to find out how to change the graph to Mbits.
1
2
1,042
2017-08-14T04:47:59.277
api_errors
serverfault.com
311,187
What does '0U' mean in apache's error-log?
Recently, in my apache's error-log, I found a lot of lines like this: [CODE] "www.***.com" is my domain name. What does '0U' mean? Responses' code corresponding to the some of the error requests are [CODE] . My apache's version is 2.2.14. PS: I use [CODE] to build my website.The apache is the front end server, so there...
My guess would be that someone is trying to do this to you but hasn't quite got the value of the Range: header right yet. The [CODE] is probably supposed to be just [CODE] which would be part of a valid range in the Range: header of an HTTP request. The log entries where the response code was not 416 is probably where ...
1
1
322
2011-09-14T07:10:17.457
infrastructure
serverfault.com
1,033,936
Extracting part of the string using Ansible regex_search and save the output as a variable
I'm having a content like below inside a file. [CODE] I wanted to read the value for dataDir using Ansible and set it to a variable. I have written following code but regular expression and storing the variable both have some issues. [CODE] Q1.) How can I improve the regular expression to get only /var/lib/zookeeper ? ...
You need to add a group to your regex and a second parameter that specifies which group to return: [CODE] This would return an array with a single element, so I added [CODE] to get only one element directly as a string. Result: [CODE] If the config file resides on the Ansible machine you can make it even easier using a...
8
20
69,288
2020-09-15T08:26:19.263
hadoop_errors
serverfault.com
124,302
Stack Dumping and performance degradation of sql server process
I would like to say that today i got first time SQL Server log message in My SQL Server 2012 Database. [CODE] There were 3 prominent errors Resource Monitor (0xda8) Worker 0x000000017F050160 appears to be non-yielding on Node 0. Memory freed: 3784 KB. Last wait: MISCELLANEOUS. Last clerk: type CACHESTORE_OBJCP, name Ob...
This is not a complete answer it is a workaround as others have suggested in comment you need to raise case with Microsoft to get information about what exactly might be causing this issue. NOTE: Not every stack dump is because of bug in SQL Server. But I strongly suggest you to apply SQL Server 2012 SP3. AFAIK there i...
2
2
7,501
2015-12-22T07:35:21.470
database_errors
dba.stackexchange.com
281,637
Why would an .htaccess file result in 403 Forbidden when the only line is "Allow from all"?
I'm running a server: [CODE] Without a .htaccess file, everyone can access the web content. However, I add a .htaccess file with the following content: [CODE] ... and everyone gets 403 Forbidden errors on every page! The permissions on .htaccess are [CODE] . Shouldn't [CODE] be the same as having no .htaccess file? Wha...
[CODE]
7
7
43,783
2011-06-17T15:07:35.617
api_errors
serverfault.com
109,502
How do I import and export more than one numpy arrays?
I have four numpy arrays [CODE] , [CODE] , [CODE] , [CODE] . I want to know how do I export and import them all together. I tried exporting them using [CODE] , data.npy file is created and then I tried importing using [CODE] . and now I can't access the data. [CODE] says [CODE] [CODE] says [CODE] and also I don't under...
You can simply use [CODE] to save multiple numpy arrays to a single file. This would look as follows in your case: [CODE]
0
0
247
2022-03-30T15:26:11.747
data_quality
datascience.stackexchange.com
783,177
Postfix(admin), Dovecot, MySQL: Aliases not working
I'm able to send mail to the mailboxes i've setup with postfixadmin. This is working correctly and i can send and deliver mail on them. But now i'm in need of Aliases to work properly as well. I've used a tutorial to set things up listed here . Yet somehow postfix keeps on trying to send the mail to a mailbox for the a...
I think the problem is that you're selecting your endpoint from mailbox, not from the virtual users table, so postfix knows where it should go, but not dovecot. Change : [CODE] To: [CODE] Obviously, the DB and table names may vary.. the [CODE] shouldn't be necessary since it's not the mailbox table..
1
1
2,815
2016-06-10T09:10:49.673
database_errors
serverfault.com
10,712
Terraform 0.12 - For each subnet-id in array, get cidr_block
I have a list of subnets IDs and I want to get an array of the cidr_blocks associated to each subnet. [CODE] I've been fiddling around with for loops and count data for a quite a while for what should be a really simple problem. But I'm having a hard time finding an appropriate way to actually do this. This seemed like...
[CODE] This is what ultimately I needed.
3
3
2,107
2020-02-05T04:22:51.867
pipeline_ops
devops.stackexchange.com
218,163
Percentage calculation with case not working as expected
I've been racking my brain on this since yesterday afternoon, I figure it is time to call on those smarter than I. I have some data represented by the following. Sorry I have to use an image, I cannot figure out how to format to look like a table. [CODE] I Have the following code, and when running it looking at only on...
Quick-n-dirty dual/CTE solution: [CODE] Result set (based on sample data provided by OP): [CODE] Here's a db fiddle of the above.
0
1
107
2018-09-20T13:50:40.520
warehouse_errors
dba.stackexchange.com
230,999
Constants vs public properties for configuration
My application has a few high level configuration options such as directories which will be used for various things, database connection information and a few other settings which are required for the application to run. I'm debating with myself whether or not constants are better than variables for this purpose and wo...
For configuration options, it is better to use properties (or methods) instead of constants. The reason for this is that configuration options will change when you deploy your application in a different environment. When using properties/methods, you can opt to read the relevant values from a configuration file at star...
2
1
1,013
2014-03-02T22:14:52.470
api_errors
softwareengineering.stackexchange.com
173,458
System architecture of Cam Chat Websites (tinychat, omegle, cam4)
Do anybody know what kind of system architecture is behind Websites like tinychat, omegle, cam4, chatroulette? And how much bandwith is needed per connection? If I'm not wrong they use some video streaming Server like Flash Media Server, Wowza Media Server, Red5, Erlyvideo but this would eat for 20'000 users around 1 G...
At least chatroulette is using RTMFP and stratus to push video from client to client, without passing it to a server (no big bandwidth usage). This goes through most simple home-networks thanks to hole punching. The session setup and metadata passes through a server but that's simple message passing one could do with a...
1
1
8,084
2010-08-23T09:24:57.947
infrastructure
serverfault.com