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 |
|---|---|---|---|---|---|---|---|---|---|---|
85,171 | Why multi-class SVM can't detect some classes? | I use PCA and multi-class SVM for classifying 4-class problem in the Python environment. But in results, I see some differences in detection rate (Unweighted Accuracy in this problem). For example: FV | cl.1 % | cl.2 % | cl.3 % | cl.4 % | fv1 | 5.4 % | 47.4 % | 2.6 % | 78.6 % | fv2 | 2.6 % | 41.6 % | 8.3 % | 78.4 % | f... | Well, based on how PCA works, and the fact that you're using multi-class SVM, which is a pretty solid family of algorithm, the only possibility i can think of is that the problem comes from your data. It can still depends on the implementation you're using, but i think it come from your data. | 0 | 1 | 41 | 2020-11-09T19:13:46.290 | data_quality | datascience.stackexchange.com | |
634,016 | pip won't upgrade awscli | I haven't found any references to this from Google, but I am having this issue on literally dozens of AWS EC2 CentOS instances. The awscli installs fine if it does not already exist. However, starting with v1.4.3, any attempt to upgrade to >=1.4.4 ( [CODE] ) results in the following errors: [CODE] And then, from the /r... | Turns out that there were other dependencies of awscli that were not upgrading if I attempted to upgrade them directly, each failing with the same basic problems. I'm not sure what exactly the problem was, but deleting the [CODE] folder fixed all the issues. | 1 | 1 | 1,016 | 2014-10-07T00:00:35.173 | infrastructure | serverfault.com | |
691,719 | How to handle POODLE vulnerabilities on web service running on tomcat 6.0 | I have a web service which is running on Tomcat 6.0 , Java 7 . The Connector uses the JSSE configuration . Below is what the connector in the server.xml file looks like, with a few modifications: [CODE] I' Having trouble with getting the SSLProtocol to work in a fashion that would disable the POODLE vulnerable SSLv3 , ... | According to this answer at Serverfault, one or both of the following should do the trick: [CODE] (note the lower case 'ssl') [CODE] | 0 | 0 | 175 | 2015-05-08T07:49:05.907 | infrastructure | serverfault.com | |
224,793 | Why would a Clustered Index Seek return a higher "Actual Number of Rows" than there are rows in the underlying table? | I'm troubleshooting an issue related to SQL Server (Azure SQL Database technically) occasionally choosing a bad execution plan, presumably due to skewed stats. [CODE] fixes it every time, until a few hours or days later when a bad plan gets cached again. Looking at the "bad" plan, I noticed something that strikes me as... | The Seek returns more rows because it is on the inner (bottom) side of a Nested Loop. Every row returned by the outer operation results in a new Seek operation. So you're not getting 60m rows from a single Seek, but from over 9000 of them (number of executions). Also of note: when looking at estimations, the total numb... | 9 | 8 | 2,345 | 2018-12-12T16:23:04.427 | database_errors | dba.stackexchange.com | |
404,699 | linux automatic change permissions in resolv.file | In various linux servers I see how the permissions of the /etc/resolv.conf file change automatically. In state normal: [CODE] In changed state: [CODE] I installed auditd for monitoring it, and these are the two entries between the change: [CODE] any ideas about the change of permissions? FIXED: puppet was configured an... | There's something wrong between your [CODE] log and the timing of your two [CODE] commands. The first line says [CODE] but the first [CODE] shows the file has mode 444. The second line is consistent; [CODE] and the [CODE] shows the file with mode 440. You might want to run your experiment again, possibly automating the... | -1 | 0 | 626 | 2012-07-04T11:26:18.627 | pipeline_ops | serverfault.com | |
1,033,771 | Event 1007: The share denied anonymous access to the client | the body of evevnt is: " **The share denied anonymous access to the client. Client Name: \10.139.70.35 Client Address: 10.139.70.35:49157 Share Name: \*\in Share Path: ??\C:\Users\jodat\Desktop\in Source: SMBServer Task Category: (1007) Keywords: Audit Failure,Audit Failure User: SYSTEM Computer: kaj.smbmm.ir Channel M... | Yes. I would refrain from posting internal host names and users on the Internet though. The event doesn't necessarily say that the share belongs to "jodat", but it's implied based on the folder path. Yes, the share name would be "in" The client tried to access the folder via SMB, such as "net use", explorer ("Run") or ... | 1 | 0 | 876 | 2020-09-14T05:55:31.247 | infrastructure | serverfault.com | |
339,325 | apache performance benchmarking using ab command | benchinmarking using ab command gave following error message how to fix it? apr_poll: The timeout specified has expired (70007) | Fix your Apache or network configuration, ab is unable to connect your Apache. | -1 | 0 | 272 | 2011-12-09T10:13:49.310 | infrastructure | serverfault.com | |
312,269 | Can't delete files from server | When I try to delete files from my ftp using filezilla I get the following error: 550 image.jpg: Permission denied The file permissions on this image are 644, tried to change it with something higher but no success... 550 CHMOD 777 image.jpg: Operation not permitted Tried to delete from plesk panel but the same. Any id... | I found the solution! The problem was caused because I was creating the parent folder of the file using php mkdir function. That folder was creating with the permission 755 regardless what I used as a second parameter for mkdir function. The solution is to add two magic lines before and after the mkdir function, like t... | 1 | 1 | 6,618 | 2011-09-16T16:50:44.253 | infrastructure | serverfault.com | |
62,445 | Applying Standardization OLS estimator | I have basic understanding of how to perform linear regression with sklearn and statsmodels. There are several questions that I would like to ask regarding Linear Regression (OLS estimator) : Is standardization always necessary for OLS estimator? I am still learning a bit of theoretical aspect of regression analysis. S... | 1) No. You can standardize data, but you don‘t need to. Often you don‘t want this because you like to see the effect of some $x$ on $y$ in „real units“ (not standard deviations). 2) In case you standardize $X$ , the coefficients must of course change as the X‘s are now no longer real units but standard deviations. The ... | 0 | 1 | 1,218 | 2019-10-31T06:07:40.363 | data_quality | datascience.stackexchange.com | |
452,720 | Office 365 NTLM authentication | Can I change the authentication mode for o365 from basic to ntlm? I'm having an issue where external users get prompted for MAPI login in Lync when they dont have Outlook open. I found an article http://www.proexchange.be/blogs/lync2010/archive/2012/02/10/microsoft-lync-2010-mapi-com-server-authentication-prompt-explai... | It turns out this is expected behavior. Office 365's Exchange service uses basic authentication passed through SSL, because of the nature of o365 there is no way to change the authentication type. On initial sign-in that prompt is expected if outlook is not open. The credentials can be stored to avoid future prompts, h... | 0 | 2 | 1,691 | 2012-11-27T19:38:43.037 | api_errors | serverfault.com | |
105,590 | DRY with Dynamic SQL vs. prepared statements | When dealing with data, one finds that, essentially, the same code is repeated in various incarnations: [CODE] If you notice, the fields 'name' and 'email' each occur 7 times throughout PHP and MySQL. While this is not much of a problem with this small example, with large tables, and a large number of tables, this gets... | Essentially you're asking whether code cleanliness is more important than performance; well, that can vary depending on the situation. Without really knowing more about the exact situation, I would say: Performance is unlikely to be noticably worse with an ORM solution in this case. Unless CPU usage is a known bottlene... | 4 | 1 | 1,669 | 2011-09-03T01:46:43.947 | database_errors | softwareengineering.stackexchange.com | |
716,969 | Mikrotik dst-nat timeout | I have installed a brand new Mikrotik RB2011UiAS-2HnD-IN in our Office. Everything is working except port forwarding :( I have disabled all other rules and filters but nothing helped . I am able to ping the client from Mikrotik . When I am trying to connect the port from out of office I see the that Statistics of dst-n... | As damolp said you need to add a masquerade to go outside your network. Run this: [CODE] | 2 | 2 | 3,019 | 2015-08-26T14:43:38.367 | infrastructure | serverfault.com | |
947,090 | Can't mount ntfs drive anymore ($VOLUME_INFORMATION attribute not found in $Volume) | I have a external hard drive with ntfs partition and it isn't accessible or mountable anymore. Last thing I did was a rsync copy to that usb drive. I still can see the ntfs partition with gnome-disks but I'm not able to mount it. With gparted and ntfsfix (ntfs-3g package) I get the same error message: [CODE] I also che... | I couldn't restore the partition/hard drive itself but were able to restore all my files with testdisk to a second drive with the same size. I used this 'forced' disk switch to get finally rid of my last ntfs partition and started new with a luks encrypted ext4 file system! | 1 | 0 | 313 | 2018-12-30T23:42:03.883 | infrastructure | serverfault.com | |
380,971 | Buffer-stuffing denial-of-service attack | I started seeing this odd sort of effect that resembles denial-of-service attack against a Linux server. The effect is that the network becomes at least partially unusable very much the same as what you see with a traditional DOS or DDOS attack. Here's a trimmed [CODE] dump from during the "attack" (assuming that's wha... | Looks like a kind of resource-exhaustion attack. Would need more data to give a more specific answer but are you able to get isolated packet captures of the attack traffic? Not sure what you're protecting but do you need to receive many connections from the internet at large? My first attempt at countering would be tha... | 3 | 0 | 401 | 2012-04-19T04:37:17.303 | infrastructure | serverfault.com | |
485,528 | Problems using GPO from Windows Server 2000 to Windows 7 | So I'm using Windows Server 2000 (I know that's old and not effective but we are not in charge of the AD so no choice), and we don't have the access to GPO about users, only computers. That's why we use some scripts to make the work. I'm using GPO to change a registry key value and to install some MSI. My problem is th... | Startup Scripts are processed the same way under Windows 7 as they are by Windows XP (run as SYSTEM, asynchronous by default, hidden by default). My gut says your script is running. You could add a function to output a file into the %TEMP% folder to be sure. Are these 64-bit Windows 7 clients and are you sure you shoul... | 1 | 2 | 89 | 2013-03-07T09:11:06.250 | infrastructure | serverfault.com | |
171,415 | Create parent node and parent id | I have a table which contains [CODE] , [CODE] , [CODE] , and [CODE] columns. Now I want to create new temp column [CODE] . I tried using CTE but not getting the correct result. Id Nodeid NodeLevel Nodevalue ParentId 1 100 1 nodevalue1 0 2 200 2 nodevalue2 1 3 300 3 nodevalue3 2 4 400 4 nodevalue4 3 5 500 5 nodevalue5 4... | Using the SQLFiddle supplied by the OP, and interpreting his comments to mean that the parent of a given is the row where the [CODE] is one less than the current row's [CODE] , and where the [CODE] is the highest [CODE] that's still less than the current row's [CODE] , I simply modified the query to get the [CODE] so i... | -1 | 1 | 1,636 | 2017-04-19T15:45:45.400 | api_errors | dba.stackexchange.com | |
282,457 | cannot log into mysql locally | When I try to log into mysql locally using the command: [CODE] I get this error: [CODE] I can access the server remotely(not as root) and my web pages are using the mysql fine, but locally I cannot log on(which I need because I need to create some users). Only change I made was to attach another drive to the server and... | The problem is that in the [CODE] section of your [CODE] you have set the socket to a non-standard location of [CODE] but the [CODE] section only affects the server and not the client. You should put that option in the [CODE] section instead - then it will apply to both the client and the server. You can find more info... | 1 | 2 | 174 | 2011-06-21T03:56:10.893 | database_errors | serverfault.com | |
211,422 | Find what is causing failed connections in mysql | I have a replicated MySQL environments were the master db gets a continuous "Aborted_connects". How can I find out what IP and what user are causing the aborted connections. There are about 500 connections created by 25 applications. I only have access to the database servers. | Changing the [CODE] level to 2 will give more information in the error logs. See doc . You can change it on the fly. Moreover, here is a great blog post which I've used many times to track down the bad connection attempts using tcpdumps. | 6 | 3 | 4,260 | 2010-12-09T20:19:51.073 | database_errors | serverfault.com | |
1,143,665 | LSI IT vs IT_ACM firmware | I purchased an older LSI 9300-4i card and before I put it into production I want to flash the latest firmware. In addition to IT vs IR flavours of available firmware, there's also an IT vs IT_ACM flavour. What is the ACM suffix for? I will be connecting only a single drive (no raid) to this card, for hot-swapping a dri... | In this context ACM stands for "Active Cable Management". "_ACM" firmware images are to be flashed onto adapters with external ports to enable optional "ACM Support" feature. You do not need it for your all internal card. | 1 | 1 | 163 | 2023-09-13T23:49:52.863 | infrastructure | serverfault.com | |
218,615 | mail server checklist | Currently we ran into some issues with our mail server setup. I'm preparing a list of actions that we should enforce and use in order to maintain a proper email solution within our company. We have around 80 Exchange users, and send mass emails out almost on a monthly bases to 20,000 + customers each time. The checklis... | Additions: Configure rDNS for all sending server's IP address(es) (Not needed inbound servers.) port25 will catch this. Configure subdomain for outside mailers to use, or have them use their addresses. Match hosts DNS to servers name used for HELO/EHLO message. Switch name if switching IPs. Setup mechanism for clearing... | 2 | 2 | 1,561 | 2011-01-04T16:43:09.340 | database_errors | serverfault.com | |
189,947 | How Immutable Sets are Manipulated | When working with an immutable set or map, like the ones found in many functional programming languages, operations that would otherwise modify the container generate a new container instead. I know that most list operations in functional languages do not result in a copy of the list and just rearrange pointers. This i... | As far as I can tell, functional sets are generally implemented as trees, so sharing nodes between concurrent versions makes sense. Some functional languages, notably F# and Clojure, open source their code on github, you can look there for concrete details. F# uses trees. Some time ago, I have been comparing performanc... | 4 | 5 | 1,444 | 2013-03-09T18:12:01.537 | pipeline_ops | softwareengineering.stackexchange.com | |
571,542 | Windows azure vm refusing connection port 443 | I am deploying my sailsjs app using forever in windows azure. And it is taking forever to get my server up and running. Initally it was working fine when it was http but I changed to SSL with self signed certificate and things are not working at all. I tried forever list and it was showing my server was up and running ... | Appearently the issue was I was deploying without a super user access in a linux machine in a port below 1024. If I want to deploy an web app to a port below 1024 I need to have Super user permission. Deploying it with sudo solves the problem. | 0 | 0 | 1,259 | 2014-02-01T19:13:56.023 | api_errors | serverfault.com | |
425,914 | Why running migration turns into timeout in a production environment? | I know this is a theorical question since i don't have code to or any logs to show, but i hope that someone can give me some idea on this question. The problem in question was the following: On my work, on a deploy to a production system a migration took so much time running that it failed due to a timeout and this hap... | You will need to look at the sql generated for the migration to determine why it is slow. Possible reasons include: Deadlocks with other queries Rebuilding indexes Moving lots of data around Running out of memory due to large transaction This kind of thing wont show up on a small database, but can kill your production ... | -3 | 4 | 888 | 2021-04-29T21:16:30.277 | database_errors | softwareengineering.stackexchange.com | |
308,817 | Should a C++ program catch all exceptions and prevent exceptions from bubbling up past main()? | I was once advised that a C++ program should ultimately catch all exceptions. The reasoning given at the time was essentially that programs which allow exceptions to bubble up outside of [CODE] enter a weird zombie state. I was told this several years ago and in retrospect I believe the observed phenomenon was due to l... | One problem with letting exceptions go past main is that the program will end with a call to [CODE] which default behavior is to call [CODE] . It is only implementation defined if stack unwinding is done before calling [CODE] so your program can end without calling a single destructor! If you have some resource that re... | 29 | 25 | 10,608 | 2016-01-30T08:59:16.990 | api_errors | softwareengineering.stackexchange.com | |
665,070 | error creating database using ansible on centos 7 | I am trying to install mysql AND setup database using ANSIBLE on CentOS7(i have no idea why every documention in the world now ONLY talks about Ubuntu and NO CentOS anymore...really SAD!) here is my create_db.yml file [CODE] ALSO here is my setup.yml file [CODE] NOW when ansible is running to install it, here is the er... | To answer you question about ensure MariaDB is started: [CODE] | 2 | 1 | 1,350 | 2015-02-04T21:40:27.583 | database_errors | serverfault.com | |
210,955 | Will performance and speed improve when retrieving data from a .txt file instead of the Database? | I have a site that averages 40k page views a day and I sometimes hit around 100 concurrent users at any given time. When a user enters the landing page of the site, the database is called to retrieve 6 random items and they are displayed on the webpage. The database table has nearly 10k rows and it's using a fairly sim... | [CODE] requires fetching the entire table, shuffling it, then delivering 6 rows. Performance is depending on how many rows are hit -- it is 10K per request (to get only 6 rows). Work on shrinking that. There is no 'perfect' way to fetch 6 rows from a table, but this gives 5 pretty-good ways. See which one fits best in ... | 1 | 1 | 79 | 2018-06-29T11:09:54.140 | warehouse_errors | dba.stackexchange.com | |
48,165 | Setting up multiple secure servers for company wide file sharing | The company I work for has multiple offices spread throughout the US. We're trying to come up with a solution that would allow secure file sharing across all the offices. What we are thinking at the moment is: Setting up a Linux server at each site and mounting the shared directories from the other servers via sshfs. T... | If you're not absolutely committed to Linux I'd recommend going down a Windows Server route with DFS, Previous Versions and Active Directory. It's clean, well established, and more than adequately secure, and is probably the best "one stop shop" for file sharing right now. | 1 | 1 | 434 | 2009-07-30T17:05:11.973 | database_errors | serverfault.com | |
297,563 | There is already an object named PK_MyPrimaryKey in the database ( primary index on temp table) | Simplified code [CODE] Causes intermittent error [CODE] I have since added [CODE] and am waiting to find if that solves the issue. Before I added the index, the code ran for years without any problems, and without apparent need to drop the temporary table. I found a recommendation here that named indexes should not be ... | As Denis pointed out in the comments, if you remove the name from the primary key portion of your [CODE] script, it should work. This is because the name you were using was already being used for a primary key elsewhere. This would be because the name [CODE] was defined on another table, which could either either be a ... | 1 | 3 | 4,577 | 2021-08-04T06:24:07.307 | warehouse_errors | dba.stackexchange.com | |
250,829 | Query takes too much time to execute | I add the Query Plan of my query. And this takes too much time to execute and give data. https://explain.depesz.com/s/4JtZ I want to reduce the execution time of this query. So require to optimize this query. [CODE] Does anyone have any idea? | Please check below section has been properly written. In short you may have to check the joins are proper as I do not see any of the tables are joined for the selected table, the below section. If unexpected cartesian joins visible then you may have to consider introducing proper joins. [CODE] | 0 | 0 | 127 | 2019-10-11T08:45:40.790 | database_errors | dba.stackexchange.com | |
1,045,924 | CentOS Openstack Victoria repository disappeared | A few days ago installing the Openstack Victoria Repo for CentOS 8 stopped to work. The packet can not be found by yum. [CODE] Does anyone have an Idea what the problem here is? | Someone probably goofed. The repo release file has a branch in GitHub and all the mirrors seem to have the RPMs. You can report the problem on the CentOS-devel mailing list. In the meantime you can work around it by manually downloading the release repo file. [CODE] | 0 | 0 | 731 | 2020-12-12T11:19:09.760 | infrastructure | serverfault.com | |
243,709 | EAV in postgresql | I'm building an application that needs to be deployed several times, with a relatively well organized data model. A table needs to be configured for each deployment with a small number of additional fields, different each time. Performance is not an issue, as we're talking about a few hundreds of rows and a dozen of ad... | Certainly not the most elegant way, but it works with dynamic sql: [CODE] All fields are typed it's reasonably fast with the small amount of data I have (less than 10k lines to pivot, not expected to grow fast) | -1 | 0 | 1,034 | 2019-07-24T17:13:19.223 | pipeline_ops | dba.stackexchange.com | |
941,454 | FSCK while booting Centos | I want to do fsck check while booting. my centos, not booting and kernel panic error showing. so how to use fsck in kernel command line to do a file system check. please do let me know as its urgent. thanks in advance. | You don't say which version of CentOS you're using, but both 6 and 7 will do a fsck on reboot if you [CODE] before rebooting. | -1 | 4 | 347 | 2018-11-24T15:08:29.223 | infrastructure | serverfault.com | |
188,349 | How do you automate failover on EC2? | Of the folks managing their own clusters (i.e. not using/paying for Amazon Autoscale, Rightscale, Scalr, etc.), how are you managing your instances on EC2 and handling (e.g.) failover? I'm wondering if most folks just end up writing their own boatloads of scripts against the EC2 API, as I suspect. That's certainly our ... | Well, I don't mean to just state the obvious, but the general idea is to push this complexity into the services managed by Amazon. So on the frontend, you would use Amazon Elastic Load Balancing (ELB) to provide highly available load balancing. On the rear end, you use Amazon Relational Database Service (hosted MySQL),... | 12 | 5 | 21,093 | 2010-10-06T23:17:14.163 | pipeline_ops | serverfault.com | |
363,177 | software disaster recovery when an engineer is suddenly unavailable | Recently in my company we had a project where the deadline was very tight, and everything was going according to plan until I was unavailable due to extreme personal issues. Eventually we missed the deadline by 4~5 days. What are the usual recovery plans for these conditions? should my company attempt to outsource a de... | It depends on the foreseeable duration of the unavailability, the remaining duration of the project, the way the tasks are distributed and the consequences of missing the deadlines. Software developers are not an interchangeable at will. Developers build knowledge on the system as the system grows, and adding a new res... | 8 | 10 | 917 | 2017-12-30T18:48:24.507 | api_errors | softwareengineering.stackexchange.com | |
86,497 | Processlist show most of the queries are sending data for select query | I have faced some problem like sending data state in [CODE] . In my application I used parallel processing which send 50 count at a time, and that will do some MySQL database operation (select and insert), but after few minutes nothing happened. Then I see in database with SHOW [CODE] most of the query is in SENDING DA... | This is very simply a case where your server does not have sufficient capacity (often disk I/O, but sometimes memory or CPU) to handle the workload. Poorly-written queries and insufficient or sub-optimal indexes are a common contributor, as are applications that give up too soon and re-send the same query that's alread... | 4 | 8 | 15,252 | 2014-12-18T07:57:16.813 | database_errors | dba.stackexchange.com | |
562,695 | IP translation for proxying IP web address with no dns entry | We use a dns based proxying system, which proxies certain addresses based on the dns entry, so for example for website1.com the dns return the IP if the proxy, and the request is sent though that, but for website2.com the dns returns the regular address and the request is sent directly. That's no problem However, this ... | As you specified networking, there is an option at the network level, I have provided a network solution below flagged with NETWORK. Only a few protocols are commonly proxied, but most work well with NAT (the network solution). HTTP and HTTPS are commonly proxied, so that is my first response. I am confused by your des... | 1 | 1 | 282 | 2013-12-20T10:30:00.177 | infrastructure | serverfault.com | |
920,139 | nginx randomly stop - no error in logs - where could I look | I am facing a weird phenomenon - maybe you will have an idea. I have nginx randomly stopping and I am not able to find a clue why this would happen. I have checked : [CODE] Also ran [CODE] but no sign of malfunctioning. I have increased [CODE] to 16 and limited the [CODE] in case there was faulty php code (but unlikely... | So, if anyone ever has a similar problem here is what was the problem: Let's Encrypt was running a regular auto renewal process in the background - thus shutting down nginx properly (hence no trace of it in the logs) - and then crashing in the middle of its renewal due to some leftover of a faulty configuration - and n... | 0 | 1 | 1,034 | 2018-07-09T15:17:59.477 | infrastructure | serverfault.com | |
125,710 | Aggregation GROUP BY bottleneck | I have a performance bottleneck with a [CODE] operation. Schema I have a table like this: [CODE] and a [CODE] like this: [CODE] The [CODE] table as has following storage stats: Data space: 26,901.86 MB Row count: 131,827,749 Partitioned: true Partition count: 62 Usage With my descripted schema (one plus some extra tabl... | You could add a calculated column to the table and build an index from the calculation. For instance, the table would be: [CODE] I've modified the name of the [CODE] column to [CODE] since [CODE] is a reserved word. After looking at Paul's comment; I think a good index might be: [CODE] If you change the [CODE] clause t... | 3 | 7 | 147 | 2016-01-09T00:48:06.687 | warehouse_errors | dba.stackexchange.com | |
141,182 | Data base structure of a subscriber list | I am building a application that allow different user to store the subscriber information To store the subscriber information , the user first create a list For each list, there is a ListID. [CODE] may have different attribute : email phone fax .... For each list, their setting is different , so a [CODE] is introduced.... | You can solve this problem using something I have called a vertical table solution in the past. There are both pros and cons to this solution. I can provide a sample database upon request. Cons • Loss of horizontal structure makes queries difficult to write and slower to perform. The difficulty in writing queries can b... | 1 | 1 | 593 | 2012-03-23T11:41:12.843 | api_errors | softwareengineering.stackexchange.com | |
277,112 | How to clone with cat? | I want to clone an 8.1gig bootable disk to an 8.0gig disk and have the clone remain bootable. dd causes problems because the destination disk is a few mb smaller than the source. Can "cat" help me here? cp and rsync didn't work either for some reason. And yes I am not copying the drive I'm booted into. And yes I am run... | No, in this case [CODE] will not give you anything that [CODE] can't do better. You could try using a tool such as GNU Parted to resize your source filesystem and partition to smaller than 8GB, use [CODE] to clone it to a partition on the target disk, and then install a boot loader. Alternatively, you could create a fi... | 0 | 3 | 1,607 | 2011-06-05T08:48:23.687 | infrastructure | serverfault.com | |
34,006 | Training with multi-series of different length with stateful LSTM | I'm training a stateful LSTM. My data is stored in a series of files, each file relates to a certain city. For each city I might have different amount of data, so City A I might have 4000 days, but City B I might only have 500. I have 20 features for each day. Say I set the sequence size to 200; for City A I'd have a b... | To begin with, you can think of the batch size as a way to control the smoothness of the learning curve. With a huge batch size, you are taking the average of many errors for each update, and this average loss (on average), doesn't have great variance. Using a batch size of 1, your cost on each iteration is solely depe... | 7 | 8 | 2,076 | 2018-07-04T23:02:51.103 | api_errors | datascience.stackexchange.com | |
883,877 | Dockerized Nginx + Certbot + tls-sni challenge not working on renewal | I have an existing service running using docker containers: nginx ( [CODE] ) node-api (node container) node-website (node container) I wanted to add SSL certificates for both api and website. So I've used [CODE] docker container to do so, without any problem. I've generate the certificates using [CODE] challenge, runni... | Not much activity on ServerFault, so here is the answer: https://github.com/certbot/certbot/issues/5252#issuecomment-346500852 | 0 | 1 | 2,425 | 2017-11-17T05:47:57.093 | api_errors | serverfault.com | |
234,822 | DNS Propagation Investigation Techniques? | So I changed the nameservers for my domain name veeter.com about 5 days ago now - and the domain is still not resolving over the net. It does intermittently, but then cuts out again every few hours. I run 10+ other domains through the same dedicated server (running CentOS/WHM) and they are all up - so it has nothing to... | mcmeel actually answered this for me - so feel free to edit yourself in as the author or whatnot... mcmeel pointed me to dnscog.com - which gave me a report for my domain, stating that it was indeed attached to the "old" nameservers I once used on my server. Basically what happened was... when I first used WHM I had se... | 2 | 1 | 1,614 | 2011-02-12T20:15:23.903 | infrastructure | serverfault.com | |
110,288 | How to keep general internet traffic off Windows 2008 R2 VPN and only handle VPN traffic? | I just set up a Windows Server 2008 R2 VPN that uses SSTP, and everything works wonderfully. Connection is fast, and setup is EXTREMELY simple for domain users with Vista and Windows 7. The only problem is that ALL traffic is getting routed through the VPN connection. Folks at home or on networks outside our office net... | Use the CMAK to create a connectoid that has the option to not use the remote connection as the default gateway. Deploy that connectoid to your users. If you can't deploy the connectoid, simply have your users edit the properties of the connection thusly: Properties >> Networking Tab >> TCP/IP v4 properties >> Advanced... | 1 | 3 | 1,299 | 2010-02-06T20:19:02.633 | infrastructure | serverfault.com | |
133,634 | The same First and the Last LSN | I use SQL Express and my database has the following backup schedule: Full backup - 24 hours Differential backups - 6 hours Transaction log backups - 30 minutes My question is: I have checked LSNs of transaction log backups that were made last night and discovered that one of them has the same First LSN and the Last LSN... | This isn't an error. It means that there weren't any changes in the database. | 1 | 1 | 561 | 2016-03-29T10:25:58.020 | database_errors | dba.stackexchange.com | |
195,140 | Is reverse debugging possible? | I know there are some products for reverse debugging. I am wondering that does reverse debugging mean going to one step back or starting over again up to one step back? I've found an explanation here . | does reverse debugging mean going to one step back or starting over again up to one step back? According to the link you posted, "reverse debugging" means being able to undo instructions in the debugger. So you'd have something like a 'step back' command that tells the debugger to reverse the effect of the last instruc... | -2 | 3 | 410 | 2013-04-16T16:46:38.280 | api_errors | softwareengineering.stackexchange.com | |
261,441 | Does one of the normal forms require separation of repeating clusters of values into another table? | Should the repeating values in the "Sales" table below be separated out into a second table as part of the process of database normalization? Note that none of the values are functionally dependent on each other; those values that are functionally dependent are already normalized out to other tables. I'm just not sure ... | There is no normal form which would have you move those columns to a separate table. Normalization is a process in the logical design of tables that discusses functional dependency between a table's columns. If there is no un-resolved functional dependency there is no more normalization to perform. Further, a logical t... | 2 | 1 | 126 | 2020-03-07T23:39:14.143 | warehouse_errors | dba.stackexchange.com | |
156,052 | How can I check myself when I'm the only one working on a project? | I'm in between jobs in my field (unrelated to software development), and I recently picked up a temporary side contract writing a few applications for a firm. I'm the only person working on these specific applications. Are there ways I should be checking myself to make sure my applications are sound? I test my code, tr... | I would suggest that you plan UAT (User acceptance test) sessions with your client. Usually, it is done at every iteration, or when you have some block of functionality ready for review. This will give you nice feedback before rolling to production. | 8 | 7 | 441 | 2012-07-08T20:50:54.280 | api_errors | softwareengineering.stackexchange.com | |
671,958 | How to remove entries from lsblk? | I have an AWS EC2 instance and I tried to attach and mount couple of EBS volumes on it. Somehow [CODE] command was taking very long time so I deleted those volumes using AWS console. Now problem is that I cannot see those volumes using [CODE] command but those volumes can be seen from [CODE] command. So how do I make t... | Now problem is that I cannot see those volumes using df -h command but those volumes can be seen from lsblk command. Why is that a problem? These commands show different things in the first place. [CODE] d isplays you f ilesystem status, which means it'll only list mounted devices (it has nothing to show for unmounted ... | 0 | 2 | 6,136 | 2015-02-25T12:54:39.807 | infrastructure | serverfault.com | |
675,404 | Remote Desktop works only with old clients | All of our Windows 8.1 computers suddenly refuse Remote Desktop connections. The problem is when we connect TO Windows 8.1 We don't have the problem when connecting to other Windows versions. edit: problem solved with the Microsoft update KB2962806. Thanks to Bertrand SCHITS for his answer. What we found until now: we ... | Maybe this is related to KB2962806. You should try to apply it. I don't know how to apply this update because it is not available on the Microsoft site. I only get it with the automatic Windows update but not on every computers. This update solved a similar problem for me. And since this update is applyed on SOME compu... | 10 | 5 | 7,921 | 2015-03-13T23:54:17.677 | infrastructure | serverfault.com | |
1,003,058 | How to run OpenSCAP with my own PowerShell-script | I want to check if is screensaver on my Windows 10 Pro active using my own PowerShell-script and OpenSCAP 1.3.2 (Windows version). I wrote such file test.xml : [CODE] and test.ps1 [CODE] Then I start check using command and have "notchecked" responce: [CODE] Files test.ps1 and test.xml are also on the path 'C:\' What's... | First try using [CODE] with the option so we can have more information on what's is going on. [CODE] level should be fine: [CODE] But I'm not sure if SCE modules are available for Windows. Also try running [CODE] and check if there are capabilities listed under: [CODE] | 1 | 0 | 861 | 2020-02-14T11:44:46.407 | infrastructure | serverfault.com | |
308,866 | Oracle 10g Database - SYSTEM tablespace space | I am concerned about the SYSTEM tablespace. It's space is 99% full. The whole tablespace has 1510 MB and there is 1507 MB already used. Max size of datafile is 32 GB and the autoincrement is on with increment 10 MB. However, I had outside company's audit and they pointed us it is unacceptable to keep so less free space... | No, it is not. The real question should be: what objects are created in your system tablespace. Normally there should be close to zero tables/partitions in the system tablespace. Application objects should be in application tablespaces. Not in system. If your application has a lot of stored procedures/packages/function... | 0 | 0 | 195 | 2022-03-17T14:07:23.713 | database_errors | dba.stackexchange.com | |
254,987 | Backup of machines running linux and windows | I have a problem concerning backup. I have a network (constructed using Wireless 150Mbps and Gigabit ethernet) consisting in at least 3 computers (plus maybe 2 in remote). I have a plan to construct a linux server {pretty powerful} which will do (pretty much): Media center (recording / playback) FTP server to serve fil... | You can do very well with Bacula/Amanda. Hitting your requirements: [CODE] Bacula and Amanda will grab a file each time it changes. [CODE] Not bad on Unix (Just back up everything under / and it will grab the media), but probably not possible on Windows -- I believe you need to specify the drives you want to grab becau... | 2 | 1 | 1,417 | 2011-04-02T19:34:25.383 | database_errors | serverfault.com | |
946,206 | Haproxy with multiple ports on fronent and backend | I have a task to configure haproxy that proxies inbound traffic on multiple ports. This is what I did after some googling: I easily figured out how to bund tho ports on frontend as the internet is full of examples. But almost no information about how to configure backends for this. When its just one port on server line... | It looks fine. If you don't specify a port then it will use the same port that it hit on the front end. So if it hit 10.10.90.10:500 on the front end it would go to 10.10.90.21:500 etc. As for the health check either check a single port - or maybe use an external health check script if you need something more complicat... | 2 | 2 | 21,805 | 2018-12-21T00:54:28.810 | infrastructure | serverfault.com | |
603,833 | IIS 7.5 default permissions provided by ApplicationPoolIdentity | I am running a web application with default permissions. My application pool is using ‘ ApplicationPoolIdentity ’ which I believe is a virtual account. In task manager, I can see that w3wp.exe shows the user as ‘DefaultAppPool_classic’ which is the name of my application pool. This default permission allows my ISAPI ap... | There's a few ways to address this, but my preferred method is by not running the application pool under a generic account. You can change the application pool by going to: Application Pools Advanced Settings Process Model > Identity [CODE] Custom Account > Set Then set your permissions as you see fit. | 0 | 0 | 426 | 2014-06-09T13:19:34.470 | infrastructure | serverfault.com | |
638,572 | Dovecot copy user emails | I have to create new accounts for certain users, copy all their mailing to their new account and then disable the old one (so not simply renaming email users). Eg: user1@corp.com to usernewname1@corp.com I did add usernewname1 and tried a simple cp -R on the vmail folder of the old user, it's not working. The rights on... | You can use doveadm-import for that, here's the syntax: [CODE] As you haven't provided details on your setup, I can't give a more detailed information. | 0 | 2 | 1,085 | 2014-10-21T13:32:24.853 | infrastructure | serverfault.com | |
411,643 | nginx reverse proxy greatly increases worst-case latency | (edit: partially understood and worked around, see comment) I have a setup with nginx acting as a reverse proxy in front of a CherryPy app server. I'm using ab to compare performance going through nginx vs. not, and noticing that the former case has much worse worst-case performance: [CODE] What could be causing this? ... | The 3 seconds worst case in your first [CODE] run looks like a packet loss. It's probably a result of some insufficient buffers/resources configured, some possible causes in no particular order: Too small listen queue on a backend resulting in occasional listen queue overflows (Linux is usually configured to just drop ... | 3 | 4 | 6,693 | 2012-07-26T22:48:30.487 | pipeline_ops | serverfault.com | |
423,055 | What ways are there to set permissions on an Exchange 2003 mailbox? | I'm having a difficult/impossible time tracing down a permissions issue on an Exchange 2003 mailbox, and I was wondering if I'm missing any technical possibilities here. The basic question is what ways are there to set a user's permissions to access a mailbox in Exchange 2003? I know of two. Permissions on the mailbox ... | I'd be checking the actual mailbox permissions from Outlook. I suspect someone has been granted Owner privileges, which lets them assign further permissions to their staff / colleagues. Rather annoyingly, I haven't yet found a way to get Outlook privs to propogate down through a mailbox (if anyone knows of a way, pleas... | 2 | 2 | 202 | 2012-08-30T20:12:19.890 | infrastructure | serverfault.com | |
955,377 | Updated AWS SDK and now getting presigned errors | I've just upgraded to the lastest Java SDK and my presigned urls are no longer working. Previously I used [CODE] However now the generatePresignedUrlRequest returns this error: [CODE] How do I sign the x-amz-acl header? | Changed to: [CODE] | 2 | 1 | 844 | 2019-02-23T01:17:56.423 | infrastructure | serverfault.com | |
207,435 | Configuring squid with custom authentication helper in accelerator mode (reverse proxy) | I need to configure Squid as a reverse proxy with a custom authentication helper for each incoming requests. Every request to Squid is assumed to be with basic authentication. Any connection which fails the authentication, should be terminated. I am a newbie in Squid. Following is the configuration script I have used. ... | Apparently I didn't realize that order of configuration statement matters in Squid. The following configuration worked for me. I am posting here for someone who need the same, [CODE] The custom authentication helper is still the same. | 0 | 1 | 2,958 | 2010-11-30T14:52:29.167 | api_errors | serverfault.com | |
211,755 | To rewrite or slowly refactor old C++ project | Our team has recently inherited a relatively large project from another company (~250k lines). It was developed using C++Builder and we intend to port the Ui side to Qt. Most of the Ui code is separate from the business logic (yay!) but the logic side is quite a mess. There is a lot of diamond inheritance going on (vir... | If you re-write & re-design from scratch, you're going to have two MASSIVE problems: You don't have a spec. You might think you have a spec, but it turns out that the REAL spec is the old code. So you're going to have to dig into it to figure out what it really does, just so you know what to make the new system do. You... | 18 | 36 | 3,035 | 2013-09-17T13:33:20.653 | api_errors | softwareengineering.stackexchange.com | |
150,766 | Wisdom of using open source code in a commercial software product | I'm looking at using some open source code in my ASP.NET web app (specifically dapper ). Management is not a fan, because open source is seen as a risk that has bitten us before. Apparently previous developers have had to rewrite things after having open-source components fail. The pros seem to be: It does a lot of stu... | It's a choice that you'll have to make based on the specific circumstances. You can mitigate your risks by: testing the framework thoroughly, avoiding the likelihood of nasty surprises biting you in a production environment, and using loose coupling to minimize the amount of code that depends on the framework directly,... | 13 | 20 | 4,704 | 2012-05-30T00:40:47.200 | api_errors | softwareengineering.stackexchange.com | |
1,141 | Some suggestion for career in data science or predictive modeling | I am looking to choose my career in the area of decision science or predictive modeling and I am aware that this is kind of opinion based but I would like to have some suggestion from experts that I can use it to build my career in correct path. What are the tools should I know like R, SAS or any other. What are the th... | First of all I should say you question probably is an off-topic and will be closed soon. Discussed at this SE site Anyway I can target you to similar questions discussed at this SE site already: Statistics + Computer Science = Data Science? Starting my career as Data Scientist, is Software Engineering experience requir... | 8 | 5 | 618 | 2014-09-19T02:34:04.093 | data_quality | datascience.stackexchange.com | |
1,094,494 | X710 and mlx5_core together on same server | I have a amd server with centos 7.9 I am trying to using the the kernel driver for 2 cards: Ethernet Controller X710 for 10GbE SFP+ 1572 --> i40e MT27800 Family [ConnectX-5] 1017' --> mlx5_core For mellanox i used: /usr/lib/modules/3.10.0-1160.53.1.el7.x86_64/weak-updates/mlnx-ofa_kernel/drivers/base/auxiliary.ko /usr/... | Just ran into this exact same issue myself. Did you find a work around for it? Would prefer not to have to edit the driver build to rename the .ko modules, but that is likely the solution. | 1 | 0 | 957 | 2022-02-22T20:27:44.473 | infrastructure | serverfault.com | |
58,873 | How to automatically Reset Query Cache for improve table cache hit in MySQL? | I have a VPS running CentOS 6.4 and 2.5GB RAM, Intel(R) Xeon(R) CPU. Its MySQL version is Server version: 5.5.35-cell. I have two active wordpress sites and two inactive sites (inactive sites use for some test and one for personal use) in this server. This VPS MySQL configuration file has following query cache. [CODE] ... | The query cache is only helpful for low write, high read workloads and should be pretty handy on a blog with this access pattern. If you issue any DML then you invalidate the QC for that table and repopulation would be necessary. Have you calculated the QC efficiency based on your local status? http://www.mysqlperforma... | 1 | 1 | 1,337 | 2014-02-13T14:56:16.903 | database_errors | dba.stackexchange.com | |
57,010 | Perform admin tasks (e.g. create database, add diagram support) in SQL Server when not connected to domain | My situation: I have installed SQL Express on my machine, while logged in as a domain user. I work remotely so I need to connect to a VPN to be on the domain, but I often prefer not to work while attached to the domain so my packets don't have to travel across the country. My user account has local admin rights (win 7)... | Another solution is to create an SQL Server Log on and give it sysadmin permissions. This avoids using windows entirely for authentication. This is what the SA account on SQL Server is, a special SQL Server log in (which i normally disable log on once installed and another admin user is created) with sysadmin privilege... | 4 | 2 | 176 | 2014-01-17T17:33:20.817 | database_errors | dba.stackexchange.com | |
28,724 | Showing system test coverage for customers/stakeholders in agile | I work for a software consultancy as a test analyst and was looking for some advice on testing in agile. Since my company moved agile, I think that testing has turned into mini iterations of waterfall, rather than true agile. example: 2 week sprint starts all backlog tickets are scripted wait for requirements/functiona... | In my opinion, metrics around test cases and requirements are not the way to go for Agile testing. It is quite easy to add a lot of simple test cases that do not add that much value, but which could alter the metrics positively. I personally find the following metrics most useful in Agile testing: Root Cause Analysis R... | 3 | 1 | 143 | 2017-07-24T15:32:12.653 | data_quality | sqa.stackexchange.com | |
841,183 | How to show all banned IP with fail2ban? | When I run this command [CODE] I got this: [CODE] It only show two IP in banned IP list instead of 8 just like Total Banned says. While I do [CODE] I got this: [CODE] banned IP still trying. However when I check with [CODE] I got this: [CODE] What am I doing wrong here? How can I show all banned IP list? | Please keep in mind that the fail2ban banning of IP is temporary in nature. The best way to have a look at the full list of IPs that have been blocked would be to check the log file: [CODE] Edit : this answer previously searched for [CODE] , but even in 2013 the source has no colon ( ref ). The following command can al... | 122 | 76 | 535,242 | 2017-03-29T04:08:57.687 | infrastructure | serverfault.com | |
478,752 | how to know what crontab is going to do | Somehow the stuff i wrote in the crontab is now working as i wish. To be more exactly, i think it is not executing my commands. So now i would like to know if there is a way to get a plan what crontab, where it describes what he's going to do for today. But not by reading the /etc/crontab by myself, i would like to say... | I think there was a "dry run" option in cron, but couldn't find it. What I typically do is redirect output to a specific file, i.e.: [CODE] By default, cron will send a mail with the output. Have you checked those? I know this doesn't answer your question, but you might consider this to check if your command runs fine. | 1 | 2 | 568 | 2013-02-14T10:11:12.223 | api_errors | serverfault.com | |
474,938 | Virtual IP Failover when machine is overloaded | We have been using keepalived in combination with a virtual IP address for two years now. In the rare case that a machine crashes this works very well. But when there are issues on the box itself we have seen a couple of cases where no failover took place. For example when we had a issue where the system was swapping a... | Is the issue here that I am just using the wrong scripts to check on the machine itself if the master is working fine, Yes. For example when we had a issue where the system was swapping all the time. The load was 25 instead of the normal 5 and there was no way to ssh into the machine. Ping was working. Keepalived kept ... | 3 | 1 | 684 | 2013-02-03T13:35:38.797 | database_errors | serverfault.com | |
1,131,149 | My Win 11 Pro VPN client for IKEv2 is perpetually broken | I am tearing my hair out over this sudden refusal of Windows 11 Pro on my PC to use the appropriately configured crypto in IKEv2 negotiation. It worked fine for a long time, until it didn't. This issue persists over new installs. Meaning I have deleted partitions and reinstalled more than once. In the past this fixed t... | It's not a problem with the signature in the certificate but the one used during IKEv2. The classic signature scheme for RSA defined in RFC 7296 is generally limited to SHA-1. Only with the extension defined in RFC 7427 are stronger signature schemes (e.g. RSASSA-PSS with SHA-256) possible in an interoperable way. Howe... | 1 | 0 | 669 | 2023-05-15T02:58:55.550 | api_errors | serverfault.com | |
776,171 | Corosync configuration with puppet | I'm relatively new to puppet, and I'm trying to create a configuration with puppet that will spit out a ready-to-go production system, like we're currently using. I'm using Debian Jessie with Puppet 3.7.2 as both the puppet master and client. I've installed corosync from backports and now I'm trying to configure it sim... | Regarding Q1: You don't really need that line since [CODE] is the default. I expect your production nodes have those lines because someone stopped/started the resources via crm shell at some point in the past. For example, if you ran, [CODE] , you would see this in your configuration: [CODE] I took a quick look through... | 0 | 0 | 330 | 2016-05-11T16:05:18.460 | pipeline_ops | serverfault.com | |
1,116,778 | podman: map container user to host user for shared volume permissions | I am trying to set up [CODE] using podman. I would like to have the data volume mapped to a host directory, because it allows me to easily inspect and backup the data the container process executed by a specific host user Podman is executed by the root user, mostly because of the problems I had with [CODE] and rootless... | The root cause seems to have been trying to map multiple container [CODE] s ( and [CODE] s ) to the a single [CODE] / [CODE] to the host. So I was trying to map ( container to host ): UID 0 → gitea GID 0 → gitea UID 1000 → gitea GID 1000 → gitea GID 42 → gitea Instead I am know falling back to a different mapping, wher... | 2 | 3 | 3,203 | 2022-11-28T10:13:59.827 | pipeline_ops | serverfault.com | |
658,169 | Ubuntu installation can't detect hard drives | I'm installing Ubuntu onto a HP Proliant DL360 G7 server, which has a hardware Smart Array RAID controller that is not compatible with Ubuntu. HP say the RAID controller needs to be disabled in the BIOS in order to install Ubuntu. The problem is, with the RAID controller enabled the installation can see the hard drives... | This all happened by trying to install Ubuntu 14.10, instead I tried 12.04 and it worked first time! Must have something conflicting in 14.10 with this server. SOLVED! Thanks to everyone for trying to help | 6 | 0 | 34,870 | 2015-01-08T16:50:02.470 | infrastructure | serverfault.com | |
1,130,038 | Respond to inbound connections from multiple gateways on a single interface | I have a network with multiple gateways ( [CODE] : [CODE] and [CODE] : [CODE] ). My server (Ubuntu 20.04) have one NIC with multiple addresses ( [CODE] : [CODE] and [CODE] : [CODE] ). Each gateway provide internet access and have a NAT rule configured to forward ports [CODE] and [CODE] to my server. In my server I've c... | It looks like your policy rules are incorrect. You have: [CODE] But for a request coming from outside of your local network, the source address will not be from [CODE] ; it will be the address of a remote client somewhere on the internet. In a typical configuration, your gateways will not masquerade inbound traffic; th... | 0 | 1 | 287 | 2023-04-30T13:13:16.653 | infrastructure | serverfault.com | |
116,474 | How do I sum data over 3 month ranges? | I have a report where I need to add totals for a column and group them by company selected. I have to do this in T-SQL for 4 ranges: 0-3 Months, 3-6 months, 6-12 months, >12 months I am confused about how this would be implemented in T-SQL. There is a balance column on which I have to total. The problem I am not able t... | You could categorise your [CODE] values and then use PIVOT like this: [CODE] | 1 | 3 | 9,086 | 2015-09-29T14:40:54.130 | warehouse_errors | dba.stackexchange.com | |
738,052 | How to view mariadb log? | I am using new relic to monitor the performance of my server. Recently I noticed a very strange problem where for every 3 hours, the server will be down for 1 minute. And in the new relic report, during the server down time, there were sudden spike on the database. The problem is I am new in system admin, I don't know ... | One of the ways to find out your current log file path is using the following SQL query: [CODE] The output should look something like this: [CODE] | 19 | 16 | 104,551 | 2015-11-21T20:23:30.593 | database_errors | serverfault.com | |
35,779 | which one is the fastest way of moving database form local to live server in sql server | I am using SQL Server 2008, I have a big database of almost 500 MB. Now I wanted to upload or deploy this DB to the Live server. Currently I am generating scripts and then uploading them to live and by command line I am deploying the database. This took almost 2 hours so that's very cumbersome to do and one more proble... | You can use backup/restore. Take a backup of your dev db and restore it on the live server. Should be a bit faster than 2 hours. | 0 | 4 | 1,719 | 2013-03-02T06:08:56.517 | data_quality | dba.stackexchange.com | |
174,394 | NTOP gives warnings on startup | I just installed ntop 1.4.4 and when I start it, it give me infinite warnings "packet truncated": [CODE] Do I need to configure something? I tried to access the web interface ( http://localhost:3000 ) but it does not work. Note: I'm on CentOS. EDIT: Not sure if it helps but there is my "ifconfig": [CODE] | You are receiving these warnings because it was larger than the MTU of the outgoing network interface. It isn't really a big deal, just filter those error messages if it is a big problem. | 0 | 1 | 2,424 | 2010-08-25T14:36:22.313 | infrastructure | serverfault.com | |
431,870 | Worried about too many joins when fetching multiple datatypes in a single postgres query | Its not exactly my use case (would take too long too explain), but imagine a task management application where tasks for employees are displayed in a list along with some information about that task. These are some of the Task types. Simple Note like "take out the trash" or "refill fridge" Customer Support Ticket for a... | You will have to measure to see if performance is an actual problem. But your intuition about query performance is wrong: I am just worried that this many cascading queries might heavily affect performance, especially as the task types grow, since with DeliveryDestination we are already at O(N³) complexity. Your intuit... | 0 | 4 | 125 | 2021-09-14T08:29:13.017 | database_errors | softwareengineering.stackexchange.com | |
645,760 | Optimal configuration of "Processor load is too high" trigger in Zabbix | I monitor approx. 10 Linux servers with 4 CPU cores each with Zabbix. I was receiving way to many false alarms from "Processor load is too high" trigger lately. The "Processor load is too high" trigger expression was: [CODE] which is default. Then I raised 5 to 12 to get less alarms, but somehow thought this is not the... | Why is "Processor load is too high" false alarm in your case? It's real symptom for me - CPU is saturated. IMHO: use only [CODE] but threshold depends on your server - what and how is it doing. But >5 value is suspicious for me. Example: CPU usage can be low, but CPU load high - in this case it can be symptom for "slow... | 4 | 5 | 27,683 | 2014-11-20T10:49:21.247 | infrastructure | serverfault.com | |
1,001,640 | Allow rsync to write to httpd_user_content_t | We have rsyncd running as a daemon on our frontend web servers. We push web app updates out via rsync. We're looking at cutting down the noise in auditd and fixing up some of the issues from SELinux (so one day we can turn it on properly). At the moment we get the following messages when running rsync: [CODE] How can I... | You have different choices; from easier (but more coarse) to harder (but more specific): [CODE] : grant rsync full filesystem access; change your [CODE] file context to [CODE] ; write a specific selinux policy patch via [CODE] . Finally, you can also set [CODE] in permissive mode issuing [CODE] , but I strongly suggest... | 1 | 1 | 289 | 2020-02-04T00:36:04.823 | infrastructure | serverfault.com | |
240,563 | RAID array was degraded, but "fine" at reboot | During boot, I got a message saying an md RAID array was degraded. My first reaction was to reboot. Everything appears to be working just fine now. All disks are active. What concerns me is that one of the disks is plodding along on a thin lifeline. How can I diagnose which disk it is that temporarily failed? Can I run... | Fisrtly, the mdadm warning you got should show you which disc(s) were degraded. Could you cut-and-paste that into your question, along with your current [CODE] output? Secondly, write errors to an md device should be logged under syslog. Can you find anything with [CODE] ? You will probably need to run through [CODE] a... | 0 | 3 | 292 | 2011-02-26T10:12:47.877 | infrastructure | serverfault.com | |
12,468 | problem with regular expression | I have a dataframe in R containing a variable for programming languages. This is extracted from a multiple choice questionnaire in a survey. As a result, any programming language may fall into the beginning, middle or end of the whole string. I added a binary variable for any programming language. Here is a sample of m... | You could do [CODE] | 0 | 1 | 112 | 2016-06-28T15:07:36.833 | data_quality | datascience.stackexchange.com | |
513,191 | Performance penalties for private NS verses one from hosting company on VPS | I am planning on getting a VPS account. Is there a performance penalty if I set up my own name server (ns) and use that for all my domains rather than use the name server provided by the hosting company? The VPS hosting company might charge for use of their NS records above the first, which is what triggered this quest... | Proceed no further until you have purchased the cricket book and read chapters 1, 2, 5, 8, 9, and 17. This is required reading if you intend to run your own DNS server. There should be no measurable performance impact hosting domains on your own DNS server s versus ones provided by your ISP/hosting company, provided yo... | 0 | 5 | 55 | 2013-06-04T18:10:46.770 | infrastructure | serverfault.com | |
202,940 | Does `WITH XMLNAMESPACES` have the ability to trigger a DDL database trigger? | I'm having an issue where, intermittently, a stored procedure is causing a database trigger to fire. The trigger is for [CODE] but the procedure itself does not do any of those things. It's a straightforward write procedure that takes an XML parameter and inserts the values into a set of tables. The one thing that is u... | To the question in the title: I'm going to say NO . Something else is going on to force the DDL trigger to fire. You should (at least temporarily) change the DDL trigger to store the [CODE] output to a table so you can examine what else the app is sending when they call this stored procedure. There must be additional D... | 0 | 1 | 133 | 2018-04-03T17:11:44.163 | database_errors | dba.stackexchange.com | |
289,204 | Content-Type header stripped in Email after switching servers | My program sends daily emails to users. I recently switched servers and once we setup the email job on the new server, one of our users complained that they are receiving the email in plan text. No other user has this problem. The header that most users receive is as follows (replaced sensitive info with <> tags): [COD... | First important note: This is not a Postfix problem. Unless you explicitly configure Postfix to remove the header it should be kept in the header. Your problem may arise in one of these situations: Your software that generates the mail (not Postfix which forwards the mail) does not create the header field. So other mai... | 0 | 2 | 728 | 2011-07-11T21:12:40.433 | infrastructure | serverfault.com | |
545,652 | request to a port of a centos server and write log | excuse me, maybe you think my question is stupid, but I heard there is a port (or many ports) on [CODE] that if a client send request to that,and the request fails for any reason (like IP blocking from server), the server write a line to a log file. Im asking that, because recently I have been under DDos attack and my ... | You can use the LOG target within iptables to log all packets to log all incoming packets just use [CODE] | -1 | 1 | 69 | 2013-10-13T07:09:52.747 | infrastructure | serverfault.com | |
401,288 | SQL Server: How to shrink FileStream files? | For a project, I'm using a SQL Server 2008 R2. One table has a filestream column. I've made some load tests, and now the database has ~20GB used. I've empty tables, except several(configuration tables). But my database was still using a lot of space. So I used the [CODE] But my database is still using something like 16... | Old versions of files are removed from filestream via a garabage collection process that runs during the checkpoint process. see http://sqlskills.com/BLOGS/PAUL/post/FILESTREAM-garbage-collection.aspx for a full explanation. so - you jump through all the hoops, run a log backup, checkpoint and then you... wait, because... | 4 | 3 | 12,925 | 2012-06-22T12:02:08.953 | database_errors | serverfault.com | |
257,711 | OpenSSH 5.3 setting UMASK for SFTP chroot env, dosen't work at all | I tried to override umask setting on SFTP connection in chrooted env. I couldnt use subsytem diffrente than internal-ftp. In OpenSSH_5.3p1 (Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009) there's umask setting directly from command. How do you able to set ? My sshd config is: [CODE] anyway, it dosent works. | If you do not want the patch solution, here is another workaround: In sshd_config: [CODE] And in /usr/local/bin/sftpwrapper (chmod 755, chown root:root) [CODE] Users in the chrooted group, can still has /bin/false as shell. | 1 | 1 | 6,293 | 2011-04-09T14:45:00.307 | infrastructure | serverfault.com | |
341,838 | Do firewalls and anti-virus software affect a server's performance? | Learning about a company I have ties to, I just found out that their server has no encryption or antivirus software installed on it. When they asked their IT company why (they deal with a lot of sensitive data), they were told that both of these would have affected performance, so they decided to forgo it. I'm concerne... | Forgoing software firewalls and anti virus tools on a server for reasons of performance is like choosing to forgo a harness while racing in the Le Mans because it's scratchy. Your parents need to find a new IT outsourcing company. Quickly. Yes there are performance hits, but a properly sized server will be able to mana... | 5 | 11 | 1,472 | 2011-12-17T03:51:43.277 | infrastructure | serverfault.com | |
440,435 | httpd not starting with systemd on F17 | Title says it all. This is a fresh Fedora 17 system running on a Xen hypervisor. No idea why it won't start [CODE] | Recent versions of Fedora/systemd include a new feature which generates random private directories in [CODE] and [CODE] for individual system services. This means that there are things you should check: DO NOT symlink [CODE] to [CODE] or vice versa. These are treated separately and so you'll need to keep them separate.... | 2 | 2 | 4,070 | 2012-10-20T03:48:50.320 | infrastructure | serverfault.com | |
1,093,044 | QEMU-KVM, drbd and corosync - VM's doesn't work after reboot | On Debian 9.6 I've got QEMU-KVM Virtualisation. After electricity problems this machine just shut down. After switching it on again I can't start any VM because of this error: error: internal error: process exited while connecting to monitor: 2022-02-03T12:01:58.403986Z qemu-system-x86_64: -drive file=/dev/drbd6,format... | Everything works right now thanks to Matt Kereczman comment. After "vgdisplay" command I saw vg0 volume group. Next command I used was "lvdisplay" which printed me all my VM's. Next steps was to make sequences of commands: [CODE] And all the logical volumes appeared. Next steps was to make the VM primary, turn it up an... | 0 | 1 | 474 | 2022-02-08T11:19:08.860 | api_errors | serverfault.com | |
115,006 | MongoDB switch to smallfiles | I've reached a point where mongo fails to start because there's no enough free disk space. The log suggests using the [CODE] option to start the mongod service. So, I have two options, either make the hard drive bigger (it's an Amazon free instance) or doing what the mongodb log suggested. Would data get corrupted if I... | Straight to the point? The [CODE] option doesn't help. It doesn't automagically shrink existing files. All this option does is changing the behavior of how data files are preallocated. Usually, the first datafile allocated has a size of 64MB. The next has 128MB. This doubling goes on until 2GB are reached. After that, ... | 2 | 4 | 3,210 | 2015-09-14T21:16:49.913 | database_errors | dba.stackexchange.com | |
50,149 | MDX Crossjoin filtering on different hierarchies from the same dimension is very slow | I have an MDX query that was written by an MDX novice that is excessively slow (the query, that is, not the MDX novice). And I am also an MDX novice. Here is the query: [CODE] I have very little knowledge of MDX, but through some trial-and-error, I have found that removing the two [CODE] entries from the [CODE] makes t... | I found an answer here that has helped my situation and now the query returns very quickly. It appears the [CODE] clause is a better solution than using the [CODE] function as long as the dataset is reasonably small. However, I noticed that removing [CODE] from the second axis ( [CODE] ) causes it to still be slow even... | 2 | 0 | 10,728 | 2013-09-18T18:51:46.743 | database_errors | dba.stackexchange.com | |
576,154 | Is there the full list of return codes for "wusa.exe"? | Is there the full list of return codes for "wusa.exe"? I guess that Windows System Error Codes are applicable here. http://www.hiteksoftware.com/knowledge/articles/049.htm But sometimes I need to consider other return codes such as: 2359302 or 2359303 | I don't pretend that these pages are comprehensive, but here are links to two documents that might help: Windows Update error code list Windows Update Agent Success and Error Codes Hopefully they're useful. There's a third document titled Windows Update Agent Networking Error Codes that you'll find along side Windows U... | 10 | 4 | 42,075 | 2014-02-17T12:56:50.503 | infrastructure | serverfault.com | |
881,393 | How do I use Get-MailboxFolderPermission with an Office365 Group? | I'm trying to figure out how to use Get-MailboxFolderPermission for an Office365 group when connnected via powershell. If I run: [CODE] I see (among others) a folder named Calendar with identity groupname\Calendar, path /Calendar, and type Calendar. When I try to view this calendar via: [CODE] it tells me the specified... | To understand why this works with your [CODE] groups and fails with a [CODE] (Also called a [CODE] now) you need to first understand the difference between the two. Office 365 Groups This is one of the newer features in Office 365. This basically combines a few features and is also used by Microsoft teams. An Office 36... | 1 | 0 | 1,912 | 2017-11-01T17:27:12.963 | infrastructure | serverfault.com | |
109,041 | How to handle categorical variables with Random Forest using Scikit Learn? | One of the variables/features is the department id, which is like 1001, 1002, ..., 1218, etc. The ids are nominal, not ordinal, i.e., they are just ids, department 1002 is by no means higher than department 1001. I feed the feature to random forest using Scikit Learn. How should I deal with it? Some people say to use o... | Is one-hot encoding an option? It seems like no, due to the high cardinality of your feature, it might result in the course of dimensionality problems if your sample size is small and also if you are using mean decrease impurity as a measure of feature importance you have to consider the bias to high cardinality featur... | 5 | 8 | 7,417 | 2022-03-14T18:46:17.973 | data_quality | datascience.stackexchange.com | |
23,591 | Accepting untrusted certificates with geckodriver in C# | I cannot get the code I have to go to the URL without having issues with the certificate. Here is the code I am trying: [CODE] I still receive the generic page saying the connection is unsecured, any help on this would be appreciated. Webdriver Version: 3.0.0.0 GeckoDriver Version: 0.11.1 Firefox Version: 49.0.2 | Looks like it should be fixed in the next geckodriver version. For more details check here. | 0 | 1 | 2,322 | 2016-11-09T15:20:54.877 | data_quality | sqa.stackexchange.com | |
358,863 | State ownership cover everything for a class to be thread safe | As mentioned by Java_author , When defining which variables form an object's state, we want to consider only the data that object owns.... In many case, ownership and encapsulation go together— the object encapsulates the state it owns and owns the state it encapsulates .... A class usually does not own the objects pas... | Don't over-conflate ownership with thread safety. To make a class threadsafe, you have to make it threatsafe. No more. No less. This means: You cannot have two threads write to the same data at the same time You cannot have one thread write to the data and one thread read from it at the same time. The synchronization y... | 0 | 2 | 481 | 2017-10-09T20:09:20.327 | 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.