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
385,880
Unit and integration testing of microservice architecture
I am investigating how to test a project. Some information about the project: Microservice architecture, with roughly 20 services. About 10 of them with a separate database. We use ServiceFabric There is a fair bit of service to service communication. Each server is a separate repo. With no references to each other. Th...
The way I've handled it in the past is to have each api in the chain have two client libraries. One is the normal, 'connect to the api server' client lib. The second reads its responses from files rather than connecting to a server. Both these libraries live in with the Solution which contains the api itself. Integrati...
1
1
583
2019-01-21T14:43:03.360
data_quality
softwareengineering.stackexchange.com
13,433
How can you determine the growth rate you need to achieve a certain customer base?
Say you have 12 K active customers every month in your platform in August 2016, how can you determine at what rate do you need to grow every month to achieve a certain total (say, 1.5 million) by next year, August 2017. Further, how can you generate different growth scenarios? Say, grow aggressively during the first qu...
A growth rate is an exponential growth, you multiply your userbase by a certain fraction, which is above 1 in case of growth, else it would be decline. This effect compounds because the amount of users is bigger while being multiplied by the same multiplier. Let's call this multiplier a . We apply this 12 times, once f...
1
2
77
2016-08-15T14:53:23.173
data_quality
datascience.stackexchange.com
333,998
NAS is intermittently inaccessible
Model: QNAP TS-410 Turbo NAS Firmware version: 3.2.5 Build 0409T Issue: Each day, users connect to share folders on the NAS system and have read/write permissions for the share folders to which they need access. However, it often asks them for their log-in details and - when provided with right (or wrong) credentials f...
UPDATE : I checked the permissions for all the users and they weren't even set! I've now set permissions for all of them and will let you know if this fixed the problem. I added this as an answer so if this does turnout to be the solution, I can mark it as such. I hope this can help someone!
2
2
2,006
2011-11-23T09:14:51.847
infrastructure
serverfault.com
412,671
performance expected from cheap VPS's
Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites I know it's a very open question, but I think it can be answered more or less. I will soon release a service. The topology: -> one VPS with nginx / eAccelerator / php-fpm , with 4Gb RAM and apparently with an excellent internet connectio...
For 1000 users, it should be enough, provided all of them aren't using the site at the exact same moment. If your PHP code is as simple as you describe, you could probably squeeze significant performance by moving to SSI instead, since PHP will be your biggest CPU and memory hog.
0
0
127
2012-07-29T17:32:00.510
database_errors
serverfault.com
64,437
Postgresql reset_xlog
I just mistakenly moved the [CODE] folder of a live, running postgres server. When I restarted the server shortly after, it failed to start because of a WAL problem (obviously). For non-technical reasons, the server needed to be immediately brought back up, with literally minutes to work out a solution, I found and use...
Don't use [CODE] except as a last resort . (I think I'll submit a patch to add an [CODE] option to [CODE] , I see it abused too often.) You should dump the server and restore the dump. The transactions logs are crucial for data integrity. Without them, you might have incompletely written transactions, transactions that...
1
2
1,203
2014-05-04T02:44:03.120
hadoop_errors
dba.stackexchange.com
41,272
Can I script loading a profile.d script?
I'm trying to write an install script for my Amazon servers and I'm getting stuck on some environment variable issues. I have a set of scripts to configure things and some of them depend on environment variables that I create in profile.d scripts. I create the profile.d script (or copy it over) and need to use the vari...
Environmental variables are inherited. So you will need to source the profile scripts at the top of the master script.
1
1
451
2009-07-15T20:34:33.573
infrastructure
serverfault.com
1,066,254
Somebody created projects on Google Cloud in my account without my knowledge
When I access Google Cloud, I see some projects that I haven't created. It seems I can't delete them too, I lack permissions to manage them. I am not using anything from Google Cloud at the moment and want to get rid of all of them. Also one of these projects are listed on Firebase as well, where I also don't have perm...
NOTE: This answer is anecdotal, but still probably relevant. I encountered a similar issue a little over a year ago. It turns out there's a bug somewhere in Google's systems: if you are a member of any Google Groups, other members' projects show up in your project listings. Since you don't actually get any access permi...
10
8
4,654
2021-06-10T02:21:03.097
infrastructure
serverfault.com
511,477
Why does Nginx's proxy_intercept_errors directive require a rewrite to work properly?
Following is a sample Nginx server configuration. Without the "magical talisman" location block, proxied error content results in an Nginx 404 page rather than the customized error page being served. Removing the proxy_intercept_errors directive serves a proper proxied error page with proper http error code headers. No...
I am sorry this answer kicks in late, bu as of now, with the current v1.8.1 stable version, the configuration you provided should work without any talisman . If you provided the version which you were experimenting on, it would be an idea to see if a bug has been corrected or if the configuration was flawed. I suggest ...
11
7
28,346
2013-05-28T18:56:44.100
api_errors
serverfault.com
116,282
How do I corrupt an mdb intentionally for test purposes
I'm creating a process to check for corrupt tables in an MDB on server. There's no code, just tables. I would like to corrupt an mdb intentionally for testing. Has anyone ever done this?
How to launch the Detect and Repair Tool you may see below Start MS Access 2007. Click the MS Access button and click the PowerPoint options button. Select the Resource Tab. Click the Diagnose button. But also you can get more resources to solve problem .mdb file http://www.itninja.com/question/copying-1-2-gb-mdb-from-...
0
0
691
2015-09-27T17:04:25.413
data_quality
dba.stackexchange.com
95,662
MySQL Duplicate entry for a greek word
I have a column which is unique and when I add [CODE] and [CODE] (which are different) it says [CODE] . My collation is set to [CODE] . Is there any better collation?
Of the several [CODE] collations available: [CODE] These are reasonable ways to compare greek strings: [CODE] As you can see, only the [CODE] collation considers them as different, and of course, the [CODE] comparison. There doesn't seem to be a specific greek collation in utf8 or utf8mb4, but there is also a 1-byte IS...
1
2
533
2015-03-19T08:57:51.213
data_quality
dba.stackexchange.com
357,950
Bypass or disable proxy based on computer name
We are trying to deploy a bunch of new Windows 7 (and some old XP) machines using MDT2010 and MDT2012. Because IE is set to "automatically detect proxy settings", it gets the settings from the proxy.pac/wpad.dat defined in the DHCP server. The problem is that during deployment, the machine is not on the domain, so no a...
This is what I use (a vbs I found): [CODE] Works flawlessly for me, I call it from a .cmd
0
1
2,991
2012-02-08T11:04:57.320
pipeline_ops
serverfault.com
161,720
Dependency management by decoupling table name from table key
If I share a Google Spreadsheet with someone, I will share a link like this: https://docs.google.com/spreadsheets/d/1UL0Aii1aaErbUm6pdmZ_D9dsqx2p3BPZ5GHxz7TH37M/edit This means that I am free to edit the name of the file (for example to "Book - absolute final version really7"), the Google Drive folder it is located in ...
For tables and columns you could define views. The underlying objects can have whatever abstruse naming you choose. The views would make that human-friendly in the context it is used. When the design changes, create a new view with different names and you're off and running! For programmables, such as functions and sto...
1
2
151
2017-01-20T08:13:56.883
database_errors
dba.stackexchange.com
154,721
If am using Remote Desktop to login to a remote machine, how does the data for this connection get back into my machine?
If am using Remote Desktop to login to a remote machine, how does the data for this connection get back into my machine if I don't open any ports on my router?
The same way any data gets back to your computer. Your router is almost certainly running a stateful firewall and also NAT. This means it keeps track of connections you make through it. RDP, like HTTP and many other protocls uses a stream socket . So if you make an RDP connection the RDP client will open a port on your...
1
4
2,621
2010-06-25T05:22:28.697
infrastructure
serverfault.com
823,832
Best possible RAID configuration for 2x1TB and 2TB hard drives
I've been trying to set up a server for business and purchased a server to that end. Due to lack of space for the number of users, I tried to increase the space by adding more hard drives. I have a Two 1TB disks and 1 2TB disk. All disks are Seagate disks but the 2TB is NAS disk. I've been trying to configure these in ...
AVOID AVOID AVOID RAID 5/50 - this is repeated on serverfault every week if not every few days, it's dead and dangerous technology that can kill your data. We can bore you with the maths behind this if you want but please only use R1/10 or R6/60. That said you have a proper mix of disks and sizes there, given you're us...
0
3
2,634
2017-01-03T07:51:54.737
infrastructure
serverfault.com
172,801
Missing disc space on Ubuntu Hardy
I have a Dell Mini 10 running Ubuntu Hardy. I ran out of disk space; looking at Disk Analyzer I noticed that in addition to the standard /dev/sda2 filesystem, there was a second called gfvs-fuse-daemon, each with 50% [5.9G] of my available disc space [11.8G]. Reading around a bit, it seems that gvfs has decided a netwo...
I've re-installed gvfs-fuse-daemon and the offending partition has re-appeared; I'm going to open a new question relating to gvfs-fuse-daemon
1
0
197
2010-08-20T16:15:34.653
database_errors
serverfault.com
307,841
How can I store incomplete records but enforce data correctness?
I'm in the planning/design stages of a new project, and I'm having trouble coming up with a good way to handle one of the requirements: Users must be able to create a new record and save it as "Incomplete" without filling out all required fields. This is a requirement that will apply to almost all user-editable record ...
You could have a separate table for works in progress. You would use more or less the same table scheme, just with each field set as nullable. When a record is initially created, it goes into the incomplete records table (you could have a check to put first time completed records directly into your completed records ta...
6
5
963
2016-01-20T02:29:36.183
data_quality
softwareengineering.stackexchange.com
12,384
DNS Issues with Cloud formation template
I am trying to automate the creation of an EC2 instance with CloudFormation but am running into issues with DNS. Once the instance is created it can't seem to resolve any hostnames. I try to ping a hostname, such as google.com, and it can't be resolved. However, it can ping IP addresses. My template is below and I unde...
Which flavor of Linux are you using? (eg Ubuntu/Debian, RHEL/CentOS etc) Also which version? (eg Ubuntu started using the "netplan" configuration by default in 20.04) At first glance, it looks like your DNS nameservers are hosed somehow. And can you post the results for doing a: [CODE] ? Look at which PID/Program Name ...
1
1
140
2020-09-11T08:54:46.040
pipeline_ops
devops.stackexchange.com
704,214
Providing shared file level storage from a SAN
I'd like to get some advice on a system I'm setting up. I'm not quite sure which way to proceed. The goal is just some basic user storage space (Clients are Linux, Windows, and mac) that is baked by our SAN. We have a ~20TB SAN that supports iSCSI. This is connected to a small VMWare ESXi 5.5 cluster configured with hi...
It may sound like heresy in 2015 but I actually quite like Windows Server 2012R2 as a NAS, and I'm in a 98%+ Linux environment. It supports NFS up to 4.1 and SMB 3.0 (including 'Continuous Availability' if configured right), obviously deals with all manner of authentication, can be configured into a failover cluster, r...
3
3
315
2015-07-08T00:26:18.170
infrastructure
serverfault.com
357,451
How to notify a repository about persistence changes
I have a repository, which at the moment, reads from the database every time it is called. However, the data is only updated once a day, and to improve performance, I'd like the repository to store the data in memory. When the data is updated, by another application (but same solution), I would like to notify the repos...
What performance issues are you experiencing now ? Remember that you should not deal with these kind of problems before they really become a need. Read a timestamp from another table. If the timestamp is updated, so is the data. No need to introduce a flag in a file when you already have access to a database.
4
1
295
2017-09-15T10:01:39.870
api_errors
softwareengineering.stackexchange.com
337,118
Desktop HDD in a server?
Possible Duplicate: What are the merits of SAS vs SATA drives? Would it be OK to use a SATA 6Gb/s desktop drive in a server? Say for example a 4 Seagate ST31000524AS drives in a raid 10 array. I will be using NexentaCE. I will be using a 240Gb SSD as a L2ARC cache (read) to the RAID array. I will be using a smalled SSD...
Yes, this can work. It's not ideal, if you have any other options. If you use SATA disks, keep close watch on the hardware, errors, controllers. If there's any option to use nearline/midline SAS drives , that's a much better choice for resiliency without too much of a cost hit.
0
1
346
2011-12-02T18:29:24.220
data_quality
serverfault.com
121,759
Generating/managing config files for hosted application
Edit - I'm starting to look into Perl's Template-Toolkit. It seems to fit the bill nicely for the problem described below. Has anyone played with it? Any (detailed) advice? I asked a question about config management, and haven't seen a reply. It's possible my question was too vague, so let's get down to brass tacks. He...
I think you could use Bcfg2 very successfully for this. It is a configuration management system that is incredibly flexible and extendable. It comes with Genshi for basic templating logic, but allows arbitrary inline Python code to do more complicated stuff. You could have a single database that contains all informatio...
5
2
373
2010-03-12T02:07:21.513
pipeline_ops
serverfault.com
573,021
Lotus Domino Server Integrated with corporate ldap is fetching garbage values
I am using Directory Assistance (da.nsf) to use our corporate ldap for authentication and authorization. Also for sending emails. While sending emails, i will just give the common name and the server automatically send an email to the user. But sometimes while sending email, ldap search is giving some garbage values to...
S615 is the so called "Soundex" - Value of the name you enter see this link at IBM to learn more about soundex. Normally Soundex is only checked, if no direct match for a name could be found. I did a short research, but could not find a hint about prohibit Soundex- search. Regarding this link it might have something to...
1
2
667
2014-02-04T08:23:15.730
api_errors
serverfault.com
150,858
Why is this sqlite query much slower when I index the columns?
I have a sqlite database with two tables, each with 50,000 rows in, containing names of (fake) people. I've constructed a simple query to find out how many names there are (given name, middle initial, surname) that are common to both tables: [CODE] When there are no indexes except on the primary keys (irrelevant to thi...
In SQLite, joins are executed as nested loop joins, i.e., the database goes through one table, and for each row, searches matching rows from the other table. If there is an index, the database can look up any matches in the index quickly, and then go to the corresponding table row to get the values of any other columns...
16
22
19,005
2016-09-28T10:55:44.567
database_errors
dba.stackexchange.com
6,690
Restore Database from Network Drive
I not able to restore DB from maped Network Drive, Only from HDD initialized in Native OS, my enviroment is MsSql2008 on Win2008R2 Standard (as virtual in VMware ESX4.1), Win2008R2 Standard doesn't supports adding Networks drive(s) as HDD, RAM, Procesors on Runtime, these resources are accesible after enviroment restar...
We just had a similar problem and noted that we could use UNC-pathes to specify the source of a restore. The restore is done by some account with rather restricted permissions and therefore it does not see the drive mappings you see. To make it work in domain context, allowing read access to the backup file to the comp...
3
4
4,732
2011-10-11T08:16:44.607
database_errors
dba.stackexchange.com
798,431
Let's find a solution of how run a website with xampp on windows server 2008 / Share your experience
Well, I searched for it so much! But I couldn't find anything useful about it. I have a server with windows server 2008 r2 running on it. I configured DNS and domain name and they are working properly. Now I want to run my website with xampp not with IIS. I've installed xampp. The problem is, xampp is using port 80 for...
I solved the problem! 1 . Change apache port to whatever you want. e.g 8080 2 . In xampp folder open this file apache/conf/extra/httpd-vhosts.conf Add lines below to file and save it. [CODE] Good luck.
-4
1
1,152
2016-08-22T20:06:38.947
infrastructure
serverfault.com
569,573
Mysql ram usage
I am currently optimizing our mysql production server and I noticed the ram usage on this server only increases. It never decreases. I read on several website sites that this could be caused by to many open connections. However our server has very little connections on any given time (max 15 sleep/query). After some ti...
As caches are built up, memory usage goes up. Simply put, it's like remembering bits and pieces of what queries were made and what their results were so that similar or same queries can be fetched faster. That is why you have settings like tmp_table_size, etc. This is normal behavior, however, it is not possible to say...
1
1
705
2014-01-24T11:11:58.180
database_errors
serverfault.com
71,118
creating deb package for ubuntu server 9.04 from compiling source
I'm trying to build a LAMP server however because it's a dev server we have to compile php from source to ensure it's exactly the same as our host. I.e. same version of php with the same configuration and extensions. I was wondering if it's possible to compile it/ build a deb package on my pc at home so I can just inst...
Yes packages you build on own machine should work on another provided that they are both the same architecture and versions of libraries. This is a case where virtualization can be very useful. I suggest you setup a virtual machine with exactly the same set of packages as on your production host. Then build your packag...
0
0
136
2009-10-04T08:37:16.173
infrastructure
serverfault.com
48,157
How do I identify clusters that match on categorical data?
I am seeking some directions for a proper path to research the solve for this problem: My company made all our employees take a "StrengthFinders" test, which results in every employee being assigned their top five (ordered) "strengths" from a possible list of 34 strengths. We have 500 employees. I am supposed to identi...
You have just 500 data points... Excel of course is the worst possible tool though. Anyway, build a dictionary. Put everybody in there 6 times: 1 with all five strengths, and 5 times with one strength omitted. Then you can easily identify the largest groups, and you can also perform various completion operations easily...
1
2
123
2019-03-28T16:10:18.900
api_errors
datascience.stackexchange.com
106,368
CLR/C# equivalent to XACT_STATE()
I am porting a set of T-SQL stored procedures to C#/CLR. In the T-SQL, we use XACT_STATE() to determine if an error requires rolling back to a savepoint or rolling back the transaction entirely. I cannot find an equivalent check of the transaction using the [CODE] or [CODE] objects. Does anyone know how to check the tr...
[CODE] is not something that [CODE] has any special insight on, much like transaction level . So, just query it with [CODE] . [CODE]
3
3
451
2015-07-08T17:42:11.443
database_errors
dba.stackexchange.com
612,330
How to let user create folder and upload file, lamp permission
I use [CODE] in localhost(MAMP) it works, but after I move to VPS I use LAMP it failed. Folder the direction path is [CODE] the images folder info: Owner: root Group: root Octal: 755 folder [CODE] , [CODE] , [CODE] , [CODE] both same phpinfo apache2handler Apache Version Apache/2.2.15 (CentOS) Server Administrator root...
Your permission set is incorrect. Assuming all the [CODE] is used by and for apache, you need to change it so it's owned by apache. [CODE] That will make html folder and everything under it owned by apache and with group as apache. Also, I would recommend to take time to read up on what Owner/Group/Other and their perm...
0
1
3,839
2014-07-14T08:06:45.297
infrastructure
serverfault.com
189,542
Is memory management in programming becoming an irrelevant concern?
Background I revisited an old (but great) site I had not been to for ages - the Alioth Language Shootout ( http://benchmarksgame.alioth.debian.org/ ). I started out programming in C/C++ several years ago, but have since then been working almost exclusively in Java due to language constraints in the projects I have been...
Memory management is utterly relevant since it governs how fast something appears even if that something has a great deal of memory. The best and most canonical example are AAA-title games like Call of Duty or Bioshock. These are effectively real-time applications that require massive amounts of control in terms of opt...
41
37
6,727
2013-03-06T22:06:30.293
data_quality
softwareengineering.stackexchange.com
846,587
Make Postfix cleanup badly formed email before relaying
We have a couple of applications that sends out mails using a self-hosted Postfix installation. Unfortunately some of the applications sends out mails that are badly formed, and they are therefore blocked by eg. SpamAssassin on the following tests: FROM_EXCESS_BASE64 HTML_MIME_NO_HTML_TAG MIME_HTML_ONLY While I fully a...
SpamAssassin correctly uses those definitions to help mark out spam, because spammers will typically not take as much care with the messages they craft, or use outdated clients. Even if Postfix can fix those problems, I don't think it should - it's not the responsibility of a MTA to fix formatting errors in emails. Thi...
0
2
392
2017-04-26T07:43:50.963
infrastructure
serverfault.com
565,934
kadmin interface not working - immediately closes connection
So far I've been doing most of the administration for kerberos with [CODE] , however, I'm trying to migrate over to using the remote [CODE] as it would be better practice and all. What I'm seeing is this: [CODE] i.e.,login happens perfectly, but the connection is immediately closed. On the server side: [CODE] the error...
First the login does not succeed. You will always be prompted for password regardless of whether the connection works or not. Second, kerberos error messages are at best hints and at worst completely misleading. To me it looks like the kadmin client is requesting the wrong service principal. See http://web.mit.edu/kerb...
1
0
2,873
2014-01-08T19:03:58.543
infrastructure
serverfault.com
333,945
apt-get update error after removing apt-key
After running [CODE] (output below) on ubuntu 10.04 server, I found this issue. Before this I had removed [CODE] . Where can I get this [CODE] to add it again? [CODE]
you need to try: [CODE]
0
1
356
2011-11-23T04:47:07.787
infrastructure
serverfault.com
394,515
Set up subdomains in IIS 7, Windows Server 2008
I have searched and searched, nothing that I have found has worked yet. The Problem: A brochure was published with subdomains that don't exist. I need to create and redirect those subdomains to existing pages on our site. How do I set up a subdomain in IIS 7? How do I correctly point the DNS to the subdomain? I'm sorry...
you shouldn't need to set up a sub domain just alter the bindings of the site to add the sub domain, I believe this should do what you need, have a look at this. An alternative is to edit the DNS and add a CNAME for the sub domain pointing to whatever it is meant to point to.
1
2
1,239
2012-05-31T20:51:45.200
infrastructure
serverfault.com
1,128,731
Confused About Why SPF Needs My Email Apps Domain
FYI: we have a custom domain and we pay for Google Workspace to use that domain for our email/gmail. i have SPF, DKIM, & DMARC all setup, and a Google tek support person verified it was correct over a year ago. we use the Apple Mail app on our Macs & iPhones to send/receive these emails. i've also verified that the App...
So far so good! as in above comment, after finding... https://support.google.com/googlecloud/answer/10636287 ...and following all those instructions, i was " then " able to use the "smtp.gmail.com" as the outgoing mail server in Apple Mail (where prior to adjusting the Workspace settings per that link, trying to use th...
0
1
380
2023-04-15T14:42:41.140
api_errors
serverfault.com
321,426
What data "MUST" be stored inside a "relational database"?
I am working on a mobile/web app like Instagram. Considering that, I want to know for what part of the app it's better to use [CODE] and for what other parts [CODE] databases. I have chosen [CODE] and [CODE] databases and this is my research result so far: [CODE] : For services we need as much as possible consistency l...
Simply put, relational databases are great when the data itself has natural relationships. For example, if you're storing data that relates to a specific user, you would want to have that stored in a relational database, to enable the data to be related consistently with the user. NoSQL databases, on the other hand, ar...
0
0
79
2022-12-25T18:00:42.980
data_quality
dba.stackexchange.com
452,886
Changing the user IIS runs over
I am trying to change the user IIS runs over. I read that IIS might run using IUSR_computer_name user but I am not sure if this rule applies to IIS 7.0 The question is, trying to map the whole filesystem tree I get access denied for some folders. I need access to those folder. So, I decided to change the IIS is using. ...
It is really, really dangerous to run IIS as a user that has access to all folders in the file system. You are asking to be hacked badly (do you really want IIS to access C:\Windows?). It is better to explicitly grant permission to the user IIS runs under to access the folders you really need IIS to access. If you real...
1
5
155
2012-11-27T23:31:06.000
infrastructure
serverfault.com
332,410
Can't connect to a MSSQL server - "the server is not available"
I installed SQL Server 2008 Express Edition R2. I'm trying to connect to the server (local) via the Management Studio, but it shows me the server is not available or the SQL server configuration is wrong. I went to the configuration, enabled the TCP/IP protocol in the Network configuration. I tried to enable a SQL serv...
Is the SQL Server service actually started? If it is not, you will be unable to connect. You won't need the SQL Server Agent service started to connect to the instance, but just out of curiousity what is the error you are receiving? When you say you are local, are you trying to connect while being ON the server? The re...
1
3
119
2011-11-18T14:56:19.787
database_errors
serverfault.com
60,208
Understanding python XGBoost model dump output of a very simple tree
I am trying to understand the model dump output from XGBoost. I would like to step through and see exactly how the model arrived at it's prediction. To simplify I trained a model with 1 tree and 1 max depth, and as expected all records get one of two predictions as it has a single split - the values are {0.538639843463...
The scores at leaves measure log-odds, not probabilities. (With more trees, these scores get summed to give a final log-odds approximation, then goes through a sigmoid to get probability approximations.) And indeed, $1/(1+e^{-0.00475667})\approx 0.501189$ .
1
2
941
2019-09-15T00:32:09.820
data_quality
datascience.stackexchange.com
588,087
Howto join ssl_access_log and access_log?
Recently I discovered in my /var/log/httpd files called ssl_access_log and ssl_error_log. Now I always looked and scanned the regular access_log and error_log. Questions are? Do ssl_error_log and ssl_access_log are included in the access_log and error_log ? How do I join the ssl_access_log and access_log to be together...
Just put the same file name in the log generation directive.
0
1
1,333
2014-04-10T13:40:59.860
infrastructure
serverfault.com
69,758
Problems during installation with Database Engine Service
[CODE] Product features discovered: Product Instance Instance ID Feature Language Edition Version Clustered Configured [CODE] User Input Settings: [CODE] Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140704_134034\ConfigurationFile.ini [CODE] Can I install SQL Server 2014 on Window...
Logs you posted show error 'Wait on database recovery handle failed'. IMO this error points to issue with SQL server service account when it tries to bring up SQL server services online during installation. Either account is corrupted or lacks privilege. Please refer to below technet article written by me. Do tell me w...
0
1
32,638
2014-07-04T23:55:44.773
api_errors
dba.stackexchange.com
498,893
URL filtering HTTPS traffic
the configuration that I am dealing with is a transparent HTTP proxy: on the firewall all the HTTP traffic (port 80) is redirected to the proxy via iptables; Dansguardian is installed on the proxy, and filters the URLs. Reading around the web I realized that if I redirect the HTTPS traffic (port 443) to the proxy too, ...
By the time the https traffic arrives at the transparent proxy there's only the IP "visible": not enough information to recreate the connect request and proxy it. When you set a proxy in your browser (manually, or by proxy.pac) the browser knows to send more info to the proxy about what it wants. Some proxies can use S...
1
1
3,371
2013-04-12T19:58:47.893
infrastructure
serverfault.com
169,300
SQL Server : log folder too large
Please note that I'm not talking about transaction logs. I'm referring to a folder within SQL Server called 'Log' where ErrorLog and SQLDrmp files exists. Well, the fact is that this folder is growing by 8GB a day on a machine dev machine that has 250gb total storage. That's a problem. I figured out that I can create a...
It is recommended that you recycle your error log frequently. You can set that up as sql agent job to do that. I do this every night at midnight but you need to decide what is suitable for your environment. System stored procedure "EXEC sp_cycle_errorlog" will do the recycling for you. Once you have recycle set up you ...
4
3
12,738
2017-04-06T13:15:44.503
database_errors
dba.stackexchange.com
367,610
element.style.setProperty(property, value) vs element.style.property = value
Are there any implementation or support differences in [CODE] and [CODE] ? Are there any compatibility/browser support issues with one form or the other? What are the differences of each syntax? Is either form considered a "best practice"?
There might not seem to be a difference with 'color' but consider: [CODE] '-' is not illegal in a property name, but the interpreter will think you mean minus. Hence the style object properties can't map directly to css property names. There seems to be some controversy on the 'best' or 'correct' way to reference css p...
7
8
15,094
2018-03-13T20:08:15.383
api_errors
softwareengineering.stackexchange.com
266,573
smtp authentication on postfix mail server with slackware linux 13.1
I am failing to authenticate to the mysql mail database using saslauthd (cyrus-sasl2.1.23) thru pam-mysql. Below are some of the commands execute as well as the configurations [CODE] Could someone out there help me on how to fix this
There's a spelling error in your SMTP configuration for pam, "crpyt=1" instead of "crypt=1". I haven't got access to a live PAM system to verify this would cause your problem right now, but you might want to start there.
1
2
1,903
2011-05-05T10:47:35.743
api_errors
serverfault.com
672,755
SFTP Error: open for write: permission denied
I have created a user and a group only for SFTP and when I try to transfer a file with Filezilla in [CODE] I have this error: [CODE] I have configured [CODE] like this : [CODE] /var/www and sub directories are [CODE] and [CODE] SELinux is disabled. Any idea ?
The permission of [CODE] does not permit the chrooted-user to create files in it. That is correct and by design. You must create a folder inside of [CODE] with the proper rights of the user. [CODE] can not be writeable for the user.
3
6
14,448
2015-03-03T16:08:34.317
infrastructure
serverfault.com
211,621
Tomcat serving wrong content
Any pointers would be helpful. Text below is taken out of fiddler. This happens once in few days. Usually gets solved by restarting. Thanks. Request to a html page from SSL is returned with a png file. [CODE] RESPONSE [CODE] SERVER.XML [CODE]
https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 Was probably the problem with 7.0.2 version only. Fixed after upgrading to current version.
0
2
377
2010-12-11T20:29:31.797
infrastructure
serverfault.com
333,738
History Logging Trigger Causing Duplication
I'm fairly certain I'm probably just overlooking something simple but here's the situation: I'm trying to create a "reusable" historical logging trigger for a production database. The intent is that, when I attach the trigger to a table in one of the production database schemas, it will verify the existence of (and cre...
Well, there is no problem. The "duplication" has to do with the fact that I'm using inheritance and the default behavior of the database management UI/PostgreSQL. I was so worried about whether or not the trigger and functions were working at all, I forgot to consider how I was retrieving the data once it was inserted....
0
0
55
2023-12-05T03:36:17.423
database_errors
dba.stackexchange.com
137,581
Mac OS X 10.6 Setup for Apache/MySQL/Perl
I just got a new Mac and have been trying to setup a local development environment for my perl applications for a few days now with no luck. I'm getting no where fast so I hope someone else who has done this successfully could help. I started by installing MAMP which I thought would take care of everything for me but u...
I've spent near 4 days fighting with this issue and here's the setup that finally got me there: don't use macports use the stock perl, with a twist: Snow Leopard ships with 2 perls: 5.10.0 and 5.8.9 - switch to the earlier version like so: [CODE] [CODE] [CODE] download the 32bit version of mysql from dev.mysql.com/down...
3
4
2,380
2010-04-30T23:11:19.687
database_errors
serverfault.com
124,448
How to run our python scripts utilizing our device's GPU?
My laptop has NVIDIA GeForce GTX1650 GPU. I want to utilize this GPU to run my Python script. Any help in the form of code would be really helpful. I mean tried researching this so much but I couldn't find. Basically I am looping over all the frames of a video and at each frame I am using yolov8s-pose model to detect t...
While I am not familiar with the full extent, it seems that Modular's Mojo uses the GPU to greatly boost performance. You can use native python code, or use their syntax to enhance the code you're writing. I am just getting started in the ML field, so I am still working to learn and understand the tools available. Mojo...
0
1
102
2023-11-06T20:19:38.757
data_quality
datascience.stackexchange.com
298,796
Getting error messages using Joomla on XAMPP
I installed Joomla 1.7 on XAMPP 1.7.4, but it's not working. It's showing me a bunch of messages like: Strict Standards: Static function JDatabase::test() should not be abstract in C:\xampp\htdocs\joomla\libraries\joomla\… on line 350 Strict Standards: Accessing static property JCache::$_handler as non static in C:\xam...
Put this right after [CODE] on index.php: [CODE] You may need to do that on your administrator folder too.
0
0
510
2011-08-08T10:50:55.293
infrastructure
serverfault.com
709,110
ProLiant SE316M1 + Intel S3500 SSD + Smart Array P410 512MB. Battery (BBWC) needed?
I'm looking to replace our SQL Server: HP Proliant DL360 G4 2x 64-bit Intel Xeon 3.60 GHz, 1M Cache, 800 MHz FSB 4GB RAM DDR2 HP Smart Array 6i 2x 146GB SCSI 15K (RAID 1) With this: HP ProLiant SE316M1 2x Intel Xeon L5520 (8M Cache, 2.26 GHz, 5.86 GT/s Intel QPI) Nehalem 16GB RAM DDR3 HP Smart Array P410 512 MB BBWC Ca...
Yes. You need a BBWC on any Smart Array controller in which you wish to use SSD drives. http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c02963968
2
1
681
2015-07-28T16:12:05.593
database_errors
serverfault.com
13,905
Why does Jenkins Pipeline script returnStatus value not match status examined in shell?
This is my little newbie Groovy script, trying to cobble together a very beginner understanding of Jenkins Pipelines: [CODE] The output is: [CODE] The failure to [CODE] is intentional -- to demonstrate the mechanics of capturing shell stdout and status. Why does the failed [CODE] report a returnStatus of [CODE] when [C...
There's a few things to note. First is that in the absense of a shebang being supplied, the actual interpreter that will be used is actually "sh", not "bash". Taking a look at the Jenkins source for the BourneShellScript task , what happens is that Jenkins does not actually return the exit code from the subshell - it m...
2
4
10,556
2021-05-14T05:06:34.100
pipeline_ops
devops.stackexchange.com
177,862
how to add multiple Context elements to conf/context.xml in tomcat6
my existing conf/context.xml file has already a element; WEB-INF/web.xml I would like to add another to allow localhost access to the /manager/status location to my monitoring, however adding a new Context element like so; conf/context.xml [CODE] breaks the xml, as I presume that file needs a single root element to lin...
The details in the context.xml file are used for all contexts. If you want to specify specific details for one particular context create a file with a context tag in $CATALINA_BASE/conf/[enginename]/[hostname]/ eg. conf/catalina/localhost/manager.xml that contains: [CODE] note that we don't need the path as the file is...
6
5
25,183
2010-09-03T17:50:55.330
pipeline_ops
serverfault.com
913,287
Unable to dump LDAP database after changes
I added an attribute to my LDAP database by running [CODE] as root, where [CODE] contains this: [CODE] This works great – I'm able to modify users to add their public key details to their record, and then read that data from other clients. Problems pop up when I try to back up the database using [CODE] though: [CODE] W...
You shouldn't have modified [CODE] . There was no need to do that. Any number of [CODE] ObjectClasses can co-exists together (with one [CODE] objectClass). Your slapd may be okay if you restart it.
2
4
285
2018-05-22T16:58:40.867
infrastructure
serverfault.com
1,114,848
CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server
I am building openstack (Yoga version on Ubuntu 22.04) high availability using ssl configuration. I was able to get other services to work using https (except neutron, cinder and dashboard), but Nova throws the error in /var/log/nova/nova-api.log below: CRITICAL keystonemiddleware.auth_token [-] Unable to validate toke...
Thank you for your assistance in advance. I discovered that when I use the config below, everything works fine [CODE] but when I try to simulate failure of active controller node, I get the error below: "An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-8d4979ac-c0f0-490...
0
0
591
2022-11-04T17:54:57.340
bi_errors
serverfault.com
178,075
How to avoid jumping to a solution when under pressure?
When under a particularly strict programming deadline (like an hour), if I panic at all, my tendency is to jump into coding without a real plan and hope I figure it out as I go along. Given enough time, this can work, but in an interview it's been pretty unsuccessful, if not downright counter-productive. I'm not always...
I recall reading a study on how fire marshalls form a plan of action on arrival at the scene of a fire; the study observed (and condemned) them for coming up with an idea, then pursuing that first idea immediately. Due to the pressure of time, it was pretty much "this might work" followed by "ok, let's do that". The st...
18
17
2,589
2012-12-02T22:05:52.773
api_errors
softwareengineering.stackexchange.com
633,737
How to redirect users to another site, except for whitelisted IP Addresses, during deployments/testing?
I have a Rails 4 app on a single Apache server on a Centos 6 box. At the moment I am doing manual deployments, which is working well and only take a few minutes. I have no issue with this. Trying to be a smart developer, I would like to have the ability to "Take down" my site, deploy, test, then bring it back up once i...
This is mostly doable at the Rack level (below Rails, but after Apache) using the turnout gem. It can be instantly enabled or disabled without restarting the app, and includes IP whitelisting. It doesn't answer your question 100% because it doesn't natively provide redirection, but the maintenance page is fully customi...
1
4
268
2014-10-06T01:11:36.440
pipeline_ops
serverfault.com
1,006,802
Network not working after moving the virtual server
I moved my server from one virtual server instance to another instance, exporting the image and importing it to the new server. Everything is working fine, except the network. The new server tries to use the IP address of the old server, so I cannot connect to the new server. Executing [CODE] shows the old ip. If I run...
Change the middle section of your [CODE] file to: [CODE] This will cause it to use DHCP upon startup.
0
1
59
2020-03-13T11:12:30.023
infrastructure
serverfault.com
1,243
Best method to give two Oracle databases on the same server access to common data
With a production and a test database on the same server, how should access be provided to some common quarterly update tables for both databases? It is possible to put these tables into a third database, let us call it catalogs , but then the tables within catalogs can't be accessed as efficiently as if the tables whe...
You could store the catalogs tables in a separate schema on production. test could then have a schema with the same name that uses views that select from the production tables using a database link. This would make production fast because the data is local without requiring extra space. If you decided that a particular...
4
4
1,742
2011-02-15T20:13:24.540
data_quality
dba.stackexchange.com
573,598
Traceroute to single IP from 2 different networks (one pass, another - fails)
traceroute from 2 different environments is giving different results. One is passed succesfully, the other one failed. I don't believe that would be our own switch/router - otherwise I would not be able to get in from amazon Any idea why? GOOD: (from amazon ec2 instance, linux) [CODE] BAD: (from local mac, through cox....
In fact both of these traceroutes fail (albeit in different fashion) First of all the first trace is not successfully finished. It just tells you that some wise admin has decided to block communications to the host ( !X means "communication adminis‐tratively prohibited"). The second trace seems to not be able to tell y...
0
2
376
2014-02-06T10:02:08.283
infrastructure
serverfault.com
851,040
Monitoring a Servers Connections to a default gateway via SNMP
I wanted to know how to configure SNMP to monitor a servers connection to a gateway: I have a server at location A running an SNMP monitoring software I have another server at Location B running my companies services Is it possible to have an SNMP command that is run on Server A to check Server Bs connection to a gatew...
You have several problems with this setup. Firstly, there is no generally-valid way to run arbitrary commands on a remote server via SNMP (thank God). That doesn't mean you couldn't define some corner of the OID space and implement your own agent, which runs pings on request, and reports back. But you'll still run into...
-1
1
503
2017-05-19T06:16:05.610
pipeline_ops
serverfault.com
560,736
Revert GPO Settings to Undefined
Revert All GPO settings to Undefined (Not reverse what they are now) I inadvertently applied GPOs to an entire OU which was not ready to be deployed yet. I have unlinked the GPOs but of course they have already been applied. Is there a way to undo these changes (not reverse the setting but make it "clean" aka, "undefin...
No, you can't turn back time on this one. The previous state of the computers from before the GPO was applied was not recorded, so when Group Policy changed the state of those configurations, there is now no recorded previous state to revert back to. If the damage is seriously bad, you'd be looking at restoring the aff...
7
8
10,162
2013-12-11T18:41:42.450
infrastructure
serverfault.com
59,878
Mysql import table warning
Hello i have a small database i'm working on and when i import on another server it tells me you have 6 warnings. when i show warnings it says 1031 This table doesn't have this option. I've searched on google about this problem but i didn't find something that relates my problem and the warning level is on note. Localh...
[CODE] is not an option that is supported by InnoDB. When used with MyISAM, it causes the [CODE] command to run faster because the storage engine maintains the calculated checksum whenever the table data is changed, instead of having to calculate it on demand... but otherwise it doesn't actually have a purpose (such as...
1
3
3,105
2014-02-28T09:31:13.283
database_errors
dba.stackexchange.com
129,055
Is there a difference between a daemon and a service?
Is there a difference between a daemon and a service? Or are they both basically an application that is resident in memory, and is bound to a specific port and listens/responds to requests?
Daemons and Services are not the same. A "Service" could refer to either a Daemon or a Service. A daemon is a subset of services that always run in memory waiting to service a request. A non-daemon service generally is handled by xinetd. xinetd listens for the request, then starts the required service to handle the req...
12
10
14,751
2010-04-03T14:00:37.267
infrastructure
serverfault.com
76,839
my local backup request
So our current backup system has stopped working. We had 4 harddrives on rotate, each taking 2 days and sunday being skipped. Each backup doing a FULL backup. I did NOT design this! All 4 harddrives are not working suddenly. I am investigating it sigh Anyway, I would like to use the opportunity to set up a proper syste...
I've never been a fan of using hard drives as a primary means of backup storage and retention. IMHO, you're better off using tape backups for long term and archival backups and hard drives for short term, near-line backups. There are a bazillion different ways to accomplish your goals so I'll just propose our method as...
0
3
206
2009-10-21T16:46:43.280
database_errors
serverfault.com
160,439
Validation warning in Data Flow Task in the SSIS
I am trying to load data into my DimEmployee table using the Data Flow Task. However, I noticed when I run the SSIS, the DimEmployee filled with 4 records out of 9 and also the EmpKey starts counting from -1 then generates random numbers after that! Also I have a warning associated when running the package: Warning 1 V...
Your warning looks to stem from your output column(s) database mapping. The 'TitleOfCourtesy' output column datatype/length needs to match whichever column in DimEmployee it is mapped to. As far as the 4 records go, I'd see what the data is in the 5th one, since that seems to be where the error is. Whenever I have your...
2
1
1,046
2017-01-09T17:29:36.363
data_quality
dba.stackexchange.com
413,568
Routing via Linux
I have an individual network with a single machine having IP Address 10.10.10.4. Another machine (Gateway Machine) has two NICs: eth0 and eth1. eth1 (10.10.10.10) is connected to the internal network machine and has no direct connection with the outside world. eth0 (192.168.1.171) is connected to the external physical ...
did you allow ip forwarding? [CODE] btw - try ip command instead of route.
0
0
236
2012-08-02T09:40:47.427
infrastructure
serverfault.com
13,650
Performance Test Automation Tool Stack
Please provide what a Performance Test Automation Tool Stack is.
The most popular tools are listed below: Apache JMeter Gatling Grinder Tsung Yandex.Tank HP LoadRunner NeoLoad Here are few comparisons of them: Grinder vs Gatling vs Tsung vs JMeter (September 2015) LoadRunner vs Grinder vs JMeter (June 2006 not up to date anymore) JMeter vs NeoLoad vs JMeter (November 2017) For more ...
-1
3
379
2015-07-01T12:20:13.603
data_quality
sqa.stackexchange.com
323,778
haproxy failover with process monitoring?
I know some people are using keepalived and heartbeat for active/standby but what action is taken if the haproxy process were to die? What would be nice is if the virtual IP would switch servers if the haproxy process were to die and/or a networking issue were to occur. We are currently investigating heartbeat and coro...
Thank you Kvisle and Kyle! We ended up going with keepalived since, as Kyle mentioned, it is the haproxy creators recommended solution. Keepalived includes the ability to run a user-space script of your choice and determine resource availability based on exit status. So you can very easily accomplish failover with proc...
1
0
1,772
2011-10-21T20:50:41.400
database_errors
serverfault.com
825,883
Redis appendonly.aof file size out of control
I host a Rails 5 website that uses Sidekiq to manage its background jobs. The problem I have is that regularly the appendonly.aof file grows to big that it fills that whole disk where it is saved. It there a way to limit the size of appendonly.aof ? My redis.conf file is pretty standard ########################## GENER...
Refer to https://redislabs.com/ebook/part-2-core-concepts/chapter-4-keeping-data-safe-and-ensuring-performance/4-1-persistence-options/4-1-3-rewritingcompacting-append-only-files/ With [CODE] and [CODE] options, you should be able to have a handle on the size. You can also execute command [CODE] in your redis-cli to tr...
8
10
19,267
2017-01-12T14:42:09.717
database_errors
serverfault.com
226,500
Will deadlocks occur when deleting rows from a table that is being added to by another process?
I have to archive data from a table into another table whilst the original table is in use. The archival process is to copy the rows into another table and then delete the rows from the original table. The rows to be archived are selected by a column that has the Identity property. A factor is that the table from which...
The rows to be archived are selected by a column that has the Identity property In this scenario, you're inserting rows at the end of the index, and deleting rows from the beginning. So there shouldn't be overlapping locks that would lead to deadlocks. This assumes that your archive process won't ever run concurrently....
2
3
742
2019-01-07T12:47:20.603
hadoop_errors
dba.stackexchange.com
939,836
Automating windows configuration
This is more a workstation question than server itself, but I believe is best suited in this site: I want to automate Windows 10 Pro workstation configuration settings. I want to be able to automate installation of several tools into windows machines, without having to manually do that in each of them. I want an unatte...
I don't have enough reputation to ask for clarification, so I am going to assume two things. I don't use AD (at least currently), so I would prefer something that would allow me to connect to the machines and have them running things from a remote location, or even plugging in a USB device to configure. I am not sure w...
-1
1
456
2018-11-13T16:01:59.547
infrastructure
serverfault.com
837,523
Has anyone managed to get Site-to-site VPN tunnel from Google Cloud VPN working with SonicWall?
Has anyone managed to get Site-to-site VPN tunnel from Google Cloud VPN working with SonicWall? If so, can you provide the working configurations used on both sides? We have tried to use IKEv2 and IKEv1 but cannot get the tunnel up. For IKEv2, we get a 'decryption failed' error and for IKEv1 we get a 'NO_PROPOSAL_CHOSE...
I've been successfully using the following on the SonicWALL side: IKE (Phase 1) Proposal Exchange: IKEv2 Mode DH Group: Group 14 Encryption: AES-256 Authentication: SHA1 Life Time (seconds): 36000 Ipsec (Phase 2) Proposal Protocol: ESP Encryption: AES-256 Authentication: SHA1 Enable Perfect Forward Secrecy (checked) DH...
1
3
2,830
2017-03-10T15:42:00.823
infrastructure
serverfault.com
1,103,500
Using Windows Event Logs versus using a text file
I'm porting a Unix server application that writes logs to text file, typically generating about 15MB of logs per day; and the log file is rotated daily by a cron job. The porting is to be a Windows service application. 99% of the logging is informative or debug information about each request the server processes; but t...
It depends. If you use functions of the event system, like for example triggering of tasks, when certain events happen, this would surely speak for the event log. The event logs can be parsed and sorted/filtered/exported/... by powershell. Still, text files are of a much simpler nature and that can be seen as a reason ...
0
1
279
2022-06-17T05:38:04.360
infrastructure
serverfault.com
646,130
MULTI: bad source address from client - any one-off solutions?
Setup: I have the an openvpn client/server setup (config files at bottom), and I get the infamous [CODE] message at server. The server has a public IP address, while the client is behind NAT. Shortcomings of previously proposed solutions: The [CODE] defined in the server config is currently empty. Previous posts (here ...
You asked: " Can someone explain why this problem occurs in the first place? " Based on what is reported in the official OpenVPN FAQ I bet it's caused by a routing problem within the OpenVPN engine. To better clarify the scenario, let me refer to following diagram: Here you can see: an OpenVPN "server" connected to the...
14
19
29,704
2014-11-21T16:11:18.323
infrastructure
serverfault.com
48,124
Disabling strong private key encryption on a personal certificate
I am attempting to import a certificate into my current user's personal certificate store, since my server is required to sign certain requests it makes and the suggested instructions were to do this. I was able to do this successfully on a development machine, but was not able to do it on another machine, as an option...
In the Local Security Policy of the machine, there is a policy called:- System Cryptography: Force strong key protection for user keys stored on the computer Setting this to "User input is not required when new keys are stored and used" enabled this option, whereas it was previously greyed out when set to "User must en...
6
9
15,418
2009-07-30T15:39:28.683
infrastructure
serverfault.com
9,290
Scikit Learn's RandomForestRegressor is not giving results on large data set
I have a Pandas dataframe X(20346, 4116). All independent columns have binary variable as 0 or 1. Whereas dependent column has continuous variable. When I execute below code using the scikit-learn library, it takes for ever and I am not getting any result. [CODE] I am using this for feature selection. In case of less n...
Some of the settings are likely too aggressive for your machine: As others have pointed out, [CODE] might help by taking advantage of openMP threading that is likely available on a multicore processor. But lets also look at some other parameters from the documentation : [CODE] Why don't you set [CODE] to 10 and then sl...
3
2
2,192
2015-12-09T19:34:03.510
data_quality
datascience.stackexchange.com
5,489
Extracting model equation and other data from 'glm' function in R
I've made a logistic regression to combine two independent variables in [CODE] , using [CODE] package and I obtain this: [CODE] Now I need to extract some information from this data and I'm not sure about how to do it. First, I need the model equation: suppose that fit is a combined predictor called [CODE] ; could it b...
In order to extract some data from the fitted [CODE] model object, you need to figure out where that data resides (use documentation and [CODE] for that). Some data might be available from the [CODE] object, while more detailed data is available from the [CODE] object itself. For extracting model parameters, you can us...
2
3
11,579
2015-04-09T14:27:36.663
data_quality
datascience.stackexchange.com
629,745
Samba authenticates users, but does not reply
Sometimes the samba 4.1.11 stops serving the clients. Every day, I have to restart the smbd just to get this fixed. The windows clients say, that the shared device is unreachable or the authentication has failed. When they try to connect, the following logs are generated: [CODE] AFAIK the next few line should follow, i...
As it turns out, the default lock directory (/var/lock) - caused with ' --PREFIX="" ' at compilation time - gets filled up by the samba locking mechanism. This is a tmpfs of 5MB, and the usual lock size is 3MB or more. I suggest to change the default directory to an unused path. For example: [CODE]
0
1
2,490
2014-09-19T06:33:15.157
api_errors
serverfault.com
171,147
Giving permissions to objects called in stored procedures
We've got about 55 vendor databases running in SQL Server 2000 compability mode on a SQL Server 2008 server. Cross database ownership chaining is enabled. We also have our own in-house reporting database on this server with nothing but stored procedures in it. These stored procs query the vendor database tables for our...
If you have ownership chaining enabled on both databases, and the user that is running the stored procedure is a member of the vendor's database then they shouldn't need rights to the tables. The exception is if you are using dynamic SQL, in which case you'll need to grant access to the base tables and security chainin...
1
1
158
2010-08-16T19:48:17.773
database_errors
serverfault.com
17,217
Setting the network using docker-compose
Do you think these commands are valid? [CODE] The first command downloads the [CODE] file. However, when I try to run the second command, node complains about [CODE] not being a valid. Here is the error printout: Is there anybody here who could point out what I am not understanding and make it work? The link to this pa...
[CODE] This syntax is assuming a bash or similar shell. It defines an environment variable and runs the command with that variable exported. It's similar to (but not the same as) running: [CODE] Since you appear to be running this on Windows, I believe the equivalent there is: [CODE]
0
1
169
2023-01-09T23:39:03.827
pipeline_ops
devops.stackexchange.com
739,334
How to set up a Apache forward proxy with persistent connections?
We have a Apache forward proxy sending requests to thousands of back end servers. The servers are faulty, in that they require both the initial challenge request (without authentication) and the next request (with authentication) to be on the same http connection. We cannot get this fixed in any reasonable timescale. S...
(this should be a comment, but its a bit long) We have a Apache forward proxy sending requests to thousands of back end servers. And you've only just noticed its not working? If you can handle the traffic for "thousands of servers" on a single Apache instance, it rather suggests something wrong with your architecture. ...
1
1
1,947
2015-11-27T12:32:54.063
api_errors
serverfault.com
314,945
The DELETE statement conflicted with the REFERENCE constraint ... but there's no conflicting data!
Short version Q: Is there a bug like kb4503379 in SQL 2019 v15.0.2095.3. A: Yes, seems like it. Install v15.0.4236.7 and the problem goes away. Original Long version I understand foreign keys and referential integrity, but I'm hitting a problem like this bug where DELETEs can fail when they should succeed. However, tha...
This appears to be issue 13607143 , which was fixed in SQL Server 2019 CU7 DELETE statement returns Foreign Key check constraint error even when REFERENCE table has no matching rows. Msg 547, Level 16, State 0, Line LineNumber The DELETE statement conflicted with the REFERENCE constraint "ConstraintName". The conflict ...
1
3
597
2022-07-27T21:02:16.513
data_quality
dba.stackexchange.com
308,340
Free Space in pg_largeobject Not Being Reused?
postgres noobie, PG 9.4 (please don't say I need to update PG, thx) Database has huge pg_largeobject table (~450GB, 169.5M rows, lots of DML leading to ~95GB/~22% free space - all per pgstattuple. I would expect ALL new inserts and updates to pg_largeobject to create ZERO new space in table due to the massive amount of...
This might be due to the inefficient packing of large object. Large objects are chunked before compression into slices of 2048 bytes (in fact [CODE] , but normally [CODE] ). The slices get compressed individually (if applicable) and stored in [CODE] In a 8192 byte page, only 3 slices of 2048 bytes can fit. The rest of ...
2
2
706
2022-03-05T22:19:21.427
database_errors
dba.stackexchange.com
1,153,886
RateLimit is doing weird maths and wrong numbers on kernel
I'm trying to apply a set of rate limit within iptables, and it's doing some weird maths that i'm not able to see on the kernel why this is happen. I tried to execute same code on my local machine, and not on an aws instance and the result was the same, it's just increasing the numbers with a random ammount, the bigger...
I'll answer my self. This rule is supposed to limit the incoming TCP traffic on port 10430 to a rate of 1100 packets per second with a burst of 1600 packets. However, it's seems like as per kernel specifications this is really an average and not an specific and exact amount. Apparently if I need something more exact i ...
0
1
28
2024-02-19T15:03:46.320
api_errors
serverfault.com
205,985
How to set a parent from one-to-many relationship?
I have tables as [CODE] For each [CODE] , there are several [CODE] s. The aim is to save all [CODE] s in the table [CODE] to avoid being added again, but set one of them as the parent, and the reset as children. In this case, the content ( [CODE] ) is set to [CODE] for all children, and any request to a child redirects...
You could use a [CODE] an correlated subqueries. In the subquery select the minimum [CODE] for the row's [CODE] . If the row's [CODE] is equal to this minimum, parent is null, making the article a parent. If it isn't equal to the minimum it's a child of the article with the minimum [CODE] . Set the minimum [CODE] as pa...
0
1
273
2018-05-06T19:53:03.643
warehouse_errors
dba.stackexchange.com
284,364
Sending Mails From Local PC
I have a shared web hosting account and I have a forum with 35000 members. I want to mail them but the problem is that the server that's hosting my site is blocked by hotmail and the number is huge that no free SMTP service can get the job done. So the question is, can I send emails from my computer, Windows or Linux? ...
You might consider taking a look at some of the remailer/relay services like http://www.changeip.com/ . If the pricing meets your requirements, then it may also take the spam/blocking coordination efforts off your hands.
0
0
88
2011-06-27T01:36:02.613
api_errors
serverfault.com
522,880
Global Apache Log with Many Virtual Hosts
I have a server that runs a bunch of VirtualHosts for each of our client sites (~ 30 sites). I've got the VHosts configured so that each site has its own log, which is stored in [CODE] , and similarly for an error log. I would like to create a server-wide log of some basic information from every request - specifically ...
You can pipe the logs from CustomLog . You can then use [CODE] , for instance, to send them to different destinations (possibly processing them beforehand). There's an example at fnal.gov : [CODE]
0
0
325
2013-07-12T15:09:52.897
api_errors
serverfault.com
9,403
How can I determine which command / step failed within a travis build
So I have a CICD travis build that failed... How do I know which line / step is the culprit?
Look at the Travis CI Logs. Often a failed build step will return "Error", "Failure", "-1", buried in a wall of text. If you want a better way to collect and these logs you can check out the following: Official Github page with details on how log collection works An official blog on how to structure your production log...
0
1
61
2019-10-10T12:28:57.000
pipeline_ops
devops.stackexchange.com
74,342
SSIS foreach loop xlsx files
Hello I see similar questions has been ask before but I am having a bit of trouble with this issue, this is using excel 2013 data files and sql server 2012. I have a foreach loop container This for each has a enumerator of "Foreach file enumerator" for "*.xlsx" On the Data Flow In the ExcelFilePath I have a base file p...
I've run into this before and have used 2 different approaches. If the process should only run if files exist, I've written a c# script to set a flag 'DataExists' so I can evaluate and take different paths within the SSIS package. The other is I have a dummy file on the directory and when I build the expression in the ...
1
1
572
2014-08-19T15:51:04.640
database_errors
dba.stackexchange.com
171,036
MySQL Backup with innobackupex error: Unrecognized character \x01; marked by <-- HERE after <-- HERE near column 1 at - line 1374
Getting following error message: [CODE] after running following command: [CODE]
should be fixed in version 2.4.7 and version 2.3.8 https://bugs.launchpad.net/percona-xtrabackup/+bug/1651978 , if you can still reproduce using the latest version please update the bug report
1
0
520
2017-04-14T19:08:36.913
database_errors
dba.stackexchange.com
528,978
Finding DNS settings of a domain?
My client has DNS for their domain name hosted with a DNS host separate to their domain registrar. The person who setup the account with the DNS Host hasn't been contactable for over 2 years. This hasn't been a problem, until now. My client needs settings added to their DNS. I could move the DNS Hosting back to the Dom...
If you don't have the rights to see the information, you can't see them ! You can check if the zone transfert is allowed (named AXFR) then you will receive all the zone but if it is not the case, you must have access to the zone file in the DNS manager of your domain registrar. To take the zone with AXFR, you can use [...
1
1
85
2013-08-06T09:41:29.273
infrastructure
serverfault.com
704,878
Strange data corruption in Windows Server 2012 R2
I've got a server running Windows Server 2012 R2, OS is in RAID 0 (2x WD Black 500 GB), Data is in RAID 5 (4x WD Red 1 TB) and primarily holds thousands of documents. Since the past week or so we've realized that many files on the Data array have become corrupt in a weird way, and of course no one set up a scheduled ba...
If you got a corruption, that mean one of your hard drive ins't flagged defect, but it's, then you are out of luck without backup (and yes, such happen from time to time, updating raid adapter firmware help to prevent that) One thing that can happen, do you have a crypolocker virus running on a computer ? but usually h...
1
1
1,239
2015-07-10T13:50:58.107
database_errors
serverfault.com
379,549
Can huge error log cause performance issues?
We have big nginx error log(1GB). Can this cause serious performance issue while nginx writes new errors in that file? Sometimes our webserver hangs and recovers itself for about 2 minute. OS: FreeBSD 8
I believe it depends on nginx implementation details. In theory if nginx internally only opens a log file for append, then I would not expect performance issues from the large size. I recommend has a general good practice to have a log management strategy in place. Truncating the log or other strategy may be used to mi...
-1
1
491
2012-04-14T22:36:32.603
infrastructure
serverfault.com
278,729
Mysql - which CPU is better?
I'm trying to speed up my mysql server. From what I read, mysql can only use 1 single core, at least when it's on the same connection and table. Right now I have 2 * Intel E5420 I'm wondering if it will be faster with this : X7560 Core speed isn't a lot different, more cache L2, but since only 1 core will be use ... My...
From what I know, mysql use a lot more the memory than the processor. Try to upgrade your memory first (way more economic than buying a new cpu.) If that don't change anything look onto your sql process, some of them must not be very optimize and can require a lot of ressources for nothing.
2
5
2,546
2011-06-09T14:06:45.977
database_errors
serverfault.com
619,733
IPTABLES command that end with ACCEPT or DROP fail on service firewall restart
I have a CENTOS Linux VPS. I have the following in my IPTABLES script to run when my VPN restarts, but I get errors when I do a [CODE] I've ran each of the commands below manually and they work. According to Host Gator in order for the IPTABLES rules to persist I need to place them in the [CODE] file, so I inserted the...
I think I found the answer already: There are ^M characters after every newline. I believe if I remove them the commands will work. I'm using VIM and if I view them in vim by doing a ':e ++ff=unix' it shows '^M' after every newline.
2
3
4,053
2014-08-12T02:21:08.837
infrastructure
serverfault.com
329,065
How can I get the SQL Server instance names running based on a hostname (COMPUTERNAME)?
I have only a hostname (what Microsoft calls a COMPUTERNAME). How can I get the names of SQL Server instances running on the host? It appears from other answers that I could look through the services running on the host. However, it is a remote machine and I am not an Administrator for the host or any of the database i...
However, it is a remote machine 1 You don't need to remote to server to get list of services just run Get-Service -ComputerName yourserver However you need some permissions on the server to get this list. Problem - service names not always follow naming standard for all version 2 Ask registry on remote computer Registr...
0
0
198
2023-07-07T22:13:04.897
database_errors
dba.stackexchange.com
22,091
Selenium RC : How to handle drop down list while automating?
How to handle the drop down by using selenium RC. While I am automating Gmail registration page the birthday section giving error
You need to show us: HTML code Your code Your error message Having said that, I assume you are talking about Month dropdown list from Gmail registration? From what I can see: Month dropdown list, you can click to open it by using [CODE] After this list is expanded, you can get a list of items by using [CODE] , looking ...
1
1
144
2016-08-17T04:07:36.393
data_quality
sqa.stackexchange.com