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 |
|---|---|---|---|---|---|---|---|---|---|---|
859,006 | How to set up Neo4j securely using Amazon Web Services | I'm running Neo4j Enterprise Edition on an EC2 instance. What is the best design pattern for setting up Neo4j securely (i.e, using HTTPS) on Amazon Web Services (AWS)? The official tutorial, https://neo4j.com/developer/neo4j-cloud-aws-ec2-ami/ , creates an insecure instance. The typical design pattern for connecting ap... | I called Amazon's support and got the answer. You can use Amazon Classic Load Balancer on any port, over any TCP protocol. Application Load Balancer only supports HTTP / HTTPS. | 0 | 0 | 933 | 2017-07-03T00:39:16.223 | infrastructure | serverfault.com | |
808,078 | Dealing with CONFIG FAILURE on fresh drive (3ware / LSI RAID) | This is not about DRIVE failure. It's about drive CONFIG failure. I bought 3 brand new drives for my server, because existing ones have worked for over 4 years and one of them is failing (shows ECC ERROR or DEGRADE). I'm always able to rebuild array with existing drives, but replacing them all is my immediate goal. I c... | I had a similar issue when replacing what appeared to be a failing drive on a 3Ware 9650SE controller. When replacing the drive with a Seagate ST2000DM008-2FR102 drive, I was seeing "config failure", which I couldn't clear. Eventually, we reseated all the SATA connections, and the problem went away. So it is possible f... | 6 | 0 | 2,435 | 2016-10-10T08:43:15.643 | infrastructure | serverfault.com | |
179,688 | Convert seconds into HH:MM:SS format in MySQL | I have a query where I'm pulling data from the Zultys VoIP Database, about employees and their call in/call out numbers, and the time they spent over the phone: Time in/Time out in seconds, and their phone extensions as well. The query is below: [CODE] When I run this query above I get this result: What I'm trying to a... | https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html see GET_FORMAT() SEC_TO_TIME() TIME_FORMAT() and possibly others. Not knowing the datatype of your values, I can't be more specific. | 0 | 4 | 3,451 | 2017-07-12T19:47:13.890 | database_errors | dba.stackexchange.com | |
386,912 | Cooled server cabinet VS server room | The cooled server cabinet was discussed here before but I found my question is a little bit different. We have a client with some servers running into incredible bad conditions. The servers are in the middle of the office and cooled by a regular fan. Finally the company agreed to host the servers in a proper environmen... | We've got a few offices that we look after, and even in our own office, if there's less than half a full rack of servers, we don't worry about specific cooling. We just make sure that there's plenty of ventilation in the room and we keep an eye on the temperature inside the rack itself. It hovers about 25 o c and the o... | 1 | 5 | 536 | 2012-05-08T01:57:33.167 | infrastructure | serverfault.com | |
237,128 | Using column size much larger than necessary | I'm creating an SQL Server database with someone else. One of the tables is small (6 rows) with data that will probably remain constant. There is a remote possibility that a new row will be added. The table looks something like this: [CODE] I'm looking at the char length of that [CODE] column, and I think that its valu... | SQL Server uses column lengths when allocating memory for query processing. So, yes, in short, you should always size columns appropriately for the data. Memory allocations are based on the number of rows returned by the query multiplied by half the declared length of the column. Having said that, in this case where yo... | 18 | 18 | 4,526 | 2019-05-01T14:05:04.527 | database_errors | dba.stackexchange.com | |
445,428 | Is it a code smell for a factory to have many methods? | I have a testing project, in Katalon Studio, that uses data classes, called models. This is a conscious design decision. Also a conscious design decision, is the decision to separate the concern of creating models from the concern of the test(s) that uses them. For this, for the most part, I use model factories that ha... | With method names like "createWithImproperZipCode" and "createWithPurelyNumericAddress", you have made something pretty specific. Usually logic like this gets used in multiple places, which makes creating a tool to initialize test data worthwhile. Providing that these methods are called in more than one test class (not... | 2 | 7 | 546 | 2023-05-07T04:26:49.780 | api_errors | softwareengineering.stackexchange.com | |
706,887 | SSH login asks for password | I've followed the steps of Digital Ocean to create a droplet. I'm using Cloud9IDE for the development of my app. The steps suggested using SSH for login. So I followed the steps: [CODE] to create the public and private key. [CODE] (this is the name I gave the ssh file) to display to public key Added the public key to t... | Have you tried to use full path: [CODE] . | 0 | 1 | 133 | 2015-07-19T17:43:51.260 | infrastructure | serverfault.com | |
225,011 | `Encrypt Connection` causes an invalid certificate error even though server-side encryption is forced | I have a SQL Server set up to force encrypted connections from all client. It has a standard SSL certificate, using Let's Encrypt as the CA. Browsing to the server via a web browser verifies that the SSL certificate is valid and current. However, if one checks [CODE] setting in SSMS, one gets an error about invalid cer... | This did not come up in my original search but I think this related question has the answer , in particular: One difference is that if you use self-signed certificate and the client is the one request encryption (with “Encrypt connection” option checked), then it will attempt to perform server validation on the certifi... | 0 | 1 | 1,645 | 2018-12-14T15:06:08.300 | api_errors | dba.stackexchange.com | |
770,429 | MDT installs to drive letter V | I have an issue where MDT 2013 Update 2 installs to drive letter V as opposed to C. In the Past, my deployment share has always deployed to C. I am using a LTI, no SCCM is used in the deployment. The task sequence gives no options to select a drive letter, it just says it will select the first available drive letter. A... | Update: During the MDT process, the image is applied to the v: drive, but in the end the OS runs off of the c: drive. Looks like it was a non-issue. | 0 | 0 | 350 | 2016-04-14T20:47:00.347 | pipeline_ops | serverfault.com | |
253,851 | Ninject/DI: How to correctly pass initialisation data to injected type at runtime | I have the following two classes: [CODE] Using Ninject I can set up bindings no problem to get it to inject a concrete implementation of IEmailService into the StoreService constructor. StoreService is actually injected into the code behind of an ASP.NET WebForm as so: [CODE] But now I need to change EmailService to ac... | With manual/poor mans DI I could pass SMTPSettings directly into the constructor of EmailService and then inject EmailService into the StoreService constructor. This is also what needs to happen when using Ninject, except that you don't need to inject these values into the constructors, Ninject will do it for you - it ... | 1 | 0 | 4,597 | 2014-08-20T03:23:16.297 | api_errors | softwareengineering.stackexchange.com | |
289,915 | IP vs Server/machine name - WCF hosted on IIS 7.5 | I created and deployed WCF service and web application(client) on IIS 7.5 problem : config of the client referring to the end point as ex: http://(IP address)/app/abc.svc this works fine. when i try to change IP address to Server Machine name(ex: http://machinename/app/abc.svc ) its unable to access to the service. req... | It depends on your network setup. Is it safe to assume the client who's trying to access your service inside the same domain as you? You can check your NetBIOS name , as Chris said, to verify you're using the right name to access your machine. Check it from their location to see how it shows up from their machine. The ... | 0 | 1 | 1,789 | 2011-07-12T16:58:32.620 | infrastructure | serverfault.com | |
539,762 | With permissions 775 php error: folder is not writable | When running a script I get the following error: 'The folder "x" is not writable.' Folder's permissions are 755. Folder ownership is user:user. PHP runs as apache. When changing group ownership of folder to apache it works, but it's not very practical. Ideal would be if any admin could upload a script which can be exec... | 775 breaks down like this: [CODE] In order for the apache user to be able to write to the folder, it will need write permission, so either it will need to have group perms, ownership of the folder or have full read/write/execute to everyone on the server. | 0 | 0 | 3,322 | 2013-09-18T03:20:16.060 | infrastructure | serverfault.com | |
305,048 | SQL Server - Best way to use case inside case | I want to update the column to find out the unequal data from two tables. I'm using a case query to check both tables, and it's working fine but some conditions must be met which confuses me Problem I have to use case inside case conditions to check data in column to continue the query command [CODE] | I have to use case inside case conditions No you don't. You are over-complicating your logic. And "Best" is never a good qualifier to include when your code has syntax errors. So let's start with something that is correct. Notice the conditions in your JOIN. Does it make any sense to include the opposite conditions in ... | 0 | 2 | 50 | 2021-12-16T16:40:59.863 | database_errors | dba.stackexchange.com | |
237,815 | Can I design a table that will use some columns just in certain times? | I have a [CODE] with one or more saved [CODE] , but each [CODE] has specific attributes in Brasil for example we have: RG(General Register) have the following attributes: A number Expedition Date Emission Org CPF(Like a Social Security Number) have the following attributes: A number CNPJ(Like a National Registry of Leg... | Instead of storing number of repeating DocType [CODE] you store the [CODE] of the DocType descriptions from the reference table. This is a common practice called [CODE] . The sparsed table with nullable attributes is good enough while the number of possible attributes isn't too big. Sometimes it's more efficient to sto... | 0 | 2 | 52 | 2019-05-10T11:42:17.887 | warehouse_errors | dba.stackexchange.com | |
281,760 | How to diagnose MSSQL high CPU spike | I've had my server CPU spiked to 100% for about 20 minutes. The database was partially unresponsive in certain parts.( i know this because users complained that they cant use certain features, but they could login, and use other areas, only not specific). Before I could check current queries it was gone. I want to see ... | If you don't have something that captured the queries being executed at the time, all you can do is guess. In case you're on SQL Server 2016 or higher, and you have Query Store enabled for the affected database, I'll mention that you could track down long-running or slow queries there. If you don't have query store or ... | 2 | 6 | 1,584 | 2020-12-17T17:48:13.867 | warehouse_errors | dba.stackexchange.com | |
212,249 | How to use default value of data type as column default? | How can I specify the default value for a column in the DDL? I was pretty sure that the following method worked a while ago: [CODE] I would just like to define that the DB should use the default value for the column data type (like in my example above), without specifying which value exactly. | The default default value for any new table column is the default value of the data type. And the default default value for data types is [CODE] - which is the case for all basic data types in Postgres. But any valid value is allowed for custom types or domains. The manual on [CODE] : A default value can be specified, ... | 13 | 13 | 103,030 | 2018-07-15T12:10:51.473 | warehouse_errors | dba.stackexchange.com | |
177,139 | Windows Service can't access network share | I have a Windows service running on my local machine. It's configured to run under [CODE] . The program access a network shared drive on a computer in the same subnet. That shared directory has "Everyone" set to "Full Control." I'm getting [CODE] on [CODE] , but the file exists. I'm certain this is a permission issue. ... | The fact that the machine with the shared drive is not on a domain is where your main problem is. In order to get this to work you will have to configure the Windows Service to run as a specific user, and then you'll have to create an identical user on the remote system with the same password. It might work then. The p... | 10 | 13 | 38,452 | 2010-09-01T21:27:20.400 | infrastructure | serverfault.com | |
432,454 | Two Cisco 2901 Back-to-Back using X.21 (HWIC-2T) - Am I missing some config? | I have two Cisco 2901 GWs, each has an HWIC-2T interface module. I want to set them up back-to-back to send network traffic between PCs and Phones connected to my GWs over this link. I have CAB-SS-X21FC (DCE) and CAB-SS-X21MT (DTE) cables connected together, then connected to Serial0/2/0 on each GW. This is the config ... | First off, if this is truly a point-to-point interface, there's absolutely no reason to use frame-relay encapsulation. Either let the interfaces default to hdlc or set "encapsulation ppp" for a much simpler config. The best way to see if these are working is the "show interface" command. "show interface brief" will lis... | 0 | 0 | 787 | 2012-09-27T07:15:31.430 | infrastructure | serverfault.com | |
264,546 | How to handle a memory consuming member variable | Suppose multiple objects of the same class should do something which takes a memory consuming resource. Which of the following approaches is recommended to define and use the resource by the objects? Each object create the resource in its own Declare one resource instance and pass it to each object Using a static objec... | That really depends on threading model your application uses. In a single-threaded sequential scenario I would either pass bitmap around (if it's construction is a costly operation) or have it created / destroyed each time. But you have to create such memory-intensive objects immediately before they are going to be use... | 5 | 1 | 300 | 2014-12-04T10:57:18.820 | api_errors | softwareengineering.stackexchange.com | |
309,979 | Compatible version of Ubuntu 64 bit with Intel processor | I want to know which version of Ubuntu is compatible with my machine. My PC configuration is: Processor: Intel Core 2 Duo RAM : 3 GB System Type : 64-bit I have currently installed Windows 7 in my machine. Now I want to install Ubuntu 64 bit as well. So that I can get Opportunity to use both the systems one by one. I h... | The AMD64 version of Ubuntu is compatible with EM64T processors. | -1 | 2 | 103 | 2011-09-10T06:14:52.983 | infrastructure | serverfault.com | |
352,938 | What is the advantage of instruction (byte code) coverage over line and branch coverage? | Our project uses Jacoco for code coverage metrics. Previously, we have checked the line and branch coverage against percentage values. However, the documentation also describes an "Instructions" level, which counts Java byte code instructions. From their documentation: The smallest unit JaCoCo counts are single Java by... | There is no advantage of byte-code or line coverage over branch coverage. If one element (line or instruction) of a branch is covered, then all elements of that branch are covered as well. If a single line of code contains more than one branch (e.g., in C: [CODE] ), branch coverage takes it into account. Moreover, bran... | 7 | 8 | 6,925 | 2017-07-17T14:55:27.127 | api_errors | softwareengineering.stackexchange.com | |
899,109 | Universal persistent connection pool proxy with nginx | The issue I have is there are literally 100 different remote servers that keep changing. I connect to these with PHP using curl, that PHP process dies after completion and there's no way to keep the connection open. With my current knowledge I would have to set up each and every one in nginx configuration. The followin... | You guessed the reason why it doesn't work as intended right. You are trying to use Nginx as a forward proxy and even though it is possible the way you did it, there are many limitations as Nginx is not designed to be used that way. You should use Squid or even Apache mod_proxy which has better support for forward prox... | 1 | 2 | 2,373 | 2018-02-27T13:17:14.263 | database_errors | serverfault.com | |
168,025 | Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement | A few times a day, it is not able to connect and the error mentions: Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. There is is large Microsoft article that suggests: To resolve this issue, upgrade the .NET Framework 4.5.1 to the Microsoft .NE... | We had a situation where our sql server, a vm, went down with the ESX host it was on. The vm rebooted, but TCP 1433 would not let us connect with the posted error. We confirmed that all TCP settings were as intended in SQL Server Configuration, but ultimately the resolution was to change the IP of the server. Weird rig... | 3 | 0 | 5,993 | 2017-03-23T19:10:50.337 | database_errors | dba.stackexchange.com | |
804,766 | Fail2ban regex doesn't match my log | I'm trying to create a failregex in Fail2ban to find these lines ( and IP addresses ), but I can't write it. My log lines looks like these: [Thu Sep 22 10:28:32.215159 2016] [:error] [pid 1616] [client 83.143.240.13:54895] FastCGI: server "/var/www/cgi-bin/php5-fcgi-104.236.209.45-80-blogginger.com" stderr: PHP message... | Try [CODE] You can use the [CODE] utility to test regexes against example input files. That's a lot quicker and easier than trying to do this with the live logs. | 2 | 3 | 554 | 2016-09-22T17:25:20.580 | infrastructure | serverfault.com | |
9,572 | What features are vital for good bug tracking software? | What features are vital for good bug tracking software and why are they important? What in particular is necessary for you to consider these features done right? | Simplicity. If it's too complicated or too long to enter or sort bugs, nobody will want to use it. | 8 | 20 | 753 | 2010-10-05T11:48:00.093 | api_errors | softwareengineering.stackexchange.com | |
221,260 | Mac OSX Server - Mac Mini to XServe Migration | If I build out a Mac OSX Server install on a Mac Mini and then when it's ready for production I image the disks to an XServe, is there any reason the resulting system won't just work? Assuming I'm able to keep the same IP address are there any other issues I should be aware of? I'll be running minimal services, just AF... | The only thing I know of to watch out for is the difference in network interfaces. Since en1 will be a wireless interface on the Mini, it'll be configured as such the first time you boot the Mini. If you then boot the same volume (or a clone) on an XServe, and en1 is suddenly the second physical ethernet, it can have t... | 1 | 2 | 407 | 2011-01-11T20:19:45.520 | infrastructure | serverfault.com | |
220,846 | Product backlog acceptance criteria | I read on a similar forum https://stackoverflow.com/questions/8117530/examples-for-acceptance-criteria-for-a-user-story about putting in the acceptance criteria for product backlog item. I am working on a Scrum based project and I need more info as my backlog item is as follows - UserProfiles ( I am using this in the t... | I like utilizing acceptance criteria, but as another user mentioned, stories should be negotiable. Let's see an example of how we could change this to better fit an agile environment: " As the user clicks on the home button, system will bring up 3 options. " This is too specific for a story as far as I'm concerned. You... | 2 | 2 | 2,419 | 2013-12-10T05:53:56.137 | api_errors | softwareengineering.stackexchange.com | |
268,914 | How to connect AD Explorer from Sysinternals to Global Catalog | I'm using the sysinternals AD Explorer quite frequently to search and inspect an Active Directory without any big problems. But now i'd like to connect not only to a single AD Server. Instead i like to inspect the global catalog. If i enter within the AD Explorer connect dialog only the dns name of the machine (e.g. dn... | While ADSI Edit is not as fancy as ADexplorer, it can work for your scenario. Open ADSIEdit, right-click, and choose “Connect to.” In the Connections Settings, click the “Advanced” button and change from “LDAP” to “Global Catalog.” This will cause your connection to use port 3268 when you connect to your target server.... | 12 | 3 | 19,311 | 2011-05-12T08:11:22.120 | infrastructure | serverfault.com | |
191,955 | Individual Hard Disk Power management under WS2008R2 | Are Hard Disks are controlled individually under WS2008R2? meaning one HD is running 24/7 with database requests while another is spun down after 20mins until the automated monthly backup occurs. Neither of these links mentions this: http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm http://blogs.technet.com/b/askds/a... | I believe that A) yes, drives are controlled individually; while I don't have direct experience with WS2008R2, Win7 does stop rotating individual drives; and B) wake commands are drive-specific. This assumes that your system can see the individual drives (ie they are not hidden in an aggregate like a RAID controller) a... | 1 | 1 | 1,128 | 2010-10-18T06:24:57.123 | hadoop_errors | serverfault.com | |
3,485 | Duplicate record problem | [CODE] it's creating the result as shown below. [CODE] well,it's to be able to deploy to different tables two times the same personal. [CODE] I don't want to do that.I want to do something as shown below. [CODE] So,I don't want to deploy to different tables two times the same personal. | [CODE] | 2 | 3 | 170 | 2011-06-25T07:35:33.023 | data_quality | dba.stackexchange.com | |
257,695 | Is there a programming pattern, design pattern, or naming convention for moving data between related schemas? | I'm working on a web application that is publicly accessible. (Really) Long story short, we have two sets of tables in the database with relatively the same names and relatively the same data. The first set of tables are used by our web site, which I will call Set A. The second set of tables are used by an Oracle Forms... | If you want to give a name to "moving data between related schemas": In Datawarehousing this is called ETL: From Extract_transform_load@wikipedia In computing, extract, transform, and load (ETL) refers to a process in database usage and especially in data warehousing that: Extracts data from outside sources Transforms ... | 1 | 2 | 875 | 2014-09-30T18:05:12.253 | data_quality | softwareengineering.stackexchange.com | |
966,314 | Non-Latin characters not showing in headless Chrome on Ubuntu Server | When I visit a site in Chrome, it shows non-Latin characters just fine. However, when I run the same site in headless Chrome on Ubuntu Server and view the site via the debugger on port 9222, then all characters show as empty rectangles []. This issue occurs for languages like Chinese, Indian, Arabic, etc. The site uses... | I have found a solution to the problem. It appears that Chrome in headless mode needs specific fonts installed for non-Latin characters. While this can be solved of course by installing a multitude of fonts, it would be a headache to install fonts for websites that support a lot of languages. Luckily there are modern f... | 0 | 1 | 552 | 2019-05-08T06:43:19.040 | infrastructure | serverfault.com | |
929,966 | is there a way to count bytes over a specific time on a network connection? | i.e 1 second, 5 seconds or however much time needed? curious how many bytes are going over certain connections. I've tried a bunch of different things and was wondering if you can do this without some kind of script and no installs needed (on linux) | Yes, that's possible. But how to do this depends on your operating system. On linux you can look at [CODE] for examle. | 1 | 1 | 125 | 2018-09-07T20:58:56.383 | infrastructure | serverfault.com | |
1,111,989 | Why does argocd keep re-syncing my Job? | I'm deploying an application using ArgoCD. The deployment manifests include a Job that performs some one-time initialization for the application. The Job resource looks like this: [CODE] It works as intended -- it will fail a couple of times while the main application is starting up, but then it runs, and everything lo... | I figured out what was going on. The Job was configured with [CODE] , which is documented here . I had misread the documentation and thought this would clean up the Pods created by the job, but in fact it causes the Job itself to be removed. Because the Job was managed by ArgoCD, when it was deleted due to the [CODE] s... | 3 | 4 | 5,446 | 2022-09-30T16:27:31.827 | pipeline_ops | serverfault.com | |
194,466 | Structure of database with billions of rows of data | I have started working on a system setup, that includes a database, that collects around 6-7 billions of rows of data each year. I'm abit confused over the design of this database, and I'm not able to discuss it with the designer of this database. Its a factory, that has alot of high interval sensors monitoring all kin... | This is a typical way to deal with this kind of data. If you had a postgres database, you'd create one master table (to formalize the structure of the sensor data), and then create tables that inherit all the columns from the master table without adding any additional columns. This would create a partitioning of your d... | 2 | 1 | 152 | 2018-01-03T09:38:01.737 | pipeline_ops | dba.stackexchange.com | |
773,110 | make netcat listen for multiple UDP packets | If I run a simple UDP listener like this: [CODE] Then I appear to only get the first inbound UDP packet. For example if I run: [CODE] | using a timeout of zero (0) "Server": [CODE] "Client": [CODE] Result: [CODE] tested with: [CODE] | 11 | 12 | 28,367 | 2016-04-26T20:51:24.263 | infrastructure | serverfault.com | |
210,826 | Load balancing for performance | We have a SQL Server 2005 Standart server with two databases which are used by tons of applications. The server seems to slow down at certain times of day due to high traffic. We're certainly going to scale up but we also have a few Compaq Proliant servers lying around doing nothing and I thought maybe we should scale ... | It is not easy to give advice based on such a tiny description, and usually [CODE] is to be thought through early, from design time. However, you may want to look in some specific areas - that may or may not fit your systems topology and design. Sorry if some items are pretty obvious, but, again, it is hard to provide ... | 1 | 0 | 88 | 2010-12-09T12:52:03.593 | database_errors | serverfault.com | |
74,780 | How to implement custom loss function that has more parameters with XGBClassifier in scikit-learn? | I have following problem with implementing custom loss function with scikit-learn: I would like to implement Focal Loss as my objective function in XGBClassifier. However, I dont know how to pass additional arguments as a parameter(objective parameter): [CODE] What should I do in following situation? Is there maybe rea... | [CODE] Using Python Closures!! | 4 | 1 | 4,942 | 2020-05-24T21:44:54.140 | data_quality | datascience.stackexchange.com | |
401,234 | SSH tunneling hangs with many connections | I am forced to use SSH tunneling to access many servers (over 100) via one gateway server. To keep connection alive I am using autossh. Everything works pretty well until there is high traffic (people are connecting to most of the servers at once). then ssh process reaches 12% of cpu (which is configured maximum for se... | The reason is that you have maxed out the amount of CPU you are being allowed to use. SSH requires CPU-intensive cryptographic operations. Basically, you are trying to put ten pounds of flour in a five pound bag. | 0 | 3 | 1,718 | 2012-06-22T08:31:58.507 | infrastructure | serverfault.com | |
577,972 | Recovering Linux soft raid 5, disk stays as spare | I got disk failure on my Centos Linux soft raid 5 array (mdadm). I replaced one of the disk and started to rebuild the array. Next time I checked the status, the rebuild was failed. This is the status right now: [CODE] - [CODE] /dev/sdc is the brand new drive. If I try to remove it and add again, it still stays in spar... | How should I try to start rebuild this? Depends on if you care about the data. Assuming you do, there is a guide over here . Note that RAID-5 has some issues , which were enough for me to convert most of our environment to RAID-10 or just plain mirrors. I'm not sure what [CODE] is, but if your root ( [CODE] ) filesyste... | 1 | 1 | 266 | 2014-02-24T19:04:57.833 | infrastructure | serverfault.com | |
1,117,485 | HP StorageWorks D2700 slow read speed | So the company wanted a file server in our DMZ. It had to be set up rather quickly, we are looking at a proper storage solution for the longer term, but for now I was asked to see what I could do. We had some old StorageWorks disk arrays laying around that used to host our on-premise exchange, with the servers whom had... | The D2700 and DL360 G7 both went end of life over four years ago! Also RAID 5 is seriously dangerous, especially in situations like this, a 23-disk-R5 array is like asking for your data to become corrupt - that's also why your array's performance is bad - even about fifteen years ago when R5 was commonly used you'd see... | -2 | 6 | 72 | 2022-12-07T12:34:49.373 | database_errors | serverfault.com | |
1,104,959 | Nginx reverse proxy issue in redirection without trailing slash | I am running an nginx reverse proxy with apache as a backend server. I have multiple applications running without any problems, but some php-js websites fails to redirect properly. when I sent a request to example.com/admin it should redirects to example.com/admin/ but instead I get a redirection to example.com: intern... | I just added the following line to nginx config in the server block: [CODE] | 0 | 0 | 1,033 | 2022-07-06T18:06:56.713 | infrastructure | serverfault.com | |
203,466 | Measure Agent Job failure and running jobs with 'execution_status' | Considerations I need to create a Dashboard with job failure AND running jobs. I have a code to get [CODE] etc. I am not interested in succeed jobs. I extract failure from [CODE] . Query as of today: [CODE] How and where do I add a case to below query? I want all my columns but also a new [CODE] as below. I also assume... | If you're willing to use an undocumented and, therefore, unsupported extended stored procedure, you can get the current execution stats from [CODE] . I use the following to get details about running jobs: [CODE] This shows results like: ╔══════════╦════════════════╦═════════════════════════╦══════════════╦═══════════╗ ... | 1 | 2 | 377 | 2018-04-10T08:24:45.277 | bi_errors | dba.stackexchange.com | |
891,289 | Windows 10 v1709 RSAT missing DNS Manager | In older versions of Windows, I was able to use DNS Manager inside MMC. Is Windows 10 v1709 RSAT missing DNS Management? EDIT : Don't understand the downvote. A "Yes" is fine, and useful to anyone in the future who was also confused by the lack of functionality. MS quietly took away the feature, it appears. | The RSAT for Windows 10 Download Page seems to have diverged into 2 different releases of RSAT for Windows 10: [CODE] and [CODE] . The WS2016 version is for managing the originally released version of Windows Server 2016 and any earlier versions. The WS1709 version is explicitly for managing the new semi-annual release... | 1 | 3 | 4,748 | 2018-01-08T23:56:48.627 | infrastructure | serverfault.com | |
338,179 | I was filing one form, there is an sql error, can you please explain it to me. Why is it showing, layman here | Following is the error: [CODE] | "An unhandled exception was generated during the execution of the current web request" means this error has no programming to "handle" error correction and display a friendly error message. "Stack Trace" is a detailed technical message intended for the programmer to locate where the program failed. It is the default er... | -5 | 5 | 51 | 2024-03-29T15:56:45.350 | warehouse_errors | dba.stackexchange.com | |
72,190 | Xen HVM Linux DomU fails with I/O errors | I am using Xen hardware-based virtualization for sevaral Linux DomUs. One of them keeps failing randomly with I/O errors when there is heavy I/O load in other DomUs. [CODE] contains is the following [CODE] And here a second output from a different incident: [CODE] Sectors do vary between crashes and I cannot find any e... | Apparently some people encountered same problem and talked about it in this mail thread : http://lists.centos.org/pipermail/centos-virt/2009-June/001026.html You should try the 'xm sched-credit' trick :). Regards, Romain | 0 | 1 | 3,385 | 2009-10-07T15:29:19.047 | infrastructure | serverfault.com | |
215,032 | Saving SSIS package from server to local computer | Right now I'm able to upload an SSIS package from my local computer to SQL Server with my C# program: [CODE] This works great. Now I want to do the opposite of this, save an SSIS package from the SQL Server to my local computer. I'm using the Microsoft documentation here: https://learn.microsoft.com/en-us/dotnet/api/mi... | Try the combination of LoadFromSqlServer and SaveToDtsServer together If I'm understanding you correctly, you want to load you package from a file to SQL Server. Then, do the reverse, to write package to a file from SQL Server. I think the magic might be in the following code snippet here: [CODE] Here's some code I hav... | 1 | 1 | 664 | 2018-08-15T21:41:36.627 | database_errors | dba.stackexchange.com | |
1,155,392 | Sending email with postfix on a specific IP address fails. Error 81126 with Gmail | Recently, I started to receive errors from Gmail: host gmail-smtp-in.l.google.com[142.250.110.27] said: 550-5.7.25 [X.X.X.X] The IP address sending this message does not have a 550-5.7.25 PTR record setup, or the corresponding forward DNS entry does not 550-5.7.25 point to the sending IP. As a policy, Gmail does not ac... | Okay, I found the issue. Turns out that yes, a single ip address in smtp_bind_address and inet_interfaces field does indeed work. The problem was an incorrect iptables rule set by the wireguard interface, also on that box, using the X.X.X.X ip. With that removed postfix sends out on the correct IP. Thanks for comments ... | -1 | 1 | 201 | 2024-02-28T12:23:56.000 | infrastructure | serverfault.com | |
15,420 | Trouble With Database Permissions for sp_send_mail | I am trying to send database mail but I am getting [CODE] . I code I am running is as follows: [CODE] The Foo Login shows that it is mapped to the Foo User in msdb. When I look at the foo user in msdb I see that it has "DatabaseMailUserRole" Checked and has Execute on dbo [CODE] . What am I missing? | You are running into the dreaded 'sandboxed' mode of the [CODE] context, as described in Extending Database Impersonation by Using EXECUTE AS . In short code running under [CODE] is trusted only inside the database context, not at the instance context. There are three ways out: the easy way: mark the current database a... | 9 | 11 | 5,239 | 2012-03-22T16:43:06.110 | warehouse_errors | dba.stackexchange.com | |
1,075,982 | How to enable read permission on Kubernetes mount path | I have installed FluentD on Kind-Kubernetes cluster on CentOS VM running on my laptop. I'm having issues getting FluentD to read logs as it is throwing the following error. [CODE] Below is my fluent.conf file. [CODE] In the deployment YAML file I have the following configuration. [CODE] I have read in several threads r... | use securityContext in your deployment yaml file. [CODE] | 0 | 0 | 2,875 | 2021-08-30T00:04:24.620 | pipeline_ops | serverfault.com | |
99,237 | Using Identity Insert on a linked server | We have a database hosted in Microsoft Azure and using this database connection details I have created a linked server object in SSMS on our on-premise SQL box and I can insert into it as following syntax: [CODE] I wanted to set identity insert on and have tried the following: [CODE] I was then informed that I would ha... | Linked servers aren't usually a good idea from a security perspective. See distribution statistics section here I think SSIS would provide a better way of doing this. | 0 | 1 | 2,187 | 2015-04-30T12:00:17.513 | warehouse_errors | dba.stackexchange.com | |
85,442 | What are the pros/cons of running your own Exchange system vs. paying for a hosted solution | Surprisingly, after the long discussion on that well-known meta question, it doesn't seem like anyone's asked about the question that was used as an example: what are the tradeoffs of running your own Exchange servers vs. outsourcing? For my company, we've seen outsourcing and insourcing come and go a couple times and ... | I have gone on both sides of this debate, and I have come to grips with the idea that there is no one-size-fits-all answer to the question. There is more discussion in this question , focused on custom built apps. Were I starting from scratch, I would likely host email externally until I got to 200-300 mailboxes, then ... | 7 | 7 | 11,130 | 2009-11-17T07:41:05.423 | infrastructure | serverfault.com | |
577,929 | Windows 2008R2 server W7 client slow share access | we run homogenous network based on Windows SBS (2008R2) server and W7 as clients. Today, the network start to act weird. From some of the computers (it seems that only from those who have been turned off during weekend) the speed of download from server shared drive is ridiculous, some 100-200kb/s on 1Gb network. From ... | I have an issue like this, the resource availability of my server was consummed by kaspersky reviewing every file on NAS/File system, after that all client previously authenticathed not lose access or performance to shared, but new clients without previous connection not able to view, transfer and the performance to co... | 0 | 1 | 4,591 | 2014-02-24T16:36:00.527 | infrastructure | serverfault.com | |
136,113 | CMDEXEC The process could not be created for step... (reason: Access is denied). The step failed | I have created a job to test executing a [CODE] step. The job step is simply executing a batch file with [CODE] as the command. The job is executing as the SQL Server service account. This account is both sysadmin of SQL Server and Administrator in Windows. The login also has been granted exec to xp_cmdshell, in master... | ok, so instead of using a CMDEXEC job step, I changed it back to a t-SQL script step replaced the batch file name with the full string: [CODE] and it works. So I am not sure what the problem is with Operating System job steps but at this point I am passed the hurdle. funny thing is, I have another server setup the othe... | 2 | 1 | 12,252 | 2016-04-21T16:13:54.417 | database_errors | dba.stackexchange.com | |
128,672 | Can not connect to HP\SQLEXPRESS | Can not connect to HP\SQLEXPRESS a network related or instance specific error while spablishing a connection to sql server. The server was not found or was not accessible. Verify that instance name is correct .and the sqlserver is allow to access the remote connection. error 26 Note: We are getting this error while con... | You will want to ensure that you are connecting to the right instance. Right now it's saying it's not able to find that instance/port #. open a powershell terminal and execute: [CODE] This will return the instance name (after the MSSQL$) if it is running on the local host. At that point try to connect to that instance,... | -3 | 0 | 135 | 2016-02-09T01:33:36.760 | database_errors | dba.stackexchange.com | |
32,760 | What algorithms will stuck in the local minimum? | Algorithms like neural network are easily getting stuck in local minimum because the shape of the loss function (so there are parameters like momentum are designed to solve this type of problem). Logistic regression will always find global minimum because log-loss is a convex function (please feel free to correct me if... | Any greedy algorithm -- which try to maximize your objetive by choose whichever is locally best -- may get stuck in local minima. These include, but are not limited to: gradient descent optimization like neural networks, which try to gradually minimize the loss function by making small changes to the weights in the dir... | 5 | 3 | 5,349 | 2018-06-06T23:11:33.107 | data_quality | datascience.stackexchange.com | |
210,985 | Find rows containing all keywords within a string across multiple columns | I'm trying to create a universal search functionality. The goal is to compare the values of multiple columns and see if all of the provided keywords appear in those columns. For various reasons, using a Full Text Index and [CODE] is not an option, nor is utilizing a CLR function. Are there any other options to solve th... | You can use a string splitter and do this. I use Jeff Moden's splitter but you can use your favorite. This essentially splits the string on the space, and then does a [CODE] and only returns rows where there is a mach for each word. This is handy since it doesn't care the order of the words in the string. i.e. [CODE] i... | 1 | 1 | 1,124 | 2018-06-29T16:52:01.460 | warehouse_errors | dba.stackexchange.com | |
484,728 | autoscale static content on ec2 using local cache | Hello Serverfault members. I want to achieve the following setup on EC2: A load balancer starts and stops instances which only serve static content. (a javascript based application) I do not want to manually update the code of the application on the currently running instances if I release a new verision. So I thought ... | If it's just a static site you could serve up the content directly from S3, or via CloudFront if you'd like the advantages of a CDN. CloudFront is trivial to set up and will negate the need to have a load balancer at all. You also get the added advantage that content is served by the edge server closest to the client. ... | 0 | 0 | 215 | 2013-03-05T07:51:28.083 | infrastructure | serverfault.com | |
214,001 | Need Help With View Where Condition | I am creating a View to grab contact information from my database. This is the code I have for the view at the moment: [CODE] In the three contact method tables [CODE] there is a [CODE] column called [CODE] . It's there so the database can keep track of which phone number, fax, or email is currently in use by the conta... | I haven't tried this, but I would suggest moving the conditions in your WHERE clause to your joins. Because there are LEFT OUTER JOINS this should work... so something like this: [CODE] | -1 | 2 | 53 | 2018-08-03T13:12:24.913 | warehouse_errors | dba.stackexchange.com | |
321,496 | SQL Server 2000 to 2008 security logins transfer | I'm currently upgrading SQL Server from 2000 to 2008, the database was successfully transferred, the issue remains with the security logins, I have found the stored procedures that extracts the logins with Sid/Password and so on. The issue I'm facing is the password length is 94-128 character in SQL Server 2000. When I... | Wow. Blast from the past. Insanely enough, you want to use some ancient tools/scripts that Microsoft created for these purposes: sp_hexadecimal sp_help_revlogin They're no longer cool/sexy or even something I would recommend (at all) . But, cough, for a 2000 to 2008 migration, they should be a fairly straightforward fi... | 0 | 1 | 571 | 2022-12-28T14:45:47.753 | database_errors | dba.stackexchange.com | |
906,952 | mongorestore : don't know what to do with file “/home/path/to/folder/collection1.bson”, skipping | -I'm trying to import a mongodb database - From a mongodb base version 2.4.10 I exported the database with the command: mongodump -d DBNAME -o / path / folder -I tried to import the dump to a mongodb engine version 3.6.3 -I got this error: [CODE] Thanks for help | I've just had the same issue and, apparently, you have to pass both [CODE] and [CODE] parameters. The auth database should be [CODE] , but I guess they use the destination database instead, which is very misleading. Prepare for more of such surprises - Mongo (and their docs) really suck. | 3 | 2 | 4,424 | 2018-04-10T13:53:42.453 | database_errors | serverfault.com | |
59,446 | Confused about load balancing and horizontal scaling in postgresql | Please correct me if I am wrong but I guess handling more requests and load by adding more machines or balancing the load between multiple servers is horizontal scalling. So, if I add more servers, how do I distribute the database? Do I create one database to hold the user records with multiple servers? Or do I split t... | First rule of horizontal scaling of a database is to avoid it. At all cost. You should consider it only when no server you can possibly buy can handle your data. And there are servers which can handle enormous amounts of data today. Horizontal scaling of a database will give you: at least an order of magnitude more com... | 7 | 9 | 5,083 | 2014-02-22T23:24:09.987 | database_errors | dba.stackexchange.com | |
43,513 | KFold Cross Validation | [CODE] I have problem when I run the code I have the prediction result for only one fold how I edit code to show the predicted result of all folds | It's really hard to understand your code but it seems that you are only seeing the last fold's [CODE] . Create a list and in each iteration append the prediction to it. | 1 | 0 | 1,381 | 2019-01-05T11:08:33.443 | data_quality | datascience.stackexchange.com | |
604,824 | squid ssl bump sslv3 enforce to allow old sites | Important: I have this question on stackoverflow but somebody told me this is more relevant place for this question. Thanks I have configured squid(3.4.2) as ssl bumped proxy. I am setting proxy in firefox(29) to use squid for https/http. Now it works for most sites, but some sites which support old SSL proto(sslv3) br... | I don't think squid implements any logic to automatically retry and SSL downgrade if the connection failed. So you have only the following options: Downgrade everything to SSLv3 like you propose. This is bad for security and will probably cause other problems, when servers refuse to connect with SSLv3 for security reas... | 3 | 3 | 11,329 | 2014-06-13T05:49:08.637 | infrastructure | serverfault.com | |
614,236 | How can I diagnose and speed up slow Linux puppet sync? | I'm running puppet and it functions okay, but it's taking about 15 minutes on a sync without any changes, and it seems to me that this shouldn't take more than a minute or two. Here are some stats: ping 40ms 49 files, 3 MB, largest is 90K master is Ubuntu 12.04 (precise) w/ puppet 2.7.11 (upgrading to puppet 2.7.23 did... | The most direct approach is running the [CODE] with the [CODE] flag like [CODE] This will give you a good idea of which resources are the most expensive. For your large files, you may want to experiment with different checksum alternatives. | 1 | 8 | 5,105 | 2014-07-21T16:48:32.970 | pipeline_ops | serverfault.com | |
1,500 | What exactly is the cloud term 'a Firehose'? | I found a Firehose definition from Overview of the Loggregator System Cloud Foundry docs. The Firehose is a WebSocket endpoint that streams all the event data coming from a Cloud Foundry deployment. The data stream includes logs, HTTP events and container metrics from all applications, and metrics from all Cloud Foundr... | The fire hose is a reference to an old Weird Al Yankovick movie, UHF (1989) . In this movie, George Newman (portrayed by Yankovick) starts a local TV channel in the UHF band and is responsible for programming on the channel. After befriending the Station's Janitor, Stanley Spadowski, (portrayed by Michael Richards) Geo... | 10 | 11 | 718 | 2017-07-10T15:16:05.393 | api_errors | devops.stackexchange.com | |
156,592 | Reconfiguring PHP with OpenSSL Extension on CentOS | Long time browser, first time poster! I have a CentOS Dedicated server running just fine. I'm trying to reconfigure PHP to include the OpenSSL extensions so I can use some of the Youtube API's. I installed OpenSSL with yum, so it's in place on the server. I'm just now having trouble getting PHP to use it as an extensio... | Why you don't install php from a updated repository? I use remi-enterprise . | 1 | 1 | 4,132 | 2010-07-01T08:26:23.760 | infrastructure | serverfault.com | |
581,547 | IP SLA: tcpConnect frequency and jitter codec | I am trying to generate different kinds of traffic with IP SLA on a c7200 router, I am using the simulation software GNS, so if required I can change my router. My aim is to generate congestion to see how my network react. But I have a problem with the following attempt: [CODE] The indentation does not match on this co... | Its a code version issue - GNS3 doesn't support a router that can run a version of IOS code new enough to support the enhanced IP SLA configuration. I can tell you're using "old" code because you're configuring IP sla with the "rtr" commands instead of "ip sla monitor" commands. Unfortunately as I said you can't in my ... | 0 | 0 | 263 | 2014-03-12T12:57:00.943 | infrastructure | serverfault.com | |
90,493 | How to implement your own word list for sentiment analysis? | I've finished web scraping and cleaning the text i'm interested in and i also have the sentiment word list i want to apply to it. However, i have a few conceptual and implementation problems. my sentiment word list is a data frame of words assigned to particular features such as negative, positive etc. I currently have... | A relatively straightforward approach is counting up the number of occurrences of positive and negative words. Then see which tally is larger. Creating a sentiment word list dataframe is not the best approach. Dataframe are large in memory and strings are large in memory. It is better to create a hash table, aka Python... | 1 | 1 | 463 | 2021-03-10T22:24:07.713 | data_quality | datascience.stackexchange.com | |
227,891 | Long file path returning 404 for "hello.htm" | I have a long file path that works on my server, but a simliar path returns a 404 error when it is on my clients (IIS6) server ( http://ddmat.com/ ). Here's the functioning file path on my server: http://www.forgefx.com/projects/ddmat/install/Application Files/McCurdys_1_0_0_0/Content/FBX/CCAE1B33/Roof-sectionB-02.fbm/... | I'm interested in finding out the cause of this also. So I did some research online. I found this article. I think it might help answering this issue. http://support.microsoft.com/kb/315122 | 0 | 0 | 694 | 2011-01-28T00:55:32.613 | infrastructure | serverfault.com | |
6,380 | How do I set up Jetty 6 & Jboss 4.0.5 virtual hosting? | I have 2 webapps deployed in the same JBoss/Jetty server. In Jetty 5.1.14 I had the following jetty-web.xml which configured one of the apps to run as a virtual host (on the same port): [CODE] This worked perfectly fine. Unfortunately, it doesn't work with Jetty 6.1.17 at all. First of all, "JBossWebApplicationContext"... | I've solved the problem so far by using this syntax: [CODE] The problem turned out to be that ALL webapps need the virtual hosts defined if they are running in the same container. For some reason deploying one WAR with virtual hosts and one without didn't work. This worked fine in Jetty 5 so I'm mystified, however defi... | 1 | 1 | 740 | 2009-05-08T16:21:58.290 | infrastructure | serverfault.com | |
593,791 | Repackaged Vagrant (vbox) box will not allow ssh after subsequent imports | I'm experiencing the following. If I download and run a base box (ubuntu/trusty64), make some modifications like installing packages, then shutdown and repackage the box, on subsequent imports it fails to connect on [CODE] . This is not the transient wait-for-connection error, this hangs forever: [CODE] Workflow is: [C... | I had this issue. For me it turned out that the version of the box was set to "Ubuntu (32 bit)". Changing this to "Ubuntu (64 bit)" under Settings/General via the VirtualBox GUI fixed it. This appears to be a miss-configuration of the box image. If this is not case for you, starting the box with GUI enabled or through ... | 3 | 1 | 4,485 | 2014-05-07T23:10:06.490 | infrastructure | serverfault.com | |
264,796 | How can I route specific domain names to a specific server | We have 3 servers internally. - The first one ( beluga ) is our domain controller and file server. It has a DNS controller, but I don't know how to configure it correctly, and my boss don't want us to touch it (it created some problems a while ago). It runs on Windows 2003 Small Business Server. - The second one ( bale... | Why don't use just create another zone called clientname.local.cp.com in your internal DNS and add records appropriately? That's from inside. Do you require same availability from the INTERNET? | 0 | 0 | 1,833 | 2011-04-29T16:29:25.940 | database_errors | serverfault.com | |
287,691 | LAMP set up idling on connections | I've set up a basic LAMP installation on a Linode Ubuntu 10.04 server using the following apt-get command: [CODE] I haven't really changed any Apache configuration settings apart from the [CODE] property. For the most part this all works fine. However, every couple of page requests, say every 3 or so, it seems that the... | Pop open something like firebug, or chrome's "inspect" tab, and see where the HTTP connection's stalling, just to rule out anything goofy. Next, presuming your browser thinks that it's hitting your server, check your access_logs to see if your server's seeing the connection. If it is, but you don't get any content deli... | 0 | 1 | 54 | 2011-07-06T21:42:12.477 | infrastructure | serverfault.com | |
66,774 | Why query_cache_type is disabled by default start from MySQL 5.6? | We've upgraded to MySQL 5.6 and start seeing the loading of db server increased significantly, and finally found out the [CODE] is defaulted to off start from 5.6. We enabled it again and see the loading decrease, why this value is being disabled by default start from MySQL 5.6? I cannot see the problem in enabled it. | You need the history of InnoDB to understand why. Here it goes: WAR STORY InnoDB and the query cache are in a constant state of war. InnoDB tends to be very heavy-handed when inspecting changes in the InnoDB Buffer Pool and then crosschecking the Query Cache for the same changes. PEACE TREATY Before MySQL 5.0, the quer... | 30 | 38 | 40,536 | 2014-06-07T02:57:22.007 | database_errors | dba.stackexchange.com | |
880,946 | Tomcat serving pages from temp directory instead of webapps directory | I have an Apache Tomcat (Spring) application deployed inside a Docker container. Host is Centos 7, container is Debian 9. In the past, I have run this application without any problems outside of Docker. I deploy the application how I always have, by copying the required files into [CODE] . The application is loaded fin... | It turns out this was a side-effect of something I did to fix a bug: [CODE] had [CODE] in the [CODE] element. This results in multiple copies of the webapp being served from the temp directory. | 0 | 1 | 1,259 | 2017-10-30T08:06:25.040 | pipeline_ops | serverfault.com | |
187,282 | Cannot re-attach SQL Server Express database to the same server after detaching? | I migrated a database in a test environment from one server running SQL Server Express 2008 R2 to another running the full version of SQL Server 2012. I did that by detaching the database from the first server, copying over the .mdf and .ldf files, and attaching those to the new server. That worked well, except I see s... | Can someone point me to the circumstances that could lead to this problem (database working on the very same server, then detached, not changed (at least by me), then not being able to re-attach? You have 2 problems: Your 'old' server is SQL Server 2008 R2, and the new one is SQL Server 2012. You cannot attach a databa... | 2 | 2 | 831 | 2017-09-29T14:17:21.010 | database_errors | dba.stackexchange.com | |
360,113 | Mounting an additional iSCSI volume in Centos without restarting the iscsi initiator | I don't know if I'm missing something but when I'm mounting additional iSCSI volumes to a said server to add additional storage to a server I'm not seeing a way to mount the volume after running a discovery command. The reasoning I want to be able to do this is that we're running an application that would require downt... | In general, there is a --rescan option to iscsiadm from the Open-iSCSI initiator. Typically, it is wrapped into some kind of script framework to make life easier. With Centos, [CODE] should do exactly that for you. Other systems might have a [CODE] or [CODE] parameter to the iscsi startup script ( [CODE] or similar). T... | 2 | 1 | 4,188 | 2012-02-14T19:36:22.787 | infrastructure | serverfault.com | |
1,058,231 | Postfix, Edited sasl_passwd and now the relay fails authentication | So I'm running Postfix 3.1.0 on a work server. It's relaying emails to AWS SES and I just updated the access key. I removed the previous value in [CODE] and then ran [CODE] and email was failing authentication. Then I [CODE] restart postfix and still no auth success. The only information I can find is regarding the pos... | The question is that the work - postfix server have any related relay before server. Like, Ironport or proxy for example. If yes, you need firewall accesses or update postfix with sample below. Also dont forget to use postconf command to give postfix the latest config update DESCRIPTION By default, the postconf(1) comm... | 0 | 1 | 561 | 2021-03-25T03:39:39.347 | api_errors | serverfault.com | |
29,323 | SELECT/INSERT Deadlock | This instance hosts the SharePoint 2007 databases (SP). We have been experiencing numerous [CODE] / [CODE] deadlocks against one heavily utilized table within SP content database. I have narrowed down the resources involved, both processes are requiring locks on the non-clustered index. The [CODE] needs an [CODE] lock ... | On the face of it, this looks like a classic lookup deadlock . The essential ingredients for this deadlock pattern are: a [CODE] query that uses a non-covering nonclustered index with a Key Lookup an [CODE] query that modifies the clustered index and then the nonclustered index The [CODE] accesses the nonclustered inde... | 12 | 16 | 11,283 | 2012-11-26T21:46:54.397 | database_errors | dba.stackexchange.com | |
568,226 | how to install kanbanzilla for existing bugzilla 4.2 | Currently I am running bugzilla 4.2 with Testopia 2.5 on Apache2, Perl 5.14. Mysql 5.5. I tried to follow the Bugzilla REST API but it showed errors when I tried to start the server BzApi, in # script/bugzilla_api_server.pl [CODE] For the Kanbanzilla installation I followed the steps as shown here ; in api.py file unde... | Not permitted to comment, so: [CODE] What are those two lines of code? If you can't get BzAPI running, then obviously Kanbanzilla isn't going to work. So focus on getting BzAPI running first. I've no idea why it doesn't start, but you need to track down what is failing to compile properly. | -1 | 0 | 321 | 2014-01-18T17:07:38.810 | database_errors | serverfault.com | |
458,456 | how do i automatically add a new route to the routing table? | I'm looking at linking two networks with a long range Ethernet bridge. I know I can connect my two networks with a router, but my problem is how will my computers know where to send packets if I don't add the route manually? I COULD add them manually, but it seems like a hassle. I have very very limited knowledge of RI... | I'm looking at linking two networks with a long range Ethernet bridge. An ethernet bridge is not a router. An ethernet bridge is layer 2, and if that is in place there will be no need for a router as all layer 2 traffic will be passed back and forth across the bridge. Consider the latency between the two networks befor... | -1 | 1 | 439 | 2012-12-16T04:35:28.257 | infrastructure | serverfault.com | |
1,157,110 | Unidentified RAM | Greetings! A server which is equipped with 512GB RAM(16 slots * 32GB) which OS is Ubuntu 22.04. During boot up, server reserving 16259356K(15GB) RAM showed in dmesg that resulted only 498GB is available for the OS. I was unable to identify where 15GB is allocated. Could you please help me. [CODE] | Each 4K memory page commands a 64B [CODE] overhead, meaning 8 GB of unavailable memory for 512 GB of RAM. Adding some reserved memory due to [CODE] , memory mapped devices (ie: graphics adapter) and similar ends with ~15 GB unavailable on your server. EDIT: you have 6 GB allocated for [CODE] (which does not show as vis... | 0 | 1 | 201 | 2024-03-29T17:23:23.283 | infrastructure | serverfault.com | |
129,537 | OCS 2007 R2 Client not syncing Address book | I've checked online for most solution for this issue, but nothing seems to be working. When I check the log files on our OCS 2007 R2 server, it is identifying 25 users in the address book. However, when I try and force a sync with the clients, they do not update. I can find the users if I search for them, but they are ... | Due to a minsunderstanding, the process was working properly. To add the users to a Communicator in your environment, you need to run the following scripts: [CODE] The first script adds all of the users in the contacts.txt file to all of the users listed in the contacts.txt file (you can use 2 separate files. I just us... | 1 | 0 | 4,373 | 2010-04-05T21:33:20.773 | infrastructure | serverfault.com | |
266,548 | If all associated attributes of an intended primary key are identical, is it still a true primary key? | I'll start with an example. If I have a [CODE] table with intended surrogate primary key [CODE] : +----+------+------------+-------------+ | Id | name | DoB | SSN | +----+------+------------+-------------+ | 1 | John | 1901-01-01 | 111-11-1111 | | 2 | Jane | 1902-02-02 | 222-22-2222 | | 3 | John | 1901-01-01 | 111-11-1... | The problem with this model is that you did not identify all candidate keys in the relation and did not enforce uniqueness of those keys you did not identify. In reality [CODE] and, possibly, [CODE] would constitute additional candidate keys. Nevertheless, [CODE] is still the primary key of this relation, but it does n... | -2 | 1 | 40 | 2020-05-05T16:33:01.103 | warehouse_errors | dba.stackexchange.com | |
1,036,381 | No access to .x.x IP range on network | I have following setup: Cellular network connection for Internet access 2 x Ethetnet LANs with no access The LANs are 10.5x.x.x networks. My device is on 10.51.85.x subrange. I can ping / reach devices on 10.51.85.x subrange. From the device I need to access another device which is on 10.51.23.x IP range. But I can't s... | You haven't specified a route to reach the 10.51.23.whatever network, so such traffic is passed to the default gateway. You need to specify a route which tells the machine how to route that traffic. For example: [CODE] Note that this only gets you one way traffic. The other end must also know how to send traffic back t... | 0 | 1 | 37 | 2020-10-04T20:24:19.497 | infrastructure | serverfault.com | |
1,114,277 | Please explain this traceroute | What might cause the middle two RTT to timeout. This happens every time. Users are reporting slow network access from the remote site. We have contacted Meraki and they have not found anything wrong. We have replaced cables. We have contacted the ISP of the ELAN (nothing wrong). We have rebooted the stacks. These trace... | What might cause the middle two RTT to timeout. The most likely causes include: those hops are limiting ICMP Time exceeded messages packets are lost on the way to the hop (unlikely when later hops are fine) ICMP messages are lost on the way back (rather unlikely but possible when there's ICMP quenching anywhere) Simply... | -1 | 0 | 196 | 2022-10-28T20:50:47.147 | infrastructure | serverfault.com | |
690,176 | Do I need to purchase a trusted cert for offline environment? | I have a webserver used self-sign cert which is not connected to internet and those connect to my webserver also have no connection to internet, in such environment, do I need to purchase a trusted cert? It was highlighted in VA scan. Is internet connection required for browser to verify the trusted cert? Assumed I hav... | If the clients are truly offline, then a commercial cert won't work properly anyway, because the clients will fail when they try to look up the CRL for the cert issuer's CA. SO no, if the entire environment has no internet connection, than a commercial cert will do you no good. Using manual certificate distribution or ... | 3 | 7 | 3,615 | 2015-05-07T01:25:55.460 | api_errors | serverfault.com | |
3,395 | Why does DataContext.SubmitChanges() Exist? | I'm not sure if this goes here or on Stack Overflow, but I figure someone here might know it. Why did the developers of LINQ decide that not only do you need [CODE] but you also need [CODE] Did they do this so you could execute several queries on one trip to the database or am I missing something? | I'm not 100% sure about LINQ but i would say that the seperation is based on transaction control. You apply any number of updates, inserts or deletes. That are then held as a unit of work, then once you've finished your changes you simply commit them to the database as a single action or roll all of the changes back, m... | 4 | 3 | 1,340 | 2011-06-21T03:09:52.740 | warehouse_errors | dba.stackexchange.com | |
1,015,049 | ModSecurity not writing to new rotated log files? | I've the following logs rotation set up in the OS for nginx's and modsec's logs, and it works for nginx's logs but not for modsec's. The result for modsec is that, it made a copy for the log file but it keeps on writing to the old one as followed: [CODE] Can someone please tell me what I've missed? Other than 'kill -US... | As stated Here you have to reload configs. For that you can use a restart/reload for web server or you can use copytruncate option in logrotate instead of create | 2 | 2 | 2,952 | 2020-04-30T19:12:24.673 | pipeline_ops | serverfault.com | |
556,091 | How Can I Open and Print a Word Document Using a VBScript Called From the Web? | The university I work for allows students to register their bikes for indoor storage during the winter. This is done through a website. At the end of the process, a DYMO label printer connected to the network is supposed to print out a label that will be stuck to the bike. Here is the process: User and bike data is ent... | Having done a large number of scripted installs with vbscript... I think the issue is SendKey. SendKey is great if you're launching a vbscript as a person. The focus sometimes gets lost when you're launching the script as some kind of automated process. It so happens that there's a handy Stack Overflow question on main... | 1 | 0 | 1,464 | 2013-11-19T20:18:25.393 | database_errors | serverfault.com | |
614,513 | FTP uploads have incorrect permissions when using vsftpd | I recently set up an FTP site using VSFTPD on Debian, and am running into an issue with uploaded directories not being able to be accessed. Files are okay but when I try to upload a directory or change into a freshly uploaded empty directory, I get the following error: Failed to change directory. If I go in through the... | Well, I think there may be two causes: You log in to the FTP server as [CODE] , but the uploaded directories are [CODE] 'ed to another user, and they have permissions [CODE] , so they become unavailable to [CODE] (or another user set by [CODE] ) to which anonymous users are mapped by the [CODE] daemon. Try to set the f... | 1 | 2 | 7,920 | 2014-07-22T13:59:58.750 | infrastructure | serverfault.com | |
566,731 | nginx rewrite single php page | I am really struggling to understand and achieve a very simple operation in nginx. I'm trying to rewrite the following page: [CODE] to [CODE] I have the following in nginx.conf: [CODE] It actually works but the problem is that all the external links such as css and js get /d/ appended after the domain. Any help? Any si... | Try it like this: [CODE] | 1 | 0 | 702 | 2014-01-12T13:43:15.223 | infrastructure | serverfault.com | |
32,074 | Selenium Webdirver C# Running more than one test class from the test suite | I have created a [CODE] in [CODE] . The [CODE] is written in the [CODE] . To avoid having one [CODE] and [CODE] of [CODE] I have decided to split [CODE] into [CODE] , which each has [CODE] and one cleanup method. Currently, I have [CODE] . One of them checks for [CODE] and the other one checks [CODE] by inputting false... | Does your tests runs in parallel? If that is the case, then you can not run parallel tests with this static instance to the Webdriver. Also you can see how the tests behaves in nunit 3.xx and 2.xx (because there could be a difference). See if there is a difference using /noshadow and /nothread switches. Finally I would... | 1 | 2 | 3,226 | 2018-02-15T13:40:29.383 | data_quality | sqa.stackexchange.com | |
89,541 | How to auto assign ordinal ranking in mysql with as minimal queries for new rows? | [CODE] So suppose I want to insert new rows for view_id 12 and for both user_id 1 and 2, these 2 new rows should have ordinal ranking of 3. How do I do that with minimal number of queries? Bear in mind, I have many users who may all have different number of views assigned. Another corollary to the problem is when I nee... | Assuming the table is called [CODE] and the primary key [CODE] is auto increment and assuming there is a [CODE] table, Scenario 1a) Insert new view and have it be the last view of all the users who has at least access to 1 view To insert a new view_id regardless of how many views each user already is assigned to and th... | 3 | 1 | 1,670 | 2015-01-17T15:32:26.260 | database_errors | dba.stackexchange.com | |
324,314 | Is there any way to pg_upgrade PostgreSQL 12 to 15 over network? | My situation is a little bit complicated. I have an older version of PostgreSQL 12.9 installed on an older Centos Stream 8 machine. There are about five custom databases created under the roof, say database1, ozssc, database5, owned by different roles to handle different business applications. As our business applicati... | If you dump a database without specifying any of the [CODE] or [CODE] options, it will dump all the user schemas of the database. By using [CODE] , you told PostgreSQL to dump system schemas, which it usually wouldn't do. These give you trouble during the restore. Don't forget to additionally use [CODE] to dump the use... | 3 | 0 | 7,258 | 2023-03-02T23:13:59.133 | database_errors | dba.stackexchange.com | |
165,149 | EXEC vs SP_EXECUTESQL Performance | Recently we used a sql code reviewing tool against our database. It is suggesting to use [CODE] instead of [CODE] . I know [CODE] helps us to avoid sql injection. Is there any difference in performance when using [CODE] vs [CODE] . | This is mostly a preference due to security and consistency, and has nothing to do with performance (though that may have been more of a concern in ancient versions of SQL Server). Why use [CODE] some of the time when you should be using [CODE] whenever you have parameters? [CODE] forces you to concatenate all of your ... | 16 | 15 | 29,799 | 2017-02-22T09:27:28.263 | warehouse_errors | dba.stackexchange.com | |
86,543 | How do I deal with the fact that I have images which are not consistent with the class they belong in an image classification problem with CNN? | I am really new to Neural Networks and to Machine Learning in general, and I have been given a dataset composed by images for performing multi-class image classification with a CNN. The images were already divided into classes, and looking at the images I have noticed that some of them are complitely different from the... | There are different ways of doing this, but the final idea in regard to this is that you need to clean your dataset. You could go through it manually and then separate the images. This is extremely slow if you're dealing with a large dataset. A faster less robust way would be to do a Principle component analysis step1 ... | 0 | 0 | 212 | 2020-12-11T06:33:23.733 | data_quality | datascience.stackexchange.com | |
133,294 | Is it possible to release Code using the MS Solver Foundation under GPLv3? | I have written a piece of software using the Microsoft Solver Foundation . Now the work is done I want to release the code under the Terms of the GPLv3, if that is possible. The problem is, the GPLv3 states in section 1: The "System Libraries" of an executable work include anything, other than the work as a whole, that... | The usual IANAL applies, if you want legal advice, get a lawyer, yadda yadda. That said: As long as you only distribute your own code, and no libraries, you can pick any license you want; it's probably wise to pick a GPL-compatible one, in case others want to use your code in GPL projects. You are not bound to licenses... | 4 | 1 | 863 | 2012-02-04T13:54:06.780 | api_errors | softwareengineering.stackexchange.com | |
163,772 | How to automate turning on/off Windows VPN connection | I want to automate VPN connection to come ON nightly so that a database can replicate, then I would like to have it turned off. I know how to schedule Tasks, but is there a command line interface for the VPN connections? or how to turn this on/off? | It's a little bit of a process, but yes it can be done. Create a VPN connection, save the username and password. Save the username and password. Disable the requirement to display progrss while connecting. Disable the "Prompt for name and password, certificate, etc". Create a shortcut to the network connection. Save it... | 0 | 1 | 1,975 | 2010-07-24T21:02:10.773 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.