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 |
|---|---|---|---|---|---|---|---|---|---|---|
440,132 | Why is SMF manifest losing configuration data when exported on SmartOS? | I'm running a server process under SMF (Server Management Facility) on Joyent's Base64 1.8.1 SmartOS image. For those not aqauinted with SmartOS, it is a cloud-based distribution of IllumOS with KVM. But essentially it is like Solaris and inherits from OpenSolaris. So even if you've not used SmartOS, I'm hoping to tap ... | Because svccfg(1M) is broken, and I broke it. Back in 2007, I added a feature to SMF that allowed for property groups that could contain sensitive information, readable only by users with appropriate privileges. The idea was that you could add a "read_authorization" property to a property group, and anyone who was neit... | 10 | 16 | 719 | 2012-10-19T09:13:03.610 | pipeline_ops | serverfault.com | |
615,978 | How do I set up FSyncMS on NGinx? | I'm trying to set up FSyncMS (a minimal php weave/sync1.1 server in php) on a server. I've gotten as far as setting up the back-end but I'm running into the problem that I can't find a way to properly have nginx (my front-end web server) pass the requests to the php script. The sync client passes parameters to the serv... | Posting my own answer here for future reference. After getting some more help with try_files from a colleague and examining the script in more detail, the problem is twofold: 1) fsyncms doesn't like being in the root of a host. it would clean up the path by removing a trailing slash, but in case of / that would leave a... | 0 | 0 | 253 | 2014-07-28T13:14:05.443 | infrastructure | serverfault.com | |
94,354 | MS SQL Server CPU load goes up dramatically when turning on 2014 features by setting compatibility level | I'm running some Microsoft SQL Server 2014 load testing on a decently spec'ed machine. I'm certainly not an expert on the SQL Server tuning specifics, but with the bits an pieces I've gathered from various places I think the setup is quite OK. One element in the performance does puzzle, hence I'm reaching out here. The... | I would suspect the new cardinality estimator as a responsible for this behaviour, you can read up on it in the msdn article It is clearly stated that the new cardinality estimator takes effect when you put the database in the new compatibility mode. Upgrade all existing databases to use the new cardinality estimator. ... | 4 | 8 | 5,339 | 2015-03-02T13:25:02.183 | database_errors | dba.stackexchange.com | |
167,364 | Setting the right Max Server Memory value on an Active/Active SQL Server Clustered Environment | I have looked around in the dba stack exchange and have not being able to find an answer to this one, so here it goes my concern. Hopefully somebody has done some research on it and can provide an authoritative answer. We have an Active/Active SQL Server cluster running on 2 nodes. SQLA is the default node for one inst... | Please note this is called multi instance cluster not active active actually. Your concern is correct about what would happen when both nodes are on same node, in that case you need a dynamic script would identify a failover and adjust SQL Server max server memory accordingly. Let us focus on how to set max server memo... | 1 | 1 | 846 | 2017-03-16T15:24:50.167 | database_errors | dba.stackexchange.com | |
490,716 | LVM+MongoDB. Dropping in speed of backup creation | Till recent time we have been making mongo backups archiving LVM snapshot on hidden SECONDARY server with RAID10 on SAS disks. Currently operation on making snapshot from volume with 500 Gb of data on it takes lo-o-o-ong time. Final archive is about 100Gb, and after creation of first 35 Gb during 30 minutes disk speed ... | Regarding the LVM snapshot slow down, if you are doing a lot of randomly distributed writes over a large number of files, which you would be if you were inserting/udpating documents on a large MongoDB dataset, then LVM may indeed struggle to keep up. A repair / compact on the database (or a resync of the node from scra... | 2 | 0 | 788 | 2013-03-23T09:41:18.527 | database_errors | serverfault.com | |
796,904 | How to forward one local network via VPN and another one directly? | I have CentOS Linux 6 based software router. I have 2 local networks, lets say [CODE] and [CODE] . I have one Internet connection, and I have VPN connection that I run via this Internet one. I use [CODE] and DHCP server to share Internet connection. When I enable VPN, both [CODE] and [CODE] traffic goes through VPN, wi... | I can't tell you how... but I can tell you theoretically. Most likely, your VPN consists of only a specific network (or set of networks). You would want to set up Split Tunneling to say in Pseudo: "Any traffic destined for 'VPN network,' go through VPN Connection." Then your 0.0.0.0 default route would be all set up to... | 0 | 0 | 4,430 | 2016-08-15T14:59:03.367 | infrastructure | serverfault.com | |
990,119 | Nagios Core 4.4.5 Ncpa 2.2.0 Monitor Disk Usage in Windows Machines | I'd like to achieve the following result: from nagios core 4.4.5 receive disk usage information on several windows servers using ncpa 2.2.0. Right now I did the following thing. I configured in nagios core the nrdp. I configured in nagios core the host and the service. [CODE] I configured on the windows server the pass... | my mistake the disk check needed extra parameters. [CODE] | 0 | 0 | 1,824 | 2019-10-31T10:55:57.033 | infrastructure | serverfault.com | |
320,100 | Cannot Send Item error in Outlook - permissions to registry? | The issue I am trying to solve is to do with users getting a Cannot Send Item error in Outlook 2007 connecting to Exchange 2007. Basically if there is an image in the email (either one they have pasted in or one from another email in the chain) they get a "Cannot Send Item" error. Initially thought it was a citrix issu... | Well this seems like it may be incorrect but finally twigged what was causing this. Turns out it was WinZip and not the Outlook updates as previously suspected. Something in the WinZip release we are using (version 12) was causing this. Disabling the Oulook Companion that it installs allows all messages to be sent. We ... | 2 | 0 | 1,007 | 2011-10-10T11:06:27.073 | infrastructure | serverfault.com | |
40,318 | Is it possible in Oracle to trace SQL statements that result in errors? | We have Oracle 11g in production. Application system is still under active development. It will be very handy to get SQL statements which cause any error. Does Oracle provide a standard function to trace and log these statements and additional (debug) info? | While I'm not sure if it's the easiest way, you can use an [CODE] trigger to log all errors to a table. From Log all database errors to a table by Ferdous Nadvi: [CODE] See also Oracle System Event Triggers on PSOUG and the official documentation for system event triggers | 1 | 7 | 6,932 | 2013-04-18T07:14:34.617 | database_errors | dba.stackexchange.com | |
289,006 | key exchange on auto install to allow password-less auth (via SSH) | My system/product consists of two boards, networked directly together, and then one of them to a third windows debug machine (the eyes via SSH, as they boards are head-less) I have a automatic install script of a linux distro (RHEL 5.3) A user will install one board at a time, and they both should be configurable/insta... | According to this blog post , the quickest and simplest way to resolve this problem is to specify that the [CODE] file be written to [CODE] : [CODE] | 0 | 1 | 149 | 2011-07-11T12:58:12.827 | infrastructure | serverfault.com | |
73,845 | Problem with basic understanding of polynomial regression | I have an understanding of simple linear regression. Clear that results in a fitted line like this: However, studying polynomial regression is a bit of a challenge having some questions about the process. I understand the idea that fitting a curviliear "line" could follow the data more precisely. But seeing the followi... | "Linear regression" (aka. "ordinary least squares", OLS) refers to the type of estimator. Linear here means that you minimise the sum of squared residuals for a given (linear additive) regression equation. You can write a simple model: $$y = \beta_0 + \beta_1 x_1 + u. $$ This would fit a linear function with intercept ... | 5 | 3 | 697 | 2020-05-09T09:17:39.230 | data_quality | datascience.stackexchange.com | |
395,730 | iSCSI MPIO load balancing with HP P2000 SAN | My setup: A hyper-v cluster with 2 nodes (AMD 24 cores, 64gb ram) connect via 2 procurve 25-10g to a p2000g3 SAN (12x300 GB enterprise SAS 10k 2.5"). Each node is an iSCSI initiator. Problem: When I run a VM on a node and launch a basic crystamark disk benchmark, my MB/s are 80 for both read and write. This is poor. Wh... | Your performance will vary based on the type of benchmark. If you're doing sequential reads or writes, you should be able to get a large amount of MB/s performance from the disks. This is not a useful benchmark because that's not the type of IO a virtual server does, usually. If you're doing small block random IO, your... | 3 | 3 | 2,614 | 2012-06-05T14:09:38.897 | infrastructure | serverfault.com | |
833,231 | After hardware RAID array expansion fdisk wont allow me to use additional available sectors | We have a large ~18TB hardware raid array on a Dell R720xd. Currently the RAID5 array consists of 6x4TB and I needed to extend it. Step 1 expand the hardware raid array. Simple enough if you have the dell admin tools installed. [CODE] ( new disks were the last two, which can be confirmed by using the [CODE] tool) That ... | The problem was the backup partition table location. Normaly you expect primary partition table at the start and backup partition table at the end. The disk resize made more sectors available but never moved the backup table. fdisk did not like this and I believe that was the [CODE] error message. Not exactly clear. I ... | 10 | 6 | 2,591 | 2017-02-17T16:04:49.383 | infrastructure | serverfault.com | |
58,762 | Data Warehouse design for reporting against data for many time zones | We are trying to optimize a data warehouse design that will support reporting against data for many time zones. For example, we might have a report for a month's worth of activity (millions of rows) that needs to show activity grouped by the hour of the day. And of course that hour of the day has to be the "local" hour... | I've solved this by having a very simple calendar table - each year has one row per supported time zone , with the standard offset and the start datetime / end datetime of DST and its offset (if that time zone supports it). Then an inline, schema-bound, table-valued function that takes the source time (in UTC of course... | 10 | 18 | 4,387 | 2014-02-12T16:40:39.300 | warehouse_errors | dba.stackexchange.com | |
67,176 | Data Science Pipelines vs Common CD/CL | What is the advantage of Data Science Specific CI/CD (kubeflow, Algo, TFX, mlflow, sagemaker pipelines) vs the already baked flavors that are more generic: Jenkins, Bamboo, Airflow, Google Cloud Build, ... My guess is the Data Science ones give more structure around the common ML operations and are better optimized for... | TData science pipelines are designed to manage the end-to-end data lifecycle (e.g., clean data, fit model, and serve model). CI/CD pipelines are more general purpose software engineering tools around the automation of common tasks (e.g., running a testing suite). The advantage of using data science pipelines is that th... | 5 | 1 | 343 | 2020-01-29T00:51:00.527 | pipeline_ops | datascience.stackexchange.com | |
556,922 | Preventing a Domain Computer from Logging off Causes loss of Authentication | I have a set a domain computer to not require a password on wakeup. This is a strange situation I know but we want the user to never have to login to the computer unless he specifically logs out or restarts the computer. This itself works, however when the user returns to the computer the next day and is still logged i... | You probably are running into the default Kerberos user ticket expiration time - which is 10 hours by default. Technically, if you really need the authentication to never expire, you might set the expiration time for user tickets to 0 (turning off expiration): Note that this is a domain-wide setting with severe securit... | 5 | 9 | 678 | 2013-11-23T00:31:29.323 | api_errors | serverfault.com | |
1,151,879 | Ensure application continues running on server after RDP is disconnected | I have an application that runs on Windows Server 2019 Datacenter. This application is run by a specific user log-on. The user must remain logged in to Windows for the application to continue running. When the account logs off the RDP session, the application closes after some time. When the account logs on again with ... | It's a very bad practice to run an application process in an RDP session. Either try to run it as a windows service or using task scheduler. You can create custom windows services using PowerShell. | -1 | 0 | 363 | 2024-01-19T18:18:02.077 | infrastructure | serverfault.com | |
881,144 | Scheduled Task in Windows Server 2016, run by non-admin Users | In earlier windows server versions (prior to 2016) it was possible to grant non-admin users the permission to run a scheduled task by doing following steps: Scheduled Task: run under system, execute script Give user read and execute rights on specific task under C:\Windows\System32\Tasks\ Now in server 2016 this doesn'... | After digging into the topic for a while and also trying some suggestions I've came up with this script which requires the PsExec tool from PsTools/SysInternals from Microsoft: [CODE] Background: Obviously since Windows 10 (and corresponding Windows Server 2016+) the security settings are not used from the task path (C... | 9 | 1 | 23,759 | 2017-10-31T09:27:00.143 | infrastructure | serverfault.com | |
173,438 | Is network traffic encrypted when writing remote backups using SQL Server TDE? | They do say there is no such thing as a “stupid question”, so here goes: I understand that SQL Server Transparent Data Encryption (TDE) encrypts data at rest, so that your database files (.mdf) and your backup files (.bak) are encrypted should someone break into your storage and steal those files. I also understand tha... | Yes, backups are encrypted while moving over the network because TDE data is encrypted on disk, and the backup operation never decrypts it . Paul Randal's Backup Myths : Myth 30-09) backups read data through the buffer pool No. The backup subsystem opens its own channels to the database files to avoid the performance h... | 9 | 8 | 477 | 2017-05-12T14:03:49.123 | database_errors | dba.stackexchange.com | |
876,727 | How to use Let's Encrypt with both EC2 and Cloudfront? | I want to use Let's Encrypt certificates for both EC2 and Cloudfront. I am creating a wordpress installation EC2 t2.micro using Ubuntu 16.04(HVM) AMI and nginx. EC2 region will be us-east-2 (Ohio). I can create Let's Encrypt cert using the certbot for the EC2 and can upload the cert to AWS IAM through CLI to use for Cl... | Use the AWS Certificate Manager to create the cert for CloudFront. Use Let's Encrypt for the instance security certificate. I've done this, it works fine. | 3 | 3 | 1,365 | 2017-10-03T23:23:44.493 | infrastructure | serverfault.com | |
488,514 | Oracle 10g on RHEL - All memory gets eaten up nightly at 20.15 | Okay, to start things off, I'm brand new to Oracle DB. Much experience with Microsoft products (boo) and Ubuntu linux, but RHEL and Oracle are very new to me. The environment ... Oracle DB 10g Standard v10.2.0.1.0 - 64bit, on RedHat Enterprise Linux 5. Total database size is less than 8GB. The issue ... Every night at ... | First off, what the Oracle people say isn't a "ridiculous answer", it is just that Oracle is running some housekeeping tasks at that time, probably through [CODE] . If that time is inconvenient, you should ask how to reschedule them. Your memory usage graphs look fine. When Linux loads data into memory, it stays there ... | 0 | 1 | 1,678 | 2013-03-16T22:09:13.937 | database_errors | serverfault.com | |
786,358 | FQDN for server with various domians | I have a question regarding setting the FQDN on a server, well, technically, a vserver that serves a variety of domains. I have understood that the FQDN is a globally unique address that points to a specific computer/host in the internet. So, if I had a subdomain test for the domain domain.com then I could set my FQDN ... | FQDN is a globally unique address that points to a specific computer/host This is actually wrong. As an example, with Round Robin DN S, a FQDN can point to multiple computers. The "fully qualified" in FQDN just means that it's not just a host name like [CODE] or [CODE] , but includes the full domain, e.g. [CODE] . I am... | -1 | 2 | 238 | 2016-06-26T13:57:09.743 | infrastructure | serverfault.com | |
823,668 | Setup two SSLs for different subdomains with same document root | I have this directories: [CODE] It means, that I don't specify each website subdomain, but I just create subdomain in this directory and my .htaccess will take care about this. Now I'm solving this problem - I have SSL certificate for domain app.example.com but I also need to set SSL for cdn.example.com and I don't kno... | You are testing SSL without the servername identifier. To have more than one SSL certificate per IP, your clients will need to use the SNI extension. So to test with OpenSSL, you need to set [CODE] . Your command will then be: [CODE] | 0 | 2 | 197 | 2017-01-02T08:59:27.647 | api_errors | serverfault.com | |
584,536 | FastCGI protocol over the network | For a reason that is beyond my control, there is a web server (fairly standard Debian/Apache deployment) sitting on our NAT'd network which takes all traffic to ports 80 and 443. I can't change that. This machine happens to be 32-bit (again, not me making the decisions as I would have done this differently) and a littl... | Yes it is technically possible, however, I would strongly advise against going down this road. It doesn't sound like you have the necessary control over the environment in order to implement it properly. Sysadmins inheriting this system will not be pleased with your HACK. :-) | 0 | 1 | 290 | 2014-03-26T03:28:45.287 | pipeline_ops | serverfault.com | |
71,757 | Special characters in Oracle utl_http request | When calling a web service using [CODE] , the calls fail when the SOAP envelope contains characters like [CODE] , [CODE] or [CODE] . [CODE] I thought that [CODE] in [CODE] should take care of that, but it still bombs and the characters above have to be replaced to their ASCII multi-characters equivalents beforehand. Th... | The problem is length or lengthb functions treat these special characters as 1 byte but write_text function (correctly) considers these as 2 bytes. Hence a mal-formed XML is sent to the server. To resolve this error please use the following instead of the length / lengthb function. lv_clob_length_bytes := utl_raw.lengt... | 1 | 1 | 9,713 | 2014-07-17T13:12:39.940 | database_errors | dba.stackexchange.com | |
842,218 | Apache HTTP to HTTPS redirect not working | I am trying to set up a default HTTP to HTTPS redirect. Somehow neither [CODE] nor [CODE] work. Am I missing something obvious? [CODE] | Here's an example from a config I wrote in the past using mod_rewrite . [CODE] | 1 | 2 | 1,876 | 2017-04-03T11:34:58.933 | infrastructure | serverfault.com | |
722,776 | How do I run hiera standalone to test values? | Presumably on my puppet master I can run hiera from the command line to see how a particular node would generate a variable set, but it's really hard to find a working example of that. I've tried using the puppet inventory and using mcollective, both with an error: [CODE] Searching on those error messages uncover some ... | You can't dump the whole of the hiera data for a node. If you look at the api for creating custom back-ends for hiera you'll see that there's nothing for returning the whole data set or a list of keys, just a way to get the value associated with a particular key. Keep in mind that a wide range of back-ends are possible... | 3 | 1 | 1,478 | 2015-09-16T16:45:11.177 | pipeline_ops | serverfault.com | |
190,044 | Longest subsequence without string | Does there exist a dynamic programming algorithm to find the longest subsequence in a string X that does not contain Y as substring? Just that this problem seems so similar to other DP string algorithms such as longest common subsequence and string. It must be able to handle occurrences of Y that overlap. It seems that... | This should do the trick. I wrote it in a meta code similar to basic. [CODE] | 8 | 1 | 1,166 | 2013-03-10T18:15:00.517 | api_errors | softwareengineering.stackexchange.com | |
418,605 | Web Site Hosting Issue - Windows AD Domain Externally Resolvable | Up until recently we hosted our company web site on an internal Win 2008 IIS server. To ensure that it stayed online in case something happened to the office, we moved the site to some cheap shared hosting with a popular provider. For the most part things are fine but I have run into one problem... Unfortunately when t... | Cliff, Yea I know what you mean, been there and done that. The safest thing you can do is what you have already done by adding a www record. You really can't add a wildcard record because any request for Domain.net will then redirect externally. This is especially true if you rely on DNS for all computer name based loo... | 1 | 3 | 355 | 2012-08-17T13:48:06.173 | infrastructure | serverfault.com | |
103,496 | Unable to start SQL Server Agent | We are unable to start SQL server Agent and it fails with below error: SQLServerAgent could not be started (reason: SQLServerAgent must be able to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the SysAdmin role). Checked that Service account to run agent is added in admin group on the server. Che... | Use the SQL Server configuration manager to change the SQL Server Agent user account. Change it to run as local system, apply and restart and then back to the correct user, dont add any privileges to the user in the operating system (esp. not add it to the server local administrator group). The Configuration manager wi... | -1 | 0 | 1,369 | 2015-06-08T13:31:39.867 | database_errors | dba.stackexchange.com | |
627,388 | How to inhibit repeated checks to mod_auth_basic by mod_autoindex? | In Apache 2.4 , When using both [CODE] and [CODE] on a directory, the indexing of that directory causes [CODE] to perform a password hash and lookup from scratch once for every single file/subdirectory in the directory. If using a string password storage hash like high-cost bcrypy, this can cause huge delays. Moreover,... | Following the Apache httpd request handling code , that does not seem to be the case. If I'm reading it right, the authentication/authorization is done once for the main request. The mod_autoindex module will work in the output chain to generate the content, once it has been authorized to so. The only authorization-lik... | 1 | 0 | 183 | 2014-09-09T19:24:24.273 | api_errors | serverfault.com | |
185,571 | Questions about Polymorphism | So I understand the importance of Polymorphism, including how vital it is. But something I don't quite understand is what about the [CODE] and any inherited [CODE] the initial [CODE] may have. For example, I have a class to test some criteria- Level of account, Windows Version, and some other checks. [CODE] So that wou... | Two points; Firstly the constructor should generally be used for initial setup only. In your case it would loading any dependencies and suchlike, not doing the actual check. Secondly (and more importantly) inheritance should be used in a case when you can share code between similar classes. This case dosent promote cod... | 2 | 4 | 980 | 2013-02-01T17:24:06.517 | api_errors | softwareengineering.stackexchange.com | |
711,335 | Symbolic or hard link to UNC path: logon failure | I have a Synology NAS that exports a backup directory that I wish to access locally in a folder. I had this working before with a previous Synology NAS but I don't remember how I did it. So I open an eleveted cmd prompt, cd to the directory and then execute: [CODE] Creates the link fine, but there's permissions issue o... | I finally managed this. The programs I'm running off of this share require privilege elevation, at which point they lost access to the share for some reason. So the key is to map the drive persistently while in elevated mode: [CODE] Previously this resulted in the "Login failure" error. Edit: and if you have to do this... | 3 | 4 | 13,686 | 2015-08-06T14:26:56.960 | database_errors | serverfault.com | |
283,206 | SQL Error [42501]: ERROR: permission denied for table | I am very new to postgres so please my apologies in advance if I sound naive. I am still trying to learn. I am trying to create a readonly role and then create a role and assign readonly role to the user. I logged in as postgres user [CODE] Now I can login as user readonlyuser but I can't read data from any tables. I g... | The [CODE] statement you ran will only affect tables created by [CODE] . If a different user [CODE] creates the tables, you need [CODE] | 3 | 5 | 40,563 | 2021-01-14T06:39:10.880 | warehouse_errors | dba.stackexchange.com | |
13,647 | Query tuning - SQL Server | One of our developers are trying to run the below query on a development server, which involves pulling data from a linked server, production. The query ran for more than 14 hours before it was stopped. I looked at the execution plan in SQL Sentry Plan Explorer - please find the execution plan below. How can this query... | To flesh out what Aaron states a little more, linked server performance, particularly for large result sets, for cross-server joins and cross-server subqueries, is often disappointing. If you watch the remote server with Profiler, you may find that the local server bombards the remote server with requests for the fetch... | 2 | 2 | 332 | 2012-02-22T14:06:12.587 | database_errors | dba.stackexchange.com | |
1,007,488 | Capturing Traffic on Local Machine With Multiple NICs On Linux | So I have a virtual CentOS machine with multiple virtual NICs. I'm working on a project where we need to stand up an echo server on each of the NICs, listening on a particular port. Both the client, and the servers, and therefore the traffic, are local to the machine. I'm observing a strange behavior in the traffic flo... | According to your description, all traffic is local to the same system; even if you're specifically targeting IP addresses bound to NICs, the system will still treat this traffic as loopback; it will not actually flow through the NIC itself. | 1 | 1 | 78 | 2020-03-18T23:25:04.653 | infrastructure | serverfault.com | |
77,862 | A way to init sentence embedding for unsupervised text clustering, better than glove wordvec? | For unsupervised text clustering, the key thing is the init embedding for text. If we want to use deepcluster for text, the problem for text is how to get the init embedding from deep model. BERT can not get good init embedding. If we do not use deep model, is there better way to get embedding better than glove wordvec... | Generally, combining word vectors in a single sentence / document representation does not work extremely well, although the average embedding has been used in fastText and pooling in this paper . You can also use autoencoders to try and predict the word distribution, similar to a bag-of-words approach, like here . | 0 | 0 | 96 | 2020-07-17T09:14:25.123 | data_quality | datascience.stackexchange.com | |
43,834 | Forecasting energy consumption with no historical data when there is a trend | I want to forecast new customers' energy consumption. Let's say I can construct a set of attributes to describe new and existing customers (e.g. size of business, type of business etc.) and I have the time series data on energy consumption of existing customers. However, I have no historical data on new customers' cons... | Most time series models assume stationarity. Thus, you should account for trend and seasonality in your data and subtract the corresponding components from your original data. After that, you can model your normalized data also with arbitrary machine learning models; and forecast with new data the following months. Car... | 2 | 1 | 255 | 2019-01-11T10:51:46.787 | data_quality | datascience.stackexchange.com | |
448,261 | Is there a clean way to model methods that only make sense depending on the current state of the object? | Let's say that I have a class called [CODE] . This class is intended to represent a mission requested by a professor working in a faculty. [CODE] has a private enum field representing whether the mission is [CODE] , [CODE] , [CODE] , [CODE] , [CODE] , etc. There are some things that the specs require to be doable upon ... | What you've done here has a name. This is an internal Domain Specific Language (iDSL). It can be used like this: [CODE] Or like this: [CODE] This lets you give names to the different paths (here execute & abort) through your states by listing the transitions in the path. You can even decouple this from the concrete imp... | 12 | 22 | 4,853 | 2023-10-23T13:52:45.920 | api_errors | softwareengineering.stackexchange.com | |
237,739 | Windows Server version and SQL Server | Is there a blog / webpage / information (I did not find anything) out there, if it has performance benefits, if I use a newer Windows Server version for my SQL Server? Example: I run SQL 2016 on a Windows Server 2012. Does it make sense to update this server to Windows Server 2016 or the upcoming Windows Server 2019 be... | There would not be any noticeable performance benefit if you move to higher version of windows server. Normally people move to higher version keeping support in perspective and the host of new features they get in newer version of windows. Refer Compare features in Windows Server versions to see list of new features yo... | 3 | 4 | 178 | 2019-05-09T12:59:24.673 | database_errors | dba.stackexchange.com | |
125,625 | How to forward connection from one interface to another under linux | I have linux box which has two network interface, eth0, eth1. from eth1 I can access an internal website, say under port 8080. from outside the box, I can't access that network. my question is, is there a way I set up something so from outside the box, there appears to be a web server running in port 8080 and when I co... | Is this box routing the traffic between those interfaces? From what you wrote I assume that on eth0 there is a public network connected to the Internet, while there is a private local network on eth1. If thats the setup and you want to access webserver on local network from the Internet you have to use Network Address ... | 6 | 7 | 49,108 | 2010-03-23T13:52:54.897 | infrastructure | serverfault.com | |
1,057,268 | Can't ssh into an oracle database on Oracle Cloud Integration | I created the database using terraform with the following database system: [CODE] I then try to ssh into the database using the following command (I'm on Windows 10, using git bash). Public key comes from the nodes tab in the oci console. [CODE] I get the following error [CODE] I have also tried generating a key in the... | I'm using the wrong username! that's all, it should be opc so the ssh command should like [CODE] | 0 | 0 | 1,425 | 2021-03-16T16:34:06.507 | pipeline_ops | serverfault.com | |
472,192 | Sonic Wall TZ 210 multiple lan subnets | We have a sonic wall tz210 with a local subnet of 192.168.200.x. We are looking to build another subnet 192.168.100.x. Can the sonic wall except and route traffic from both subnets to one external Internet connection? | That's generally what a multi-interface firewall does, typically when there's an internal network and a DMZ network (connected to different firewall interfaces) that both have hosts/devices that need internet connectivity. | 0 | 1 | 285 | 2013-01-24T20:53:06.420 | infrastructure | serverfault.com | |
961,329 | How to force non-www -> www routing for subfolders in Nginx? | My site is SSL-enabled and is called schandillia.com. And my objective is to force all access through https://www.schandillia.com...both for the homepage, as well as other pages. Following is what my Nginx [CODE] looks like: [CODE] This configuration allows the following: http://schandillia.com -> https://www.schandill... | Currently you only redirect from [CODE] to [CODE] . You do not have a redirect from [CODE] to [CODE] . You could separate the [CODE] and the [CODE] into two separate blocks. You can use the same [CODE] block for your [CODE] block. For example: [CODE] Any request that is not to [CODE] and is not handled by another [CODE... | 2 | 2 | 48 | 2019-04-03T15:55:29.653 | infrastructure | serverfault.com | |
136,436 | Our version of Agile isn't working. Tips? | I work on a small team of 4 developers. We are implementing a version of Agile that seems to continuously provide us with the same difficulties, week after week, and I'm looking for suggestions that can help us improve our process. The background: We generally do 2 week sprints, and each sprint we tend to underestimate... | because we're behind schedule This type of thinking is your problem. You're not behind the schedule, the schedule is too tight. You should start estimating stories in abstract points as opposed to hours and then over the course of 2-3 iterations figure out your velocity. Your velocity is how many points you usually do ... | 12 | 21 | 1,242 | 2012-02-22T17:01:51.463 | api_errors | softwareengineering.stackexchange.com | |
69,864 | Could a Geo-DNS create availability issues? | Geo-DNS can be used to balance traffic across data-centers. I found this (old) article where it is described why Geo-DNS implies availability issues if one of the IPs (data centers) goes down. Could someone confirm or deny such issues? Alternatives? Is a plain DNS with multiple A records better? Thanks, Valentino | Multiple A records is definitely not the answer. If one of your hosts dies, the DNS will still happily dish out the dead IP address. GSLB (Global Server Load Balancing) or equivalent, will do health checks on all your servers, and will dish out a single IP for the server that is "closest" to the client, or multiple add... | 1 | 3 | 727 | 2009-09-30T08:01:28.393 | infrastructure | serverfault.com | |
748,892 | Assigning a fixed string to a dynamically changing ip | I currently have 3 windows machines connected to a central wifi. Now two of the machines have an old software installed on them that require the ip address of the 3rd machine. The problem is every time the 3rd machine restarts its ip address changes. I wanted to know what my options are for setting a fixed ip/hostname ... | Assign the third machine a fixed IP address and be done with it. You can do that even using wifi. | -2 | 1 | 28 | 2016-01-13T19:30:24.757 | infrastructure | serverfault.com | |
737,129 | Spamassassin error: spamd.sock does not exist | I am following a guide from arstechnica to install an email server on my web server. I'm not using Ubuntu as stated in the tutorial but CentOS 6. http://arstechnica.com/business/2014/03/taking-e-mail-back-part-3-fortifying-your-box-against-spammers/2/ Now I want to install and configure Spamassassin; I edited the file ... | As you have mentioned yourself, you are using a documentation to install and configure Spamassassain on Centos, which is actually written for Ubuntu. This is not really wise. The configuration files often vary a lot between different OS's, and between different versions of the same OS (although they may serve the same ... | 1 | 1 | 1,526 | 2015-11-17T22:49:20.077 | infrastructure | serverfault.com | |
1,003,808 | Server Infrastructure - China / Australia | I've been working for a while on developing a custom intranet for a client in Australia for the last few years. The difficult part is that, it needs to be accessed as much by the Chinese team as the Australian team and the data must be the same for each FIY: The software is a PHP application + Mysql Database (used by ~... | There is no neatly packaged answe for this question. There are a few thoughts, some of which may be valid, some of which may make your particular situation work and some of which may or may not be practical. Thought 1 - What about trying colocating somewhere else in Asia outside of China? I'm thinking of Singapore. I d... | 0 | 0 | 96 | 2020-02-19T23:25:33.160 | database_errors | serverfault.com | |
175,590 | Changing Apple Mac environment www record | Apple server gurus? I have a Mac OSX Snow Leopard server question. How to be able to view a company's externally hosted website from inside the company? I inherited a company using Mac OSX Snow Leopard server. We moved the website away from MobileMe and into an environment that offers PHP etc. Although the site shows u... | perhaps this link might help: http://www.inertramblings.com/2004/05/11/mac-os-x-clearing-dns-cache/ Doing some searches related to OSX's DNS or BIND configuration might assist you as well. | 0 | 0 | 123 | 2010-08-27T17:53:51.490 | infrastructure | serverfault.com | |
776,053 | Changing the ssh passphrase on a private key has no effect | I had a not protected by passphrase ssh key which I use to connect with a server. Now I want to add a passphrase to the key, so I've done: [CODE] and added a new passphrase: [CODE] Then, I try to connect again to the server: [CODE] but I'm still logged without entering the passphrase: debug1: Authentications that can c... | [CODE] is storing encrypted key in memory so change to the physical key on disk does not affect its functionality. If you want make sure the change is effective, remove the key from agent and add it once more as noted in comments ( [CODE] to remove and [CODE] to add the key again from default location). | 2 | 5 | 4,965 | 2016-05-11T08:21:06.657 | api_errors | serverfault.com | |
319,080 | Why do most payment gateways use synchronous integration? | This question comes to my mind having just lost some money while ordering Pizza. Most internet merchants (atleast in India) use synchronous page redirection for integration with Banks and payment gateways. It works like this: when you visit a merchant site and checkout something it redirects you to the payment gateway ... | The sort answer is 'history'. If you go back even just 10 years, banks only did payments at physical devices, terminals. Where you would have one terminal id per payment device. All transactions needed to supply this terminal id. Obviously, you couldn't leave the shop with your goods until you had successfully paid. He... | 0 | 1 | 3,085 | 2016-05-20T15:23:19.840 | api_errors | softwareengineering.stackexchange.com | |
1,421 | "System cannot find the file specified" trying to reinstall network driver | After uninstalling Symantec Enpoint Protection (manually) one computer (Windows XP) has an inoperative NIC; it shows up in device manager as conflicted. I tried doing a windows repair from CD, which did not improve the situation. When I went to reinstall the drivers, driver installation failed with: Cannot install this... | Delete the following registry value and then restart the machine: [CODE] I found the solution in a forum . The original discoverer had to make a very expensive call to Microsoft support. | 3 | 6 | 19,662 | 2009-04-30T18:28:59.677 | infrastructure | serverfault.com | |
287,015 | Forwarding records in #temp table | I have a temp table which I update many times based on joins (each time almost all the rows). I have kept it as a heap since if I don't get an inner loop join then after each update I get a sort in the execution plan. And also the other tables which I join on need to have a unique index if I want to get the correct joi... | The question of when does forwarded records hurt a particular query's performance is too broad to answer, and will vary depending on what the query is actually doing. Nowhere in the DBA.StackExchange post you linked recommends using a Heap table, rather it shows how to make use of an indexed table by forcing alternativ... | 2 | 2 | 283 | 2021-03-14T22:24:38.863 | database_errors | dba.stackexchange.com | |
128,618 | Affordable combined Ruby/Rails/Redmine + Subversion hosting? | I am looking for a reliable hosting company I can entrust my code to in the form of a number of Subversion repositories, and a copy of the Redmine project management tool. I am looking for something I can pay up front for a year or two, and is not too pricey. I don't care where the company is located, as long as it's t... | If you are accustomed to administering your own virtual server and want root access, Joyent is probably the host that you're looking for. They specialize in hosting for Rails projects, including some of the larger ones, e.g. Twitter was on Joyent until 2008. I pay $200/year for their bottom-of-the-line Accelerator (loo... | 3 | 2 | 1,112 | 2010-04-01T22:05:29.207 | database_errors | serverfault.com | |
161,972 | SQL 2005 Replication Error - Upgraded SP3 | I recently upgraded my SQL 2005 server to SQL 2005 SP3. I have replication from SQL 2005 to SQL 2005 both are standard edition. During the upgrade I experienced no issues and the replication that was already setup continue to work great. I recently, tried to create a new publication for a new TEST account and I am gett... | I cleared out the problematic records from the MSsubscriptions table in the distribution database. BEGIN TRANSACTION DELETE FROM dbo.MSsubscriptions WHERE publisher_db = 'TESTDB' SELECT * FROM dbo.MSsubscriptions WHERE publisher_db = 'TESTDB' ROLLBACK/COMMIT | 0 | 0 | 625 | 2010-07-19T20:55:18.143 | database_errors | serverfault.com | |
204,771 | apache2 won't start on ubuntu 9.10 server -- why? | My question is threefold: 1) how can I figure out what actually happened here, 2) how do I prevent it from happening again, and 3) can I configure Monit to detect and restart the server if it happens again? Here's what happened: My apache2 server hosted on an Ubuntu 9.10 RackSpace Cloud Server was down this morning -- ... | I have run into three cases with various init scripts. user@host has the privileges to shutdown apache2, but apache runs on port 80 which requires it be started by root. Use sudo to restart apache2. user@root should be able to reload apache2 though. If user@host can start apache2, then you likely ran into a timing issu... | 0 | 0 | 573 | 2010-11-22T16:05:46.950 | infrastructure | serverfault.com | |
241,410 | Is it feasible and useful to auto-generate some code of unit tests? | Earlier today I have come up with an idea, based upon a particular real use case, which I would want to have checked for feasability and usefulness. This question will feature a fair chunk of Java code, but can be applied to all languages running inside a VM, and maybe even outside. While there is real code, it uses no... | It's all just software, so given enough effort it's possible ;-). In a language which supports a decent way of doing code analysis it should be feasible too. As for the usefulness, I think it some automation around unit testing is useful to a certain level, depending on how it's implemented. You need to be clear about ... | 5 | 1 | 10,586 | 2014-05-29T13:53:42.070 | api_errors | softwareengineering.stackexchange.com | |
686,144 | Access db with dynamic IP using windows Application C# | I want to connect a Desktop Application (C#) with a website which is hosted on BLUEHOST Server (Shared Hosting). I have to add an IP on server to allow for remotely access to mysql database. But the issue is computer IP is being changed certainly and every time I get an error when application tries to connect to databa... | There is a way to allow connection from all IPs when it comes to MySQL. If it in in user definition you need to create your user like this: [CODE] This % after @ means there are no restriction on the ip address connecting to DB. You can also take a look to grant syntax on MySQL documentation at https://dev.mysql.com/do... | 0 | 0 | 1,391 | 2015-04-28T13:05:22.343 | database_errors | serverfault.com | |
57,974 | Create database fails with Microsoft SQL Server Error 5133, Operating syste, error 5 (Access is denied) | I just installed SQL server 2012 on Windows 2012 today. After the install, I changed the database settings to create database files in f:\mssql instead of the default. i verified the confired and running values. Create database fails to create the .mdf and .log files with the following error - Directory lookup for the ... | This is now fixed. SQL Server can noow see the additional volumes besides. C:. It required applying this small changes and a server reboot. It turned out to be a VMWare HotAdd bug. Here is direct link to the VM Knowledge base article: http://kb.vmware.com/selfservice/microsites/search.dolanguage=en_US&cmd=displayKC&ext... | 2 | 1 | 12,290 | 2014-01-31T15:35:53.820 | database_errors | dba.stackexchange.com | |
469,463 | Maximum packet length reached? | Clients are having issues connecting to perforce revision server I have set up for them to use. It appears that they have too many checked out/added files that need to be put into the system and they are getting packet reseet issues. Specifically the TCP connection is resetting when its trying to communicate with the s... | This is usually caused by a stateful firewall (or NAT) timing out an idle connection. When the client goes to use the connection, the firewall has forgotten about it, sees the packet as invalid, and sends a reset back to the client. | 1 | 1 | 239 | 2013-01-15T22:57:15.360 | infrastructure | serverfault.com | |
148,524 | Automated Syslog Error Solution Finder | Any automated syslog solution finding frameworks? I want my central syslog server to email a list of problems, their severity and suggested solutions . There have been several questions about centralising system logs and alternative log analysis systems, but I don't get the impression that any of them help with issue r... | Well you could write the solution (or better link to the solution that you wrote on your wiki) in the mail sent by Octopussy or Splunk . | 3 | 0 | 212 | 2010-06-05T17:14:43.823 | infrastructure | serverfault.com | |
174,816 | Does indexed column with millions of different values make sense? | I noticed that one of my queries was pretty slow, taking about two seconds to execute. This is the slow query: [CODE] The index used was created like this: [CODE] The execution plan shows an [CODE] because obviously the [CODE] column is not in the where clause. So at first I thought I would create a second concatenated... | For b-tree index , the more distinct values the better. Index skip scan doesn't seem to be an efficient access method in your case because the first column in the index has high cardinality. It works opposite to "regular" index usage like index range scan or index unique scan where you want the first column to be the m... | 1 | 2 | 1,253 | 2017-05-29T11:35:21.400 | database_errors | dba.stackexchange.com | |
25,831 | Some questions about feature hashing in the context of document classification | I'm trying to understand feature hashing, specifically in the context of document classification. I'm under the impression that it is useful because: it allows us to easily deal with 'new' words/features/predictors that we haven't seen before it is rather efficient because it allows us to exploit sparsity which is comm... | Throughout the hashing process those words may map to the same indices and for the example you gave, i'll say it's extremely likely you'll have collision. How the hashing table chooses to handle that is up to the implementation. Feature hashing may purpose is when you have a large amount of data and that data tends to ... | 0 | 1 | 358 | 2017-12-20T03:35:13.573 | data_quality | datascience.stackexchange.com | |
722,972 | TACACS+ configuration: how to receive priv-lvl value? | I need to configure TACACS+ server to know if the given user is authenticated* and what is his priv-lvl. As a client I'm using tactest (tacacs.net) and TACACS+ Client Java Library (AXL). I tried with this: [CODE] and can authenticate as an admin but can't get his priv-lvl. Here is the output from tactest: [CODE] Is the... | I finally found a solution. I just had to change service name to any other: [CODE] Then I was able to get AV pair on client side: [CODE] | 1 | 1 | 2,393 | 2015-09-17T09:23:35.443 | api_errors | serverfault.com | |
201,065 | Scalable spring core with AMQP? | I use 3 standard Spring MVC war, which share a common core (Services, DAO, and Models). The main problem is when I plan to deploy all the 3 wars on a same server. I have the Core Application Context instantiated 3 times. I know it's possible to share a common context using an EAR, but for scalability purposes I have to... | Yes; it is a good idea to put your core layer on a different node and to make it communicate with the upper 3 distinct layers via AMQP. This brings horizontal scalability - not only can you put the upper layers and the core layer onto different nodes but you can replicate the core onto 2 or more nodes. Also you can hav... | 2 | 1 | 200 | 2013-06-10T19:17:49.007 | api_errors | softwareengineering.stackexchange.com | |
304,385 | Sorting Array before looping : best practice | I was going through JBAKE code at https://github.com/jbake-org/jbake/blob/master/src/main/java/org/jbake/app/Asset.java : 58 PFB the code. Why are we sorting the array here? [CODE] | The comparator of [CODE] performs a lexicographic comparison of pathnames. So, these files are sorted by name. So, obviously, the author wants the filesystem tree to be traversed in alphabetical order, and not in any other order. That's important, because according to the documentation of [CODE] : There is no guarantee... | 1 | 2 | 262 | 2015-12-06T13:02:27.043 | api_errors | softwareengineering.stackexchange.com | |
558,119 | After Mavericks upgrade problems with PHPStorm | I upgraded to Mac OS Mavericks and since then my PHPStorm caused problems. During typing inside the editor the CPU goes up to 400% and the typing lags. I didn't know what to do or what the reason is. So I reinstalled Mavericks. On a clean installation PHPStorm worked fine, without lags. I then put back all my data on m... | This comes up in a Google search for “PHPStorm Mavericks” The issue is that OSX Mavericks doesn’t come with Java 6 installed, which is what PHPStorm requires to run. To fix it, go here and install the official Java package for OSX. After install, PHP Storm will work again. The solution appears to be installing or upgra... | 0 | 1 | 752 | 2013-11-28T19:27:00.583 | database_errors | serverfault.com | |
874,434 | Postfix and dovecot. TLS not available | I've been trying to setup a send only SMTP server with postfix and dovecot, on Ubuntu 16.04. The problem I'm having is that when trying to send an email I get the message back. 4.7.0 TLS not available due to local problem So I'm guessing that the problem lies within my postfix TLS setup. And if I'm checking the status ... | Okay so i found a solution, it seems that there was something wrong with the certificate we generated, after buying a certificate online, it works wit no problem. So if anyone has the same problem, just make sure that the certificates your using, are properly setup. | 0 | 0 | 686 | 2017-09-19T13:30:19.210 | infrastructure | serverfault.com | |
173,949 | SQL Server: job with PowerShell step with robocopy doesn't end | I have a multiple steps SQL job set up in that basically generates transactions logs and then copies them using robocopy. Robocopy steps are of type “PowerShell” and look like following: [CODE] The issue with this step specifically is that robocopy never exits, process stays active, even after the job’s run succedeed. ... | The issue was simply that robocopy needed this parameter: "/R:0". Really weird, since that indicates to not retry the operation. But operation was succeeding the first time. And again, from PowerShell console, it worked correctly. | 0 | 0 | 1,313 | 2010-08-24T15:23:57.513 | database_errors | serverfault.com | |
264,327 | How do I efficiently send notifications for different events to different users based on their preferences? | I'm creating a notification system for particular events. A user can set the criteria that match particular events (ie. New item, changed item, closed item etc) Items have different characteristics (ie. Minor, Major, Critical). So a user may set up a search for All New Critical Items. What is the most efficient way to ... | We're currently building a web service to solve problems like this (with very complex rules, including negative rules - things not happening). Unfortunately it's in private beta right now and we're capped on users. However, hopefully I can share the details on how to build a much simpler version (minus negation). As yo... | 4 | 1 | 1,401 | 2014-12-02T11:51:42.887 | api_errors | softwareengineering.stackexchange.com | |
171,331 | Why does searching for LIKE N'%�%' match any Unicode character and = N'�' match many? | [CODE] [CODE] Returns [CODE] [CODE] Returns [CODE] Generating every possible double byte "character" with the below shows that the [CODE] version matches 21,229 of them and the [CODE] version all of them (I've tried a few non binary collations with the same result). [CODE] Anyone able to shed any light as to what is go... | How one "character" (which can be comprised of multiple Code Points: surrogate pairs, combining characters, etc) compares to another is based on a rather complex set of rules. It is so complex due to needing to account for all the various (and sometimes "wacky") rules found in all of the languages represented in the Un... | 26 | 13 | 17,340 | 2017-04-18T20:19:33.473 | database_errors | dba.stackexchange.com | |
507,221 | ESXi running 2 x Windows 2012 setup advice | After much deliberating and advice I'm intending to use an element of virtualisation for deploying some new servers. The original (physical) plan was one server running as domain controller, SQL (express), IIS and file/print server. It would be for 100 users although probably only a quarter of them would be using the I... | Yes, there are a few design mistakes here... Why not use an array of four equal-sized disks in RAID 1+0? Better performance and resiliency and more flexibility. What type of server/disks/RAID controller will you be using? Will you have write-cache on your RAID array? You don't need 4GB of RAM for a domain controller. I... | 1 | 4 | 790 | 2013-05-13T08:45:14.530 | database_errors | serverfault.com | |
1,111,640 | Can you find out why connection refused happens if you are not the sender of request? | I have read a few posts and articles about why a connection would be refused. This usually talks about it in general, like this one What causes the 'Connection Refused' message? . But my question is how or when can you be certain that there is something wrong with the other side (lets say someone sending a request to y... | When a client attempts to connect to a service/server there are roughly the following scenario's: The connection succeeds . The connection attempt fails, because the client receives no response. It receives neither positive nor negative response and the connection attempt eventually simply fails from a time out . The c... | 1 | 1 | 1,829 | 2022-09-27T06:31:06.253 | api_errors | serverfault.com | |
183,886 | Invalid argument on fsck of a 2GB VFAT filesystem | I wanted to run fsck to repair a VFAT filesystem on a 2GB SD card, on Fedora 12. I got an 'invalid argument' error as seen below. What does it mean in this context? Is it not possible to check a filesystem on a SD card? [CODE] | Seems like a bug in dosfsck: https://bugzilla.redhat.com/show_bug.cgi?id=693662 Apparently, no update for Fedora 12. Some more info can be found here: http://daniel-baumann.ch/gitweb/?p=software/dosfstools.git;a=blob;f=ChangeLog;hb=0d2c9bcd6ac21d1ef6fab5b563334fe1e1f743ba#l655 Consider compiling newer version from the ... | 4 | 1 | 4,954 | 2010-09-23T07:56:48.470 | infrastructure | serverfault.com | |
18,278 | PostgreSQL memory spike upgrade from 8.2 to 9.1 | We recently upgraded a few of our development computers from PostgreSQL 8.2 to 9.1, with plans on eventually upgrading our production servers. Everything seems well with the restore of the databases, and the local websites on the dev computers. What isn't working are some reporting ETL queries. A particular query runs ... | In a case like this where nothing significant has changed I think you are best off bringing this up on the PostgreSQL email lists. Not only will you get help with your issue in terms of workarounds but if there is a planner bug somewhere the development team will be given notice so they can fix it. This may be one of t... | 3 | 1 | 453 | 2012-05-22T17:23:13.413 | data_quality | dba.stackexchange.com | |
174,879 | How do professional application developers use version control systems, like GIT and Subversion? | I am a beginner developer and I have been wondering from the start, how do professional use tools like GIT and Subversion (I don't have a very good understanding about these tools), to fulfill their project's needs. If they do use it, how would I set up something like that? My applications are not so large and I am not... | Source control is ubiquitous--one might even say you can't call yourself a professional developer if you are not using it. Even when developing alone, source control still offers quite a few benefits. In the end it provides both a history and an extensive undo path. It also frees you up to experiment a lot more, secure... | 10 | 13 | 5,298 | 2012-11-06T22:40:36.573 | api_errors | softwareengineering.stackexchange.com | |
1,066,147 | Where does my bind config lookup dns entries? | Hy, I am in the course of learning how bind works. My goal is to have a local dns database so lookups in my lan are not going out to WAN. I set up bind and didnt configure it as forwarding or caching server intentionally but it seems that is whats its doing as there is no "big dns" file anywhere, so bind does look up i... | The normal behavior for a resolver server is to prime itself based on root hints (essentially a list of the nameservers for the root zone, including their IP addresses). BIND has built-in root hints which are used by default, but you can also specify the root hints explicitly in a root hint zone in the configuration. B... | 0 | 1 | 775 | 2021-06-09T07:18:15.953 | infrastructure | serverfault.com | |
835,893 | Retrieving Weave routing information | I am using Weave Net to connect my Docker containers across different hosts. Weave is making use of "Fast Datapath" which handles the routing in Kernel Space (inside the OVS (Open vSwitch) Module as shown in the diagram below.) In oder to get a better understanding about how Weave routes traffic, I would like to see th... | To see flows ("routes") which Weave Net installs into the datapath of [CODE] you can run [CODE] . The flows are listed under the [CODE] field. Seems like Weave is running its own OVS instance which cannot be accessed with this command. Yes, Weave Net does not use the OVS user space modules. It only relies on the [CODE]... | 0 | 1 | 372 | 2017-03-02T14:36:15.993 | pipeline_ops | serverfault.com | |
1,023,603 | CyberPanel LiteSpeed htaccess not working | I'm using [CODE] that it work with [CODE] , I want to use [CODE] but it seems not reading any command in htaccess. for example I set: [CODE] But it not affacted. here is vHost conf: [CODE] | Because OLS only supports RewriteBase RewriteCond RewriteRule any other directive will be ignored and dropped. if you want to do access control , you can use RewriteRule to do so e.g. [CODE] deny access to all [CODE] allow access for certain IP You can further customize it to make a deny/allow equivalent more detail he... | 1 | 1 | 1,204 | 2020-07-01T12:15:26.260 | infrastructure | serverfault.com | |
400,568 | Strange network issue (ZIP file fails CRC test over VPN) | We have a server in the office running Windows Server 2003 Our office is connected to our datacenter via hardware VPN (Linksys RV082 router in the office to CISCO router in the datacenter). There is a job (PowerShell script) that runs on the server in the office that does following: ZIP certain files from the server us... | So it appears this one server (Server A) verifies the file successfully when it is local but fails the verification over the WAN, but other workstations can successfully verify the remote file. Some things to check: Is 7zip the exact same version on all machines? Run sfc /scannow on Server A and see if it fixes anythin... | 1 | 1 | 370 | 2012-06-20T14:28:35.747 | data_quality | serverfault.com | |
218,276 | Own server, multiple website: most secure PHP setup | We have a company server with a variety of websites. They are maintained by different people from within our company. All websites are public. The server access is limited to our company only. This is NOT a shared hosting environment. We are looking into securing the server, currently analyzing the risk related to perm... | I would highly recommend running suPHP . Using suPHP, each website could be compartmentalized to its own username instead of running as the general Apache user. This would mean that if someone would happen to "Hack" into the server due to an insecure script on the server; they would be limited only to that site and not... | 2 | 3 | 1,484 | 2011-01-03T18:47:24.267 | infrastructure | serverfault.com | |
800,165 | Add eth2, eth3 etc. instead of eth1:0, eth1:1 etc | I'm trying to create virtuel ethernet networks on my Debian machine. I've got 4 static IPs assigned to the machine, and would like them to be virtuel present at eth2, eth3 etc. instead of eth1:0, eth1:1 etc. Is that possible? My software needs to believe that there are multiple physical networks attached to the machine... | [CODE] , [CODE] represent discrete network interfaces. If your machine doesn't have more than one network interface you're only going to have one [CODE] (or [CODE] , etc.) interface. | 0 | 1 | 2,088 | 2016-08-31T08:59:39.163 | infrastructure | serverfault.com | |
209,246 | PostgreSQL. Is using random tag in dollar quoting without escaping input safe? | Is that safe to run such query without escaping input? Assume noone can guess the random string I generate. [CODE] What drawbacks are? For example if the tag will change for each transaction, will it have performance penalties? EDIT: Doing escaping correctly is also sometimes tricky - remember PHP [CODE] and [CODE] and... | Postgres doesn't cache ad-hoc SQL query plans; only if your host environment is using prepare will the query plan be cached. But if [CODE] is used, then parameterisation is also being used so dollar quoting won't be necessary. It follows, then, if you're not using [CODE] that each query will be parsed. In that case, yo... | 2 | 3 | 358 | 2018-06-10T21:03:02.127 | database_errors | dba.stackexchange.com | |
245,906 | Availability Group Read Only Routing Not Working for Azure App Service that connects over Hybrid Connection | We have following config of Availability Group On-Premise: [CODE] Recently we have setup Read Only Routing (ROR) Read Only Routing URLs: [CODE] Read Only Routing Lists: [CODE] Issue/Question: One of our Azure App Services (Application), is using hybrid connection to connect to on-premise AG Listener (sql-listener.domai... | Microsoft Support engineer replied below on my case: I (Support engineer) have reached my technical leads to have an urgent update on this and I was able to get it. Unfortunately, the Product Group confirms my initial suspicions about the setup you want to achieve not being possible due to Hybrid Connections limitation... | 1 | 0 | 373 | 2019-08-21T17:29:40.053 | warehouse_errors | dba.stackexchange.com | |
856,640 | Nginx not serving CSS correctly in simple PHP project | I've seen several examples of this now: [CODE] . But, I've not been able to understand what might be causing it. The CSS files in my simple PHP project are not being served. The status code is [CODE] , and the file does load and its contents can be viewed from the developer console. I also checked the [CODE] file and i... | The fundamental problem is that you are serving all content via [CODE] , both static content and dynamic content. It is usual to allow [CODE] to serve static content, in which case, [CODE] is responsible for setting the [CODE] header based on the file extension. In your current configuration, everything is passed to [C... | 5 | 4 | 13,052 | 2017-06-19T14:36:51.760 | api_errors | serverfault.com | |
918,742 | Setting Up My First VPN and Remote Access for a Startup | I work at a startup that is doing some aerospace engineering work, and the engineers have two related but distinct asks for our network that I am not sure how to provide. Remote access to workstation. Some engineers use desktop computers to do their work, and they would like a way to access them remotely to do design w... | You need a VPN also for item 1, since for remote access (RDP/VNC) you need to access the internal network anyway. You need to look into your router's documentation and see if it supports any VPN server features. If it does, then you configure the VPN there and install corresponding software to the workstations that nee... | 0 | 3 | 2,135 | 2018-06-28T22:38:17.937 | infrastructure | serverfault.com | |
1,935 | Jenkins libraries configuration in Jenkinsfile | Right now we have many projects with similar Jenkinsfile's. Instead of copypasting we're developing a shared library with some utilities. This library is loaded dynamically in each Jenkinsfile, and has some parameters that repeat among calls. For example, an utility has a custom Slack message posting function, and the ... | You should look at Global Shared Libraries , which will allow you to reuse logic across different Jenkinsfiles. Rather than depending on the environment, it's probably safer to explicitly pass parameters and returns values from the functions, which will make their behavior more explicit. Another side benefit is that yo... | 5 | 5 | 3,732 | 2017-09-06T11:01:47.287 | pipeline_ops | devops.stackexchange.com | |
1,123,497 | Azure mysql server provisioning | Trying to create an Azure mysql flexible server through the portal I get the following error message. "code": "InvalidPrivateDnsZoneSubscription", "message": "The subscription 'xxxxxxx-xx-xx-xxx-xxxxxx' of the private DNS zone 'xxxxxxxx.mysql.database.azure.com' is in valid, it is not registered for '2'." The dns zone ... | While this resolved the issue, I can't answer why it happened in the first place. During the first attempt the process failed (The reason remains unknown), however part of the deployment had completed. The parts that did work included creating the virtual network link within the private dns zone that was selected. Remo... | 1 | 0 | 206 | 2023-02-22T14:01:42.113 | pipeline_ops | serverfault.com | |
750,901 | Debian server can't connect to outside world and vice versa | At some point within the past 48 hours my KVM server, which had been running without issue for 6 months, went down completely and was unreachable. Using the control panel to my server, I saw that the server was in fact offline. I got in touch with my host and they weren't able to provide me with any information at all.... | as Michael Hampton your eth0 interface is configured to get IP address information via DHCP . Normally you would need to configure your network interface manually or static. An example would look like this in you /etc/network/interfaces config file [CODE] More information could be found in the debian documentation. 2 S... | 0 | 0 | 376 | 2016-01-21T22:11:59.867 | infrastructure | serverfault.com | |
1,118,079 | Bridge interface causes high CPU utilization | We are facing a weird issue with a server we have on our laboratory. Specifically, the server shows high CPU utilization from low priority processes (blue color in [CODE] ) with 50% of the cores appearing to have 100% utilization as shown in the screenshot below. htop high utilization However, in the list of running pr... | For higher speed(in my case it was 10 Gbps) the NIC offload feature is not properly working. Hence, the CPU is handling all the heavy lifting. The packets are handled by the Network stack of the kernel. Enabling Jumbo frames(MAX MTU size) and increasing the ring buffer size has reduced the load on the CPU. [CODE] If th... | 1 | 0 | 694 | 2022-12-15T09:23:11.390 | infrastructure | serverfault.com | |
1,142,749 | Unable to Install Kubelet, Kubeadm Because It Requires Later Version of Cri-Tools | -1 I am taking a Coursera class for CKA Prep and as part of that we are provisioning an instance of a node on Amazon EC2, installing the container runtime (which is containerd in this case) and now I am at the step where I need to install kubeadmn and kubectl. When I run this command: [CODE] I get this: [CODE] So . . .... | You can try adding RPM repository with the latest releases of CRI-O Container Runtime packages. If on RHEL 7 based system then add the repository as below: [CODE] For RHEL 8 based system add: [CODE] Then install [CODE] and [CODE] packages: [CODE] And try again your installation it should be successful. | 0 | 1 | 1,229 | 2023-08-30T18:53:57.550 | pipeline_ops | serverfault.com | |
1,033,974 | Allow external inbound connection to Azure Windows Server 2019 Virtual Machine on specific port | I want to allow TCP connection to 1433 port (SQL Server) on the Azure Windows Virtual Machine. TCP is enabled for SQL Server and I can telnet to this port from the local machine as well ( [CODE] ). Inbound rule in Windows firewall Inbound rule in Azure portal What should I do more to be able to connect externally? UPDA... | A word of warning: Opening up 1433/TCP to the internet (with source: Any) is quite a security risk. Think twice about your intentions here! Install SSMS on the mentioned VM and ensure that you can connect locally to your MSSSQL server. Also ensure that [CODE] is ticked (in SSMS go to the properties of your server > Con... | 0 | 2 | 1,164 | 2020-09-15T13:24:59.497 | database_errors | serverfault.com | |
250,403 | Different characters, same ASCII code? | I have this query that throws two results: [CODE] nm0410331 nm0410331 And this slightly different query that throws only one result: [CODE] nm0410331 I tried to check the ASCII of the last character and got the same: [CODE] nm0410331 49 nm0410331 49 I guess it is a rare encoding problem. How can I solve it? PS: The fie... | Thanks to the insight of Akina , who suggested to use [CODE] to check the field, I found an extra '0A' byte at the end of one of the values. After removing the primary key constraing (to avoid the temporary duplicate id), I used: [CODE] And was able to solve it. PS: For future googlers, using [CODE] could make me note ... | 4 | 4 | 785 | 2019-10-07T03:30:17.203 | warehouse_errors | dba.stackexchange.com | |
151,031 | SQL Server Partial Only Database Move | My company purchased part of another company. Now they have a large SQL Server 20TB database that is supposed to be moved to our data center. The problem is that only part of the database is being moved because the rest was not part of the merger. For instance, part numbers and stuff are moving but only parts that are ... | If the objects you want to move are part of a separate filegroup , then you can do a filegroup backup and restore. This is a little tricky - with SQL Server, you can do a piecemeal restore of the primary filegroup, plus other filegroups, and the objects are then online. However, this won't work if the database wasn't d... | 2 | 4 | 288 | 2016-09-29T15:43:26.213 | database_errors | dba.stackexchange.com | |
405,913 | Ubuntu 10.04: Unable to Start RabbitMQ Server Post-Installation | After installing RabbitMQ on Ubuntu 10.04 I receive a failure message that the service was unable to start. Any insight into the issue would be greatly appreciated! Below are contents of startup_log and startup_err. Startup_log: [CODE] Startup_err: [CODE] | I can't definitively pinpoint the error, but in general you can read the stack in the first error_logger line -- inet_tcp_dist (tcp distribution) tried to bind to listen but got [CODE] This then generated a [CODE] as it wasn't expected -- this is a normal Erlang idiom. It looks like it couldn't find epmd. More specific... | 1 | 0 | 925 | 2012-07-08T03:12:21.143 | infrastructure | serverfault.com | |
16,670 | Ansible / Jinja2 Unexpected templating type error | I am trying to take a dictionary from one or more async tasks "register: task_variable" then collecting it as a list based on its id's and running a wait task using async_status on the resulting list generated from the id's But i am getting an "Unexpected templating type error" with the Jinja "sync_do_list() takes 1 po... | Changing [CODE] to [CODE] resolves that specific error. | 0 | 0 | 1,397 | 2022-09-30T21:06:53.853 | pipeline_ops | devops.stackexchange.com | |
360,853 | Make rsync working with compressed target or tar creating no increment files | I need to make a backup on my external hard drive. I looked both at rsync and incremental tar. The problem is that I want my backup to be compressed. With rsync I can only compress the data transfer, but not the result. With tar the result is indeed compressed, but I will have a lot of incremental archives, when I want... | rsync doesn't have the capability to compress it's target. One possibility is to store your backup copy on a filesystem that supports native transparent compression (for example btrfs) which will provide you with the space saving you are looking for. | 0 | 1 | 1,030 | 2012-02-16T16:10:05.623 | hadoop_errors | serverfault.com | |
403,209 | Is judicious & plausible selection of class fields a valid refactoring step? | I'm a great fan of refactoring but I've been wondering about the issues raised by refactoring. Fowler advises refactoring to make code readable to all users to make the code structure more sensible, e.g. methods in the class most affected by them to make the overall project more OO - and hence more easily maintained an... | Your question seems to be based on a misunderstanding. Fowler does not "dislike temps" in general. Quite the opposite, he provided a specific refactoring for introducing such variables, he called it Extract Variable (a.k.a. "Introduce Explaining Variable") Of course, he also gave the inverse operation a name: Inline Va... | -2 | 8 | 354 | 2020-01-02T18:29:33.073 | pipeline_ops | softwareengineering.stackexchange.com | |
479,849 | ls: cannot access file : No such file or directory. | In the shell script, I will have to access the binary logs stored in /usr/local/mysql/data. but when I do this, [CODE] I get the below error : [CODE] But when I manually enter the numbers in the range the shell scripts runs normally without error. | Try using [CODE] : [CODE] | -2 | 1 | 3,362 | 2013-02-18T06:31:16.567 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.