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 |
|---|---|---|---|---|---|---|---|---|---|---|
378,785 | DL380 G7: Not able to access ILO on DL380 via ssh from a client | I have problem where I can't access my ILO(ssh to ILO IP) thru client which is in different network.I am able to ping ILO IP thru this clinet but ssh access is not possible. Is it possible to have ssh to ILO IP from a client which is in different network? FYI, from the same client I can do ssh to server application IP ... | From your client, run a quick scan to see which ILO ports are open. Something like [CODE] should show the status of the common ILO ports. You'd minimally need port 22 to respond as "open". Ports 80 and 443 are for web management. [CODE] If the nmap output shows the ports as filtered, talk to whomever manages the firewa... | 1 | 3 | 12,652 | 2012-04-12T08:44:57.590 | infrastructure | serverfault.com | |
255,169 | mysql > why replace command is not working on strings coming from json encoded? | Say in my wordpress db I've got a post_content column containing strings like this: [CODE] The above is a portion of string (placed inside a link placed inside a text) that comes from data saved by a plugin (acf) which uses json as data format. Then I run [CODE] Well, that won't work. Zero rows affected and no errors. ... | As a primer it looks like the data is being stored with the escape character [CODE] backslash to allow the WordPress server to automatically use the data in the engine itself. You would have to double the back-slashes to find and replace the string. You can verify this via dbfiddle.uk. If you run your Search String aga... | 0 | 1 | 1,346 | 2019-12-09T10:43:28.257 | database_errors | dba.stackexchange.com | |
91,468 | How to set up Mod_WSGI for Python on Ubuntu | I am trying to setup MOD_WSGI on my Ubuntu box. I have found steps that said I needed to do the following steps I found at http://ubuntuforums.org/showthread.php?t=833766 sudo apt-get install libapache2-mod-wsgi sudo a2enmod mod-wsgi sudo /etc/init.d/apache2 restart sudo gedit /etc/apache2/sites-available/default and u... | I have found that this is a known bug with mod_wsgi apt-get package that is over a year old! Details at http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1147225.html . The apt-get package did not have the wsgi.load file so that needed to be created by doing the steps in the link above. Thanks to everyone tha... | 26 | 6 | 46,519 | 2009-12-06T14:46:21.780 | infrastructure | serverfault.com | |
426,503 | Qualms over the 'flexibility' advantage of using dependency injection | I'm currently studying dependency injection and I'm having some issues with the so called 'flexibility' advantage of using dependency injection. The flexibility advantage is mentioned in post Criticism and disadvantages of dependency injection , where it is mentioned that dependency injection enables "switching impleme... | The principle I'm really having qualms about how this 'switching' can occur, and this is probably due to my limited experience. To elaborate on my confusion, I will mainly use constructor injection, which is the one I wish to understand and am working with. Have you ever walked into a coffee shop, and seen a customer h... | 5 | 11 | 532 | 2021-05-18T19:55:40.663 | api_errors | softwareengineering.stackexchange.com | |
110,062 | Using "Demon Adam" as optimizer in Tensorflow | I am working with a simple neural network in Google Colab using Python with Tensorflow where I've only tried to use the optimizers already available in keras such as Nadam, Adam, Adadelta, Adagrad etc. The best results so far were achieved with Adam. I found an interesting paper "Demon: Improved Neural Network Training... | You could potentially make the update to [CODE] using a callback instead of creating a new optimizer. An example of this would be like so [CODE] | 0 | 1 | 860 | 2022-04-15T20:55:57.240 | data_quality | datascience.stackexchange.com | |
48,174 | Which Windows edition to use? | Looking to upgrade our OS to a 64-bit version. Server Purposes: Web Server (Apache Tomcat) Share Drive (Accessed through Windows domain and able to manage permissions) Firewall Initial Thoughts: Microsoft Windows Server 2008 Standard Microsoft Windows Web Server 2008 Linux is also a possibility but not sure if any dist... | You want Windows Server 2008 Standard. That will give you everything you need. File sharing is better, and Active Directory is not installed on Web Edition (Well it wasn't in 2003 at any rate). Web Server Edition is only good if you're going to make a dedicated web hosting box for hosting ASP.NET IIS applications. It's... | 1 | 3 | 303 | 2009-07-30T17:17:24.650 | infrastructure | serverfault.com | |
1,100,303 | Getting could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432 | I have Postgres 13 and pgAdmin installed on my Windows machine. It worked for like ~six month, until I hat do restart my machine. After restarting the computer (which I had not done because there was an update), I am trying to connect to Postgres via pgAdmin as always and I get this could not connect to server: Connect... | As Rob pointed out (and as I assumed): Postgres database server has not been started (yet). To start it manually type [CODE] in i.e. 'PowerShell`, let the Pop Up open and search for Postgres there. Then, start/top the service there. Make sure to restart pgAdmin after doing this... | 2 | 2 | 53,279 | 2022-05-06T06:42:58.897 | api_errors | serverfault.com | |
70,253 | Difference between using BERT as a 'feature extractor' and fine tuning BERT with its layers fixed | I understand that there are two ways of leveraging BERT for some NLP classification task: BERT might perform ‘feature extraction’ and its output is input further to another (classification) model The other way is fine-tuning BERT on some text classification task by adding an output layer or layers to pretrained BERT an... | No, approaches 1 and 2 are not the same: In approach 1 (feature extraction), you not only take BERT's output, but normally take the internal representation of all or some of BERT's layers. In approach 2, you train not only the classification layers but all BERT's layers also. Normally, you choose a very low learning ra... | 1 | 1 | 2,575 | 2020-03-26T10:11:35.070 | data_quality | datascience.stackexchange.com | |
283,294 | How to read in N random characters from /dev/urandom? | [CODE] The above is not working..How can I read random bytes from [CODE] in bash? | [CODE] [CODE] specifies the input file, [CODE] the block size (3 bytes), and [CODE] the number of blocks (1 * 3 = 3 total bytes) | 74 | 65 | 108,953 | 2011-06-23T05:34:42.220 | infrastructure | serverfault.com | |
276,548 | proper exception handling (throwing/message) dll libary | I just wrote a dll library using vb.net. while testing, i got an error which i did not initially use a try-catch block. The code is [CODE] The error is Index and count must refer to a location within the buffer. Parameter name: bytes My question now is would it be considered good practice to throw errors from dll or re... | Exceptions denote exceptional cases, which I think is in your case. Assuming I am understanding your question correctly, returning an empty/null result could also imply that the input was [CODE] , so there was nothing to return, rather than an empty or malformed input array. I would suggest that wrap that exception wit... | 0 | 1 | 679 | 2015-03-17T15:01:30.487 | api_errors | softwareengineering.stackexchange.com | |
254,312 | Windows Logs Application is full of "Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: ****]" | I have Windows Server 2016, with SQL Server 2017, and found Windows Log Application is full of Login failed messages (as follows) : Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: ****] Client's IP addresses are various. I don't have any maintenance plan in SQL Server Wh... | It looks like your SQL Server is exposed to Public Internet, and someone is trying to brute force (hack) password from your SA account... I had the same situation when one of my SQL Servers was in Azure and exposed to Public Internet on port 1433 SOLUTION: You need to configure firewall properly to only let IP addresse... | 3 | 5 | 12,849 | 2019-11-28T04:52:03.450 | database_errors | dba.stackexchange.com | |
950,416 | How to remove package from rpm database | I have a [CODE] server that I accidentally added a [CODE] package to it's rpm database. Added wrong package [CODE] So when I tried to add the correct package I get: [CODE] So I ran the following: [CODE] Then added RHEL 6 package: [CODE] But install still reverts back to wrong package: [CODE] So I tried to explicitly re... | You need to uninstall the incorrectly installed package, i.e.: [CODE] You remove packages by package name , not by filename , because installed packages don't have a filename. Of course, this probably won't fix the problem, because you destroyed and rebuilt the RPM database when there was no need to do so, and it is li... | 3 | 4 | 10,324 | 2019-01-23T17:25:24.080 | infrastructure | serverfault.com | |
134,276 | mysql partition enabled or not? | When I run [CODE] it return empty record. When I run [CODE] I got this result partition | ACTIVE | STORAGE ENGINE|NULL | GPL| My MySQL version is 5.6.29 and I'm running it in CentOS. What I have to do to get Yes when I run [CODE] | have_partitioning variable is removed from MySQL version is 5.6.29 . That's why it is not showing.Instead of it you can use show plugins for knowing partition is enabled or not.If status value is Active then it is enabled.You can also disable partition by adding skip-partition=True while starting mysql server. | 0 | 0 | 520 | 2016-04-04T09:02:09.150 | database_errors | dba.stackexchange.com | |
2,109 | How to store 'n' days of web server logs in Sql Server? | For faster reporting and performance analysis, we want to insert our web server logs into Sql Server. This will allow us to see traffic patterns, issues, slowdowns in near real-time. We have a daemon that listens for request/response events from our load balancer and bulk inserts into the database. However, we get arou... | You should look in to partitioning. http://technet.microsoft.com/en-us/library/dd578580%28SQL.100%29.aspx The cool thing about partitioning is that you have just one table name (as opposed to the multiple table approach) so your insert statements remain static. It works with every application - it's completely transpar... | 18 | 17 | 1,361 | 2011-04-07T04:30:20.137 | database_errors | dba.stackexchange.com | |
510,950 | configuring wpad give me 0x8007054B error | I've Domain Controller and TMG server (2010 standard edition)... The both is windows 2008 server . my problem is when I'm going to configure "Web proxy auto discovery" display error 0x8007054B 1- Testing by tmg's Troubleshooting this link http://firewall.xco.local:8080 2- Testing by tmg's Troubleshooting http://firewal... | It looks like the device at firewall.xco.local is simply not listening on port 8080, or port 8080 needs to be opened in a firewall. Check your configuration. If you can fetch http://firewall.xco.local/WSPad.dat (or http://firewall.xco.local/wpad.dat ), and it is the configuration you want, specify that as your proxy au... | -1 | 1 | 368 | 2013-05-26T09:59:35.807 | infrastructure | serverfault.com | |
623,368 | Connection failed between Windows Servers | I'm setting up an infrastructure based on Windows Server 2012. The firewall is turned off and I can't access the Domain controller to check for the group policy. I'm experiencing some connection problem between servers. All the servers are running a site on the TCP Port 80 and I check with netstat that the web server i... | Check that there aren't two A-records in DNS for the DC you are trying to connect to. I had that issue when trying to connect to one of my servers via RDP and I was going bonkers. Make sure that the actual computer name of the DC is mapped to its IP address and that there are no other records for that DNS name referrin... | 0 | 0 | 158 | 2014-08-22T16:11:17.697 | infrastructure | serverfault.com | |
383,115 | (Apache) Weird characters with Roundcube (PHP) | Yes, i saw all the questions about the weird characters at the end of a PHP script. I will ask here because no solution from the internet and serverfault worked. At this page: https://webmail.pixelwolf.ch/test/ there are some mysterious characters. And that's the problem why my Roundcube does not work. What I already c... | Ok problem solved: I just removed libapache2-mod-php5filter and instead of that I installed libapache2-mod-php5. I don't know whats wrong with that but that solved my problem. I even don't know why I installed filter instead of handler. | 0 | 0 | 403 | 2012-04-25T19:20:36.860 | infrastructure | serverfault.com | |
142,320 | How to enable error log in lighttpd properly? | I have a Centos 5 system with Lighttpd and fastcgi enabled. It does log access but does not log errors. I have Internal Server Error 500 and no info in log and when I try to open not -existing file also - no info in error log. How to enable it properly? Below is list of modules that I've enabled: [CODE] Here are settin... | Unlike Apache and nginx, you cannot use per virtual host log files for error messages in lighttpd. [CODE] variable is global in lighttpd, see Feature Request #665 for more details. | 13 | 9 | 60,179 | 2010-05-16T09:38:53.177 | api_errors | serverfault.com | |
341,297 | Using 48v for servers | I'm currently in the middle of a process to specify and design a new server environment for graphics and video rendering. We know we want to use blades, and we're pretty sure of our vendor decisions. We've got one massive problem, and that's power. At the moment, we're looking at getting more 3 phase power into the bui... | What are the advantages of using 48V DC over 230VAC or 415VAC 3phase Efficienty and heat. There is no AC/DC transformation in the server. Yes, you have one large converter, but it is not in your rack - so you produce less heat in the rack. Efficiency. Large converters ?= more efficient. This gets really nice when you t... | 11 | 7 | 4,926 | 2011-12-15T17:14:04.910 | infrastructure | serverfault.com | |
153,497 | Oracle EXPDP using QUERY parameter with results from SELECT | Oracle 11.2g XE I'm trying to write a initial deployment script for my application. There are several tables with data that I want to include in datapump export with a QUERY. I have a table which includes these queries and table names to be exported. [CODE] Relevant portions of my expdp PARFILE as follows: [CODE] As yo... | No, there is not. You have already defined manually the filters for each table, why not use that? Just dynamically generate the parameterfile before running [CODE] : [CODE] Or use [CODE] . | 0 | 1 | 9,478 | 2016-10-27T14:42:29.480 | database_errors | dba.stackexchange.com | |
50,220 | problem with .Net xml importnode in powershell | Im trying to construct a powershell script that uses some XML. I have a XML document where I try to add some values with email addresses. The finished xml document should have this format: (I'm only showing the relevant part of the xml here) [CODE] SO, in powershell I try to do this as a test, which fails: [CODE] After... | Solved this by using: [CODE] | 0 | 0 | 750 | 2009-08-05T08:12:54.133 | infrastructure | serverfault.com | |
1,025,893 | Change logwatch cron's hour | I installed Logwatch with this command: yum install logwatch Always send me logs at 3:00 server hour (I not configured this hour), how can I change cron's hour?. Because at this moment my server is doing backups and I want to get logs after finalize. Problem/question: where can I change the logwatch's cron?. Thank you! | That depends a bit on how the logwatch package deploys the cron schedule. I’m currently on mobile and can’t check but typical is one of two methods: If logwatch deploys a file in [CODE] then you need to remove that file and create a replacement cron batch that runs at the time of day you want. (Changing the time of all... | 0 | 2 | 640 | 2020-07-20T03:47:21.293 | database_errors | serverfault.com | |
103,980 | Syntax error using preparedstatements with postgresql | I have a Java application connecting to a PostgreSQL database. Using straightforward code like: [CODE] and with a query like [CODE] it just works fine. In the postgres logs what shows is: [CODE] But with a query like: [CODE] I get a syntax error: [CODE] and in the postgres logs: [CODE] but in pgadmin something like [CO... | The common solution is to express this as: [CODE] with [CODE] as a placeholder for a numeric value (possibly with a fractional part). The syntax tried in the question is rejected because for the SQL grammar, the entire expression [CODE] is a constant. It cannot be changed by injecting a placeholder into it, just like w... | 1 | 4 | 6,620 | 2015-06-13T11:03:22.160 | database_errors | dba.stackexchange.com | |
252,612 | SQL Server Stolen Server Memory - what it consists of? | Below what my server's performance counters show: Questions: 1) What "Stolen Server Memory" consists of ? I can assume "Plan Cache", "Lock Memory", "SQL Cache", "Connection", "Optimizer" are included into "Stolen Server Memory", but what else is included ? 2) How can I query rest of things that are included into "Stole... | What "Stolen Server Memory" consists of ? I will quote from my answer given on This Thread . Stolen memory describes buffers that are in use for sorting or for hashing operations (query workspace memory), or for those buffers that are being used as a generic memory store for allocations to store internal data structure... | 0 | 1 | 2,966 | 2019-11-05T19:29:38.557 | database_errors | dba.stackexchange.com | |
174,794 | Get sql azure dead lock info | My application has been logging dead lock exceptions return from sql azure to my .net application: [CODE] . I would like to investigate this further to see if I can prevent those deadlocks from happening. How do I get the details about those past and future deadlocks? I remember that the sql server profiler is able to ... | You can use extended events on Azure to capture deadlock details. Following article explains in details. https://blogs.msdn.microsoft.com/azuresqldbsupport/2017/01/21/lesson-learned-19-how-to-obtain-the-deadlocks-of-your-azure-sql-database/ Based on the comment I am adding this section. I just tested this and it works.... | 2 | 4 | 4,553 | 2017-05-29T01:25:14.023 | database_errors | dba.stackexchange.com | |
377,432 | Trying to use Nginx try_files to emulate Apache MultiViews | I want a request to [CODE] to return [CODE] . (Or .gif, .html, .whatever) This is trivial to do with Apache MultiViews, and it seems like it would be equally easy in Nginx. This question seems to imply that it'd be easy as [CODE] in the location block, but that doesn't work. [CODE] doesn't work, nor does [CODE] or [COD... | You can emulate Apache's MultiViews, by passing the various filenames to try to [CODE] . Nginx's [CODE] directive does exactly what the name suggests - it tries files in the order the are specified, and if not found, will move to the next file. Typically, the last entry is a fallback that is guaranteed to work - either... | 2 | 5 | 2,635 | 2012-04-06T23:05:07.150 | infrastructure | serverfault.com | |
737,688 | How do I configure AWS Kinesis Firehose to be able to copy into Redshift? | Problem I have set up a Firehose and selected options that it seemed would result in the streamed data to end up in Redshift. I have a single Firehose and a single target table in Redshift. The data is showing up correctly in the intermediate S3 bucket but not making it to Redshift. I have allowed the Firehose region C... | Here are all of the things I initially misconfigured and eventually adjusted to get Firehose to properly copy data into Redshift: Make sure the bucket you select is in the same region as your redshift cluster. You can specify the REGION if for some reason you want to incur additional charges . You cannot change the reg... | 7 | 7 | 4,436 | 2015-11-20T00:31:59.977 | api_errors | serverfault.com | |
495,535 | Unable to set up secondary IIS 7.5 FTPS server | I'm the process of setting up two IIS 7.5 FTP web sites (which are both up and running normally) both of which have FTPS set up on them. For this example: Site 1 is called foo.com. This site has it's own SSL that was applied to the website and FTP site. Both the FTP site and web site are working normally (and securely)... | I solved this problem by looking at a bunch of different pieces of documentation on setting up FTPS for IIS 7.5. The problem wasn't that I was creating a second FTPS site with different configurations than the first FTPS site but making sure that the FQDN/host name in the SSL and the host header for the FTPS site match... | 2 | 2 | 616 | 2013-04-02T20:15:44.177 | infrastructure | serverfault.com | |
1,116,584 | openstack selfservice network error Invalid input for operation: Segmentation ID should be lower or equal to 4095 | I am running ubuntu 22.04 lts with openstack yoga. when i run the following command [CODE] i get error [CODE] I do not know where you specify this segment id I have provider network : 192.168.122.0/24 management network: 10.0.0.0/24 [CODE] | The openstack documentation is not clear on this page https://docs.openstack.org/neutron/yoga/install/ovn/manual_install.html In file [CODE] under [CODE] it should be [CODE] | 0 | 0 | 209 | 2022-11-25T09:09:35.723 | infrastructure | serverfault.com | |
443,267 | How to break a bloated decorator into smaller parts in Django? | In a project I am doing, I have to perform a lot of repetitive checks at the beginning of each API end point. As the amount of duplicate code started to grow, I thought of using a decorator to wrap all of my api endpoint view functions, and to perform the checks there. This approach actually turned out to be useful for... | Composition is a powerful tool. Here is one way to define a flask endpoint. [CODE] You can freely mix and match such decorators. They offer great economy of expression. If you find your business use case for say, credentials, or for logging, becomes quite complex, then step back and re-evaluate. Perhaps you need more t... | -1 | 0 | 56 | 2023-01-08T06:44:09.007 | data_quality | softwareengineering.stackexchange.com | |
219,302 | How to make a backup of an Oracle database that does not mess up the regular backup cycle? | Goal I want to move a database from server A to server B. Both server have the same technology so one way is to shutdown the source database, copy data files,control file, redo logs, parameter file to from A to B and start the database on B. But this will take to long so I will use a method that involves the archive lo... | A FULL-Backup does not interfere with the regular backup. From the description of the [CODE] command in the "Database Backup and Recovery Reference" of "Oracle Database Online Documentation 11g Release 2 (11.2)" for the backup operand FULL: Creates a backup of all blocks of data files included in the backup. [CODE] is ... | 1 | 1 | 269 | 2018-10-04T17:49:27.177 | hadoop_errors | dba.stackexchange.com | |
8,119 | Function Performance | Coming from a MySQL background, where stored procedure performance (older article) and usability are questionable, I am evaluating PostgreSQL for a new product for my company. One of the things I would like to do is move some of the application logic into stored procedures, so I'm here asking for DOs and DON'Ts (best p... | Strictly speaking, the term "stored procedures" points to SQL procedures in Postgres, introduced with Postgres 11. See: When to use stored procedure / user-defined function? There are also functions , doing almost but not quite the same, and those have been there from the beginning. Functions with [CODE] basically just... | 73 | 87 | 56,681 | 2011-11-18T18:47:52.510 | database_errors | dba.stackexchange.com | |
299,755 | C# .NET MVVM software architecture and naming conventions | I am currently working on a software using C# .NET and WPF with the MVVM pattern. Though the software is almost done, I have been discussing our architecture for a long time and I would like to get your opinions/advices on the convention/good practices side. The current architecture is as follows: Project/ DataContext/... | This may not answer everything you are asking, but it's too much for a comment. Your solution's organization (I use the term organization rather than architecture) should reflect how you use it. It should be efficient for your use. For instance, when you want to make a change to a Menu does a developer have to open fil... | 9 | 7 | 10,976 | 2015-10-13T13:27:25.827 | api_errors | softwareengineering.stackexchange.com | |
51,838 | How to store a value which is not inside a tag in the SeleniumIDE? | My Problem I'm trying to automate a login/logout test to my website using Selenium IDE and I'm facing a problem while trying to verify a value displayed in the page. In my test I first verify the title of the page using "store title" and then "verify" with the target "title" and the name of my website name in "value" a... | Solution found I've found the solution by using the "store text" command and select a target which was proposed automatically by the IDE himself different from what I've tried before. Here's the target : [CODE] (the type is an xpath:idRelative ) Then I just put it in a value and use the "verify" command to compare it t... | 0 | 0 | 95 | 2023-07-03T09:12:35.457 | data_quality | sqa.stackexchange.com | |
1,070,269 | Is it possible to specify an existing CloudSQL instance as the destination for the database migration service in GCP? | According the GCP guides, setting up a database migration involves creating a migration job in the console using the wizard [1]. The wizard creates a new CloudSQL instance, but I would like to specify an existing instance such that we can manage the destination instance through version control (e.g. Terraform) Is it po... | You asked the below questions : Is it possible to specify an existing CloudSQL instance as the destination for the database migration service in GCP? Does the "gcloud database-migration migration-jobs create" command automatically create a destination instance? Does this mean that to create the migration job through th... | 0 | 2 | 1,090 | 2021-07-22T05:56:27.407 | pipeline_ops | serverfault.com | |
642,645 | New mail in Exchange going to other folder, not Inbox | We have one user who suddenly has her new mail going to a folder "Deleted Items -> Unwanted". She claims she has not changed anything, the other Exchange administrator says he has not changed anything. I checked the rules in OWA and in Outlook on her computer. I have run out of places to look. I also don't know what ot... | Based on the mail showing up in the inbox for a second first, I realized it was not a rule in exchange. I blocked the user's mobile device and the issue stopped. Somehow she marked [CODE] as spam and set this particular folder to be the spam folder. Changing the spam folder will be the subject of a different question o... | 3 | 0 | 8,506 | 2014-11-07T04:10:21.673 | infrastructure | serverfault.com | |
239,656 | RPM ERRORs on a cloud CentOS 5.5 server | I am attempting to add an rpm repo in order to Yum install a Munin node, however i keep getting the following error: [CODE] Do you have any input or advice as to what could be causing this issue.. Google doesn't seem to be of much help in identifiying the issue.. Thanks in advance, Lee | Use epel-release-5-4: [CODE] | 0 | 1 | 1,612 | 2011-02-24T11:00:08.117 | infrastructure | serverfault.com | |
136,028 | Remove identifying information from SSH | When I do an [CODE] of my system I get the following information: SF-Port22-TCP:V=4.62%I=7%D=11/9%Time=4916402C%P=i686-pc-linux-gnu%r(NULL,2 SF:7,"SSH-2.0-OpenSSH_5.1p1\x20Debian-3ubuntu1\r\n"); How do I go about chaining these two pieces of information? [CODE] and [CODE] . | I think trying to remove the header isn't the best way to add a little security here. All it really would be is security through obscruity which doesn't amount to that much. Instead, I would suggest you look into port knocking. It is described for Linux in this article . I rather think your paranoid side will be please... | 1 | 1 | 1,327 | 2010-04-26T20:56:50.537 | infrastructure | serverfault.com | |
294,214 | Why can't PostgreSQL identity columns be used in CREATE TYPE? | My impression is that each PostgreSQL table has a corresponding composite type associated with it. But it seems that the PostgreSQL identity column cannot be used in a [CODE] statement: [CODE] , while it can be used in a [CODE] : [CODE] Is there a fundamental reason why identity columns cannot or should not be used in ... | It makes no sense to have an identity column in a data type. After all, a data type does not hold data. So yes, that is not possible. | 0 | 2 | 609 | 2021-06-14T06:41:19.640 | database_errors | dba.stackexchange.com | |
171,103 | mysqld not starting up | I installed mysql on ubuntu. mysqld does not startup with the following errors - [CODE] Please help. Thanks | It does not solve the problem as such but you should be able to bypass it by adding the skip-external-locking to my.cnf under [mysqld] Should at least get the server starting while you find out the root of the problem. https://dev.mysql.com/doc/refman/5.7/en/external-locking.html | 3 | 0 | 1,492 | 2017-04-16T00:35:33.813 | database_errors | dba.stackexchange.com | |
232,538 | How to replace default on a table | I have a very big table and added a new NOT NULL column with DEFAULT on it. Not an unusual thing in DWH environment. It is an online operation, it works very quickly, and stores default in a table metadata, as we can learn there . It works perfectly, SELECTs return a default value. After some time I decided to change t... | I found my answers here . The default value is not the same as default constraint. It is created when we create first default constraint and can't be changed. So, to answer my question - no, it is not possible. We can't change the default value for a column. This magic works only once. After this, we should do regular ... | 3 | 1 | 252 | 2019-03-19T16:14:10.173 | database_errors | dba.stackexchange.com | |
120,560 | Basic proxy with OpenSSH, Cygwin, Putty | I know this is probably a common question, but after looking around for a few hours (on this site and others), I can't find a solution. I'm trying to set up a simple proxy. I already have a server running Windows Server 2008. I've installed Cygwin and have OpenSSH installed. I also have sshd (the openssh daemon) runnin... | You need to use the [CODE] option to ssh. This sets up a SOCKS proxy listening on localhost connecting through the ssh server. eg [CODE] Then configure FoxyProxy with a SOCKS proxy for localhost port 8080. Using FoxyProxy is incredibly useful here because it lets you use patterns to only tunnel the traffic you want to ... | 3 | 2 | 4,845 | 2010-03-09T01:05:01.197 | infrastructure | serverfault.com | |
1,096,657 | How to allow outbound connections only for updates | I have a network with a number of VMs hosting applications mainly for internal use, but they are also exposed to the internet via Traefik. Because there is a chance one of them will be hacked eventually, it looks like a good idea to block direct outbound connections for VMs. But, I want to be able to run updates, so I ... | What you need to do is: Gather a list of websites or domains that the servers needs to communicate with. Install Squid, configure its ACL to only accept connection from your servers AND to the list of websites you already gathered. Configure your servers to communicate with Squid and deny direct internet access for the... | 0 | 1 | 161 | 2022-03-21T15:41:07.317 | infrastructure | serverfault.com | |
679,336 | Syncronize new / modified files trought SFTP on Linux | I only have a SFTP access on my NAS, on Lacie OS 3.X, (so exit rsync) and i want to backup it from a remote debian server. The problem is that the NAS is 4TB and it can take a lot of time if i transfert all files everytimes. Is there a simple way to do that, based on modification time and or file size in a small script... | It seems that your NAS can be configured to perform remote backups (which appears to be what you want). This line is of interest ... It can also be a third-party NAS compatible with rsync. In your case, the remote debian server should be considered a NAS. I expect you can configure rsyncd on it and then configure the N... | -1 | 3 | 142 | 2015-03-30T16:07:04.970 | database_errors | serverfault.com | |
1,061,065 | Ansible display the diff output of a task even if the task failed | I have also written a simple ansible task module which does the same as [CODE] , but will include the stdout & stderr as part of it's diff results, so you can see it if you use [CODE] . But if you run ansible with [CODE] and a task fails, it doesn't display the diff output. If the task fails, ansible will just print th... | When you write your own Ansible module, you're on your own how to handle task errors. I expect, that f the underlying shell execution fails, your module checks the return code and fails programmatically. Your code returns a dictionary containing stdout and stderr. But you could return whatever you want in failure state... | -1 | 1 | 526 | 2021-04-21T10:24:32.433 | pipeline_ops | serverfault.com | |
508,583 | Parse all text files in a folder using FOR /F command | There are numbers of txt file in a folder. Now I want to open all txt file and print the contents to a single txt file. Condition is, I want to skip first two lines of every txt file. I was trying with following command, but failed. [CODE] Error showing [CODE] Same happened if I use [CODE] or [CODE] instead of [CODE] .... | Don't use [CODE] if you want to use a wildcard instead of a literal file-set. The differences of a "set" and a "file-set" are as follows, from [CODE] [CODE] Versus [CODE] If you want to glob all *.txt files, then wrap a [CODE] around the outside: [CODE] Please be aware that your [CODE] loop will read a file, one line a... | 0 | 1 | 5,813 | 2013-05-17T11:04:43.600 | infrastructure | serverfault.com | |
187,910 | Rejecting new HTTP requests when server reaches a certain throughput | I have a requirement to run an HTTP server that rejects new HTTP requests (with a 503, or similar) when the global transfer rate of current HTTP responses exceeds a certain level. For example, if the web server is transferring at 98Mbps, and a new HTTP request arrives, we would want to reject this (as we couldn't guara... | iptables accounting script that writes to a file when bandwidth is too high. mod_rewrite rule that reads a map using rewritemap, map file would contain blocked blocked (lhs and rhs required) In your container: [CODE] In your .htaccess (or ) [CODE] Rather than redirect, hand them a come back later page, serve it as an e... | 1 | 1 | 312 | 2010-10-05T21:48:24.730 | api_errors | serverfault.com | |
275,179 | Name Server Check fails for .de domain | I've registered a .de domain but when I try to change the nameservers to those of the hosting company I wish to use I get the following error: [CODE] It also points me at the DENIC website nameserver check which tells me that the domains fail, much the same error as above, as is expected. So the question is, what do I ... | Check at your hosting company if the DNS was configured as a master server for your domain. If you added entries (A, CNAME, etc.) it should have been, but it seems to be answering that it's not authoritative for it. This shows that the domain has other name servers configured right now (ns and ns2.123-reg.go.uk): [CODE... | 1 | 1 | 3,974 | 2011-05-30T10:18:37.257 | infrastructure | serverfault.com | |
163,528 | Creating Non-Clustered Index on Non-Persisted Computed Column SQL Server | I am struggling to find any documentation on how SQL Server actually stores a non-persisted computed column. Take the following example: [CODE] I get that it is stored at the leaf level, but if the value is not persisted how is anything stored at all? How does the index help SQL Server find these rows in this situation... | When SQL Server creates the index on the computed field, the computed field is written to disk at that time - but only on the 8K pages of that index. SQL Server can compute the InvoiceStatusID as it reads through the clustered index - there's no need to write that data to the clustered index. As you delete/update/inser... | 13 | 11 | 2,540 | 2017-02-07T21:05:53.100 | database_errors | dba.stackexchange.com | |
62 | How do I resolve a "Lock file still present" error? | I've got a Perl-based Selenium instance running on my Win7 workstation. When I fire up a test script, I get an error "Lock file still present!" [CODE] So far, I have: rebooted the workstation manually removed the customProfileDir* directory and all of its contents closed Firefox verified that I'm already using a .jar a... | First of all... Are you using a Grid? This might be helpful: http://selenium-grid.seleniumhq.org/faq.html - Look for the error message Lock file. You will find a probable answer there. Also, try a tool which detects locked files and what they are locked by. Also... Your problem is a known one: http://jira.openqa.org/br... | 6 | 2 | 3,113 | 2011-05-04T00:42:05.933 | hadoop_errors | sqa.stackexchange.com | |
328,932 | Node.js deployment -- npm or gulp | Suppose that I have a project written in JS via such frameworks like Node.js and Express . It also uses Mocha as a test framework and Gulp as a build system. I wonder what is the best way to expose installation, testing and deployment to users. I mean, users typically have to do the following stuff: Install Node.js and... | Do not use gulp. Gulp is a time waster. Use npm to install dependencies, use a postinstall npm script to run preprocessors, and use npm scripts or just plain old documentation to tell your users which files to run [CODE] and [CODE] on. I'm sure similar stuff can be done via bower. For more info about why you should sto... | 6 | 2 | 583 | 2016-08-21T11:31:15.653 | pipeline_ops | softwareengineering.stackexchange.com | |
20,918 | What to do when you're faced with a problem that you can't solve quickly? | I'm a beginner learning Java and after reading the docs I'm trying to solve some of the problems at codingbat.com. Some I managed to solve pretty quickly in a matter of seconds but some not quite. The problems themselves are easy (example http://codingbat.com/prob/p126212 ) but I sometimes have a hard time finding the ... | Its actually a pretty easy situation to get into when you're coding for yourself . Its bad to spend a long time focusing on the best way to do something when you don't produce anything in the end. However I think it's also bad to never stop and reflect. You are pretty much a beginner with only a few months dev. experie... | 5 | 8 | 10,051 | 2010-11-23T17:56:06.540 | api_errors | softwareengineering.stackexchange.com | |
441,043 | Puppet language configuration file editing | I am trying to create a puppet recipe for a log server and client using syslog-ng. I know I can have custom configuration files using template erb files and replace certain variables in the erb files. I know also that the [CODE] resource just replaces the files either from source or template. However, my problem is tha... | You could try creating a template with some variables like [CODE] This will generate a file that will listen to all TCP address at syslog port and filter the messages accordingly. | 2 | 1 | 245 | 2012-10-22T17:03:48.643 | pipeline_ops | serverfault.com | |
912,646 | Jenkins build email notification by parsing log | I am using Jenkins to deploy in multiple servers. There are 4 backend servers are running. I have a script called [CODE] in each server. At the time of deployment, Jenkins create a ssh session and run the [CODE] script in each server one by one. But, sometimes it shows error in build console log [CODE] for few servers ... | In addition to Log+Parser+Plugin, you can use the Mailer plugin to send a mail notification when build is failed or unstable ( https://wiki.jenkins.io/display/JENKINS/Mailer ). Install it from the plugins management Setup the admin mail ( Configure System > Jenkins Location ) Fill in the smtp server configuration. ( Co... | 2 | 0 | 4,465 | 2018-05-17T09:04:36.330 | pipeline_ops | serverfault.com | |
73,974 | Public domain contributions to open source projects | Are there any gotchas in contributing public domain code to an open source project? My understanding is that the existence of a copyright gives a project the right to enforce its license. And public domain code is, by definition, non-copyrighted. What I'm specifically curious about: If an employee of the US government ... | Not a problem. Look at any Linux distro and all the different licenses that go in the mix. When a project adopts an identifiable piece of software: The authors must be credited (even if not required). The original license must be compatible with the enclosing license. If requested by the authors, the original license (... | 7 | 1 | 348 | 2011-05-05T16:28:55.093 | api_errors | softwareengineering.stackexchange.com | |
977,027 | Nginx reverse proxy to https not working | I am trying to run more than one python/gunicorn api over https using nginx as a reverse proxy for my subdomain subdomain.domain.com. Below is my server block file subdomain.domain.com in sites-enabled. [CODE] Both endpoints are working over http but for not https. Port 443 is open on my server. [CODE] times out. So I ... | Steffen was correct port 443 was open in IPTABLES but not on default hetzner firewall. Thank you very much | 1 | 1 | 4,154 | 2019-07-28T15:11:46.097 | infrastructure | serverfault.com | |
284,103 | evaluate execution plan with different statements | I have 2 different sql statements similar to this: [CODE] while both of them could be executed with the same execution plan, they don't. One is slow, the other one is fast. Now I'm trying to figure out why. What I'm currently looking for, is a way to evaluate an SQL statement identified by its sql_id with different exe... | If you can run the query with the different plans (i.e. if it does not run forever) you can use this approach to see which step ran longer than the optimizer expected: [CODE] If you search for gather_plan_statistics you will see a number of articles that explain how to use it. I look for steps in the plan that take the... | 1 | 1 | 175 | 2021-01-27T15:36:11.537 | database_errors | dba.stackexchange.com | |
187,874 | Monitoring thin with monit | I have been struggling to get monit to monitor my thin cluster for some time now. I am using 3 thin instances. These are my monit and thin config files: [CODE] I have also tried pointing the pid path in the thin.monitrc file to tmp/pids/thin.pid along with many other variations but none of them seem to work. Anyone hav... | dunno if you solved this already yet I will reply anyway. =) The way you do it theres a few things off. First of all you want to monitor a "cluster" so you need to monitor each node respectively. Secondly you need to restart the respective thin node, not in /etc/init.d. it would look something like: [CODE] something al... | 0 | 1 | 2,759 | 2010-10-05T20:12:51.900 | pipeline_ops | serverfault.com | |
52,276 | Test Automation framework built using Java, Selenium, Cucumber and Maven. How to execute the tests based on env.properties file? | I have [CODE] and [CODE] file in the project. I have added profiles tag, env tag in properties tag and environment in configuration tag of the maven surefire plugin in the [CODE] file. I have created [CODE] class to load the properties based on the env value passed from the [CODE] or [CODE] from command prompt but it i... | You still need to pass the argument: You [CODE] command doesn't do this. But you don't need surefire for this. You can simply run: [CODE] or [CODE] Then [CODE] will return the equivalent string you passed. | 0 | 1 | 39 | 2023-12-15T23:22:11.120 | data_quality | sqa.stackexchange.com | |
848,348 | Should I allow LDAP through firewallD? | Setting up firewallD on Centos 7 servers. They use LDAP for authentication over SSH login. Do I need to explicitly allow port 389 LDAP on the default zone on FirewallD or because iv allowed SSH and the server will connect outbound to LDAP initially, will this not be required for the return inbound connection? Im not ve... | Firewalld should allow related and established connections by default, which are connections that originate from your server and are getting a response. If the LDAP query is originating from the server, there should be no issues receiving the response from your LDAP server. Note that outbound connections usually origin... | 0 | 1 | 1,201 | 2017-05-04T21:19:58.560 | api_errors | serverfault.com | |
1,111,526 | Serving ArgoCD behind Traefik in Kubernetes | I would like to run ArgoCD behind Traefik such that I can both access the ArgoCD web ui and interact with the API using the [CODE] command line tool. I have deployed ArgoCD into a Kubernetes cluster from the upstream manifests . I have deployed Traefik as in ingress server from the helm chart . I haven't set any chart ... | I was able to get things working with a pair of IngressRoute resources: One for the [CODE] endpoint: [CODE] This uses a redirecting middleware to redirect all requests to the [CODE] endpoint: [CODE] That means the [CODE] portion of the [CODE] is effectively a no-op, but it's required by the schema. And one for the [COD... | 1 | 0 | 1,631 | 2022-09-25T15:01:12.010 | pipeline_ops | serverfault.com | |
6,544 | Organizing the build steps on AzureDevOps | I am new on DevOps world and I am making my first build/release pipeline for a .net web application using Azure DevOps. On the picture bellow, I just add some build steps and create some tasks groups to avoid duplications on the builds (that are similar). I have the [CODE] that I called it as [CODE] which runs over the... | You can separate the steps, especially as it would let you do divide the work among different agents. You can also leave them in a single agent if you wish. The primary advantage I see is leveraging different pools for different sets of work. With releases last I checked variable scope was limited (as of 2018) to the "... | 0 | 1 | 53 | 2019-03-06T14:45:14.420 | database_errors | devops.stackexchange.com | |
347,992 | Exchange 2007 Incoming Email Body blank | We have Exchange 2007 (SBS 2008) which has been working without any issues for several months. Today emails are being received, however, emails from external domains the email bodies are blank, no content at all. We are not running any email filtering software and I do not think this is a client antivirus problem, as e... | This was caused by Watchguard firewall, disabling the firewall restore normal Email delivery. | 1 | 1 | 217 | 2012-01-09T09:28:42.587 | infrastructure | serverfault.com | |
163,558 | can I use select statement for ifnull function? | I need to select a value from a table according to its date. If the record does not exists in the target table, I want to replace it with another value as defualt value instead of Null. Can I do this with ifnull() function? I have written this piece of code in a procedure, but I only get Null value for this field. [COD... | Thank everyone who tried to help me on this problem, I managed to solve it myself. It turned out that the IFNULL() was functioning correctly, but the problem was that the query result was not null, it simply didn't exist!!! So, I solved it with 'if not exists' and set the result to Null. after that, the IFNULL() functi... | 0 | 0 | 1,140 | 2017-02-08T09:11:35.503 | data_quality | dba.stackexchange.com | |
391,959 | NPS EAP authentication failing after Windows Update | I have a Windows 2008 Std server running NPS. After applying the latest round of updates (including Root Certificates for April 2012 KB931125 (See: http://support.microsoft.com/kb/933430/ )), EAP authentication is failing due to being malformed. Sample error (Security/Event ID 6273), truncated for brevity: [CODE] The N... | I'm going to put this here, since I experienced this yesterday and one of my first searches led me to this question. The problem ended up being, as ALF4 mentioned, too many root certificates. It occurred after a Windows update to the root certificates. We solved it by changing the Registry to prevent the NPS server fro... | 0 | 3 | 25,731 | 2012-05-23T18:08:24.197 | data_quality | serverfault.com | |
814,902 | RAM compatibility for the HP Proliant DL320e Gen8 v2 | I've got a handful of servers to assemble. I've got a few HP Proliant DL320e Gen8 V2 servers with the 2 LFF hard drive slots and 4 RAM slots. It came with a stick of PC3 12800E 11-13-E3 RAM, and I'm not sure what those last couple of things are supposed to designate, if anything. I checked the PDF and it doesn't seem t... | I ended up finding the answer to this one is a no, you don't need to use HP/HPE SmartMemory in the Proliant DL320e Gen8 v2 after getting someone in the server room to hook me up with the part number on the pre-installed RAM sticks. HP didn't even provide us their own HP SmartMemory... They gave us a 4GB stick of this, ... | 2 | 3 | 3,833 | 2016-11-15T00:49:39.453 | infrastructure | serverfault.com | |
182,737 | Renaming Computer name on SQL Server 2008 R2 | I had to change the computer name from x to y on a sql server 2008 r2. And followed the instructions [ http://msdn.microsoft.com/en-us/library/ms143799.aspx] Now when I select @@servername it shows null. However when I Query Select * from sys.servers, the new server name is listed.. @@Servername is used in many of stor... | Well, the answer is that you have to specify 'local' when adding the server after deleting.. now it shows the server name Here is the link.. http://techontip.wordpress.com/2010/01/05/rename-sql-server-2008-single-server-senario/ | 1 | 2 | 6,021 | 2010-09-17T22:56:11.057 | database_errors | serverfault.com | |
1,053,192 | Can you ssh into a server given only an HTTPs address | I have a server that I have a domain name for. The DNS redirects the address [CODE] to [CODE] . Note: My server DNS needs to have a port as my server isn't accessible through the standard ports 80/443, only port: 12345 (This cannot be changed) The connection is able to be established as I use a reverse proxy (NGINX) on... | No. You are confusing OSI layers here. You are not going to be able to reuse an HTTP connection to make an SSH connection. Two completely different applications. | 0 | 0 | 365 | 2021-02-11T03:26:26.483 | infrastructure | serverfault.com | |
160,026 | execution sequence of parallel execution plan | I am reading an article about Understanding Parallel Execution There is a paragraph which is as follows: But for my understanding of how to read an execution plan, this parallel execution plan starts from operation 7 not operation 14. Why this article emphasize that the execution plan starts at operation 14?? It upside... | According to the quoted text Oracle will only have two parallel active per data flow operation. Take a look at the TQ column of the EXPLAIN PLAN. There is only one data flow operation for this query (Q1). There are five different parallel slave sets for Q1: [CODE] [CODE] and [CODE] will be processed first. The operatio... | 0 | 0 | 394 | 2017-01-05T01:23:34.090 | database_errors | dba.stackexchange.com | |
404,566 | AutoFS with NIS and cannot mount share owned by root | I am using Ubuntu 12.04, and am trying to use NIS with AutoFS to mount the NFS shares I have access to for projects. I can mount my networked home directory, which is used for the remote terminals, but this is owned by my user. Project directories I allocate are owned by root, but are in a group I am in, and on the rem... | As indicated in comments I asked someone about it, and what they do is assign a static IP to my MAC and change the permissions just for users from that IP, or something similar. I wasn't told all the details, but it works. | 1 | 0 | 748 | 2012-07-02T23:44:38.967 | infrastructure | serverfault.com | |
105,180 | Which to trust? | We are troubleshooting a long-running issue with a vendor. Their software has a tendency to freeze up and stop working once or twice a week causing major disruptions to our operation. They have been unable to determine the cause despite us sending them many GBs of logs and backups of the DB. Lately they have begun sugg... | Their software has a tendency to freeze up and stop working once or twice a week causing major disruptions to our operation. They have been unable to determine the cause despite us sending them many GBs of logs and backups of the DB. ... In particular they are saying our indexes are an issue. Oh, right, I think I've he... | 8 | 2 | 213 | 2015-06-25T20:45:59.177 | database_errors | dba.stackexchange.com | |
200,878 | msdeploy not copying files starting with a dot | Some of the files for the website I'm moving start with a dot, IE .htaccess or .hiddenFolder or anything similar to that. I'm trying to move these sites from IIS6 to IIS7 (there's hundreds of separate sites), but it won't copy these files and the program fails. Does anyone know a way around this? C:\Program Files\IIS\M... | Check the permissions on both the IIS and make sure that Shares are enable for Drive and stop any firewall if running. | 0 | 1 | 616 | 2010-11-11T18:28:17.510 | hadoop_errors | serverfault.com | |
98,592 | Oracle SQL Complications With Multiple Triggers | Hey all so I am creating a DB that is used going to be used for managing utilities of a system. My DB has 3 tables: Users, Utilites, and Files (leaving Files table out because question shouldn't affect it). TABLES [CODE] [CODE] TRIGGERS //Trigger to SUM the cost of all UTILITIES: [CODE] //Trigger to SUM the cost of all... | I am generally opposed to triggers. They have their place but surprising behaviour, when you do one simple thing and the change ripples out across the world, will give you headaches later. Instead of having storage_size and memory_usage on the users table, how about creating a view that displays the data you are lookin... | 0 | 1 | 230 | 2015-04-22T20:04:49.683 | database_errors | dba.stackexchange.com | |
278,652 | char or smallint for a column with numeric codes? | I have columns in my application that have values that always have 4 digits, e.g. '0100' or '1230'. One of examples could be Merchant Category Code . For the time being, I have set the type of this column to [CODE] . I have many columns of this type. One of these types of columns is also included in nonclustered [COD... | The standard clearly says "four-digit code", which in my view means it should always contain 4 numeric characters, which in turn means the appropriate data type is [CODE] . If you want to ensure the code value adheres to ISO 18245, store it as [CODE] in the database along with a check constraint. | 0 | 6 | 928 | 2020-10-25T16:53:24.777 | warehouse_errors | dba.stackexchange.com | |
46,021 | Would adding indexes to my foreign keys improve performance on this MySQL query? | Consider the following query: [CODE] Using a profiling tool, I got this report: [CODE] This is a MySQL database. All the tables are InnoDB with utf8_unicode_ci. The primary keys on each table are called [CODE] and are [CODE] with indexes on them. Should adding an index on [CODE] and/or [CODE] and/or [CODE] improve perf... | Yes, performance may be better if you add those indexes. However, with such a small number of rows, it's quite possible that full table scan is more efficient and optimizer choses not to use any indexes. After adding indexes your execution plan will be different, to get a rough estimation of how effective the indexes a... | 2 | 3 | 3,459 | 2013-07-09T19:28:50.553 | database_errors | dba.stackexchange.com | |
27,163 | Consistency errors for a SharePoint database | When I check my database (SQL Server 2008 R2, Windows Server 2008 R2, SharePoint 2007 DB) with the command: [CODE] I get 12 consistency errors (see below). Is the only way to fix it with [CODE] ? Is there also a way to get the filename and delete the file in my SharePoint? [CODE] | Restore from your backup if possible. "Allow data loss" is really a terrible option. This excellent article will help you: http://www.sql-server-pro.com/dbcc-checkdb.html | 1 | 3 | 1,700 | 2012-10-18T14:42:55.557 | database_errors | dba.stackexchange.com | |
438,183 | How to enable all HTTP methods in an Apache HTTP Server | How can I enable the handling of all HTTP methods as defined in RFC 2616 on Apache web server ? These would be: [CODE] I am using the Apache HTTP Server, version 2.2.22 (Ubuntu) Here is my [CODE] File: [CODE] Here is the output I get from running Telnet – There is no PUT method: [CODE] Any thoughts on this? | Apache implements all relevant HTTP methods for static content (actual files served directly by Apache). For dynamic content (CGI scripts, [CODE] , etc), Apache does not care what the HTTP method is (unless it is explicitly restricted with a [CODE] directive ), and passes the request to the appropriate handler as it is... | 18 | 7 | 133,659 | 2012-10-08T13:04:11.003 | infrastructure | serverfault.com | |
299,278 | SQL Table With A Call To Action? | This is all done in Microsoft Access 2007 and SQL Server. We are creating a way for our users to quickly make notes on a customer. These quick-notes will contain tags that will prompt the user for data based on that tag. The tags are to be limited to a few select options for the user to pick from. The tags will be code... | Use a Factory Method. [CODE] Now all you need is a class for each action, and an "execute" method in each class. [CODE] | 0 | 1 | 151 | 2015-10-07T16:49:23.817 | database_errors | softwareengineering.stackexchange.com | |
107,876 | Best way to write SQL Query that checks a column for non-NULL value or NULL | I have a SP with a parameter that has NULL as default value and then I want to do a query like this: [CODE] The [CODE] above checks for both a non-NULL value and a NULL value for [CODE] . Would it be better in terms of performance to instead use an [CODE] statement and duplicate the query into one that searches for non... | This pattern [CODE] can be replaced with [CODE] This will let you match a NULL with a NULL and will allow the engine to use an index on [CODE] efficiently. For an excellent in-depth analysis of this technique, I refer you to Paul White's blog article: Undocumented Query Plans: Equality Comparisons As there are two argu... | 19 | 39 | 11,808 | 2015-07-23T12:06:27.347 | database_errors | dba.stackexchange.com | |
69,695 | Output of /proc/cpuinfo, 2 entries for each core? | Please help me understand the output of /proc/cpuinfo. My new server has dual quad cores. /proc/cpuinfo has two entries for each core (a total of 16 entries): [CODE] Why is each core listed twice? Why does the second listing have cpu MHz: 1596.000? EDITS After reading the response below, a new question, why would all t... | There's two entries for each core, because Nehalem (Xeon 55## series) supports two hardware threads per core, which to Linux appears as two processors. The CPU frequency varies because each core can be independently clocked; going by the physical id value the two you've posted appear to be different cores. Edit: Yes, f... | 7 | 12 | 3,360 | 2009-09-29T18:38:56.047 | infrastructure | serverfault.com | |
354,986 | How should I handle an object that has copies of another object? | I really hope this is a good place to ask this since the answers might be subjective, but here it my problem: This is probably irrelevant, but I'm working with Python and Django here. I have the Django [CODE] and each user is related to a [CODE] . The user can create a company and save different copies of the Company a... | I ended up serializing the copies (used Django Rest Framework), and saved it as a simple string under [CODE] . Then I added a [CODE] method that reads the this field and re-constructs the object. | -1 | 0 | 108 | 2017-08-02T20:25:52.020 | api_errors | softwareengineering.stackexchange.com | |
99,407 | Remote connection to DB instance from fresh formatted system? | I have 1 win7prof fresh system. Now I want to connect to a DB instance remotely via sqlcmd/any other way. My req is to connect and execute select query? is there any method/software needed to be installed in fresh win7prof system to access the instance.? kindly let me know what to do for access and use manipulation ope... | I checked this out and the latest available standalone for SQL Server Management Studio is a 2008 version here . Thanks to @AaronBertand, the process of obtaining the SQL Server Management Studio 2014 involves clicking the download button for the full SQL Server Express 2014 and then you will be offered a choice of onl... | 0 | 2 | 38 | 2015-05-02T10:07:52.543 | warehouse_errors | dba.stackexchange.com | |
464,351 | MySQL Error - Can't connect to local MySQL server through socket | Sometimes on my VPS I get the error [CODE] It can be solved by restarting MySQL several times, restating the sever or sometimes using mysqld command. Using the mysqld command I get the following: [CODE] My get only 50 visitors a day and uses more than 3000 queries per hour. My VPS is only 1 core with 256MB ram and runs... | Check your log, your table is crashing.. You should repair it before you continue. See this link on how to do it Also check the [hostname].err MySQL error log file. It could be in /var/lib/mysql either /var/log/syslog | 1 | 1 | 894 | 2013-01-09T11:02:41.730 | database_errors | serverfault.com | |
126,186 | Oracle TNS Permission denied when creating database | I hope you can help me. I need to restore an Oracle 9i (9.2.0.6.0) database on a Windows Server 2003 R2 x64 from a cold backup. I managed to get the 9i installer and the version patch (since I was told I need the exact Oracle version to restore cold backups). I installed 9i and the patch, but the Database Configuration... | Please, verify if you are installing Oracle 32bit or 64 bit. This is important because Oracle in Metalink Knolwedge Base says: Getting ORA-12546 ORA-12560 and ORA-516 while creating the database (Windows64) (Doc ID 365852.1) You can run Oracle 32bit, on Windows 32bit. OR You can run Oracle 64bit, on Windows 64bit. You ... | 1 | 0 | 3,269 | 2016-01-14T03:10:23.610 | database_errors | dba.stackexchange.com | |
400,549 | Conditionnal relay in postfix | I use postfix to send direct email. But, I use a relay to send email for specific senders. So I use "sender_dependent_relayhost_maps" : [CODE] : [CODE] [CODE] : [CODE] So when I send an email with sender email "address@domain.com", postfix will use the relay. But... I don't want to use the relay host for some recipient... | Okay, I found the solution... :) So in the [CODE] I add, before "sender_dependent_relayhost_maps" : [CODE] And, in "transport" file, I just add : [CODE] (nothing else after "smtp:" which significate that the smtp server will send directly the email) Thanks anyway. ;) | 1 | 2 | 3,303 | 2012-06-20T13:57:25.970 | infrastructure | serverfault.com | |
361,282 | Improve design with singleton pattern | I want to create a media management tool, for which I try to draw an appropriate UML class diagram. The tool shall hold a collection of different media types (movies, music, etc.) which inherit from a basic medium class. Each medium has different attributes in addition (e.g. interpreter, director,...). I plan to fetch ... | No, your scheme does not make sense. First of all, you present no argument why there can ever only be one [CODE] instance. That is what it means to make a class a Singleton. It is a serious error in the logic of the program if there are ever multiple instances of a Singleton. Secondly, the arrows in your design don't m... | -2 | 7 | 231 | 2017-11-26T08:57:51.640 | api_errors | softwareengineering.stackexchange.com | |
1,132,061 | Firefox and other browsers not opennig, possibly relatd to NFS | I have a setup with a NFS server sharing the /home directory with some clients. Randomly, those clients are not able to open any browser (firefox, chrome, vscode [which is browser based]). I have not been able to find the full cause. Normally a full restart of both server and clients fix things, the browsers open, but ... | For firefox you can try adding the preference [CODE] manually in [CODE] [CODE] | 0 | 0 | 152 | 2023-05-27T21:03:38.923 | infrastructure | serverfault.com | |
112,536 | How to scale beyond 150 page views per minute? | I have a Facebook app written in PHP. It has 150 page views per minute and will have up to 300 page views per minute till end of this year. While getting more PV I start to have problems with scalability and therefore I would like to ask you for an advice how to scale to sucessfully handle 300 PV / minute. My applicati... | The killer bottleneck for reasonably specced VPSs is usually disk I/O as all the VMs running on a given host will be sharing the same disk (or array of disks - good VPS hosts will have your VMs on a RAID10 array or similar), in fact sometimes several hosts worth of VMs will share the same array if they are setup with a... | 1 | 4 | 2,115 | 2010-02-13T12:38:25.773 | api_errors | serverfault.com | |
718,966 | Server is blacklisted on Cloudmark but EXIM logs showing no evidence of outgoing spam | My server is getting the following warning when sending email [CODE] I emailed them to find out why it was listed and this is what they sent me: [CODE] when I check my exim mail logs I see no evidence of this outgoing spam? is it possible it did not come from my server if the received: from ip matches my server? if not... | They dont have to use your exim server - they could be sending mail directly. This could be a sign that your server has been hacked or someone is exploiting poorly written php forms to send spam. Don't focus on just the exim logs - check all the logs for suspicious activity. | 0 | 3 | 937 | 2015-09-03T21:17:38.397 | infrastructure | serverfault.com | |
1,155,316 | I/O errors during BLKDISCARD on Linux Dell R720 with SAS Seagate Nytro | I have a Dell R720 with PERC H310 Mini (LSI 2008 MegaRAID) controller which I have just loaded with 4 new Seagate Nytro XS1600LE70045 1.6TB SSD, configured as individual disks for Linux software raid. (please ignore the argument of software vs. hardware raid for the moment, the explanation is offtopic) I can read and w... | When in RAID mode (IR mode), LSI 2008 based cards (ie: PERC H3xx) do not support trim/discard passdown. You need to reflash your card with a firmware in IT mode to enable trim/discard. However, be aware that: you will lose official support from the vendor you will lose access to any HW-RAID modes all data already store... | 2 | 3 | 121 | 2024-02-26T22:49:15.610 | infrastructure | serverfault.com | |
367,252 | Does using fixtures make a unit test an integration test? | Does using touching a database mean a unit test is an integration test even if you are using fixtures? If so, what are the alternatives to write a unit test when you need to use models as a part of a test in a CRUD app (e.g. Ruby on Rails)? | A test fixture is the constraining of the parameters around a set of tests. In other words, setting up mocks, input data etc that will be shared by a number of tests are part of a test fixture. People endlessly debate what’s a unit test and what’s an integration test. For me, the only useful definition I’ve come across... | 6 | 12 | 2,020 | 2018-03-08T04:43:36.513 | api_errors | softwareengineering.stackexchange.com | |
784,843 | Can rsync be used to upgrade operating systems? | I have two identical hard disks (say HDD1 and HDD2) with 4TB capacities. I want to create install CentOS, update it, install services and create users on one of the hard disk, say HDD1. Now if I want to clone this on to HDD2 it takes a huge amount of time. So instead I would like to first create identical partitions an... | This won't quite work. The special directories such as /dev and /proc wont get created properly on the second disk. You also won't get the Master Boot Record from the disk and so HDD2 won't be bootable by default. If you start by using [CODE] to clone the disk, and then make updates to it with [CODE] as more things are... | 1 | 1 | 93 | 2016-06-19T04:08:21.120 | infrastructure | serverfault.com | |
1,015,058 | Connection Error for MSSQL and CheckMK | I'm running MSSQL 2017 on Server 2016 and monitoring it via CheckMK. I'm getting critical alerts that state: Failed to connect to database (ERROR: [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error. (SQLState: 08001/NativeError: 18))CRIT, Version: 14.0.1000.169 - Standard Edition We have TLS 1.2 ena... | The issue was due to the connection string being built from the plugin. The plugin builds the connection string from a deprecated provider that only supports TLS 1.0. Changing the line in the plugin (VBS) line #225 FROM: 'CONN.Provider = "sqloledb" TO: CONN.Provider = "SQLNCLI11" resolves the issue. (best if you just c... | 0 | 0 | 961 | 2020-04-30T20:11:58.953 | pipeline_ops | serverfault.com | |
380,407 | apt-get install build-essentials fails on Ubuntu 11.10 on aws ami-baba68d3 | I was trying to install and configure Xabbix on an ubuntu server. Following their instructions on the wiki the first step fails: [CODE] I get the following error message: [CODE] I tried the suggesting of --fix-missing. No luck there. | I ran: apt-get update Then I was able to run the build-essential installation. | 7 | 9 | 5,925 | 2012-04-17T20:40:37.713 | infrastructure | serverfault.com | |
561,357 | L2TP/IPsec through HTTP Port 80 | i got an VPN (L2TP/IPsec) Tunnel running on my synology nas. my router is configured for vpn passthrough. so everything is fine. furthermore i got an webservice running on port 80. now i got the problem, that i spend most of my time in an environment where all ports are locked exclude the http ports (80/443). my questi... | As far as I know (please correct me if I'm wrong) [CODE] / [CODE] doesn't work on port 80 (due to different protocol (!=TCP)), maybe you want to look into OpenVPN - Open Source VPN as a end solution for yourself. | 2 | 1 | 4,957 | 2013-12-14T14:52:27.580 | infrastructure | serverfault.com | |
878,563 | Routing a subnet to the internet | Routing Internet traffic through computer on another subnet I have 2 debian boxes and would like to use one of them as a vpn server, and the other as a client. The goal is for the client to access the internet through the server's internet connection. In other words: [CODE] and the opposite for responses. I have setup ... | That will require both new routes and firewall to help you let client access Internet through server. Assume the VPN connection is used to connect client to server and the VPN subnet between client and server is peer to peer and the subnet id : 10.40.0.0. You need to change the default gateway for client with following... | 0 | 0 | 88 | 2017-10-15T16:07:03.513 | infrastructure | serverfault.com | |
52,778 | Can I add features that are parts of another feature? | I am building a model (implementing both logistic regression and Xgboost) to understand the importance/significance of each feature in whether a customer is going to repurchase to understand what matters for customers to repurchase (More interested in inferences than the predictions) My feature set looks like this: [in... | First, I recommend NOT binning continous variables in any way. The amount of information lost and numerical problems makes it rarely a good decision. This is especially true in your case where you will be sacking a lot of degrees of freedom in your model by binning (which are necessary if you want statistical power, i.... | 2 | 2 | 313 | 2019-05-28T17:59:34.560 | data_quality | datascience.stackexchange.com | |
835,608 | No protocol handler was valid for the URL for unix sockets | I'm trying to use a unix socket with apache 2.4.10 and I keep getting the error [CODE] I have [CODE] installed and enabled. My Virtual Host looks like this: [CODE] Output of [CODE] [CODE] I can't see what I'm doing wrong. | You have a typo. It is not uwscgi, it is uwsgi. From the UWSGI docs : Starting from Apache 2.4.9, support for Unix sockets has been added. The syntax is pretty simple: [CODE] [CODE] | 2 | 3 | 1,951 | 2017-03-01T10:59:43.310 | infrastructure | serverfault.com | |
795,467 | What is the purpose of the ".well-known"-folder? | If've found a new error message in our log files and would like to know, for what this [CODE] folder is used for. Which application/client would need to access such a folder and which application would create files inside it ? Here are some entries of the PHP error log of one of my domain. (I removed the date, IP and t... | That [CODE] subdirectory is defined by RFC 5785 RFC 8615 It is increasingly common for Web-based protocols to require the discovery of policy or other information about a host ("site-wide metadata") before making a request. For example, the Robots Exclusion Protocol http://www.robotstxt.org/ specifies a way for automat... | 115 | 134 | 149,828 | 2016-08-08T09:30:51.887 | infrastructure | serverfault.com | |
250,941 | How do you handle specific networking exceptions in Haskell? | I have the following to try and connect to a server: [CODE] I made the exception to catch "SomeException", but I know that's not the proper way to do it; as it will catch everything, and you can't handle individual cases. I can't find the names of specific network exceptions though. There doesn't appear to be any docum... | You can pattern-match on a specific exception type like this: [CODE] This will actually cause Haskell to infer that the type of [CODE] is [CODE] , and [CODE] will therefore only catch exceptions of [CODE] , propagating all others unchanged. As for the particular exception types used by the [CODE] package, I couldn't fi... | 4 | 3 | 1,161 | 2014-07-24T01:54:10.063 | 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.