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,066,076 | apache how configure multi domain https redirection? | I've an apache running under AWS Elastic beanstalk. I've got several different domains and I want all of them to end in a specific domain name, in HTTPS. The redirection from other domains e.g. https://domain1.com to https://maindomain.com returns a SSL certificate error. In apache, I've two virtual host config, one fo... | Either you get a cert with multiple names in it to cover all domains or looking at the domain scheme you mention, you will get a certificate error at some point. Browsers theorically look at SAN/CN to match the names found in there and the DNS name they are using to connect, if there is no match you get a certificate e... | 0 | 0 | 925 | 2021-06-08T15:27:23.420 | database_errors | serverfault.com | |
275,417 | Is there a possibility to monitor https sites in nagios over a proxy? | i have a little question about the nagios tool: Is there a possibility to monitor https sites in nagios over a proxy? Which means i want to monitor whether my proxy can reach some https ressources in the internet? I think it would be no problem with this command: [CODE] But our nagios server has no direct internet acce... | script it! write your own plugin using wget or curl eg: [CODE] you can obviously extend it eg to check the content of returned page. | 3 | 9 | 16,762 | 2011-05-31T05:42:30.957 | infrastructure | serverfault.com | |
265,043 | Internet Access via CentOS box used as Router | I am having problems getting my network to play nice, despite it working previously. Here are the main system details; CentOS box as a router / firewall (firewall currently disabled while I get the network operating) eth0 used for internal network with ip 192.168.254.200, gateway set to 127.0.0.1 eth1 used for external... | Remove the 127.0.0.1 gateway for the internal network. There should be no gateway for the internal network. Also you don't mention the network masks for the internal and external subnets. You may have overlapping subnets configured. | 0 | 0 | 211 | 2011-04-30T16:11:40.810 | infrastructure | serverfault.com | |
900,680 | DFS | The Network Path was not found | RPC Server is unavailable | Suddenly we got a problem on some windows pcs when accessing the dfs share. Before this the DFS access was working. The Problem Some clients suddenly cannot access the dfs share like: [CODE] Error: The Network Path was not found [CODE] resolves, but doesn't work either When it starts happening It seems to happen on cli... | Restarting the service " dfs-namespace " on the domain controller solved the problem. | 2 | 1 | 13,279 | 2018-03-08T15:49:45.243 | infrastructure | serverfault.com | |
456,964 | (Powershell) Method to return a list of groups where a specific user has 'write member' security | We use a piece of web-based software that users can log on to in order to manage access to shares controlled with AD groups. The list of groups a user can manage are the groups on which they have 'Write Members' security. This allows users to maintain file shares without requiring knowledge of AD. I am trying to write ... | There are two problems here. The CMDlet [CODE] is writing directly to the console during execution which is why you're seeing [CODE] . Since your pipeline is writing to the same output, it all gets mixed together. Store the output from your pipeline to a variable instead. When you pipe the group into [CODE] , you're th... | 2 | 1 | 3,286 | 2012-12-11T08:27:37.207 | infrastructure | serverfault.com | |
895,093 | NIC Teaming having a General Failure Error | I'm trying to create a NIC Team for a Windows Server 2012 but I'm getting an error: General Failure. I tried to restart the server, disconnect all the ethernet cable from the NICs and to deactivate static address for all the NIC but nothing seems to work. I have a second server working perfectly with NIC teaming with 4... | Try leaving the nic unplugged and create the team with just 1 NIC plugged into the network. Make sure that the drivers you have are winHQL drivers. | 1 | 0 | 2,039 | 2018-02-01T00:29:55.013 | infrastructure | serverfault.com | |
325,920 | Powershell script SQL Server AvailabilityGroups | I am really new to Powershell and hopefully someone can help me with this error. I have been given the below script that is supposed to take a list of SQL servers from a text file and lists out the availablity group and the replicas for each. [CODE] The error I am getting is on"Get-DbaAvailabilityGroupReplica : The ter... | Here is the corrected code. By replacing the cmdlet Get-DbaAvailabilityGroupReplica with Get-DbaAgReplica I was able get the code working. My issue seemed to come from the use of Get-DbaAvailabilityGroupReplica. [CODE] | 1 | 1 | 381 | 2023-04-12T15:34:27.427 | database_errors | dba.stackexchange.com | |
274,632 | How to make MySQL query performant WHERE one column uses greater than and one column uses less than? | I'd like to make this query perfomant-- [CODE] This is tricky because I need less than on start_time and greater than on end_time. If there is a composite index on [CODE] the index is good at filtering down all the rows with foo_id, enabled, and start_time matching the criteria--but then does a full scan to find the ro... | Having two "ranges" is not easy to optimize. This may help: [CODE] (As you said...) The optimizer will pick between those two "composite" indexes based on statistics that may tell it which range is shorter. It will quickly check through the two [CODE] tests ( [CODE] and [CODE] ; btw, they can be in either order). Then ... | 0 | 0 | 224 | 2020-08-30T02:28:48.303 | database_errors | dba.stackexchange.com | |
90,352 | How do i get the loss function graph? | I used Mini-batch gradient descent to train the model, but i am unable to get the proper loss graph. The loss graph is always showed as a straight line. I know there is something wrong but would anyone be able to guide me [CODE] I wanted the graph for loss before training and after but cant seen get a proper one | The code you provided only performs the forward propagation of a neural network without using gradient descent to backpropagate the loss. This means that your network parameters do not change, i.e. your model is not learning anything. The model will always output the same value for an input in your training data and th... | 0 | 1 | 250 | 2021-03-07T13:11:19.263 | data_quality | datascience.stackexchange.com | |
343,898 | Is MVC Sane to call a Model through Zend Framework's ViewHelper | Recently I debated with a colleague of mine about to the following issue: I claimed that it is not MVC sane and good practice to directly load a Model via Zend Framework's ViewHelper because it is a View related stuff and it should call another controller by a hard acceptance. My colleague claims the opposite that a Vi... | In the original MVC model , the controller interacts with the view and with the model. The view is notified by the model of change, and can access model content for the purpose of viewing: To any given Model there is attached one or more Views, each View being capable of showing one or more pictorial representations of... | 5 | 3 | 362 | 2017-03-10T16:20:33.747 | api_errors | softwareengineering.stackexchange.com | |
323,924 | mysql master master master | I have n servers and I am planning to setup n master servers using master-master configuration. What architecture will be the best one ? Also I need to take care of auto-increment table things... Say, if my servers are A, B ,C and D . Is it ok and safe to point master of B as A, master of C and B, master of D as C and ... | The topology you're describing is called "circular replication". You're basically setting up a ring in which each node acts as a master to the following one. The authors of High Performance MySQL advise against this topology, with the following reasons: it depends on each node being available, therefore increasing your... | 1 | 5 | 267 | 2011-10-22T15:34:19.393 | database_errors | serverfault.com | |
254,544 | Can I drop an overlapping index if the larger index is unique | I have 2 nonclustered indexes: [CODE] I want to drop the [CODE] index as the optimizer can stop use [CODE] for the first column and stop using when it has satisfied the query in question, so should not hurt performance. But I had a nagging thought in my head, it might not be able to use the 2nd index if it was marked a... | Yes, it should be safe to remove the [CODE] as [CODE] is already covering [CODE] . If [CODE] was defined in reverse order i.e. [CODE] then scenario would be a bit different as first column in the index is of utmost importance. Moreover IX2 is a unique constraint which means combination of col1 and col2 will be unique i... | 0 | 2 | 208 | 2019-12-02T10:33:19.153 | warehouse_errors | dba.stackexchange.com | |
188,496 | Design strategies for storing and validating serial numbers | We are writing software to track Foo Widgets. Each Foo Widget has a serial number. The serial number is an 32-character alphanumeric string. The string is separated into five sets. Each set is separated by a dash (so the s/n is 32-characters NOT including dashes). So for example: 11111111-1111-1111-1111-111111111111. B... | For the user validation part of your question, the guiding principle is Postel's law : be conservative in what you send, liberal in what you accept. That means you should always display the serial number with the dashes, but assuming you can correctly reconstruct the serial number without them, allow the users to enter... | 5 | 4 | 1,673 | 2013-02-26T20:24:27.630 | data_quality | softwareengineering.stackexchange.com | |
61,415 | How To Execute an Integration Services (SSIS) Package from a SQL Server Stored Procedure | i am executing query like this on sql server 2008 R2 [CODE] and getting error [CODE] | It looks as though the package has been saved with sensitive data protected, meaning that it can only be run by specified users. To fix it, set the PackageProtectionLevel to DontSaveSensitive and then re-deploy the package to the server. | 4 | 3 | 16,503 | 2014-03-21T07:32:32.317 | database_errors | dba.stackexchange.com | |
646,829 | Is Ploop a bad idea for OpenVZ? | I know that with Ploop you lose disk space as files are added/deleted within a container and you have to manually compact the container, but i have also read that if you reboot or there is a crash the containers can become nonrecoverable. Are there ways to properly reboot OpenVZ servers to avoid corrupted containers? | Even with an unclean shutdown of plooped containers, it's usually enough to do a fsck. It isn't much different from shutting down real hardware during write operations. Since I'm guessing you'll be using a filesystem with a transaction log on those ploops, you shouldn't run into more issues. As Brian mentioned, a prope... | 0 | 1 | 1,314 | 2014-11-25T03:26:09.247 | pipeline_ops | serverfault.com | |
337,071 | Will I need more system resources to run DB2 instead of MySQL? | I need to convert my web application from MySQL to run on DB2. I need to know in advance whether I will need a high spec server to ensure the web application performs at the same speed as it does now on MySQL. The application is a very database intensive data analysis application with a browser interface. It is only us... | are you using isam or innodb? typically, DB2 requires less system resources than the current versions of mysql. however, if it's performance you're looking for and the size of the database(s) aren't too large, you may actually want to look into switching to postgresql instead since it's considerably less "featureful" (... | 1 | 2 | 133 | 2011-12-02T16:45:21.010 | database_errors | serverfault.com | |
199,440 | Why securityAdmin does not have enough permission? | I am a server securityAdmin. The securityAdmin role should be treated as equivalent to the sysadmin role, according to Microsoft , but I failed to do below 2 things make myself as sysAdmin grant myself write right to a database. (currently in db_denydatawriter role ) Did I miss anything? Thanks UPDATE per RDFozz's comm... | The securityAdmin role should be treated as equivalent to the sysadmin role, according to Microsoft, but I failed to do below 2 things make myself as sysAdmin grant myself write right to a database. (currently in db_datadenywrite role ) All the above is wrong. [CODE] is not [CODE] , if it was so for what purpose 2 diff... | 0 | 3 | 5,842 | 2018-03-05T22:33:58.630 | warehouse_errors | dba.stackexchange.com | |
359,966 | Remote Performance Monitoring SQL Server | I've got a couple of servers running SQL Server 2005 Enterprise and I'd like to monitor them remotely using Perfmon (Windows' Performance Monitor). On my machine, I have an instance of SQL Server 2008 R2 Developer, and I noticed that there are a bunch of SQL Server specific performance counters, like MSSQL:Buffer Manag... | What are the versions of your SQL server and your remote monitor machine? If your remote monitor machine is 32 bit and your sql server is 64 bit, perhaps you cannot consume the SQL performance counters remotely. This MSDN link explained the reason. | 1 | 5 | 866 | 2012-02-14T14:00:46.860 | pipeline_ops | serverfault.com | |
395,671 | Asterisk / Elastix Address Book and Call Recording | I am trying to build a small asterisk based PBX using Elastix. It'll be having 4 FXO (2 nos.no ISDN, normal analog POTS, 2 nos. GSM connections using a GSM Terminal) and 4 FXS (2 IP Phones and 2 Android SIP Client). I am confused about the following two issues and need your help: I need to record all Incoming / Outgoin... | For 1 you just need in all extensions(via web) select "record inbound" = yes, "record outbound"= yes. For 2 that depend of phone. I know no free module to do what you requested,but you always able get developer to do that. Any cisco,aastra,policom phone can do xml browsing(specialy designed) so you able use it for cont... | 1 | 0 | 1,675 | 2012-06-05T12:01:49.837 | api_errors | serverfault.com | |
676,067 | FTP file transfer, loop through a directory and copy old files | I would like to move files older than 30 days and copy them into a remote FTP server. I've already written this script, that is able to connect via FTP. Usually, to move files, I would run this line: [CODE] The problem is FTP doesn't recognize that command. So I think I should loop through files and move only those tha... | You cannot use shell commands (like [CODE] ) in an [CODE] script. Though you can use a shell script to generate the [CODE] script. [CODE] The above code will generate file [CODE] with commands and pass that to [CODE] . The generated [CODE] will look like: [CODE] | 0 | 3 | 4,985 | 2015-03-17T09:45:56.563 | infrastructure | serverfault.com | |
1,144,947 | How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront? | I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I want to host two (or, eventually, more) subdomains using the [CODE] directive. However, no matter what I do, any request, ... | Ensure that your Route 53 records are correctly set up to point to your CloudFront distribution. Confirm that the CloudFront distribution is correctly configured to forward requests to the ELB. Your Apache VirtualHost configuration should include both *:80 and *:443 for both subdomains. You can use the following templa... | 2 | 0 | 216 | 2023-10-02T14:39:43.107 | api_errors | serverfault.com | |
923,971 | Is there a way to protect SSD from corruption due to power loss? | We have a group of consumer terminals that have Linux, a local web server, and PostgreSQL installed. We are getting field reports of machines with problems and upon investigation it seems as if there was a power outage and now there is something wrong with the disk. I had assumed the problem would just be with the data... | When suddenly losing power, MLC/TLC/QLC SSDs have two failure modes: they lose the in-flight and in-DRAM-only writes; they can corrupt any data-at-rest stored in the lower page of the NAND cell being programmed. The first failure condition is obvious: without power protection, any data which are not on stable storage (... | 18 | 18 | 16,004 | 2018-07-29T07:41:36.743 | data_quality | serverfault.com | |
1,078,718 | BTRFS on RHEL8 - compiling kernel module or making userspace tools work | Context I recently installed RHEL 8 without realizing that it no longer supports BTRFS . Unfortunately, I have 4 disks in BTRFS RAID10. I don't have enough space on my other disks to hold the data present on the BTRFS disks, so copying it all elsewhere while booted from a USB drive is out the window. I have my initial ... | In the comments, @MichaelHampton's answer worked. I added [CODE] from ELrepo like this: [CODE] Note that I already built the userspace tools [CODE] and outlined the build steps in the question above. If you're coming here from Google, you'll need to install [CODE] in addition to the kernel module. Then restarted, check... | 1 | 2 | 2,470 | 2021-09-27T01:32:18.207 | infrastructure | serverfault.com | |
217,232 | Monitor RAM/Memory | I'm planning to create a job that automatically gets the status of my server's RAM/memory at the time of the job's activation. My job has the command: [CODE] Is this enough to monitor a server's RAM? Are there better queries that can be used? Ps Please, as much as possible, do not suggest 3rd party programs because I c... | Is this enough to monitor a server's RAM? Are there better queries that can be used? If your requirement is just to check SQL Server memory usage then the query used is fine with slight modification. [CODE] Do not forget to add new columns to table [CODE] or the query will start failing. The column alias [CODE] tracks ... | 1 | 0 | 266 | 2018-09-11T03:37:48.397 | warehouse_errors | dba.stackexchange.com | |
976,990 | Virtual Networking in KVM breaking internet access | I have set up a virtual networking on my CentOS 7 Workstation and the primary physical network interface is bridged as per this RHEL article . libvirtd is running successfully, however after reboot this is what happens [CODE] If I try to start the default bridge. This is what I get [CODE] So put the virtual bridge ( [C... | Remove the autostart from the network definition. It is being started by the network manager. The two configurations may be conflicting. virsh may report the interace as inactive even if it is up. Whatever you define your bridge as, it neeeds to be declared to libvirt. You will need to ensure the network configuration ... | 0 | 1 | 9,919 | 2019-07-28T02:05:17.747 | infrastructure | serverfault.com | |
1,066,777 | Bunch of SAS disk and want to wipe all of them | I have 40 SAS disks. The model number is HUS156060VLS600. 600 GB 15K 3.5 inch SAS disk. It came from a customer. And the customer wants to wipe all data inside of SAS disks. Customer said the disk was spinning and transferring the data on the enclosure. At this point everything is okay. Firstly I bought a SAS-to-SATA c... | You need a SAS HBA. Then use sg_sanitize from sg3_utils package. Examples: Simple erase: [CODE] Overwrite with given pattern: [CODE] If you only have a RAID controller, than you can create a RAID volume and just fill it with zeroes or some random pattern (see scrub ). | -1 | 1 | 1,715 | 2021-06-15T11:11:21.757 | infrastructure | serverfault.com | |
769,986 | bash: /etc/hosts: Permission denied | Why when I run I get the error: [CODE] But when I do [CODE] I can edit this file without any problem. UPD Because question is closed I add answer here: [CODE] Link: https://serverfault.com/a/68544/307225 | Try [CODE] The way you written it, you will try to append the output of [CODE] to [CODE] before the [CODE] becomes active. | 4 | 0 | 18,415 | 2016-04-13T09:45:52.120 | infrastructure | serverfault.com | |
20,430 | Logistic regression prediction changed after executed couple of time | I noticed that after each time I execute the following lines of code, my results are different. Any idea why? I think that the main issue here is this line of code But I dont understand why? test_data['prediction']=sentiment_model.predict_proba(test_matrix)[:,0] What is the best way to add new column with .predict_prob... | There is some randomness in the results from selecting/shuffling data that is used in the model. If you don't want that, you could set a fixed random_state (seed) in your model. | 0 | 2 | 204 | 2017-07-14T10:46:25.583 | data_quality | datascience.stackexchange.com | |
746,107 | Bots hitting xmlrpc.php and causing high load on the server | Recently we are having a lot of hits to wordpress xmlrpc.php which in end causes high load on the servers. We tried rewriting all xmlrpc.php to 127.0.0.1 but didn't help much. Since apache was still handling the connections. In the end we blocked this kind of connections using iptables -I INPUT 1 -p tcp --dport 80 -m s... | The firewall rule you described has 2 issues: You should make some rate-limits for it rather than just blocking everything. Using the string module in the firewall is not very wise due to performance reasons. Your best choice is to put HAProxy in front of Apache. You can take a look at my answer in this post for more d... | 1 | 3 | 2,054 | 2015-12-31T08:59:07.430 | infrastructure | serverfault.com | |
439,542 | Code smell java:S115 - Constant names should comply with a naming convention | In my Java 11 / Spring Boot codebase I have enums that don't respect the convention to have all uppercase constants because when we move to frontend the data there has to be camelCase (or even random / weird case). I am not designing this from scratch, more dealing with something pre-existing. Here's an Enum example: [... | I implemented another possible solution suggested in this other Baledung article and it worked just fine: [CODE] | 2 | 1 | 2,366 | 2022-06-29T12:41:20.510 | api_errors | softwareengineering.stackexchange.com | |
9,321 | Multi-class logistic regression | I am trying to understand logistic regression for a multi-class example and I have the following code: [CODE] However at this point the code gives me the following error: [CODE] HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node. Can anyone help understand... | I found my own answer. I had defined [CODE] and that was wrong. The correct definition is: [CODE] since the weights link 'feats'-number of input neuron to 'num_classes'-number of output neurons. | 0 | 1 | 458 | 2015-12-10T22:03:16.547 | data_quality | datascience.stackexchange.com | |
183,630 | Can I migrate 2 tables (with one table foreign key referencing the other) to in-memory OLTP | SQL 2016 - I have 2 tables, Foo & Bar - Bar references Foo. I'd like to turn Foo into an in-memory optimized table, however as Bar references this, I can't do it. I also can't make Bar in-memory due to its dependence on Foo. Seems like I need to do this to both tables at the same time - is this possible without recreat... | Seems like I need to do this to both tables at the same time Correct. If you try to recreate the FK after migrating one table you will get: [CODE] is this possible without recreating both tables from scratch? Migrating to in-memory tables always requires recreating the tables from scratch. SSMS will rename your old tab... | 0 | 1 | 140 | 2017-08-16T13:05:34.867 | warehouse_errors | dba.stackexchange.com | |
987,971 | haproxy redirection not working when using same bind port? | Currently there are 3 applications running on their respective ports(5000,30000 and 32000).All these application are working at their respective ports.Now i want to map these 3 applications using an alias name with the help of haproxy. What i have tried [CODE] using this config i can access https://206.189.22.155/proce... | You have two frontends listening on the same port 443 but only the first frontend will match all request coming on port 443. | 1 | 0 | 1,586 | 2019-10-14T18:10:55.027 | api_errors | serverfault.com | |
91,309 | What perfmon counters should I use to get the fastest restore possible on an idle system? | I have a development VM running Windows 2012-R2 and Sql Server 2014. I have one disk from a SAN holding the OS and SQL. My backup file is stored locally on the disk. I want to restore database as quickly as possible as part of a "reset my dev environment" process. The system is mostly idle when I do this. The system ru... | If you are running Developer or Enterprise edition, consider restoring from a database snapshot rather than a full backup ( https://msdn.microsoft.com/en-s/library/ms189281.aspx ). This can also be less resource-intensive than a full restore. The time needed to revert from a snapshot is largely proportional to the amou... | 3 | 1 | 321 | 2015-02-06T14:55:38.083 | database_errors | dba.stackexchange.com | |
312,338 | Google Uses My Reverse Record To Access Site - Is that ok? How to redirect them? | Google accesses my site via my DNS reverse records e.g. static-myip.host.com instead of using the domain In Google Webmaster tools I get DNS issues - could it be that allowing Google to access a site via reverse records is not the best thing? How can I redirect direct accesses via reverse records to the actual domain? | You can create a new name-based virtual host matching your reverse hostname and redirect it with 301 to the correct domain (e.g. example.net): [CODE] This way Google bots will know that the real URL for the content is http://example.net/ | 1 | 3 | 95 | 2011-09-16T20:04:31.780 | infrastructure | serverfault.com | |
94,014 | GPA prediction of college student | I have a dataset consist of 8 columns and 15600 rows with the following columns:- 1.Entry_academic_year which have 5 discrete value (2558,2559,2560,2561,2562) 2.Faculty (It is the faculty that student has taken like engineering) 3.branch (It is the branch that student has taken like software engineering) 4.Admission ty... | Perhaps you can see if [CODE] is correlated in any way to [CODE] ? If there is no correlation, you can try to fit a model by dropping the [CODE] column. Else, you can try to drop rows belonging to under-represented high schools. However, one problem I foresee is that future predictions might have [CODE] that are unseen... | 1 | 0 | 88 | 2021-05-05T10:08:20.527 | data_quality | datascience.stackexchange.com | |
360,720 | mod_rails. Apache + Nginx. After installing passenger Apache doesn't start | I've installed Nginx for optimizing the speed of Apache requests. For some weeks everything was fine, all my sites had started to fly indeed. BUT, I've decided to install passenger, and has broken my Apache. It's not starting... So, I think it's because the port 80 already in use by Nginx netstat shows such situation: ... | You have to use another port. Try to search in /etc/apache2 directory in some configuration file directive 'Listen' and change it in this way, for example: [CODE] | 0 | 2 | 323 | 2012-02-16T09:12:49.763 | infrastructure | serverfault.com | |
485,310 | Network Script broken with recent XEN update in Debian Squeeze | Today I applied the most recent xen update for Debian Squeeze from [Security]. The package version is now [CODE] . After that, xend began to behave weird (aka. wrong): [CODE] It worked before without any error, hence my question: Is this a bug or is it my fault? Btw, I'm shure I did not change something around xen, i.e... | According to the Xen wiki the script [CODE] should not be used anymore starting with [CODE] . Unfortunately I'm on [CODE] , but I figured what has to be done manual in the next version can I configure manually already. This means, on [CODE] I trigger [CODE] : [CODE] And in [CODE] I set [CODE] . That is pretty much what... | 0 | 1 | 387 | 2013-03-06T17:07:40.353 | infrastructure | serverfault.com | |
452,522 | Puppet: how to use data from a MySQL table in Puppet 3.0 templates? | I have some data whose source-of-truth is in a MySQL database, size is expected to max out at the some-thousands-rows range (in a worst-case scenario) and I'd like to use puppet to configure files on some servers with that data (mostly iterating through those rows in a template). I'm currently using Puppet 3.0.x, and I... | I go even further and have a MySQL db that's authoritative for all server data (it's a django app actually). Here's how I integrate them: Node definitions There are two possibilities. We currently use a generated manifest, that's included from site.pp containing entries like: [CODE] } But soon-ish we need to switch thi... | 3 | 3 | 2,964 | 2012-11-27T10:52:16.247 | pipeline_ops | serverfault.com | |
435,502 | What are some best practices for team structure around Mobile and Desktop apps? | We're currently developing a product which will have a Web version and a Mobile version. At the moment, the plan is to have identical features on both of these. From a tech perspective, there is an opportunity to reuse a lot of the business logic code because both products are developed using a React framework which ha... | The decision to use a single repository for both the Mobile and Web versions or to use multiple repositories should depend heavily on the release cadence of the two versions of the product. If it is the expectation that new versions of both the Web and the Mobile version will be released (closely) together and in the o... | -3 | 3 | 80 | 2021-12-22T12:31:39.237 | api_errors | softwareengineering.stackexchange.com | |
739,269 | Linux VM stuck in Provisioning for last 2hrs - Azure | I had a CENTOS VM running fine, it was hosting a website. I captured the image using these instructions, https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-capture-image/ The image I created is visible even on the azure management portal. I have tried to create a new VM using the Image but ... | I have tried the guide and it works for me (I created new Centos VM and capture it). I tried login to the new VM from the image and I still have my sudo access. So, the guide is correct maybe you just do something wrong in the process. And also make sure you use the new user that you created for the new VM not the old ... | -2 | 0 | 331 | 2015-11-27T06:17:03.420 | infrastructure | serverfault.com | |
63,986 | Is it always wrong to optimize before profiling? | I see the mantra of "profiling before optimization" repeated again and again here, on SO, and elsewhere. Although I certainly use profiling tools, I'm only occasionally surprised by the results. It seems like, as often as not, the profiler is just giving the same information that you could reasonably deduce by knowing ... | I think the golden rule here is "Everything in moderation". If you are fairly certain a piece of code is going to prove to be a bottleneck, its not a horrible practice to do some initial optimization. At the very least, its a good idea to take steps to make sure it will be easy to refactor later. What you want to avoid... | 24 | 35 | 2,146 | 2011-03-31T14:40:56.047 | api_errors | softwareengineering.stackexchange.com | |
895,161 | GCM cipher suites are enabled but not discovered by SSL Labs test | I have the following cipher suites enabled on Windows Server 2012 R2 server. However, when I run SSL Labs test, the test discovers only the following cipher suites and the test reports [CODE] . Why are the [CODE] cipher suites missing in the test report? How to fix that? Note: The web is delivered via IIS. Yeah, I have... | You show various *ECDSA*GCM* ciphers as enabled. But these are all cipher suites which require an ECDSA certificate, i.e. with an ECC public key. My guess is that you instead use the more common RSA certificate which means that no ECDSA ciphers can be used. Instead you would need to enable *RSA*GCM* ciphers, for exampl... | 3 | 8 | 8,797 | 2018-02-01T11:55:02.723 | infrastructure | serverfault.com | |
115,574 | Binary crossentropy loss | When we have a binary classification problem, we use a sigmoid activation function in the output layer+ a binary crossentropy loss. We also need to one hot encode the target variable.This s a binary classification problem meaning that we can have some samples with [CODE] . As we know the binary crossentropy loss has th... | Adding a value equal to the machine epsilon will give you an offset in [CODE] that is large enough to not change your result but will give you an expression that you can evaluate: [CODE] | 0 | 1 | 22 | 2022-10-25T12:32:20.220 | data_quality | datascience.stackexchange.com | |
18,751 | What's the difference between fuzz-testing and property-based testing? | My feeling is that both types of testing check system behavior for random sequence of data. However, the difference is that: in property-based testing there are multiple equivalence classes; I define expected behavior and generate a set of random values for each class separately whereas in fuzz-testing there is only on... | Fuzz-based Testing is :- Simple and offers a high benefit-to-cost ratio. Fuzz testing can often reveal defects that are overlooked when software is written and debugged. Nevertheless, fuzz testing usually finds only the most serious faults. Fuzzers work best for problems that can cause a program to crash, such as Buffe... | 8 | 4 | 2,310 | 2016-05-19T05:56:54.793 | data_quality | sqa.stackexchange.com | |
664,062 | php5-fpm invoked oom-killer | One of my server (Ubuntu 12.04, 16CPU, 32GB RAM) runs the app section of my website (Nginx 1.1.19, PHP5-FPM, Php 5.3.10, Symfony2 Web Framework) Suddenly, users started getting HTTP 5** Errors. When I went on the server, there was huge disk IO and the culprit was [CODE] . When I went through the kernel logs using [CODE... | You need to make sure that you don't run too many PHP-FPM processes on your server. Look at [CODE] , [CODE] and [CODE] settings in your PHP-FPM pool configuration. | 2 | 0 | 1,949 | 2015-02-01T04:56:38.560 | infrastructure | serverfault.com | |
46,258 | One-hot encode multi-class multi-label sequences | Suppose I want to build a timeseries where each timestep is represented by a categorical array: the encoded sequences look like [CODE] and each entry has a different number of possible values (categories). For example the first entry has 0-3 values, the second 0-1 and so on... I want to train an LSTM model in order to ... | You may need to try cat2vec which converts categorical features into vector representation using Word2Vec approach. Check also this link for multi-feature inputs into LSTM . For the target y, one-hot is a better technique for NN-based models. | 3 | 2 | 3,077 | 2019-02-26T12:32:50.310 | data_quality | datascience.stackexchange.com | |
1,043,063 | Why a MultiAZ db.t2.small reserved instance costs two normailzed units? | I have a MultiAZ Aurora MySQL cluster with 2 db.t2.small instances, the Master and the Read Replica Now I want to buy MultiAZ Reserved Instances for both db.t2.small instances but when doing the purchase I see that each Reserved Instance costs 2 normalized units On the other hand if I choose SingleAZ which is not the c... | A multi-AZ database has two servers, one in each of two AZs, hence you pay for two servers / units. I'm not sure I'd bother with making my read replica multi-AZ, unless it's a fairly critical system. | -1 | 3 | 38 | 2020-11-18T14:38:18.633 | database_errors | serverfault.com | |
234,823 | SQL Server Authentication | I am able to access a database using the Windows Authentication method in DBeaver. However, when I switch to different account in Windows and I would like to access the datebase, I used SQL Server Authentication method, it keeps giving me error. How should be the username format? Moreover, how can I add another Windows... | There are two modes of authentication on SQL Server as you can see below: Windows Authentication - If only this is enabled then, you can only create domain account(windows account) and login will have format like --> Domain_Name\Login_Name SQL Server and Windows Authentication - Also called mixed more, if this is enabl... | 0 | 1 | 90 | 2019-04-15T13:46:27.403 | database_errors | dba.stackexchange.com | |
899,478 | SSRS Prompting for credentials when using FQDN | I came across this issue because I'm writing a web application which uses SSRS reports and, after configuring our production SSRS server to use HTTPS we found that reports won't run (we get error 401: Forbidden). I've since found that if I try to navigate to the URL for the Web Portal using HTTPS I get prompted for log... | Add the URL to your Local Intranet zone in Internet Explorer settings on the client laptop. | 1 | 2 | 6,553 | 2018-03-01T12:49:57.033 | api_errors | serverfault.com | |
104,516 | How to implement ID3 | I'm trying to follow the suggested outline form implementing ID3 [CODE] The code that I have written for this program is written as follows: [CODE] The goal of this program is to classify the training data in a decision tree like so [CODE] ect.. The dataset for this program are the following: Assignment 2--Training set... | Ok so let's start with the basics: ID3 is a decision tree learning algorithm. This is supervised learning, which means that every data point (or instance) has some features $x$ and a label (or class) $y$ . The goal is to train a model from some labelled dataset (data which has both $x$ and $y$ provided) so that the mod... | -1 | 3 | 177 | 2021-11-26T13:07:05.237 | data_quality | datascience.stackexchange.com | |
315,834 | Why only few SQL Server Extended event plan handle 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | We have created an extended event to capture long running queries , the objective is to get execution plan by joining on plan handle column some event data has a plan handle with id value however some has just has"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - which is a pro... | The OP has [CODE] as the event and an added Action to collect the plan handle: [CODE] Actions can be executed but it doesn't mean they will produce anything helpful. In this case, a batch does not have an execution plan (a single statement batch could but that's not the semantics). For example, I can create a session o... | -2 | 3 | 187 | 2022-08-19T16:23:49.507 | database_errors | dba.stackexchange.com | |
900,729 | How can I safely set up a Public Server at Home | Before posting I looked at a couple questions that looked promising but didn't really answer my question: Setting up a Public Server - This is more for local development, I am talking more of a production server, I can deploy code to, and have my customers interact with from their home. Setting up a home DNS server - I... | Don't do this. Running servers at home is a hole in the ground that you throw money into. The pro of running your services in cloud services is that you have highly skilled security engineers making sure things are safe at ever level they control, and other skilled personell to make sure your service stays up, your dat... | 4 | 5 | 10,732 | 2018-03-08T19:55:02.663 | database_errors | serverfault.com | |
291,467 | haproxy BADREQ errors | I am seeing errors similar to the following in my haproxy logs: [CODE] etc... So far I have tried to increase the client timeout (to 6 seconds from 3), and increase the http request buffer from 16k to 32k. The errors still appear. Can anyone give me guidance on what to look for here? | A Preconnect from a browser could lead to [CODE] too if the browser is not using all connections. For example when a user is downloading only one file per browser. That means there are two possible causes for [CODE] with [CODE] or [CODE] (verified with HAProxy v1.5-dev24): Unused connection: That means for HTTP(S) a cl... | 8 | 8 | 23,319 | 2011-07-18T15:08:38.007 | infrastructure | serverfault.com | |
34,675 | How to reuse existing browser session, instead of opening new windows? | I have a feature file which has many scenarios. When I run, every time it's initializing the new browser.It's performing every scenario in the new browser. I am using [CODE] and [CODE] [CODE] Is there any way to run all my scenarios on one browser? | You need to rework your [CODE] to make it producing a Singleton . You also should not invoke [CODE] method since it "destroys" the webdriver. | 2 | 3 | 7,323 | 2018-07-09T14:38:39.043 | data_quality | sqa.stackexchange.com | |
316,562 | Can we route video on my redundant link while the primary is up and turn it off if the primary fails over to secondary? | We have a remote location that is currently routing data over a satellite connection. I am adding a cellular fail over if the satellite goes down. I have been asked to install video cameras that will stream video, but this takes a lot of bandwidth and satellite is limited to 128k upload. Is it possible to setup a Cisco... | Have a look into IP SLA and policy based routing . You should be able to do what you want with a combination of those. | 1 | 3 | 74 | 2011-09-28T20:23:48.343 | infrastructure | serverfault.com | |
278,855 | Strawberry Perl libeay32_.dll problem | I've installed Strawberry Perl (v5.12.3) on Windows Server 2008 32 bit and I was hoping to run simpledb CLI tools. I had a small issue with HOME environment variable , I renamed it to HOMEPATH to solve the problem, but when I tried to run I got: [CODE] Anyone knows how to solve the problem? Is it an issue of Strawberry... | I had the same problem with Windows Server 2003, strawberry, and Bugzilla. My "solution" was to copy the missing .dll files to c:\windows\system32, whenever the system told me that it couldn't find a dll. The missing .dll files were all in the path. Previously I tried copying them to the directory where perl.exe is, an... | 5 | 2 | 6,702 | 2011-06-09T17:37:06.097 | infrastructure | serverfault.com | |
330,273 | Postgres 11 log all statements not working as expected | I am trying to track down a row delete that is happening somewhere in a huge and sprawling application. I know that something deleted a row in an important DB table, and I have narrowed down when the delete happened to a 78 second time window. The app is spread over about 150 servers, but a simple grep for "delete" in ... | It is possible to countermand the log_statement=all setting. A superuser can just run [CODE] in their session (although the SET statement itself would be logged before the new behavior takes effect, so it does leave evidence). It can also be countermanded "permanently" by [CODE] , or the analogous thing with [CODE] . T... | 1 | 1 | 244 | 2023-08-14T08:54:10.423 | database_errors | dba.stackexchange.com | |
203,399 | Query performance drastically depends on the database in use | I'm on SQL-Server 12.0.5203.0 There is a query covering multiple databases. I think It is not useful to post the actual query (as it is rather complex and confidential, just think of a query like [CODE] Please: This is not my query... Do not discuss the usage of [CODE] or [CODE] against [CODE] , thx :-D Users reported ... | At a high level, database context is one of the keys that make a cached plan unique (there are other things, like certain session settings, the query text obviously, etc). Therefore, it is quite possible that the first time this query was run in one database, it compiled (and is now stuck with) a very different plan th... | 0 | 1 | 346 | 2018-04-09T14:15:16.587 | database_errors | dba.stackexchange.com | |
74,983 | MySQL 5.1 High Cpu usage on CentOS 6 | I am running MySQL 5.1 on a CentOS 6 server with 16G ram. I got also apache on it. MySQL is constantly using too much cpu. [CODE] my.cnf [CODE] [CODE] is returning me on average 2-5 queries. Here is the output of SHOW VARIABLES; command. We got MyISAM and InnoDB tables in this system. Thank you for any suggestions. EDI... | Let's see the slowest query in the system. Quite likely, fixing it (adding an index, reformulating the SELECT, etc) is the best solution. You mentioned SHOW FULL PROCESSLIST -- That is likely to show the naughty queries; let's see them, plus the associated SHOW CREATE TABLEs. query_cache_size = 128M -- too big; no more... | 2 | 1 | 4,520 | 2014-08-26T15:55:26.880 | database_errors | dba.stackexchange.com | |
187,201 | Are the any issues with using Window Server 2008 "Dynamic" drives when sitting on top of VMWare | I'm interested in using the Mirroring/RAID1 capabilities built into Windows Server 2008 but it's running on top of VMWare ESXi and I wanted to make sure there wasn't a conflict between the virtual drives of VMWare and the Dynamic Drives of Windows Server 2008. | By themselves, Dynamic Disks don't present a problem for ESX. So far as they're concerned they're just another block device, what the OS does with it doesn't matter. Though keep in mind that you can't Extend RAID1 Dynamic Disks in Windows, once the mirror pair is created they will be that size forever more. That said, ... | 0 | 1 | 268 | 2010-10-04T04:56:29.617 | infrastructure | serverfault.com | |
129,852 | SQL Server - Handling localization of strings in nested non-deterministic view stacks | While profiling a database I came across a view that is referencing some non-deterministic functions that get accessed 1000-2500 times per minute for each connection in this application's pool. A simple [CODE] from the view yields the following execution plan: That seems like a complex plan for a view that has less tha... | Looking at the given code, we can say, First, this should not be a view but it should be a stored procedure, as it is not just reading from a table, but it uses UDFs. Second, the UDF should not be called frequently for the same column. Here, it's called once in the select [CODE] and Second time for joining [CODE] One c... | 20 | 1 | 1,275 | 2016-02-19T20:19:52.137 | api_errors | dba.stackexchange.com | |
690,433 | Remotely managing Server Core from a non-domain computer | I've been trying to setup a Server Code system for hours now and nothing works. I'm guessing the root of the issue is that neither the Win2012R2 server nor the Win8.1 client are part of a domain but I can't believe I'm the first one trying to do that. So I installed the RSAT tools and started up [CODE] . I add snap-ins... | I believe that you need to specify user@domain as the username when you use the runas command. Otherwise you are defaulting to your local administrator account. | 1 | 1 | 3,092 | 2015-05-07T19:15:09.277 | api_errors | serverfault.com | |
847,012 | Cannot Add Drivers to Windows 2016 Server Core - Operation Not Supported | When trying to add the default "RICOH Class Driver", I am stopped by the error "This operation is not supported." In fact, while the Ricoh driver is the one that I want, I receive the same error no matter which driver I try to add. How am I supposed to add this driver to Windows Server 2016 Core? I am currently interac... | I do not like this answer because it is stupid. However, it is a stupid as the problem. Removing and re-adding the role has fixed the issue. No restart was required, though I did restart the machine prior removing and re-adding the role. | 2 | 3 | 1,863 | 2017-04-27T22:35:59.320 | infrastructure | serverfault.com | |
335,228 | SQLite - Update of a field in two steps without variable (SpatiaLite) | I work with SpatiaLite, managing databases through SQLite. Unfortunately, this system doesn't allow the use of variables, or at least, I haven't discovered how to use them yet. My objective is to extract the first four words from a string when it contains "var." or "subsp.", otherwise, just the first two words. The fir... | There was an issue with SELECT CASE, on the second update of NOM_SCIENT_VALIDE. Here is the updated trigger : [CODE] | 1 | 1 | 22 | 2024-01-26T13:29:21.997 | database_errors | dba.stackexchange.com | |
587,739 | how do deal with ssh config, and and passphrase | Why oh why am I being asked for a passphase when cloning from github?? [CODE] here is my ssh config file: [CODE] if I run from fabric..I get no error but I get prompted for the passphase if I try and clone def bootstrap(): put('ssh_config','/root/.ssh/config') put('git_id_rsa.pub','/root/.ssh/git_id_rsa.pub') put('git_... | Because the identity file is the private key, not the public key: [CODE] | 1 | 3 | 1,043 | 2014-04-09T12:17:26.337 | pipeline_ops | serverfault.com | |
23,969 | Sentence similarity prediction | I'm looking to solve the following problem: I have a set of sentences as my dataset, and I want to be able to type a new sentence, and find the sentence that the new one is the most similar to in the dataset. An example would look like: New sentence: " [CODE] " Prediction based on dataset: [CODE] I've read that cosine ... | Your problem can be solved with Word2vec as well as Doc2vec. Doc2vec would give better results because it takes sentences into account while training the model. Doc2vec solution You can train your doc2vec model following this link . You may want to perform some pre-processing steps like removing all stop words (words l... | 37 | 40 | 84,593 | 2017-10-22T07:36:15.920 | data_quality | datascience.stackexchange.com | |
265,628 | ESXi vs Hyper-V performance with multiple VM's | We are building a server to run our web site, where we will have following apps running 1. ASP.NET Web Application 2. ASP.NET WCF middletier 3. SQL Server 2008 4. Lucene + Solr + Tomcat 5. MongoDB 6. Memcached Server will have 6 core intel processor, 24 Gb memory, 4x1TB 7,2k in RAID 10, 4x300GB RAID 10 We are thinking ... | I'll admit I'm horrendously biased towards ESXi but if you're dealing with any form of Linux guest you should use ESXi, HV does support certain Linux's but it's through gritted teeth. 95% of my VMs are Linux on ESXi and I couldn't be happier. | 1 | 3 | 2,221 | 2011-05-02T22:13:08.803 | database_errors | serverfault.com | |
234,343 | Best way to search through directory structure | I'm working on a python program which organizes a music library. The program will basically help me detect misspelled file or directory names, wrong FLAC tags or unknown/superfluous files. It will also make sure that the FLAC files are named correctly according to their FLAC tags etc. The structure I though of looks as... | There is absolutely nothing wrong with your approach. Note that if the "do some checks" part was the same in every function, then indeed you could simplify and have a single function that calls itself recursively on sub-folders. Perhaps this is what you had in mind... But this is not the case here as each function is c... | 1 | 2 | 336 | 2014-03-31T19:53:45.250 | api_errors | softwareengineering.stackexchange.com | |
374,719 | SSH over dedicated OpenVPN connection | I have several SSH servers I want to connect to that can only be reached via (different) OpenVPN networks. Now my question is: I have for each network a different set of certificates and sightly varying configurations (*.crt, *.key, *.ovpn). Since my servers can be moved from one network to another (often twice or more... | Prerequesits: Replace every "redirect-gateway" or "route" in your openvpn files with "##SERVERROUTE##" Make sure that you can resolve Hostnames to IP-Adresses [CODE] | 1 | 1 | 334 | 2012-03-29T08:05:18.610 | infrastructure | serverfault.com | |
96,857 | MySQL Data Synchronisation from different Databases in C# | I am supposed to create a C# solution to compare the data (table, column and row) from two different databases and update the 2nd one as follows: 1. with just the rows that are updated recently (incase of duplicates) 2. check for new/updated column in 1st one and update/delete in 2nd accordingly or drop the table entir... | [CODE] | 0 | 0 | 2,807 | 2015-04-02T07:40:16.837 | database_errors | dba.stackexchange.com | |
769,134 | Win10 unable to send Corporate (Windows) Error Report on internal network | How can I configure Windows 10 to send an error report to an internal Corporate Error Reporting (CER) server while connected only to an internal network that has no internet access? Windows pops up a dialog box when attempting to check for a solution for a problem: Problem Reporting, "Connect to the Internet, or try ag... | Have you made the requisite GPO change in Windows Components\Windows Error Reporting\Advanced Error Reporting Settings\Configure Corporate Windows Error Reporting - and have you made this change on GPO that affects your restricted network? | 0 | 1 | 205 | 2016-04-08T21:02:10.833 | database_errors | serverfault.com | |
1,110,760 | Error restarting networking service | I am trying to set both a static ipv4 address and a static ipv6 address on a home hosted Debian 11 server (it's actually just a PC). Here is my /etc/network/interfaces : [CODE] After restarting networking service with `sudo service netowrking restart" Here is the result (exactyly what i want): [CODE] [CODE] As you see ... | this is @asktyagi answer but I added here to be clear to others On Debian 11 , after booting, [CODE] would show failure to add ipv6 addr to an interface that had ipv4 addr. Even it was set to [CODE] that interface did not have ipv6 address [CODE] so the error is RTNETLINK answers: Permission denied none of these worked... | 2 | 1 | 655 | 2022-09-14T22:18:36.187 | infrastructure | serverfault.com | |
275,178 | How to improve the estimated cardinality of inner join lateral | I'm currently running a query that has the following structure: [CODE] This works fast enough, but I've noticed the following problem with [CODE] . For every inner join lateral, it seems to multiply the amount of estimated rows by 1000 even though the joins don't add new rows. This leads to the query plan having more r... | If the joins can't add new rows, then why are f1 and f2 defined to be a set-returning function in the first place? If they were not set-returning functions, this multiplication would not happen. Alternatively, declare the functions to be expected to return only one row. [CODE] etc.,. | 0 | 2 | 188 | 2020-09-08T21:12:42.240 | database_errors | dba.stackexchange.com | |
265,789 | SQL Server on EC2: What way do i set up the EBS | Good morning. We have a service with a SQL box on Amazon EC2 and, as suggested on this question , we are using EBS to store the data... the problem is, What is the best way to setup the storage? At the moment, during the Development phase, we have 4 10Gb "Disks" (should be enough for the next while, might look into mor... | EBS Volumes have a lower AFR than regular commodity hard disks (They are redundant behind the EBS abstraction) so RAID 0 for speed and reliable I/O is usually used. However, this is coupled with frequent backup and recovery mechanisms in case of a drive failure. Alternatively, use RAID 10, it will still be faster than ... | 2 | 2 | 442 | 2011-05-03T11:37:51.737 | database_errors | serverfault.com | |
117,192 | How long would it take for someone completely new to programming to get enough knowledge to make it to the job market as a junior programmer?(C#) | I just want to know how long would it take me to become proficient enough (in let's say C#) in order to be able to get into the job market as a junior/entry level programmer. I have read all those articles and discussions about "how long would it take" but the answers always seem to be like "...it will take you two wee... | Generelly this is very hard to answer since we don't know you... But I would roughly estimate 6-12 months to a "hirable" status... You should invest into some good books (IF C# is the language you want to learn then for example "C# in Depth" - see http://csharpindepth.com/ )... after 3-4 months you should start digging... | 6 | 6 | 31,243 | 2011-11-01T05:27:00.687 | api_errors | softwareengineering.stackexchange.com | |
95,417 | How do I retrieve the loop record in the connect by clause? | I have a employee-->Manager hierarchy and using the following query: [CODE] We are getting the following as the output [CODE] The problem here is because the CEO (F12345) is his owner manager, a LOOP occurs and hence , I am not getting the CEO record at the end of the table. My expected output is: [CODE] Is there a way... | You could use what your query returns to get the extra row that have [CODE] [CODE] Or use a recursive CTE: [CODE] Another way to avoid cycles in a recursive CTE is to use the [CODE] clause (available only in Oracle): [CODE] Test at SQLfiddle Just realized that the extra row can be retrieved with a simple change in the ... | 2 | 1 | 1,525 | 2015-03-17T05:47:04.370 | warehouse_errors | dba.stackexchange.com | |
103,461 | how to prevent an oracle block corruption from duplicating a database with a few nologging tables | I got a few data corruptions in a test db when I performed a duplicate from a production db where a few tables have the nologging option. Oracle support suggested to turn on the force logging option when perform a duplicate. I wish that i do not have to change the production settings in order to make a duplicate db in ... | The reason for the databa block corruption is that ther was data inserted in the table with nologging in the timespan between the begin of the backup and '01-JUN-2015 02:00:00'. So the information needed to fully restore the datafiles (by applying the archive log) is not contained in the archives log. Mainly there are ... | 1 | 2 | 1,765 | 2015-06-01T18:38:21.263 | data_quality | dba.stackexchange.com | |
629,802 | Find out who installed SQL server - they forgot to add other logons | We have a site where one of our team of techies installed SQL Server 2012. They forgot to add our administrators group as sysadmins so only they can access SQL - everyone else gets "Access Denied" How can we find out who installed SQL, or who is a SQL Administrator so we can ask them to correct their fault? I have doma... | Since you have admin rights to the server you can use the same procedure used to recover access when system administrators are locked out. MSDN: Connect to SQL Server When System Administrators Are Locked Out | 1 | 1 | 804 | 2014-09-19T10:28:57.390 | database_errors | serverfault.com | |
875,867 | VLANs and packet tagging | Not a system admin (electrical eng so I develop ASIC's) and I've come across an issue where I need to understand switching better. I have one device (A) that has pre tagged traffic coming out of it and I have two devices (B & C) that will be sending untagged traffic. I want device A to be able to send some of its tagge... | Programmatically inside of a managed switch all frames are tagged/identified with some sort of VLAN ID so the switch is constantly adding and removing that information from the frames as they come in and out the various ports of the switch. This is how, for example, the switch keeps traffic on two untagged ports in dif... | 3 | 3 | 377 | 2017-09-28T03:38:54.683 | infrastructure | serverfault.com | |
817,789 | nginx: vfprintf %s NULL in syslog | I'm running nginx 1.10.2 on OpenBSD 6.0-current. My syslog has occasional entries like this: [CODE] I can't figure out what is causing nginx to log these events. Could someone kindly point me in the right direction as to where to look? Many thanks in advance. | This was reported on the OpenBSD bugs mailing list - looks like it's actually an issue in libcrypto, specifically [CODE] A patch was committed on the 3rd April , which missed the release of 6.1, so will be fixed in 6.2. | 1 | 1 | 251 | 2016-11-29T23:42:29.273 | infrastructure | serverfault.com | |
29,835 | I need help using hierarchyid datatype and requiring a unique constraint on a varchar field | I want to resolve a bunch of tables that had parent->child->grandchild relationships into a single table using hierarchyid identifiers. Here is what I came up with based on what I had. [CODE] My issue is that I need to be able to require that the refname is unique but only within the container that it is in. Being that... | If you add another column for the ancestor, e.g. [CODE] You can ensure that there is only ever one 'www' per parent. You can create a similar index for 'index.html'. [CODE] Obviously this is carrying it further than just the first level (www) and for children of [CODE] (index.html) but I don't see why the expanded rest... | 6 | 5 | 882 | 2012-12-05T03:36:23.500 | pipeline_ops | dba.stackexchange.com | |
53,608 | How Do I Configure OpenLDAP to use MySQL (Ubuntu 9.04)? | My intention is to make a MySQL table of Customer Contact Information available to Outlook/Thunderbird clients as an Address Book (via LDAP). I'm aware that OpenLDAP has a MySQL backend option, but I haven't been able to find any clear, solid documentation on how to configure it. Which OpenLDAP options do I need to set... | The OpenLDAP Admin Guide seems to walk through the setup in a pretty clear fashion. And [CODE] appears to be thorough and complete. | 5 | 3 | 12,159 | 2009-08-13T08:17:00.823 | database_errors | serverfault.com | |
296,987 | How to measure end-to-end response time without client network time? | In a typical multi-tier web application, how to measure the response time from when the server receive the request to the time server send out the response ? I want focus on the server side performance, so I do NOT want to include the time the response spent at the internet. The trouble is that web server logs usually ... | Run a network capture on the server and look at the time the server recieved the request and compare it to the time it responded to the request. That will show you when the request hit the network stack on the server and when it left the network stack, which should be a rough approximation of how fast the server is pro... | 2 | 2 | 3,616 | 2011-08-03T07:57:36.627 | pipeline_ops | serverfault.com | |
914,956 | cisco RV325 how to port forward to 3 web servers same LAN | I have 3 devices on a LAN with local DHCP addresses and they both have web servers on port 8080. I want to access them from outside the LAN. I want to have 3 ports on the WAN side of the router forward to port 8080 on 3 different devices (& IP addresses) on the LAN. [CODE] I was not able to add these to Port Address Tr... | Working now. We changed the external port from 8081 to 8095 and it worked. (forward 8095 to 8080). So there is some problem with using port 8081. As far as not able to save new service problem- someone else tried and it worked immediately. I don't know what I was doing wrong. | 0 | 0 | 723 | 2018-06-03T07:26:18.840 | infrastructure | serverfault.com | |
1,122,606 | NGINX crashed and weird logs on access.log | When I came back home just now, I was checking my webserver if it was still running and I noticed that my NGINX server was not running anymore. I tried to restart my NGINX a few times by running the command [CODE] and these error's occured: [CODE] Then I looked at my error.log file and saw that there were some errors a... | is this a bot? Yes. All public IPv4 addresses on the internet get scanned by script kiddies all the time. Stay patched! [CODE] is your friend. tried to restart my NGINX a few times [CODE] That is EADDRINUSE. You have another daemon process bound to port 80. Likely it is a leftover nginx that hasn't quite died yet. Kill... | 1 | 2 | 1,484 | 2023-02-11T22:43:21.670 | infrastructure | serverfault.com | |
1,086,408 | Migrating OpenLDAP data from 2.4 to 2.5 | I have gone through documentation online and on some forums but I am stuck on importing data from ldap 2.4 to 2.5 (Migrating to a new server as well). Here are the steps I did and the error I am receiving. (There were multiple other errors but that is fixed now Installation that I performed for 2.5: [CODE] Slaptest my ... | It seems your DB is not empty because slapadd already fails at entry "dc=test,dc=com" which I assume to be the base DN of your DB. Remove the old DB files and then try again. | 0 | 0 | 828 | 2021-12-15T14:54:30.727 | infrastructure | serverfault.com | |
442,522 | Cut over ASA global PAT address without connection drops | We're currently PATing everything from a particular subnet to the IP of an outside interface using our ASA5585 (dynamic PAT). We're experiencing pool exhaustion and therefore need to expand the global IP range. Can anyone think of a way of cutting over to the new range without dropping existing connections? Thanks for ... | As per the thread at https://supportforums.cisco.com/message/3769433 I can confirm that when you change the NAT rule, existing translations are maintained and new connections use the new pool. | 1 | 0 | 947 | 2012-10-26T00:48:19.463 | infrastructure | serverfault.com | |
629,002 | Never ending transaction problems after mysql 5.0->5.6 upgrade | I upgraded our entire backend mysql db from 5.0 to 5.6, including changing a few tables to innodb, and we've been having nothing but problems with never ending transactions since. I still have a staging server that uses 5.0, and I can confirm that we only get stalled transactions on the new database server. Both server... | So I never quite figured out exactly how to trigger the problem, but it had something to do with really large innodb tables in one of our databases. One of them was over 303 million lines long. When I setup some scripts to remove old data every night, the problem went away for good. These really weren't very important ... | 1 | 1 | 1,195 | 2014-09-16T20:24:05.550 | database_errors | serverfault.com | |
207,125 | Wikipedia confusion about ExtJS | I'm looking at the wiki on ExtJS , the wiki on List of rich Internet application frameworks , and the wiki on Comparison of web application frameworks . I'm confused. The first line of the ExtJS wiki page says: Ext JS is a pure JavaScript application framework for building interactive web applications[1] using techniqu... | A framework keeps control of the application flow and makes calls to your code. A library (vs a framework) is something your code calls when needed and your code is in control of the flow. What makes this interesting is that anything that exposes an API is a library in the broader sense. This essentially makes everythi... | 1 | 4 | 886 | 2013-08-04T07:57:35.643 | api_errors | softwareengineering.stackexchange.com | |
286,985 | Dependency injection of ViewModel with unmanaged parameter | I have a [CODE] which needs two other objects, the [CODE] and the [CODE] . [CODE] is obtained from a service locator: [CODE] But I would like to use dependency injection (DI, IoC) to obtain [CODE] , preferably via constructor: [CODE] My problem is, how can I pass the [CODE] to the constructor in DI pattern? Do I have t... | In addition to what Ian has said in his answer, the following should give you a different perspective around this thing. I try to answer following two questions about a dependency before I decide on the mechanism to pass the dependency object around. Am I going to be using the dependency? Who is responsible for instant... | 2 | 1 | 556 | 2015-06-16T18:48:03.607 | api_errors | softwareengineering.stackexchange.com | |
335,702 | Importing Users into Windows Server 2008 | Possible Duplicate: How to create Active Directory user account with powershell I'm trying to add some users onto my active directory through PowerShell I would be greatful if anyone could provide me with a piece of code or any other method of how I could do this. Thanks | When you say "any other method" I'm taking it as "aside from Powershell". I generally use CSV files to import and export users to and from AD. You can find more information on technet here: http://technet.microsoft.com/en-us/library/bb727091.aspx . A question in regards to exporting via Powershell has been asked over a... | 1 | 1 | 1,656 | 2011-11-29T09:57:56.950 | data_quality | serverfault.com | |
758,077 | Watchguard blocking ports | I want to block the whole Internet for particular hosts. In this case I used policy 'Any" which basically blocks every single port (tcp+udp I believe). In FROM field I put particular IP address from host, and in TO I put any. I uploaded the config and it's not working. I have still access to everything from that host. ... | The order of the firewall rules/policies that you have added is important because they are matched in order . For example, if there is an allow rule for all on top, it will get matched first and the deny rule down below will never get matched. So, put the deny policy at the top above other allow rules and it should wor... | 0 | 1 | 975 | 2016-02-18T11:41:01.460 | infrastructure | serverfault.com | |
202,689 | Non-trusted users on terminal services | We're considering to enable our >10 suppliers (mainly from China) to input/edit/view data via an unified interface. The preferred way is to use the same windows-based .NET/MSSQL application as used internally. As the application needs a direct database connection, my idea is to grant all suppliers access to a server at... | It's unfortunate that you're on Server 2003, as Server 2008's RemoteApp features would serve you brilliantly in this scenario. However, what you've got there should pretty much cover it from a security standpoint. We used to have a TS with un-trusted users on it and the setup was similar. Using GPO we locked down the a... | 2 | 1 | 143 | 2010-11-16T22:32:16.460 | database_errors | serverfault.com | |
206,532 | SQL left join returns null column | I am trying to do a [CODE] on two tables, where one table has a datetime column, and the other table has a date column. As I am working in SQL Server, I used [CODE] to change the datetime to date. I then wrote the join statement: [CODE] And the query returns the date column from table1, but the column from table2 is po... | You're doing the [CODE] in the wrong place I guess. You have to do it in the equals operation of the [CODE] , it's still a [CODE] there, regardless of what you do on it in the list of selected columns. Try: [CODE] | 0 | 5 | 18,247 | 2018-05-11T22:29:00.480 | database_errors | dba.stackexchange.com | |
50,210 | what are the correct /var permisions on ubuntu 9.04? | I was resetting permissions on /var/www and screwed it up! Now I get frequent problems connecting to mysql, using the package manager because /var has fairly open permissions. Anyone know if /var is a fairly blanket [CODE] Help! | Most directories should be 755 and owned by root. Sadly not everything should be that. If you do a recursive permission change, you will do significantly more damage. On my machine, I have: mojo-jojo david% sudo find /var -type d ! -perm 755 -ls 278532 4 drwxrwsr-x 2 root staff 4096 Oct 20 2008 /var/local 286930 4 drwx... | 1 | 3 | 2,067 | 2009-08-05T07:25:39.750 | database_errors | serverfault.com | |
5,589 | Password best practices | Given the recent events with a 'hacker' learning and retrying passwords from website administrators , what can we suggest to everyone about best practices when it comes to passwords? use unique passwords between sites (i.e. never re-use a password) words found in the dictionary are to be avoided consider using words or... | Use passwords that are not composed of common words or names. Dictionary attacks use dictionaries with millions of words and are very quick. Use long passwords. I tend to use pass phrases . I pick a phrase, sentence or rhyme and find some way to use a fair number of non alpha-numeric characters so that my words are not... | 30 | 25 | 3,082 | 2009-05-07T03:11:19.493 | infrastructure | serverfault.com | |
62,479 | MySQL Rows to Columns to HBase (using Sqoop) | I have a table that looks like this in MySQL: [CODE] I have found that I can use this for rows to columns and it works so far: [CODE] The problem is I have 4000 'num' values (values are integers from 0 to 4000) and I do not want to write 4000 MAX statements manually. Is there anyway I can put a loop in there somehow? I... | If you are interested in returning all the values as columns, you need to be try something very adventurous. First look at your query [CODE] If would be a big mess to get MySQL to execute it as a query by giving MySQL the query with each column formulated. Perhaps you can get MySQL to concatenate the column values usin... | 0 | 1 | 911 | 2014-04-03T15:04:36.167 | api_errors | dba.stackexchange.com | |
187,562 | I'm having a ton of trouble installing a process manager for my Rails app | After a long time wasted trying to get Bluepill to work for process management, I'm trying to get monit set up. I'm not a Sys Admin but know my way around *nix systems. I'm a bit stumped here. When I run the command to restart all monit processes I get this output: [CODE] However the process is not running when I check... | I know this is a super old question, but I'm documenting my (potential) answer for future Googlers. What worked for me was: [CODE] There's also a decent blog post on this: Solve monit: error connecting to the monit daemon This still might give you an error about not being able to connect to the server. Apparently monit... | 0 | 0 | 534 | 2010-10-05T01:06:24.450 | infrastructure | serverfault.com | |
189,899 | How can I get git to clone untracked files | I'm new to git. I'm using a development platform called automation studio. This development tool creates all sorts of files and directories which it needs to maintain runtime and IO information for the target processor. These informations are specific for each project. Therefore these file should not be under version c... | Sometimes there comes situations where you want to add configuration to version control but they change depending on where you've cloned the project. How to "semi-ignore" these files depends totally on how you want it to work. So here are some strategies for it: Strategy No. 1: Commit ALL THE THINGS You should try to c... | 3 | 6 | 4,566 | 2013-03-09T08:46:41.127 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.