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,097,790 | Drop-down menu for "Field name" does not show log_struct() logged jsonPayload in GCP LBM menu "Create logs metric" though logs in the Logs Explorer | I need LBMs on Google Cloud Platform of metric type "Distribution" to make time series charts with values like counts or duration for many labels in one go. Example: for 10 different steps in the data workflow counts and duration of the day are logged in a dictionary and logged as jsonPayload using gcloud logging's [CO... | The answer to this strange problem was easy, you need to run your function or code again. When the logs are too old, the drop-down forgets the entries. To be on the safe side, you should make a fresh run of the function so that it is younger than one hour, since that is the time the "Preview Logs" can look back that yo... | 0 | 0 | 132 | 2022-04-04T18:18:59.297 | infrastructure | serverfault.com | |
405,766 | What log level use for deprecated features? | There is a feature that is now deprecated and going to be removed. Adding a logging statement, observed by some alerting mechanism, can help finding out whether the feature is still being actively used and upgrade the clients that do so. Although not necessarily technically important for the diagnosis, I wonder what wo... | In my past experience, I usually use the lowest level enabled in production environment ( [CODE] ?). Then, prefix log msg with keyword tag, say [CODE] . In log monitor/alert tool (can't suggest any tool, as I only experienced with in-house tool), specify the keyword tag as match condition. I try not use [CODE] because ... | 3 | 4 | 717 | 2020-02-26T09:42:32.970 | pipeline_ops | softwareengineering.stackexchange.com | |
666,939 | server maintenance to prevent fsck failures | once in a while after a reboot I found fsck would fail on OS disk and booting becoming impossible on many of my servers. and then I had to reinstall OS and do data migration from the failed OS disk. would the following measures prevent this from happening? 1.regular scheduled fsck on disks 2. use raid 5/6 any other sug... | once in a while after a reboot I found fsck would fail on OS disk and booting becoming impossible on many of my servers. Are you doing graceful reboots/shutdowns on these systems? If you are doing so (meaning filesystems get cleanly un-mounted), and you are still seeing corruption, then it's likely that the underlying ... | 1 | 2 | 182 | 2015-02-11T23:22:03.913 | infrastructure | serverfault.com | |
36,610 | What is Causing this IIS 7 Web Service Sporadic Connectivity Error? | On sporadic occasions we receive the following error when attempting to call an .asmx web service from a .Net client application: "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. Unable to read data from the transport connection: An existing connection was... | You could make a page that will fail with an error when that occurs (try catch), then use WCAT to simulate various load conditions. Hopefully then you can see a pattern or at least see if it is load related. Otherwise, I would just built something into the .Net client that catches this issue and simply retries the requ... | 6 | 1 | 7,131 | 2009-07-06T20:52:58.860 | api_errors | serverfault.com | |
475,406 | Is there a limit on the length of URLs when using Amazon ELBs? If so, is there a way to increase it? | We appear to be encountering an error due to Amazon ELBs truncating a long (over 1K characters) URL. I have searched through the usual suspects, but can't find any discussion of URL length limits for Amazon ELBs. Is there a limit on the length of Amazon URLs? If so, is there a way to increase that limit? | I tested this with a simple bash script against a domain I have running behind an ELB: [CODE] This worked fine for a while: [CODE] But failed once it crossed the 8192 length barrier: [CODE] The failing requests were logged in a different file by Apache because the [CODE] string comes before the [CODE] header and hence ... | 5 | 7 | 16,757 | 2013-02-04T23:39:32.657 | infrastructure | serverfault.com | |
122,426 | How to pass parameters to delete statement? | While executing this PL/SQL block: [CODE] I got the error as [CODE] I know that there is something wrong in the 'where' clause of delete statement. How to let the delete statement substitute those parameters '(1234,1)' in place of 'auth_ID' and 'title_Nos'? | You can't concatenate variables like that in a SQL statement and there is no need to do it anyway: [CODE] | 0 | 0 | 1,781 | 2015-11-30T05:32:24.280 | warehouse_errors | dba.stackexchange.com | |
40,362 | mysqldump: Got error: 1066: Not unique table/alias: 'foo' when using LOCK TABLES when lower_case_table_names=1 | I'm trying to dump a MYSQL DB on a linux server (Centos 5.2 32bit, MySQL 5.0.45) In /etc/my.cnf the following value is defined: [CODE] When I try and do a dump with mysqldump I get the following error: [CODE] I can't figure out what I need to do to work around this, and we can't set lower_case_table_names to 0 in my.cn... | Rename one of the conflicting relations. | 5 | 6 | 11,412 | 2009-07-14T09:44:09.843 | database_errors | serverfault.com | |
610,379 | Shell script won't run ruby script file | My shell script ( [CODE] ) won't run the ruby script ( [CODE] ) in it. [CODE] : [CODE] It could not find where the [CODE] is, thus errors: [CODE] My ruby script is permission of 777. Any help is appreciated. | I'm using Fedora 19, i did little test, sudo uses [CODE] and [CODE] in few worods, with this two directive, sudo uses his own env variables commenting this two options in /etc/sudoers and adding my current working directory to my PATH it's work [CODE] your directory scripts isn't in the root secure_path | 2 | 0 | 1,844 | 2014-07-05T20:42:41.120 | infrastructure | serverfault.com | |
551,260 | DNS server not functioning correctly | I have setup a DNS server which isnt working properly. My domain is accswift.com which has glued to two name servers ns1.accswift.com and ns2.accswift.com for the same IP address - 203.78.164.18. On domain end everything should be fine. Please check - http://www.intodns.com/accswift.com I am sure its the problem with t... | Stop your iptables rules and try again from a remote host. Currently can't reach port 53/udp on 203.78.164.18. Other fatal flaw is: two name servers ns1.accswift.com and ns2.accswift.com for the same IP address - 203.78.164.18. Don't do that. You have violated the DNS RFCs. | 0 | 0 | 70 | 2013-11-07T02:45:14.283 | infrastructure | serverfault.com | |
826,606 | NxLog's 'and' Logic | I currently have NxLog running on various Domain Controllers pulling out login/logout events. [CODE] While the config above works fine, in the fact that it ignores usernames with $ in it and also the ones I specified, I want to only ignore event id 4624 with those usernames in it so I can still see failed logins. I tho... | The cause of the syntax error is that your brackets are not correctly paired. It should be like this: [CODE] | 0 | 0 | 371 | 2017-01-16T18:47:15.900 | infrastructure | serverfault.com | |
178,643 | Failure to install ServletExec 4.2 | We are attempting to install ServletExec and get this puzzling error during the installation: we can install to XPSP2 with out getting the error. we get the error when attempting to install on server 2003 hosts. however we have an existing installation of ServletExec on another 2003sp2 host We are using install shield ... | Turns out if you put add the commandline argument [CODE] , all's well. There you go. | 0 | 1 | 48 | 2010-09-07T04:41:46.313 | infrastructure | serverfault.com | |
156,709 | disk management/diskpart on windows server 2008 hangs | I am having an issue on my Windows Server 2008 "Sql Server". When I access Disk Management, the UI hangs on "Loading disk configuration information" When I run diskpart it does nothing after showing the server name. I NEED to expand my secondary drive because I need to move my database files off the C drive (I have lik... | Try the following: Run a chkdsk /f on all disks in the system to make sure they are ok. Open up services.msc and make sure the following services are started: Remote Procedure Call (RPC) , Plug and Play and Virtual Disk . | 1 | 2 | 8,420 | 2010-07-01T14:48:14.340 | database_errors | serverfault.com | |
1,030,332 | Nextcloud installation throws "Forbidden" when testing | I've just installed Nextcloud on my Ubuntu server. Followed the steps in the docs but at the point where I'm supposed to see Nextcloud front page running on localhost port 80 I'm getting "Forbidden. You don't have permision to access this resource". Despite the fact that I ran [CODE] and also [CODE] port 80 is allowed ... | As turned out I had to disable the default config in [CODE] which also was routing to port 80. It was basically taking nextclouds config file's spot. Once disabled, [CODE] kicked in. | 0 | 0 | 2,384 | 2020-08-16T16:21:52.757 | infrastructure | serverfault.com | |
1,046,103 | How to manage large number of ports? | I'm running a lot of services (most of them are docker-managed). I struggle with managing port numbers for all of them. The problem arises when I want to spin a new e.g. HTTP server. I have to look for a port number that hasn't been already taken by other services. Currently, when I want to spin a new server, I look fo... | Let Docker find a free port for you when you create the container. From the documentation : you may specify a range of host ports to bind a container port to that is different than the default ephemeral port range: [CODE] This would bind port 5000 in the container to a randomly available port between 8000 and 9000 on t... | 1 | 2 | 430 | 2020-12-14T13:17:11.753 | pipeline_ops | serverfault.com | |
938,309 | Identify the top processes when the overall system has large CPU utilization in Ubuntu server | I have a Ubuntu server running in EC2. Occasionally, I get a large CPU usage 99+% utilization as measured in EC2 monitoring dashboard, even though most times it is less than 10%. Since traffic to my site is spiky, and many times happens at the middle of the night, I could not login and use top at that time. What is the... | Maybe sar Useful Sar (Sysstat) Examples willbe that thing what You looking for. or pidstat Linux pidstat Command: Get Statistics For Individual Tasks / Process | 2 | 0 | 117 | 2018-11-02T05:17:39.530 | bi_errors | serverfault.com | |
321,772 | Will it be okay for an interface to take a dependency on an interface in this situation? | Background I have an interface defined for a circular-buffer called [CODE] in a separate project. This [CODE] is something that we use all over the place, so it resides in the [CODE] project. Well, we have another interface [CODE] that controls some very distinct piece of equipment. This piece of equipment produces som... | There are two options for this type of dependency. Interface dependency You can define a method on the controller interface which accepts a buffer. This increases coupling between the modules, and may have a ripple effect in terms of dependencies and code changes. Existing implementations will need to be updated, and t... | 1 | 1 | 864 | 2016-06-09T17:49:07.643 | api_errors | softwareengineering.stackexchange.com | |
450,836 | Where to define the interfaces of the infrastructure in a clean architecture and DDD? | I have been reading about clean architecture and following Domain-Driven Design. In all the examples I have found, the interfaces of the repository are defined in the domain. However, it is in the application layer where the repository interface is injected, and the interface is implemented in the infrastructure layer.... | There is no "one true answer" here. Different people favor different approaches. This answer is intentionally arguing a different opinion than the one you already have. Not because it implies your opinion is wrong, but to showcase why your opinion is not the only correct one. Keep that in mind when you read this answer... | 0 | 3 | 177 | 2024-01-31T20:16:22.100 | api_errors | softwareengineering.stackexchange.com | |
248,541 | How to make Postgres Multi-Column and Multi-Table Search More Efficient | I have a [CODE] table with some basic data about a shipment and a [CODE] table which contains additional attributes about that shipment with a [CODE] on the [CODE] table's primaryKey. The [CODE] to [CODE] table is [CODE] relationship. We have a requirement to include a text search option that takes a given inputted tex... | It can't use a BitmapOr against a scan on a different table (or at least, it wasn't coded to be able to do that--perhaps it could be made to do that if someone put in the work--it would have to look up the UUID in the other table, then convert them to tids on the ipso table and stuff them into the bitmap), so it can't ... | 3 | 5 | 2,988 | 2019-09-11T14:06:56.543 | warehouse_errors | dba.stackexchange.com | |
550,557 | trying to mount secondary drive | centos 6 64bit Trying to mount a BACKUP drive used previously on another server prior to a recent primary drive hard drive failure. [CODE] I only want to mount /dev/sda2 (this is the secondary drive) but getting the above error. I want to mount it to /backup [CODE] | [CODE] is part of a LVM group, you can't mount it. No other evidence you provided suggests presence of another disk. All LVM volumes/parts of sda are mounted and in use, according to [CODE] | 0 | 0 | 128 | 2013-11-04T13:46:11.833 | database_errors | serverfault.com | |
398,639 | Huge load on Centos, many apache processes | I'm experiencing a huge load on my server at the moment and I can't figure out why. When I use the 'top' command, there's hundreds of apache processes with the command "aux", but I can't find anything online that tells me what it means. The load is flapping between 50-150, which is a good 50-150 more than it usually is... | That's not a connection from 61.155.xxx.xxx. That's a connection to a webserver on 61.155.202.205. It looks very much like your webserver is making HTTP requests to other webservers on ADSL connections in China. Try a [CODE] to see what kind of data you are collecting. I suspect it's malicious. If it is malicious, refe... | 4 | 4 | 1,792 | 2012-06-14T08:52:07.363 | infrastructure | serverfault.com | |
341,459 | Command: mysql --print-defaults not recognized? | I am trying to set some defaults in my.cnf and when I tried to check MySQL's current defaults I got an error! Using Zend Server CE 5.5 on OSX 10.6.8 And here is the command and subsequent error: [CODE] When I type [CODE] it shows the [CODE] as an option. Am I doing something wrong? Has anyone else experienced this? ( N... | [CODE] is the client program. What you want is the server. Run this please [CODE] I found it by asking the server [CODE] and I got this [CODE] A safer method is to use mysqladmin [CODE] Give it a Try !!! | 2 | 2 | 2,143 | 2011-12-16T03:07:39.540 | database_errors | serverfault.com | |
71,601 | Compile Python 3.1.1 with --enable-shared | This is a two pronged question... The context of the question is getting a good Python 3.1.1 build to use with building and running mod_wsgi. See this document for more information on why a shared library is a good idea. What are the ramifications of building Python with --enable-shared? I observe that when I build it ... | This is probably one for superuser.com but ok, I'll bite. What are the ramifications of building Python with --enable-shared? You get a binary that uses the dynamic loader to link with the libraries it needs, nothing wrong with that. When any of the libraries your binary depends on are updated, the next invocation of t... | 5 | 8 | 10,767 | 2009-10-06T03:54:00.267 | infrastructure | serverfault.com | |
255,535 | Database design for large amount of sensors at very fast intervals | I've been tasked with designing a backup solution to store sensor data from about 1500 sensors at 10 second intervals. In the event that the primary transmission method of the sensors goes down, my solution should not have a delay of more than 10 seconds since the actual update from the sensor. Thus making my solution ... | 150 new rows per second? At least one of these needs to be true: Using SSD, not HDD. Batch loading ( [CODE] , [CODE] with multiple rows, etc) Other notes: Don't use [CODE] . Double takes 8 bytes and has far more precision than any sensor can provide. This is important because the size of the data, as you noted, is impo... | 0 | 1 | 230 | 2019-12-13T02:26:15.617 | airflow_errors | dba.stackexchange.com | |
210,954 | Replacing NULL values in LEFT JOIN with MAX function | I have created a query that join two tables and returns a date of the last log in of a particular user. If a user logged in multiple times, the query returns the most recent date: [CODE] http://www.sqlfiddle.com/#!18/c119d/2 What I'm struggling with is to replace "null" values that are returned every time when a user e... | You can use [CODE] to replace the [CODE] . But first you should consider that [CODE] with values such as [CODE] that holds dates should be [CODE] data type. Always use [CODE] or [CODE] when using dates, as varchars become troublesome when comparing or ordering (and even understanding them depending on culture info). Fo... | 0 | 2 | 8,681 | 2018-06-29T10:54:30.293 | data_quality | dba.stackexchange.com | |
68,400 | How to comptute principal component from three points in two dimensional space? | I have the following question: Given 3 points (-1, 1), (0, 0), (1, 1). What's the first principal component and what are the coordinates of the projected data points? What would be the variance of the projected data? How to reconstruct the original data points and what would be the reconstruction error (squared)? Am I ... | I think you may have forgotten to subtract the mean. As far as I know you have to center the data, otherwise you will compute variance with respect to the origin, rather than the variance within the data. Your data points have a mean vector $$\mu = \left[0, \frac{2}{3}\right] $$ Let's subtract the mean from the data an... | -1 | 2 | 1,286 | 2020-02-20T10:28:14.720 | data_quality | datascience.stackexchange.com | |
139,702 | Should I add an auto-increment / IDENTITY field to a cross-reference table just for PK purposes? | I'm adding the following cross-reference table to my SQL Server-hosted DB: [CODE] The [CODE] field refers to the [CODE] field in another table (in which it's the primary key). Given that there can also be multiple records with the same [CODE] , any primary key would have to use both fields. However, I'm unable to creat... | For a non-unique clustered index on [CODE] alone, SQL Server will automatically add a 4 byte integer uniqueifier to all duplicate (i.e. second and subsequent for a key value) clustered index keys to make it unique. This is not exposed to the user though. The advantage of adding your own unique identifier as a secondary... | 10 | 7 | 1,963 | 2016-05-27T08:30:24.067 | database_errors | dba.stackexchange.com | |
503,833 | Database replication with old data | I am using MySQL to accomplish Database replication. The replication process is works very well. What my problem is, the old record is not copied from the master database. Is there is any way to keep the old data in slave database without using mysqldump. | Sounds like you - did it wrong... ;) Before starting your replication you have to initialize your slave server with a complete dump from your master server. for this you need a mysqldump or a backup from your master database. if it's just that you don't want to stop your master server, you can use perconas hot backup t... | 0 | 1 | 537 | 2013-04-30T11:38:54.030 | database_errors | serverfault.com | |
428,933 | Difficulty in running Tomcat v7.0 with Eclipse Juno | I get the following error when I run my JSP file in Eclipse-Juno with Tomcat v7: 'starting Tomcat v7.0 server at localhost' has encountered a problem. Port 8080 required by Tomcat v7.0 server at localhost is already in use. The server may already be running in another process, or a system process may be using the port.... | You're looking for "server.xml": http://tomcat.apache.org/tomcat-7.0-doc/ http://tomcat.apache.org/tomcat-7.0-doc/config/http.html EXAMPLE: C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.14\conf\server.xml [CODE] | 2 | 1 | 6,591 | 2012-09-16T06:01:19.510 | database_errors | serverfault.com | |
826,304 | BTRFS-RAID and booting from EFI system partition | UEFI requires booting from a ESP which is most of the time formatted as vFAT. If I recall correctly BTRFS could have sub-volumes formatted as ext3/ext4 like the Logical Volume Manager (LVM). However, UEFI doesn't support booting from BTRFS. Most of the time the solution is simply to use three (or 2N + 1) disks, two for... | From what I gather in your statements, you have two disks with the following (or similar) disk layout: [CODE] This is exactly what you want in almost all cases, and if your configuration doesn't reflect this you'll probably want to make it reflect this. The Linux MD volume in this case is a RAID 1 between sda1 and sdb1... | 4 | 1 | 3,003 | 2017-01-14T16:24:10.757 | data_quality | serverfault.com | |
604,583 | Software-RAID with ext4 but without 64bit support | last year I set up a Software-RAID5 with 5x3TB yielding 12TB of usable capacity. Just today, needing more storage, I have finished growing the RAID to two more 3TB disks: [CODE] This means that I should now have approximately 6x3TB = 18TB available on [CODE] . [CODE] , called without a size parameter, now told me that ... | I've run into the exact same SNAFU on a CentOS 6 machine. My kernel has 64-bit support, but the file system wasn't originally formatted with the 64-bit flag set. No >16TB support. :-( I can confirm that tune2fs will be no help here. You cannot convert an ext2/3/4 file system to 64-bit. I'm lucky though in that I'm usin... | 1 | 1 | 1,584 | 2014-06-12T09:53:16.877 | database_errors | serverfault.com | |
52,289 | Is there any machine learning algorithm that can solve this problem? | I have a data set of 100000 samples with binary output. I would like to study the impact of [CODE] (a continuous feature) on the output result. [CODE] has values from [CODE] to [CODE] and when I add this feature to my classifier it gives bad accuracy. I have tried z-score and scalar number but it doesn't change a thing... | You want a supervised approach. Clustering will not care about your target variable and perform arbitrary splits that don't help. Likely a decision tree can be helpful here, if you use a good implementation that can split the same feature multiple times (to break it into intervals). There are other approaches you could... | 0 | 3 | 121 | 2019-05-20T23:20:04.010 | api_errors | datascience.stackexchange.com | |
311,477 | How much performance cost for hdd encryption on NAS? | I recently purchased a NAS and it offers encryption. It is a QNAP TS459 Pro II. How much will performance be impacted if I choose to encrypt the data on the device? | It depends on the workload. It is better to do a load test for your workload. Encryption increase the access time for the data and it might lower the bandwidth too. So loads that have numerous small requests will be more affected. If you have large files that are uploaded or downloaded at once (e.g. no database running... | 1 | 2 | 1,870 | 2011-09-14T20:15:16.167 | infrastructure | serverfault.com | |
375,881 | Architecture of data logging and storage system | I've gotten myself a bit more roped into coming up with the design and architecture for a new system due to some departures and looking for some insights. The system has a bunch of different high speed services on a network that a variety of data will be gathered from at regular intervals (50 to 1000ms, depends on the ... | 2 central polling servers will not scale well. Rather than having 2 central polling servers, have a polling server per service on the same box if possible, have this post data to a load balanced central server. To deal with these polling services crashing, have a second monitor process on the same box which watches the... | 0 | 1 | 167 | 2018-07-25T17:55:44.303 | api_errors | softwareengineering.stackexchange.com | |
30,207 | Python Selenium, Drop Down | I can't get Python to select "Buy" from the drop down menu: [CODE] My code: [CODE] My error: Select only works on [CODE] elements, not on [CODE] Also, I'm able to click on a drop down itself. However, I'm just unsure how to select my option. [CODE] | Listen to your compiler, and trust it . It told you exactly why your code does not work. :-) Don't use [CODE] part. Just find element by class name - use browser's method directly. Another trick is to find element s , and check if any are present (returned list is not empty). | 2 | 3 | 4,404 | 2017-10-23T18:42:48.743 | data_quality | sqa.stackexchange.com | |
692,308 | FreeNAS is getting Uncorrectable parity/CRC errors | In my FreeNAS 9.3 installation I am getting more and more Uncorrectable parity/CRC errors (like these here: [CODE] at first I changed two disks with these mentionegs - but now one of my newest disks (on another port) is getting these too. So I am really sure this drive has no problems at all. What can cause these Error... | You have a disk, controller or cable failure. You have not provided any details on the hardware involved in this solution. The is not a RAM issue, but treat this like any other troubleshooting effort: This is impacting multiple disks. SMART reporting on the disks show no errors... But they are SATA... Investigate how t... | 1 | 3 | 3,737 | 2015-05-15T14:05:21.330 | infrastructure | serverfault.com | |
1,040,801 | Xen Domain0 Has Network But DomainU does not | After re-installing my domain 0, a guest VM (domain U) is no longer able to connect to the network. I am using Ubuntu 20.4 on my Domain 0 with Xen 4.11. I am able to successfully connect to internet on this. cat /etc/netplan/config.yaml [CODE] #ip route list : [CODE] from .cfg file for Domain U: [CODE] In Domain U: $pi... | Resolved: I was able to resolve this by re-installing domain0. The only setting I changed vs the domain0 that was getting the error was this time I did not include docker in the installed packages list. For some context about why I had two different kinds of virtualization: I am transitioning to containers, but still h... | 1 | 0 | 338 | 2020-11-01T00:03:21.023 | infrastructure | serverfault.com | |
169,945 | Source Server does not meet minimum requirements for migration - SBS2003 to SBS 2008 | I am migrating SBS 2003 to SBS 2008. I have followed the 81 page microsoft guidelines here: http://www.microsoft.com/downloads/details.aspx?FamilyID=52b7ea63-78af-4a96-811e-284f5c1de13b&displaylang=en and have run the migration prepartion tool which completed successfully and then requested a server reboot which I did.... | In my case, the server was not resolving the netbios name of the source server. I had to use Shift +F10 to open a command prompt and then edit the hosts file - then it worked. I consider this a bug. Another note, some postings out there suggest that you should edit 'Impersonate a client after authentication" in the Dom... | 4 | 2 | 2,136 | 2010-08-12T20:57:53.757 | infrastructure | serverfault.com | |
1,076,979 | Container Logs Missing in Cloud Logging UI | I'm in the process of setting up our Kubernetes infrastructure. Our GKE cluster is up and running. I have successfully deployed a test service which is reachable and behaves as it should. The test service logs a message on startup and every time it receives a request but those messages don't show up in the Cloud Loggin... | I had the same issue as well. Enabling Cloud Logging to System and Workloads does not seems to get it fixed as well. I opened a GCP case and it magically worked. Not sure if there's something in the background which they did to fix. | 0 | 0 | 1,628 | 2021-09-08T10:55:20.693 | pipeline_ops | serverfault.com | |
995,448 | App Engine Updating service default Error | I'm trying to deploy a simple flask app to Google App Engine. When I run the command [CODE] , it finish all the task, but then it get stack on the "update service". At first I got this error: [CODE] Then I increase the timeout time, but I still got this error: [CODE] This is my .yaml config: [CODE] If I go to "Build Cl... | The First Error [CODE] can be due to different things: Not having enough resources Not having permissions in the VPC Network in case you have special VPC configurations. For the first possibility increasing resources on the app.yaml can be enough. [CODE] For the Second Error: [CODE] This can be due deploying again with... | 2 | 1 | 1,645 | 2019-12-13T10:56:42.617 | infrastructure | serverfault.com | |
818,571 | Regex path to pass through proxy | I have the following location directive in a dockerized machine [CODE] But when I try to access the url http://192.168.99.100/record/?key=29189392 I get a 502 Bad Gateway error which is a result of 7#7: *1 connect() failed (111: Connection refused) while connecting to upstream I'm not sure what I have wrong here....is ... | To me it doesn't seem to be a problem with the regex but rather with the target you try to proxy the request to. Could you please check, whether there is a process running which listens on port 8080 your firewall accepts connections to port 8080 on loopback? | 0 | 0 | 274 | 2016-12-03T18:41:02.580 | api_errors | serverfault.com | |
857,037 | nginx won't execute PHP code when redirected from a SEO like URL | Unlike other questions related to nginx not executing PHP files, mine does, the problem comes when I use SEO like urls instead and redirect to a php script, then instead of executing the code it sends the script as plain text to the browser. Basically what I want is that every request send to the HTTP server for which ... | The correct way to implement front-controller pattern in nginx is the following: [CODE] Your PHP location blocks look a bit odd. I guess that your objective with the configuration is to enable nginx to show a maintenance notice in [CODE] if the file exists. This configuration looks correct to me, except that the [CODE]... | 0 | 1 | 1,064 | 2017-06-21T12:32:38.027 | infrastructure | serverfault.com | |
18,550 | Applied statistics in Machine Learning, AI, Neural Networks | I hope this is the right forum bcoz I couldn't find one which seems exactly relevant. Question is, are any of the following topics from Statistics really useful from point of view of being applicable while working with Machine Learning, AI and Neural Networks? A)Descriptive Statistics [CODE] B)Probability Theory [CODE]... | I agree @Emre. To me, they are all important to machine learning. Of course, it depends what exactly you want to do in machine learning. For instance, if you're just doing image recognition you don't need to understand time series. Another example, "Decision and Game Theory" is absolutely critical for machine learning ... | 1 | 0 | 368 | 2017-04-24T05:07:40.813 | data_quality | datascience.stackexchange.com | |
743,289 | After initial setup cannot sign in to Foreman web console with admin account | Edited post to show how I installed foreman I'm new to ruby and I am trying to install Foreman on CentOS 7. I followed the install guide for my distro to do this: sudo yum -y install epel-release sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm sudo yum -y install http://yum.theforeman.org/rel... | It would be useful to know how you installed Foreman, but I'm going to guess that you've done a [CODE] and haven't used the installer . I'll just note that the installer is recommended as it will set up PostgreSQL, Passenger, a Puppet master, smart proxy etc. automatically. You will need to choose and set up a database... | 0 | 3 | 3,443 | 2015-12-15T23:04:35.750 | pipeline_ops | serverfault.com | |
1,109,392 | Nameserver record keeps getting added to DNS zone in Windows Server DNS | I have a public DNS server running on a Windows server with the hostname [CODE] . A nameserver for this hostname ( [CODE] ) keeps getting added to the DNS zone: If I try to delete it, then reload the zone and refresh; the record is immediately recreated. Running a DNS check for my domain name on MX Toolbox shows an RFC... | Each DNS zone should have SOA record containing administrative information about the zone. In SOA record there is domain-name of the name server that was the original or primary source of data for this zone - primary server. In your case Windows DNS server forces zone to have NS record for the primary server specified ... | 2 | 1 | 687 | 2022-08-29T15:50:41.847 | infrastructure | serverfault.com | |
110,834 | RNN/LSTM timeseries, with fixed attributes per run | I have a multivariate time series of weather date: temperature, humidity and wind strength ( $x_{c,t},y_{c,t},z_{c,t}$ respectively). I have this data for a dozen different cities ( $c\in {c_1,c_2,...,c_{12}}$ ). I also know the values of certain fixed attributes for each city. For example, altitude ( $A$ ), latitude $... | You can create a sort of encoder-decoder network with two different inputs. [CODE] Here you are, of course I inserted random numbers for layer, latent dimensions, etc. With such code, you can have different features to input with xyz and city features and these have to passed as arrays. Of course, to predict you have t... | 1 | 1 | 76 | 2022-05-10T15:08:32.377 | data_quality | datascience.stackexchange.com | |
750,895 | OK to disable TLS1.0 with IIS and SQL Server 2014? | ( This identical question in dba is drawing a blank) Background We need PCI-DSS compliance, and so must disable TLS1.0. In my test environment we have SQL Server 2014 SP1 with CU 1 (as per this post ) and IIS 8 all on the same box. I used the Nartac IIS Crypto tool to disable TLS1.0 and rebooted. That's when my trouble... | I figured it out eventually. The steps are here . Essentially: separate boxes for IIS and SQL, then only disable TLS1.0 coming into the IIS box. | 3 | 1 | 131 | 2016-01-21T21:56:17.353 | database_errors | serverfault.com | |
591,193 | Single redis instance with local redis connections via unix socket and remote via tcp. Possible? | I have local Redis instance listening on Unix socket. Is it possible to allow remote connections to this Redis instance via TCP? Any solutions? Maybe some kind of proxying TCP <> Unix socket? | There is no need for a proxy of some kind, you can enable both socket and TCP listening in redis.conf like this: [CODE] Having the [CODE] commented out defaults to listen on all interfaces. | 1 | 4 | 3,038 | 2014-04-24T20:42:22.410 | database_errors | serverfault.com | |
163,475 | Turning on RCSI on on-prem CRM 2015 | We have crm-2015 on-prem, inplace and running and causing lot of deadlocks when someone tries to update anything in batch and same time if multiple users are reading those activities. We are planning to turn on RCSI. I already did on DEV. server and tested and didn't get any locks, but I know that's not the right and o... | It's critical that you do not enable RCSI on a database without the application vendor and your own developers certifying that they support it. The reason is that the behaviour of all your read queries will change, but not actually break in such a way that replaying your workload will detect. Read section 3 at https://... | 1 | 1 | 172 | 2017-02-07T14:42:57.213 | database_errors | dba.stackexchange.com | |
1,791 | How do I calculate values based on the previous row after skipping the first 12 rows? | I'm looking for help to write this query. I have included some sample data below. My initial premise is that all the values from the 13th row onward will be dynamic and the first 12 rows will be static values. I know the formula that I want to calculate each row value with. Below is the DDL for my view [CODE] and the d... | So this isn't a great answer, this is kind of a starting answer for somebody else to take on and refine this better. But I'll make a stab at it. First I have a question: Are you trying to retain this in a view? I don't think you can for what you're wanting to do, it's kinda complicated, so let's examine the operations ... | 5 | 4 | 12,241 | 2011-03-17T20:34:33.097 | warehouse_errors | dba.stackexchange.com | |
866,611 | How long it takes for domain registrar to update TLD name servers | We accidentally changed the nameserver settings for our example.be. The changes were rolled back within minutes. So nameservers were set to the previous ones, provided by One.com. After 16 hours, our website still not working. But are worried that the TLD name servers still do not have nameserver records for our domain... | Finally, we got a helpful response from our domain registrar. Here is what they told us: this should be fixed now there was an error on the propagation in which the propagation has stuck. the hostmasters are continually monitoring this unknown error to check if this is a one time error or not I believe the problem was ... | -1 | 0 | 2,863 | 2017-08-03T07:30:21.623 | pipeline_ops | serverfault.com | |
1,011,862 | How I can continuously log processes connected to a socket | I have a project with an architecture based on a RabbitMQ queue. Each day at 00:30 triggered by a CRON job, the producer process gets the information from a web page and writes in the queue in order to send the information to the consumer process which is subscribed to the queue. It works fine, but, randomly I get a me... | You can use the command [CODE] , which is used to figure out what processes are opening what files. In your case you could use [CODE] which will give you the command, pid, and the user accessing the socket along with a few other things. | 1 | 0 | 123 | 2020-04-11T10:35:31.410 | infrastructure | serverfault.com | |
807,227 | How to remove file handle from MySql after Dropping 1TB Mysql Table to free disk space? | On our productive System we have recently dropped a 1TB Table. After the drop was complete the Table disappeared in mysql but the file was still present in the /lib/mysql/dbname/ folder. (We use the one file per table setting) I deleted the files associated with the table. So I checked with [CODE] and found that there ... | The obvious solution is to kill (or restart) the process which is holding the file descriptor (process ID 38115 as shown in [CODE] output). If you don't want to do that, you can truncate the file (even if it is deleted) to free up disk space. You can try the following: [CODE] Where [CODE] is the process ID and [CODE] i... | 2 | 0 | 1,342 | 2016-10-05T12:30:38.053 | database_errors | serverfault.com | |
54,158 | Determining threshold in an area with very few samples of positive label | I have a binary classification task where I want to either keep or discard samples. I have about a million samples, and about 1% should be kept. I want to discard as much as possible, but discarding the wrong sample carries a heavy penalty. I have concluded I want to optimize something like the following: n_discards - ... | You need a cost sensitive learning mechanism for these type of tasks. You basically create a cost matrix that determines the cost of getting predictions wrong. For example while predicting whether a patient has cancer or not, the cost of predicting he doesn't have a cancer while he does is much more than predicting tha... | 1 | 0 | 90 | 2019-06-20T14:00:16.563 | api_errors | datascience.stackexchange.com | |
977,202 | 554 5.7.1 <user@domain.com>: Relay access denied | I've looked at the postings for this similar issue and tried the suggestions with no luck. Please help me figure out why no emails can be received by my postfix server. I have my MX record pointing to my postfix server Here is my main.cf [CODE] | Your [CODE] looks like a typo, I assume [CODE] should rather be [CODE] . [CODE] This confirms that is your server. You have a typo in your [CODE] directive. The variable [CODE] defaults to $myhostname minus the first component , so your server currently only accepts mails for [CODE] . On a side note: You should set the... | -2 | 3 | 71 | 2019-07-30T01:11:16.947 | infrastructure | serverfault.com | |
806,135 | IIS 8.5 Basic authentication not working - internal error 500.19 | I have Basic Auth enabled for the specific folder and anonymous disabled. I also have created users, however I get a "The page cannot be displayed because an internal server error has occurred." message on the browser. Here is the log from the failed request tracing. I have been looking at this for hours but not been a... | IIS stores a web.config file in each site's root directory (for example, C:\Inetpub\wwwroot\web.config). The file is probably corrupt, maybe a missing tag? I've encountered the problem before, especially when trying URL rewrite through the GUI. I found the easiest way around it is to create a new site, and copy the old... | 1 | 0 | 2,709 | 2016-09-29T15:44:21.583 | api_errors | serverfault.com | |
20,157 | SSIS Lookup Component Irregularities | I'm seeing odd behaviour in a dataflow with a lookup operation. If I select 'full cache' mode, some portion of the lookups are failing and I have no explanation why. 'No Cache' works correctly, as does 'Partial Cache'. At this point, I cannot trust the 'Full Cache' in production if it fails mysteriously. The expected r... | I've seen this behavior as well. Mine was due to server memory, which I'll explain in the guidelines. This was pesky because it was intermittent. With partial cache, the cache starts off empty then queries until it finds a match. If you have multiple matches, the first one wins. With full cache, if you have multiple ma... | 4 | 4 | 3,359 | 2012-06-29T15:05:23.170 | warehouse_errors | dba.stackexchange.com | |
171,421 | Shell script to create background SSH connection if none exists | There is a very similar question to this , but there is an extra detail I have in my situation. Basically I am using a ControlMaster to speed up SSH connections. So I am using: [CODE] After this code I have another command. The purpose of the ssh command is solely to run in the background in order to keep an open socke... | you want to work with the nohup command? | 3 | 3 | 2,800 | 2010-08-17T14:28:48.863 | infrastructure | serverfault.com | |
449,058 | Which will give more free RAM to linux? | Trying to avoid some issues so I've been trying to learn vm. in kernel tuning but still a little confused even after googling. The lower background_ratio is the sooner the flushes? the lower dirty_ratio is the less dirty ram that is kept, right [CODE] or [CODE] or [CODE] or [CODE] | You don't have an unusual use case, or if you do, you haven't mentioned it. So there's no reason to change any settings from their defaults. When there's a "make everything better at no cost" switch, it comes in the "on" position. Also, free RAM is bad . Free RAM is 100% waste. It's not like if you use less RAM now you... | -2 | 6 | 654 | 2012-11-15T15:33:11.340 | infrastructure | serverfault.com | |
352,194 | Search across data cross several microservices | I have data for a certain domain distributed between a microservice and a legacy database. I have a search which spans fields on both legacy and microservice database. Previously (before microservice split), it was done with 1 sql query. Now I need a REST call and a query to legacy database to serve this search functio... | A search feature can be modelled as a separate service with separate responsibility from the two services you mention. So, the approach here could be to create a new service ('search') and have it store a copy of the data from both services in a form which is easy to index and search, possibly also denormalized in orde... | 17 | 27 | 7,815 | 2017-07-05T10:45:04.397 | api_errors | softwareengineering.stackexchange.com | |
991,213 | Linux Azure VM disconnects | I've created a Linux VM on Azure and there is a Postgres service on it. The VM runs well, but I experience disconnects. The VM disconnects SSH sessions - they are just get broken - just like the connections to Postgres. The Postgres DB is a little development DB having about 20 tables with 20-30 records each. The VM ha... | Edit /etc/sshd_config which is the server side configuration file add these two options if you want to prevent all your clients from disconnecting: ClientAliveInterval 120 ClientAliveCountMax 720 The first one configures the server to send null packets to clients each 120 seconds and the second one configures the serve... | 0 | 0 | 1,972 | 2019-11-09T16:27:36.500 | infrastructure | serverfault.com | |
1,128,089 | AWS (SES + API Gateway) + HTML Form fails. Error is: InvalidParameterValue: Missing final '@domain' | I'm trying to set up a contact form on my site, I feel I am close but there is something funky going on with the source address value. I'm passing the data as URL encoded instead of multipart as I only need some text. Contact form: [CODE] Javascript handler: [CODE] Lambda function: [CODE] | Turns out the data was being encoded into Base64 by this: [CODE] which means I had to decode it on the server side before the body could be properly parsed. | 0 | 0 | 520 | 2023-04-06T18:12:11.443 | api_errors | serverfault.com | |
169,018 | Fully automated software deployment and update system | My office has about 120 Windows clients. We need a way to deploy and update free/downloadable software like Flash, Firefox, Skype etc.. This means that we want our clients to always have the latest versions of these pieces of software. We tried Googling, and found solutions like wpkg... but this isn't what we want.. it... | I'm using (Microsoft) System Center Configuration Manager to do this + operating system installation (images). | 7 | 2 | 3,144 | 2010-08-10T20:11:41.343 | pipeline_ops | serverfault.com | |
145,020 | Should cases be reopened for bugs, or should bugs be opened as a new case? | Currently at my work place we use FogBugz for managing all our features and bugs for our different web applications. When a new feature is to be added to one of our web applications, a new Case is created. For example "Create CSV Upload Form". I then work on the case recording the amount of time I've spent on it. Once ... | Both you and your manager have good reason for dealing the way each of you prefer, and there is no real need to compromise. There is a solution that works for me and addresses both concerns. For cases like yours I use high level task / low level sub-tasks approach (concept I picked from JIRA , can't tell if FogBugz sup... | 9 | 10 | 733 | 2012-04-18T15:05:23.033 | api_errors | softwareengineering.stackexchange.com | |
1,031,116 | Are Their Possible Implications Joining Servers to Active Directory at a Later Point in Time? | We are currently migrating our servers to Azure. As of now, we have succesfully migrated our web server (IIS) and our database server (SQL Server). Next year our company will extend the domain controller into the cloud with syncing between on-premise and Azure. However, is it possible to join the 2 VMs to the active di... | Tl;Dr So this happens to be more of a security answer than a compatibility answer. The quick rundown on compatibility is that if you rely on AD user auth that will break, but if you use SQL Users and anonymous/some sort of local web auth special to the site, then you should be fine to join whenever you want. On the sec... | 0 | 0 | 66 | 2020-08-22T18:33:49.637 | database_errors | serverfault.com | |
10,500 | Is Fitnesse only used as a acceptance test tool based on integration testing? | I have read a lot about Fitnesse over the last week. From what I have heard, Fitnesse is commonly used as an acceptance testing tool that relies on a set of integration tests, as mentioned at Agile Testing: A Practical Guide for Testers and Agile Teams and some other books and pages. I am serching for a tool that allow... | Seems that you want to have a tool which can translate requirements/test cases (written by business people with no experience in programming) into executable code. In our practice FitNesse is not that tool. We started with FitNesse, and keep maintaining existing tests and even adding new when feasible, but these tests ... | 4 | 3 | 984 | 2014-12-10T16:25:45.267 | data_quality | sqa.stackexchange.com | |
317,932 | Sendmail configuration - Local domains | I was working on a sendmail server the other day and was really frustrated. Something in this machine somewhere is telling it to treat a domain as if it were locally on the box. The problem is, I can't figure out where this is getting done. It's not in the local-host-names file...there's nothing for it in the HOSTS fil... | I figured out what was causing it. For some reason, there were multiple PTR records setup and one of them was the domain that was in question. Sendmail is doing a PTR lookup on the hostname and automatically adding everything returned as a local domain | 2 | 0 | 952 | 2011-10-03T13:24:27.373 | infrastructure | serverfault.com | |
187,630 | Changing behaviour of abstract class without modifying subclasses | I am facing a problem with changing behaviour of a library (thus cannot or don't want to change its internals because of future updates, etc.). In this library there is an abstract class which shares few methods with all its subclasses. Now I need to change few methods in this abstract super class without changing the ... | First question--why do you need to change the logic of the abstract class? You seem to indicate that you don't want any of its current subclasses to inherit the changes, so I have to assume you want to write new subclasses which will. Given that the new subclasses don't exist yet, add a little indirection first: [CODE]... | -1 | 1 | 3,193 | 2013-02-19T21:16:47.397 | api_errors | softwareengineering.stackexchange.com | |
294,650 | question regarding moving IP's from one linux box to another | We are going to be moving IP's (via network) from one centos server to another. It's easy enough to add the range on the new server but there might be a problem. The primary server IP (in /etc/sysconfig/network-scripts/ifcfg-eth0) is one of the IP's being moved. We have some extra IP's on that server not being moved wh... | Yes. This is assuming: sshd is configured to listen on all addresses (it is by default, see /etc/ssh/sshd_config) no firewall restricting port 22 no authentication mechanisms that communicate to a remote server (ldap, wins, etc) which may be affected by similar rules above. That said, if you are able to SSH to one of t... | 1 | 1 | 84 | 2011-07-27T15:41:04.877 | infrastructure | serverfault.com | |
700,314 | How best way to rsync from aws s3 to gcloud? | I must execute a rsync ( not only copy or move ) from all my buckets from s3 to google cloud. I need create the same infraestructure of s3 to google. I have like 2Tera in s3, and all days I receive new files.. My solution today is gsutil rsync -r -m s3://bucket gs://bucket But this solution is slower . Do you have an i... | If you are synchronizing a large amount of data between clouds you might consider setting up a Google Compute Engine account and running gsutil there. Since cross-provider gsutil data transfers flow through the machine where gsutil is running, doing this can make your transfer run significantly faster than running gsut... | 2 | 1 | 4,496 | 2015-06-19T18:16:07.817 | infrastructure | serverfault.com | |
964,887 | ip.route iptable does not nat | [CODE] Here the schematic of the network I've build. My problem is when I try to configure the NAT in the B computer ''bash root@computerB#cat /proc/sys/net/ipv4/ip_forward 1 [CODE] when I whant to ping 10.5.0.1 from computer A it's work when I whant to ping 10.8.0.14 from computer A it's work when I whant to ping 10.8... | As explained in the comments, you should not do NAT here. You should use just regular IP routing. However, to fix the issue with NAT, change [CODE] to [CODE] in your IPTables rules. | -1 | 0 | 105 | 2019-04-27T22:33:58.737 | infrastructure | serverfault.com | |
28,247 | Performance Tuning for Huge Table (SQL Server 2008 R2) | Background: I have a fact table in UAT Phase. Objective to load 5 yrs of data in Prod (expected size 400 Mn records). Currently it has only 2 years of data in Test. Table Features: No of Dimensions ~ 45 Measures ~ 30 Non-additive measures and other columns~ 25 Current data size ~ 200 Million (2 years data) Time View: 3... | Upgrade to SQL Server 2012 and use columnstores . They thrive in these requirements. Seriously, download the evaluation edition and give it a try. Drop all indexes, drop the clustered index, simply add a non-clustered columnstore index on all columns and give it a whirl. I've seen cases just like your that reduced the ... | 14 | 6 | 7,804 | 2012-11-06T03:13:00.100 | data_quality | dba.stackexchange.com | |
741,487 | How to fix corrupted opencl.dll in Windows 10, if SFC and DISM are failing? | It took me several hours to fix the issue because the local component store was corrupted and the computers are accessing a local WSUS server instead of the public update server by Microsoft (and because I use Dism very rarely). For reference and to help other people with the same issue, I will write down a problem des... | To fix this problem, you need to have the ISO of the exact build you have installed. Mount the ISO image. Create a temporary directory to mount the Windows Image File (WIM). [CODE] Mount the WIM file. [CODE] Run Dism with the following parameters. [CODE] When done, unmount the image and delete the folder [CODE] It's ma... | 34 | 43 | 89,278 | 2015-12-08T08:44:07.777 | data_quality | serverfault.com | |
112,679 | Improve performance for order by with columns from many tables | Using PostgreSQL 8.4 , I'm trying to consult two tables with 1 million records using order by with indexed columns of the two tables, and I'm losing performance (with 1 column takes 30 ms and with two columns takes 5 minutes). E.g.: [CODE] Table Info: [CODE] Each table has 1 million rows. All rows in both tables are di... | Problem This is a more complex problem than is obvious on a quick glance. You are sorting by two columns, each from a different table, while you join on two other columns. This makes it impossible for Postgres to use the provided indexes and it has to default to (very) expensive sequential scans. Here is a related case... | 6 | 5 | 3,606 | 2015-08-27T19:48:00.660 | database_errors | dba.stackexchange.com | |
667,226 | stunnel4: Disable Secure Client-Initiated Renegotiation | How is it possible to disable Secure Client-Initiated Renegotiation in stunnel4? I'm using version stunnel 4.53-1.1ubuntu1 on Ubuntu 14.04 Trusty with OpenSSL 1.0.1f and stunnel 4.53-1.1 on Debian Wheezy with OpenSSL 1.0.1e. The stunnel docs lists an option for that: renegotiation = yes | no support SSL renegotiation b... | According to stunnel ChangeLog , [CODE] parameter was added in stunnel version 4.54 . That explains why stunnel 4.53 complains about Specified option name is not valid here The alternative solutions: Installing stunnel deb file with higher version for example stunnel for jessie (testing) or for sid (unstable) Doing sel... | 1 | 1 | 3,111 | 2015-02-12T19:52:26.167 | infrastructure | serverfault.com | |
889,265 | MongoDB not starting: Unable to create/open lock file No space left on device Is a mongod instance already running | MongoDB was already running for a couple of months then stopped suddenly. I ran: [CODE] then: [CODE] i checked the mongodb.log and got these: [CODE] which is weird because running [CODE] shows I still have a lot of space: [CODE] i also ran ls -la /var/lib/mongo [CODE] I installed mongodb with the root user and have bee... | More often than not, this error message is misleading. As you saw, the disk space is not the problem. If [CODE] failed and died before clearing the lockfile ( [CODE] ), the lockfile is still there, the new instance will not be able to create a new lockfile and will die with this error message. To restart [CODE] , first... | 2 | 2 | 4,967 | 2017-12-21T20:24:53.923 | database_errors | serverfault.com | |
321,503 | How to configure basic Jenkins HTTP authentication with Nginx? | I have installed nginx and made follow host: [CODE] After that I can access to Jenkinks in jenkins.mydomain.ru and it's require password. But I still can access to Jenkinks in http://mydomain.ru:8080/ without any password. How can I disallow access to Jenkinks in http://mydomain.ru:8080/ ? | Jenkins seems to be listening on port 8080, so nginx has no control over it -- you need to go to jenkins' config file and tell it to listen on 127.0.0.1 (local connections only), where I would guess that it's currently set to 0.0.0.0 (open to all) | 1 | 3 | 3,806 | 2011-10-14T15:10:30.097 | pipeline_ops | serverfault.com | |
213,548 | Oracle 12 Startup upgrade throws error 443 | Please follow the logic of my attempts at upgrade before suggesting a fix. The error 443 is not the main problem here. we are upgrading from oracle 11.2.0.4 to 12.2.0.1 on a Solaris 11.3 server 'test'. all upgrades are successful except the one database called VIT which throws the error on startup upgrade (after loggin... | We got to the bottom of this eventually! It was an oracle group write (g+w) permission missing in the parent folder of the diagnostic_dest structure. Why it gives an error 443 and not a simple write permission error, only the oracle engineers who created this enigmatic diagnostic_dest structure will know! | 3 | 1 | 1,079 | 2018-07-30T09:24:22.470 | database_errors | dba.stackexchange.com | |
228,812 | controlling the bandwidth using tc | I have two NICs. eth0 is connected to the internet and eth1 is connected to the LAN. I want to restrict the download limit using iptables and linux tc. So I wrote a test script to verify if it is working. My iptables configuration is as below. [CODE] My ingress configuration is as below. [CODE] Can you please tell me w... | [CODE] Traffic in netfilter fall after pass ingress discipline at the interface so that your mark not care. Use 'tc filter ... u32'. | 1 | 3 | 2,673 | 2011-01-30T15:11:20.217 | infrastructure | serverfault.com | |
771,900 | Passing SAN Storage to Virtual Machine in active/passive HA Cluster | I need to attach a fibre channel SAN disk to one virtual machine that resides on an active/passive cluster (pacemaker, corosync). As it is the backup storage, corruption has to be strongly avoided. Although using fencing, is it enough to trust that the machine only runs on one machine at the same time or should I for e... | If you are fencing hosts with for example impi and one node gets shot in the head with your backup DB running then it's very possible that you will corrupt the database unless it's on a fault tolerant partition that the other host can pick up- can't you use something like galera across the corosync cluster? https://mar... | 1 | 1 | 262 | 2016-04-21T08:06:50.010 | data_quality | serverfault.com | |
335,656 | How many folders you can mount on centos from windows shared folder using Samba with CIFS protocol | Currently I have an interesting problem to solve: In short I will need to pull custom text application log files from server windows servers (Mixed environment of windows server 2008 / 2003 sp2 64bit) So that all log files are centralized in one location. The requirements are: I will need to pull log files from windows... | This isn't an answer to your exact question, but in my experience about mounting network filesystems in general (although I don't have up-to-date experience with smbfs on Linux) is that mounting a lot of network file systems can mean deadlocks in case one of the servers goes gown. I would suggest as an alternative to u... | 1 | 2 | 617 | 2011-11-29T03:40:26.967 | infrastructure | serverfault.com | |
107,930 | Comparing Visual Foxpro with .NET | I used Foxpro 2.6 a decade ago. In my present company, few new projects are being developed in Visual Foxpro 9.0 and few projects are on .NET platform. From time-to-time I notice how Visual Foxpro is more powerful as compared to .NET when comparing dependency issues. Here are some of the advantages of VFP I noticed: Th... | There is no hard and fast rule to use another full-fledged RDBMS. Even though the latest version of Visual Foxpro can be connected to SQL Server, but I have seen very large projects still, happily, using the old DBF. With .NET you have to connect to another RDBMS and it just adds to your Setup dependency. no you don't ... | 0 | 1 | 1,682 | 2011-09-13T15:30:44.950 | database_errors | softwareengineering.stackexchange.com | |
977,078 | Modify response URL or Location header Apache2 mod_proxy | I have a WordPress site running in a server where now I need to deploy a web app on and since our SSL certificate is not wildcard it has to be under the same domain name too. Now it's running on a different port but users are complaining that is not that friendly to access. I've setup a reverse proxy because the app is... | You can remove the entry from the .htaccess files, the file is never read for requests with [CODE] as they are proxied. You have a misconfiguration there: [CODE] Those entries should be identical, both being either [CODE] or [CODE] , depending on the configuration of your appplication. They should also either have a tr... | 0 | 0 | 848 | 2019-07-29T07:04:14.587 | api_errors | serverfault.com | |
1,044,068 | master fails after adding a second master | Runs under Virtualbox. 5 machines: 2 workers nodes, but I don't even get to that point. 1x load balancer, ubuntu running haproxy, on 192.168.20.10, configured like so: [CODE] 2x master node, complete replicas. kubeadm v 1.19.4, docker 19.03. crio 1.17,Kubernetes v1.19.4. kubernetes-master-1 192.168.20.21 kubernetes-mas... | OK! So this was all fixed by adding --apiserver-advertise-address=192.168.20.22 to the second master. Boy. So when you use you join command on the secondaries server(s), make sure you add [CODE] and the address of that server, Not the first master, but this master. | 0 | 1 | 1,429 | 2020-11-26T22:35:05.493 | pipeline_ops | serverfault.com | |
7,519 | How can I monitor the call count per stored procedure per timespan? | In order to diagnose some performance issues I would like to get a better understanding of the number of times certain procedures are called compared to the system performance. Is there a way to get the number of times each procedure has been called during a certain timespan? | You can get this (and more) from Dynamic Management Views (DMVs). To get statistics for a particular stored procedure, try the following query. [CODE] To look at the most frequently executed procedures: [CODE] The values reported are cumulative since the last restart. If you want to measure over a fixed period, use the... | 10 | 18 | 28,073 | 2011-11-02T16:05:23.777 | database_errors | dba.stackexchange.com | |
316,401 | IPerf - Reverse test | I'm trying to perform a test using IPerf but in a special case. Usually iperf client send data to iperf server, what I need in this case is the server send data back to the client in the same connection. I don't want a bidirectional test, as it does open a new tcp connection back to the client, and that isn't what I'm ... | I think you're asking the same question as at: iperf-like bidirectional bandwidth measurement through NAT I responded there, but the tl;dr is that I found a patch for [CODE] that enables NAT'd clients to initiate reverse TCP iperf tests. The full, patched [CODE] code is here: https://github.com/tierney/iperf | 2 | 1 | 6,943 | 2011-09-28T14:15:14.593 | infrastructure | serverfault.com | |
586,965 | I can´t send emails server with Postfix in Debian | im trying to sent mail through php, in a Debian server with postfix, when i run the following script in the server, the code tells me that the email was sent successfully, This is my code: [CODE] But, when I check the mail of the recipient, is not in the inbox the mail that was sent. What files should I change in the c... | Based on the log entry: Apr 5 16:21:27 tesisvergaraomana postfix/smtp[10172]: 3427C22E015: to= , relay=gmail-smtp-msa.l.google.com[74.125.196.109]:587, delay=0.54, delays=0.1/0.01/0.37/0.07, dsn=5.7.0, status=bounced (host gmail-smtp-msa.l.google.com[74.125.196.109] said: 530 5.7.0 Must issue a STARTTLS command first. ... | 1 | 1 | 1,905 | 2014-04-05T21:36:27.723 | infrastructure | serverfault.com | |
102,496 | How do I deal with unbalance classes in a stock market prediction problem? | I am working on a prediction model to predict whether a stock should sell, hold or buy in [CODE] days. Each day (or row in the dataset), I classify whether this should be sell, hold or buy based on the percentage change and a new column will be created to indicate what is the action for that particular day. How should ... | What percentages are you using for buy, hold and sell classes? From the data you share in the question, I am guessing it is a stock that has been going up rather than down for the most of the days. So, if you increase percentage cutoffs you have for the stock, you will have a balanced data. As you don't share the detai... | 1 | 0 | 376 | 2021-09-26T10:11:10.610 | data_quality | datascience.stackexchange.com | |
215,382 | Understanding CleanupTime in Ola Hallengren's SQL Server scripts in relation to FULL backups and LOG backups | I am having trouble understanding what exactly to expect from the [CODE] option in the Ola Hallengren Server Maintenance Solution . I'm finding some related questions, and elaborate answers, but the explanations still puzzle me a bit. Specifically: I am doing a weekly FULL backup, a daily DIFF backup, and an hourly LOG... | The [CODE] is always specified for a specific backup job. For example, if you create a Full backup job, a Differential backup job and a Transaction Log backup job, then the [CODE] always relates to the extension of the job. Let's take a look at a Full backup example. Full Backup If you create a full backup job, then yo... | 12 | 27 | 17,626 | 2018-08-20T12:42:03.247 | database_errors | dba.stackexchange.com | |
298,929 | C CGI invoked by apache 2.2 on Windows 7 cannot read environment variable | I have a C CGI that is invoked by Apache, both running as SYSTEM. The CGI relies on the setting of WINDIR and TEMPLATES environment variables. It gets the value of WINDIR without any problems but getenv("TEMPLATES") always returns NULL. TEMPLATES is a system variable. Another post Win Service running under LocalService... | Fixed this by adding a PassEnv directive to my Directory context: [CODE] Documentation here http://httpd.apache.org/docs/2.2/mod/mod_env.html#passenv | 0 | 0 | 204 | 2011-08-08T16:47:40.963 | infrastructure | serverfault.com | |
269,425 | Collecting VLF information on all versions of SQL server | Based on my monitoring collection, i am having an issue while collecting info regarding how many VLF' i have for # of databases in SQL instance. 1st issue - Is there a single script which can be used from 2012 - 2019 SQL versions as standard to get the VLF info across all databases in an instance 2nd issue - how can i ... | The first problem goes away if you solve the second with a Signed Stored Procedure installed in Master . If there are any version differences required, you can have different versions of the procedure for different SQL Server versions. Then the script is a just a call to the procedure. [CODE] | 0 | 0 | 69 | 2020-06-18T18:47:12.370 | pipeline_ops | dba.stackexchange.com | |
507,722 | Grub can't find Xen multiboot file | I am running Debian Wheezy on a software RAID 0 with LVM. I'm trying to get Xen to work but grub refuses to boot in it. I installed Xen by following the instructions here: http://wiki.debian.org/Xen Upon reaching [CODE] I get [CODE] followed by [CODE] There's nothing wrong with the file though. Here's the grub.cfg entr... | I googled after "xen grub2 multiboot" and found a similar question on Superuser . I think the baseline of the answer is that the kernel did not match. Strange to me is the missing /boot prefix in the solution, but it might be that he did put /boot on a partition of its own. | 1 | 1 | 2,769 | 2013-05-14T15:49:39.573 | infrastructure | serverfault.com | |
214,604 | How to convert the JSON date with to_date function | How to convert the specific string Aug 6, 2018 3:17:11 PM with the function to_date? That string is a result of a Java parsing mechanism for JSON. I would like to be able to recover it directly from oracle. My real problem is much more comprehensive that looks to be. It evolves the APEX_JSON usage, but it is not the qu... | [CODE] Datetime Format Models | 0 | 0 | 1,091 | 2018-08-10T13:27:17.537 | database_errors | dba.stackexchange.com | |
209,514 | Setup secondary server for Transaction Log Shipping without connection to primary server | I'm having a hard time with SQL Transaction Log Shipping with the following premisses: Server A, where data gets loaded to the database Server B is on a remote location The two servers never share a common network and can communicate via common protocol. (HTTP, Email etc.) The internet connection on Server A is slow an... | There are a series of stored procedures that must be executed to setup log shipping on the secondary server. Normally this is done by SQL Management Studio when you set up log shipping on the primary server. This MSDN article should be what you need: How to: Add a Secondary Database (Transact-SQL) | 1 | 1 | 609 | 2010-12-06T10:13:41.700 | database_errors | serverfault.com | |
39,475 | ORACLE restore - how to restore specific .bkp file? | I just started working with oracle and I have some issue. My database is NONARCHIVELOG mode. I made two backups: they are at locations: [CODE] I want to restore second file from 7th April. I read some guide on: http://orafusion.com/art_rman3.htm but I can not find command how to specify restore command with specific ba... | TL;DR: Just supply the tag of the backup you want to restore the database from, for example [CODE] DISCLAIMER The solution provided here is based solely on my own experience, you use it on your own risk. I'm not liable for any damages (including data loss) caused by using this solution. Also, do I always need to restor... | 5 | 5 | 56,865 | 2013-04-08T09:55:50.653 | hadoop_errors | dba.stackexchange.com | |
169,517 | Storing large files (~1GB) in MySQL | We are considering a solution that will store large files in MySQL with InnoDB. The size of the files can range from 250MB - 1GB (might grow up to 50GB in future). Here is what the plan is. Create two tables similar to FILES(id, name) and FILE_PARTS(id, file_id, sequence int, data LONGBLOB). Add a reference to each fil... | (OK, assuming that files bigger than 4GB must be stored in a table...) Going past 4GB requires chunking of some form, since that is the [CODE] limit. There are many settings that will trip you up. The settings occur in MySQL server, mysqldump, MySQL replication, Apache, networking, various timeouts, etc, etc. A 1MB chu... | 3 | 2 | 5,302 | 2017-04-08T15:39:18.390 | data_quality | dba.stackexchange.com | |
63,450 | What data will be lost with DBCC CHECKDB (REPAIR_ALLOW_DATA_LOSS)? | I have a corrupt database. The last known good backup was over 2 weeks ago. I've run a CHECKDB and have the page numbers where SQL Server located the corruption. I've looked at the data on the pages before and after the corrupt pages using DBCC PAGE and I am certain that the corrupt data is contained to a single day ba... | Yes, if you know what data to insert after corrupt data pages are deleted, you should be fine. make sure you find out the root of corruption to prevent it from happening. also, once everything is fixed, then do a full back and restore it on a different server to make sure everything is fine. Your plan sounds good to me... | 0 | 1 | 3,293 | 2014-04-17T21:58:28.797 | database_errors | dba.stackexchange.com | |
977,842 | Master-Slave replication for Mongo4 | I have two databases with the same data (~1TB): one for write with no shards and indexes I need for updating, and the second one for reading sharded and indexes only for reading. How to setup automatic replication between two databases? I need to have these databases syncronized. Now I'm using message queue and scripts... | I have two databases with the same data (~1TB): one for write with no shards and indexes I need for updating, and the second one for reading sharded and indexes only for reading. How to setup automatic replication between two databases? I need to have these databases syncronized. What you are describing is sync between... | 0 | 1 | 72 | 2019-08-03T13:40:49.367 | database_errors | serverfault.com | |
326,648 | What limits the maximum number of connections for a Terminal Server? | We have a several Windows Server 2008 application servers in our organization. Some of them have Terminal Server role enabled. What is the mechanisim that limit the number of user connections for Terminal Server computer? | It depends on the CAL that you have ... More CAL you buy, more connections you have :D | 1 | 2 | 359 | 2011-11-01T13:05:45.007 | infrastructure | serverfault.com | |
249,820 | Performance optimization: Alternative to LEFT JOIN the same table twice | I would like to extend the following query with the commented out LEFT JOIN. However, those lines make the query noticeably slower. The query is used for an API to lookup user IDs by phone number and things need to be fast. So, is there a more performant alternative to joining the same table twice with different ON cla... | I think this will do what you are asking. [CODE] That said, there are a few things you could do differently. This might be better, not sure, but as long as it's not slower it's probably easier to maintain. [CODE] Now, assuming that you do in fact only need the ivr.ID (at least not anything from ADDR_MASTER) you could d... | 2 | 2 | 2,744 | 2019-09-27T18:25:56.810 | warehouse_errors | dba.stackexchange.com | |
1,032,080 | Problems with MySQL replication. Why binlogs grows so fast? | I have 2 MySQL servers: Master server: mysql version 5.7.14 Slave server: mysql version 5.7.14 in Docker container (from official docker hub). GTID-replication. I have two problems: Binlogs growth very fast. I set 2 days limit rotation, but this not help - every day binlog folder increases at least twice (first day 25G... | I found solution for my case First of all, I search what databases and tables generates so big binlogs (what tables don't have primary or unique keys): [CODE] Then: My network speed already been 1Gbit/s, there is all ok. I exclude from replication and logging database which recreated every day. I increase on slave RAM ... | 1 | 0 | 3,155 | 2020-08-31T01:47:42.700 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.