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 |
|---|---|---|---|---|---|---|---|---|---|---|
11,660 | Pass environment variables from pipeline job A to pipeline job B | I passed params to pipeline B and set the environment variables from parameters. However, [CODE] is evaluated as null. Pipeline A is declared in [CODE] : [CODE] Pipeline B is declared in [CODE] : [CODE] Both pipelines are configured in Jenkins as 'Pipeline script from SCM' and work. How to pass environment variables fr... | The issue was missing comma between [CODE] and [CODE] . Below is the correct syntax: [CODE] | 3 | 2 | 3,809 | 2020-05-21T08:43:58.500 | pipeline_ops | devops.stackexchange.com | |
45,863 | MySQL Migration from Slave to Master | I recently had a problem with our server. It required us to install a new hard drive, cpanel, and setup the old hard drive as a slave. How can I migrate the mysql database from the slave drive to the master drive? The slave contains the tables with MYD, MYI, and frm files. The database is probably about 20G. I'm assumi... | I was left wondering because you mentioned SSH which implied connecting from your database server to a different machine (free tip: You use "SSH" to connect to a machine, but the things you type after that are "shell commands", not "SSH commands." I googled that phrase just now and was horrified at how frequently they'... | 0 | 0 | 351 | 2013-07-07T19:05:35.350 | database_errors | dba.stackexchange.com | |
617,911 | Cannot disable mac restriction on port for HP Procurve 2626 | I have a HP Procurve 2626 as the main trunk for several subnets in production. I am a UNIX systems administrator and not a networking guy, but I've worked with cisco switches and some of these HP switches before. I am completely baffled by the fact that I cannot seem to turn off port-access mac-based radius authenticat... | You can't remove configuration rules that set values with the [no] syntax; the way to remove them is to set them back to their default value, which may involve RTFM. So if you have the two rules DarkMoon gives: [CODE] they are disabled with: [CODE] | 2 | 2 | 5,650 | 2014-08-04T21:13:30.337 | api_errors | serverfault.com | |
106,181 | Installing SQL server 2008R2/2012 on windows server 2012 box | we are trying to install SQL2k8R2 and SQL server 2012(Standard edition) on the windows server 2012 box (Standard 64 Bit). For SQL 2k8r2, i used slipstream method so as to bring set up to atleast SP1 for support as compatibility on windows 2k12. But the problem comes when we are running the set up, i.e. SQL2k8R2 and eve... | I have used option 2 from this article many times to fix this issue. Basically insert the windows install disk, enable the .net 3 feature but select the option to 'specify an alternate path' at the end of the wizard. The different path should be D:\sources\sxs (if the disc is in your D drive) | 1 | 1 | 1,068 | 2015-07-07T12:03:50.173 | database_errors | dba.stackexchange.com | |
5,700 | How can container user and host user both have access to same files in volume? | I'm using Docker namespaces in an effort to allow files created within a volume to be arbitrarily read and written to by both the container user and the host user (please let me know if this is even a valid approach to what I'm trying to do!). My host username is [CODE] . So I'm running the docker deamon as [CODE] The ... | I was tripping myself up: when I was trying the [CODE] flag, I still had [CODE] set. Running the daemon without [CODE] did the trick. | 1 | 2 | 159 | 2018-12-12T12:05:49.093 | hadoop_errors | devops.stackexchange.com | |
258,474 | Would this be a proper use of threading? | After reading various MSDN articles, tutorials, and posts on here I came up with a design for a windows service that I wanted to make sure my threading strategy is proper and won't lead to memory, cpu, database issues. Here is the basic flow. MAIN THREAD Collect list of service to be loaded. Loads each service. SERVICE... | You do not need to use dedicated threads: a thread is an expensive object so it is generally better to use the thread pool since it will reuse threads to process your work items . Using a dedicated thread is a good idea if you need thread-local storage, thread identity, thread priorities, custom scheduling (picking wor... | 3 | 6 | 2,997 | 2014-10-08T16:16:45.197 | api_errors | softwareengineering.stackexchange.com | |
337,514 | Apache/PHP does not show images | I have a strange problem with Apache and/or PHP that is driving me nuts. Before I explain the problem here is everything I know about the environment. The Environment [CODE] It is a shared hosting plan so I don't have access to a shell. The Problem Apache/PHP does not display any pictures if they are referenced by the ... | To repeat my question from IRC: What, exactly, does the error log say? Well, duh. -- With no error-log provided, I used my magical powers to debug this issue (Opera's Dragonfly). I noticed that, lo-and-behold, it was indeed perfectly consistent. Each image would 403, unless called directly. I tried to repro on the comm... | 0 | 2 | 6,036 | 2011-12-04T15:12:24.170 | api_errors | serverfault.com | |
844,550 | Configure smtp relay for a domain | I have a mail server on debian iredmail/dovecot/postfix everything works good except one domaine that's not receiving my emails because we are blacklisted somewhere and i can't find anyway to fix this. so the solution i see is to handle emails we are sending to that domain using another smtp server (as relay). Ihave th... | Yes, you can do that with transport_maps. See my answer to a similar question here that explains how to setup transport_maps. Relay host based on destination MX record | 0 | 0 | 392 | 2017-04-14T16:37:25.037 | infrastructure | serverfault.com | |
718 | How can I benchmark the performance of UDFs to figure out which one is faster? | Basically I have two scalar UDFs that output the same data, one that uses a cursor and one that uses a recursive CTE. I want to determine which one should be used and discard the other; I'd prefer to make this decision based on actual performance numbers. I'm also curious how much of a difference there is between the t... | The SQL Profiler, execution plan, IO/Cpu statistics are your best friend at checking the performance of your code. You will see if there are any differences in performance between the 2 versions of functions. In this question - Tuning exercises - you can find some basic and advanced references about tuning. | 7 | 7 | 391 | 2011-01-19T19:43:37.730 | database_errors | dba.stackexchange.com | |
8,857 | How can I best combine "get categories" and "has user access"? | I was wondering if it's possible to create a query for the following problem. I only want to select categories from the (MySQL) database (if the user has access). A user has multiple roles; A category has multiple roles. I have the following tables: [CODE] I removed the relations Example: User A has role_id A User B ha... | If you have the user id upfront, say id 12, then your query is [CODE] If you want to see all the categories for every user, then here is that query: [CODE] Both of these queries return a comma-separated list of categories I would recommend you also add an additional unique index [CODE] Give it a Try !!! | 2 | 2 | 176 | 2011-12-06T22:04:14.563 | database_errors | dba.stackexchange.com | |
579,562 | Optimization XFS on Linux guest in Hyper-V (VHDX) | In our company we're using Hyper-V (Windows Server 2012) hypervisor and VM to organize our in-company services in our data-center. I am supposed to set up Ubuntu 12.04 LTS guest for our main database (Postgresql). My sysadmins gave me a SSH connections do VM (Ubuntu is already there). Disks are dynamically resizeable V... | I understand that your backing storage may change and you may not have knowledge of the underlying hardware. The following is pretty safe for me in virtualized environments: Today, my XFS creation and mount options look like: [CODE] Where "sdX" is the device name. That's a 256 Megabyte log and a 4k sector size. Mount o... | 5 | 2 | 2,721 | 2014-03-03T18:47:36.067 | database_errors | serverfault.com | |
222,746 | Why is it possible to deploy a hypervisor within a hypervisor? | Why is that a hypervisor, which alledgedly needs to be on physical hardware, can be deployed within a VM? For example, XenServer (the actual hypervisor) can be deployed in an ESX VM? Why is this possible (Although not a good idea for many reasons, but still works). Also, why do people say a hypervisor needs physical ha... | A bare-metal hypervisor (eg ESX, Hyper-V) is simply an operating system designed to control and monitor the access to the hardware. So naturally, a hypervisor within a virtual machine would be controlling and monitoring access to the hardware it has access to. This works because the virtual hardware looks exactly like ... | 2 | 5 | 4,631 | 2011-01-15T02:40:03.687 | infrastructure | serverfault.com | |
299,749 | convert RDS csvlog into pgreplay-go compatible for replaying | Before upgrading AWS RDS PostgreSQL version at production, I want to replay 1-hour recorded logs at the test instance. Unfortunately pgreplay is single-threaded application, limited by single CPU speed and its replays are failing with some weird errors after a few minutes working. On the other side, pgreplay-go require... | Because changing log_line_prefix on RDS is not supported, I wrote a dead-simple log converter from RDS [CODE] to [CODE] log, works for [CODE] only load https://gist.github.com/mvasilenko/6d6b01782d0d08ea72218327835016e0 | 0 | 0 | 241 | 2021-09-17T05:56:20.270 | database_errors | dba.stackexchange.com | |
756,154 | From Bitbucket to Elastic beanstalk - PHP deployment | Context A PHP project is set up on bitbucket cloud. The code is developed locally in XAMPP. The code runs in Amazon Web Service Elastic Beanstalk environment. Problem I commit my changes locally and then push to Bitbucket. Now I need to deploy from Bitbucket to the AWS Elastic Beanstalk instance. I don't want any other... | I've had a similar issue, needing to deploy to Elastic Beanstalk from Bitbucket. While mine is a Python application, the following is language-agnostic. Use Bitbucket pipelines to zip up your code and drop it into a versioned S3 bucket (versioning is important here) Create a pipeline in AWS CodePipeline to pick up the ... | 1 | 1 | 2,374 | 2016-02-14T18:46:00.210 | database_errors | serverfault.com | |
898,365 | Could not login to docker container | I am trying to run my node.js app and mongodb using docker compose. I could setup the containers successfully as follows. The site is also working. But I could not login into the containers. [CODE] Output [CODE] Also I am able to connect with mongodb server using mongodb client from the host machine(Mac). But when I tr... | Do you try to connect it using container ID ? Try this: [CODE] if isn't working try to restart container as follow: [CODE] | 0 | 0 | 686 | 2018-02-22T09:38:14.667 | database_errors | serverfault.com | |
635,100 | Django: CONN_MAX_AGE persists connections, but doesn't reuse them with PostgreSQL | I've got a django setup are using Django 1.6.7 and Postgres 9.3 on Ubuntu 14.04 LTS. At any given time, the site gets about ~250 simultaneous connections to the PostgreSQL database, which is a Quad Core Xeon E5-2670 at 2.5GHz, and has 16GB of ram. The load average on that particular machine throughout the day is around... | Doing some more experimenting, I have found that the cause of our problem was indeed gunicorn's eventlet worker class. Each microthread made it's own persistent connection, and there was no way at all to reuse any of them. Disabling eventlet has made the load on our webservers go up (but not by much), but the postgres ... | 25 | 28 | 14,886 | 2014-10-10T15:00:43.160 | database_errors | serverfault.com | |
423,917 | Running IPv4 program in IPv6 network | I have an IPv4 windows client program and IPv4 Linux server. What I need is to run them in pure IPv6 network, although machines have dual stack. At the beginning I thought it's not a problem: I'll use 4in6 protocol ( rfc2473 ) and that's all. I found a simple guide for Linux configuration here , but when I started to c... | You seem to be ahead of the curve on this. Most of the world is having to use tunnels to get IPV6 connectivity. I would try using a standard IPv4 VPN over IPv6. L2TP should be easy to setup. If you know the ports involved and they are all TCP, you might get away with using an SSH tunnel which should be even easier to s... | 0 | 1 | 306 | 2012-09-03T15:20:35.787 | infrastructure | serverfault.com | |
332,722 | free -m output, should I be concerend about this servers low memory? | Possible Duplicate: How to understand the memory usage and load average in linux server This is the output of [CODE] on a production database (MySQL with machine. 83MB looks pretty bad, but I assume the buffer/cache will be used instead of Swap? [CODE] [CODE] ouptut sorted by memory: [CODE] | The line you should be looking at is: [CODE] which suggests you have more than 5GB that can be freed on a 16GB machine. Alternatively, you can do math and add up the free + buffers + cache from the first line and get approximately the same number, but math is hard, so why bother if it's right there on the next line. | 2 | 3 | 334 | 2011-11-19T15:53:23.873 | data_quality | serverfault.com | |
19,212 | Error in login in with root user in new mysql server | I've installed a MySQL server in CentOS 6.2 machine [CODE] After the installation I executed this command: [CODE] Now I can only access the server using the command: [CODE] But I'd like to do it using: [CODE] and after that, inform the password. Everytime I try that I get an error: [CODE] | Please run the following: [CODE] The first query will show you two things: USER() reports how you attempted to authenticate in MySQL CURRENT_USER() reports how you were allowed to authenticate in MySQL The second query will show you all root users. It is possible only one root user got the password embedded and left th... | 1 | 1 | 2,673 | 2012-06-13T18:02:09.030 | database_errors | dba.stackexchange.com | |
1,103,288 | contents of mounted drive not visible in Apache/2.4.18 (ubuntu) | This question was initially posted on Super User. I didn't get any answer there so re-posting here: Our cluster's apache setup is as such: each user has a directory [CODE] , and any files (including soft linked files) inside this directory are accessible through http. I have files on another server (serverB) which I mo... | Try to mount your share using the dir_mode and file_mode to something like 0550 (files and folder accessible in read and execute). [CODE] Best regards. | 0 | 0 | 414 | 2022-06-14T18:36:26.037 | infrastructure | serverfault.com | |
575,255 | WSUS shows computers as no status after a day...? | This is something driving me quite mad for quite some time, but I have not been able to get my fingers on it. I have a WSUS that is working perfectly. WHen I get new patches computers are shown as missing them. I install them, they update that they have them. THen, after a day they turn into "no status", although the s... | It’s not an error or some issue with client or WSUS, with simple tweak you can fix it. The machine reporting "No Status" on an UPDATE, is a normal indication between the time an update is first synchronized to the WSUS Server, and that machine executes its next detection. All you need to do to make sure WSUS and window... | 4 | 1 | 7,587 | 2014-02-13T08:31:25.893 | infrastructure | serverfault.com | |
294,310 | Managed DNS only for A record "forwarding" | I am in the process of setting up a web app that will serve a lot of domains. My customers will register a domain and forward it to the web app server and then use the web app through that domain. Until now I was planning to tell them to just change the A record to point to my server but then I figured that would proba... | Use CNAME records. | 0 | 4 | 185 | 2011-07-26T18:50:51.993 | database_errors | serverfault.com | |
41,003 | help with Keras sequential model output | I have trained a sequential model with keras for MNIST dataset and this is the code I've used. [CODE] Output: [CODE] Can you explain what is loss, acc , val_loss, val_acc ? How can I know my model performance from these metrics in output. Please explain if possible. | First will explain the terms loss, acc, val_loss, val_acc and then get into evaluating model performance. Loss - This metric is used to understand the prediction by the network on training data vs the actual value. Given that you are using categorical crossentropy as your loss mechanism, your loss is actually telling y... | 1 | 1 | 166 | 2018-11-10T15:04:08.843 | data_quality | datascience.stackexchange.com | |
555,335 | Root cause of "curl: (56) SSL read: errno -5961" errors | I was evaluating some SSL failures, and noticed that when I use [CODE] to one of the failing sites, I got [CODE] ; however, my google queries for that error didn't show the reason for the openssl failure. Question : What does it mean when curl fails with [CODE] ? I'm including the complete [CODE] below... [CODE] | Summary: [CODE] means that the SSL session timed-out for some reason. In my case, the root cause was a layer2 MTU mismatch, which caused the openssl socket to time out part of the way through the curl transaction. Full MTU-sized TCP packets (i.e. 1500 byte IP payloads) failed because one side of the layer2 tunnel would... | 9 | 7 | 48,518 | 2013-11-15T21:22:01.857 | infrastructure | serverfault.com | |
159,954 | Virtual Memory limit, 60 second recycle in IIS6 | I have been required to set the [CODE] setting in IIS6 on and it has been enabled with the default value of 500 MB. There has been an issue, since then, of the application pool recycling somewhat erratically. Well, it isn't erratic at all, it's every 60 seconds . Monitoring the process shows that the virtual memory is ... | The answer is, I'm stupid. =) Task Manager is a poor man's memory monitor and I've apparently figured that out fairly well today. Using Performance Monitor and Process Explorer, I was able to see that, indeed, my application pool was getting ~550 MB of virtual bytes on first page hit. I still find it odd that I have a ... | 1 | 1 | 796 | 2010-07-13T14:37:15.540 | api_errors | serverfault.com | |
447,065 | Why is my Rails application hanging? | I have a Rails application of moderate complexity running under Apache/Passenger which becomes unresponsive after periods of idleness. It takes several minutes to respond, but can be temporarily revived with a web server restart. Server load is negligible, and since it's an internal application, there are rarely more t... | I'm facing the same issue with ruby 2.0.0-p0. ../bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:73:in `ping' I have tried with unicorn, thin and passenger. This doesn't change anything. [CODE] Any ideas ? libmysqlclient 5.1.66-0+squeeze1 mysql-server 5.1.66-0+squeeze1... | 4 | 1 | 3,249 | 2012-11-09T12:01:51.577 | api_errors | serverfault.com | |
45,299 | Selenium Dataprovider returns a NegativeArrayException when called from different class | I have an excel, which contains multiple worksheets in it. Each worksheet contains multiple columns. I have a class like this. public class dptwo extends dpone { [CODE] Now I have another [CODE] , in the same package named [CODE] [CODE] } When I run, I'm getting an error as mentioned below. [CODE] However: If I run bot... | you are getting the exception because somewhere you are creating a array with negative size On analyzing the code , the most possible line that causes this issue would be: [CODE] In your code you are getting sheet name as : [CODE] When you call this from a different class i am not sure whether the class name will be ap... | 2 | 1 | 217 | 2020-07-21T05:12:06.693 | data_quality | sqa.stackexchange.com | |
210,880 | How does this replication behaviour work in a RDBMS? | Consider a 3 node (N1, N2, N3) system N1 is master (used for writes) and N2, N3 (used for reads) are slaves Write request comes to update [CODE] to [CODE] , N1 writes to disk and crashed without replication Will system continue to work and Oracle select the another master automatically? Write request comes to update [C... | It depends on exactly how the "replication" is set up. Real Application Cluster N1,N2,N3 are the three nodes of a RAC cluster. In a RAC system, all nodes are "masters". You just choose to do READ-ONLY session on the other two. DML operation on Node 1 tries to set [CODE] to [CODE] Node 1 crashes [CODE] fails the connect... | 1 | 0 | 56 | 2018-06-28T17:24:47.543 | database_errors | dba.stackexchange.com | |
488,126 | SSL with HAProxy | Having a strange problem with Haproxy. I'm using it to frontend SSL connections to a few Joomla sites and the sites don't appear to be picking up on the https front end which is leading to javascript errors. The relevant sections in my haproxy config: [CODE] The errors: [CODE] | after taking a look at the headers being passed to the application and then finding the joomla library that deals with them, the following fix worked. Added a check for the 'Front-End-Https' request header in the libraries/joomla/uri/uri.php file: changed: [CODE] to: [CODE] | 0 | 0 | 1,152 | 2013-03-15T12:16:32.147 | infrastructure | serverfault.com | |
498,437 | HAProxy URI balancing isn't very balanced | I'm attempting to use HAProxy 1.4.22 with URI balancing and hash-type consistent to load balance between 3 varnish cache backends. My understanding is that this will never accomplish a perfect balance between servers but it should be better than the results I'm seeing. The relevant part of my HAproxy config looks like:... | I'm not sure if this is very helpful, but I've struggled a bit with the same problem - and this is what I've concluded; Hash-based load balancing will, as you've already established, never give you perfect load balancing. The behavior you see can simply be explained by having a few of the most visited / largest pages o... | 4 | 5 | 3,367 | 2013-04-11T15:17:26.043 | infrastructure | serverfault.com | |
981,345 | PS command explanation why do some old process appear? | From my understanding of linux ps command on linux it should display "current process". I ran this command [CODE] [CODE] This is just part of it. The Phantom process is on there a bunch of times bu tit says time is about 1 second and also hardly any memory. Is that process still alive? | All of those processes are "alive". They are active processes on your system. You can determine the state of the process by looking at the [CODE] column, and checking the code listed against the table in the [CODE] man page: [CODE] | 0 | 3 | 295 | 2019-08-30T16:12:04.517 | infrastructure | serverfault.com | |
518,877 | How to grow mdadm RAID5 into degraded state? | mdadm - v3.2.5 - 18th May 2012 Currently have: [CODE] Problem: /dev/sdc is full of data. I want to grow the raid to 3 devices in degraded state (therefore 6TB), copy all the data to the raid. Then actually add /dev/sdc . Already tried: [CODE] [CODE] No complaints from mdadm, however when I checked the RAID there wasn't... | You are almost there. Now use the --backup-file option to specify a temp file for mdadm to use. Do not put it on your md array. | 2 | 1 | 1,486 | 2013-06-26T22:39:47.473 | infrastructure | serverfault.com | |
308,321 | Is it possible to copy a server image from AWS EC2 and run it in Virtual Box? | Possible Duplicate: Is it possible to obtain a copy of Amazon Linux for use outside AWS Does anyone know if it's possible to copy an Amazon Web Services EC2 image of a server back to a local machine and run it in Virtual Box? From research I can see that it's possible to do the reverse, take a Virtual Box image and mig... | According to this answer: Is it possible to obtain a copy of Amazon Linux for use outside AWS You can use [CODE] to download any AMI you control. | 1 | 1 | 760 | 2011-09-05T15:00:04.357 | data_quality | serverfault.com | |
203,383 | How to speed up MongoDB chunk moving between shards | On a MongoDB 3.6 in a replica set and WiredTiger engine we have a large collection with 7.7TB of data. We started to see severe performance issues (extreme CPU usage and slowdown of data replication) which we somehow solved by temporary using a new empty database. The data is basically usage logs and DB pattern is that... | Things like how many shards we have, which database are sharded, and the configuration setting of your shard cluster. But one of the most important pieces of information that the config servers hold, is the mapping of the chunks to shards. [CODE] By default , MongoDB takes 64 megabytes as the default chunk size. That m... | 0 | 0 | 2,523 | 2018-04-09T09:56:37.270 | database_errors | dba.stackexchange.com | |
1,028,866 | Error mounting azurefile PVC "could not resolve host address" | While setting up a new cluster I removed an Azure storage account expecting the controller to re-create it, however, now when I try to use an [CODE] PVC I get an error that says it can't resolve the file share address. [CODE] The pod logs show: [CODE] How can I fix this? | You'll need to delete and recreate the PVC in Kubernetes. When Kubernetes creates a file share as part of a PVC setup it assumes it owns and manages this. If you delete it outside of that scope it has no idea you have done that, or that it needs to recreate it. | 0 | 2 | 1,209 | 2020-08-04T18:09:03.310 | infrastructure | serverfault.com | |
632,514 | rpm package conflicts with itself in yum | I prepared custom package platform-6-1.2.3-1.x86_64 . I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others plat-6 packages. So I filled in spec file with: [CODE] Now, when I install the package on the system, sometimes I get this: ... | I think the issue is [CODE] You are making it conflict with itself. EDIT: Try [CODE] | 0 | 0 | 1,150 | 2014-09-30T17:31:07.247 | infrastructure | serverfault.com | |
76,641 | Accidently overwrote system.dbf - What now? | I accidentally overwrote system.dbf in [CODE] Well I did not actually do it accidentally, however I overwrote it because of other failures in the database. And when I try running the following: [CODE] Now I want to try to Recover the database because starting it in mounted or standard surely doesn't work. [CODE] How do... | Do you have a backup of your database? Overwriting the SYSTEM tablespace data files would necessitate a complete restore from backup. | 0 | 3 | 2,296 | 2009-10-21T08:04:25.197 | database_errors | serverfault.com | |
302,080 | How to find created mssql schema in DBeaver? | I have created new database and new schema. [CODE] Database was created, but not schema, and when I try to create it one more time I get error: [CODE] And as you can see on screen (even after refresh), there is no my schema. So, how can I create new schema? | You can edit the connection and tick "Show All Schemas" otherwise you will only see dbo | 2 | 1 | 2,544 | 2021-11-03T17:33:33.923 | warehouse_errors | dba.stackexchange.com | |
206,660 | Forward *.Company.com to an IP address | I want to forward all *.company.com URLs to my company.com IP address. Is this possible with Godaddy DNS? The reason I want this is so that I can deliver different logos based on the company using my application (eg. ibm.company.com, bell.company.com etc. will see a respective IBM and Bell logo at the top). I need the ... | You want to add a cname record in the total dns settings Host use * Points to company.com IP address Then just check the host with asp.net | 0 | 1 | 91 | 2010-11-28T00:55:02.463 | infrastructure | serverfault.com | |
428,865 | X11 Forwarding works on Windows with Xming and Putty, but not with ssh command line | I have a micro Amazon instance the I want to use for testing and everything is going fine until the title. If I set up all the info in PuTTy, open it up and run 'xclock', all runs perfectly and it opens on Xming on my local desktop. If, however, I run [CODE] I get [CODE] If I run either of [CODE] I get the same again, ... | Have you tried [CODE] Normally, the [CODE] on the remote machine is not [CODE] , but will be set by [CODE] automatically. Also, Putty has a command line mode too, all you have to do is to add it's directory to your path and you can do [CODE] | 6 | 4 | 4,261 | 2012-09-16T11:56:09.737 | infrastructure | serverfault.com | |
15,838 | gitlab container registry: how to test that it's set up and working? | I'm trying to push for the first time to a gitlab project container registry. I am not a gitlab administrator so I can't change global settings. But as far as my project is concerned I've made sure that I have a personal access token created for the project. When I try to run my pipeline, it fails with a 404 error. I'v... | It looks to me like you're not pushing to the right port. When you go to the project space, and then go to your container registry [CODE] (or click under Packages & Registries → Container Registry Or, like this if you prefer to click on Packages & Registries On this page you should see a bunch of links, one of them sho... | 1 | 0 | 2,037 | 2022-04-21T14:27:07.797 | pipeline_ops | devops.stackexchange.com | |
367,171 | Apache segfaults on Wordpress admin page | I can access the frontend of a new Wordpress setup without issue. I can also log in with a user account without issue. However, if I try to log in with an admin account I get a 500 error about 70-80% of the time. If I do manage to get through to the WP dashboard, any page within the admin panel will cause the error onl... | I had a similar issue and I fixed it by upgrading the ssh php module with [CODE] on Ubuntu. | 1 | 0 | 1,401 | 2012-03-07T12:09:23.123 | api_errors | serverfault.com | |
132,206 | SSIS Script Task doesn't appear to run when scheduled | I have a script task inside SSIS which does not appear to run when the job is triggered from SQL Server Agent. I say does not appear to run because I don't know if it's the SQL Script task or some task preceding it. The basic goal of this part of the ETL process is to group all files downloaded and process them one set... | I've resolved this. I installed the SSDT Feb update and targeted the version to SQL Server 2014, as suggested by Dave . I did have to tweak one script (unrelated package and script task) but then I managed to build and deploy. It's processing happily. The Pre/Post Execution messages were all clean, but based on the adv... | 4 | 1 | 4,657 | 2016-03-14T16:26:28.930 | data_quality | dba.stackexchange.com | |
303,327 | How to call python file in repo in databricks from data factory outside DBFS? | In Azure Databricks I have I have a repo cloned which contains python files, not notebooks. In Azure Data Factory I want to configure a step to run a Databricks Python file. However when I enter the /Repos/..../myfile.py (which works for Databricks Notebooks) it gives me the error " DBFS URI must starts with 'dbfs:'" H... | For reference After all the mucking around, we decided to build a Python package (wheel) which can be imported to Databricks as a library. This can then be installed with %pip install /dbfs/..../*.whl and the package is then accessible to notebooks. | 1 | 1 | 2,394 | 2021-12-01T08:14:00.633 | data_quality | dba.stackexchange.com | |
1,106,389 | Ansible - Alter Registered Variable | How can I modify the a registered variable? For Example, [CODE] has [CODE] which I'd like to change it to [CODE] or [CODE] . Then use the [CODE] array somewhere else after its been modified. [CODE] Output of registered variable: [CODE] | It is not possible to update variables in places, however, you could use [CODE] module – Update currently set facts to create an other data structure like [CODE] and use that one. It seems that one of the documentation examples covers exactly your use case. Documentation [CODE] - Examples Further Q&A Associative array ... | 0 | 0 | 2,272 | 2022-07-23T09:06:25.220 | pipeline_ops | serverfault.com | |
476,989 | Is there a way to get more detailed logging out of Forefront TMG 2010 | I am troubleshooting VPN connectivity issues with Forefront TMG. Everything looks correct in configuration but the packets are blocked regardless. The logs are not very descriptive. I see: [CODE] Is there a way to obtain a more detailed log within the TMG Management console? Note: using Enterprise edition. | The answer to my question is using Diagnostic Logging: http://technet.microsoft.com/en-us/library/dd897091.aspx | 1 | 0 | 797 | 2013-02-08T18:55:51.763 | infrastructure | serverfault.com | |
1,061,051 | sssd credential chaching does not work | I set up an Centos7 using sssd as authentication system. The user identies are provided by files (passwd/group, managed by ansible), auth is done via krb5 (provided by active directory). The sssd.conf looks like this: [CODE] This works fine online without problems, but when I disconnect the network, login fails. If log... | I don't know about for Kerberos, but for AD you would need to structure your configuration file like this: [CODE] Notice under [CODE] the listing of both domains for AD and files. You have to have this if sssd is to know to use the cache credentials. | 2 | 0 | 900 | 2021-04-21T08:48:48.407 | pipeline_ops | serverfault.com | |
385,177 | Method overriding as a substitution for instanceof in Java? | In short, is [CODE] a bad thing? I had a code something like [CODE] I didn't realize it can be in fact refactored to [CODE] ClassA and ClassB are some generated classes without common interface so I cannot do a conversion in one method (without reflection as the method names I'm interested in are the same in ClassA and... | Using [CODE] isn't per se the problem, but it's generally an indicator of a problem where you're explicitly testing an instance's type in order to define behavior. This goes against Liskov's Substitution Principle which states that you should be dealing with an interface or abstract class which can be handled in the sa... | 0 | 7 | 1,385 | 2019-01-09T11:14:23.673 | api_errors | softwareengineering.stackexchange.com | |
63,650 | Error when drawing random numbers from a custom continuous distribution using scipy.rv_continuous | I am trying to generate a sample of random numbers from a custom distribution $$ p(x) = x^{n}e^{-xtn}. $$ After reading the tutorial on scipy's website , I wrote a subclass which I called kbayes: [CODE] The line [CODE] is there to normalize the distribution. The pdf seems to be ok when I check it on some numbers: runni... | That is a warning which can be ignored. Below is a cleaned-up example that generates samples and ignores that warning. [CODE] | 2 | 1 | 143 | 2019-11-23T18:36:14.097 | data_quality | datascience.stackexchange.com | |
461,754 | v6tov4 in Linux? | I have a server which runs Debian system. I use pptpd for VPN services. But pptpd can only response to IPv4 traffic and ignore IPv6 traffic. Is it possible to establish VPN connection using IPv6?(That is, pptp over IPv6, NOT IPv6 over pptp) | Poptop doesn't seem to have any support for IPv6. And its maintainers recommend you don't use it anyway, for security reasons . PPTP is known to be a faulty protocol. The designers of the protocol, Microsoft, recommend not to use it due to the inherent risks. Lots of people use PPTP anyway due to ease of use, but that ... | 1 | 5 | 696 | 2012-12-30T09:01:19.463 | infrastructure | serverfault.com | |
458,527 | RedStation.com is heaven for ddos attackers, How to file complaint? | Sorry, I don't know where to open this subject. This is not the first time we have faced with a massive DDOS attack from one of servers in RedStation.com and even after we had contacted with their abuse department with it's log there is no cooperation and they don't even like to bother themselves about it. and we don't... | Generally your options are (in the order you should try them): Your ISP Your ISP should be willing to block (and deal with) DoS attacks on your behalf. At minimum they should be willing to block the traffic to your port/system with a firewall (though they may charge you for that privilege). Your comments indicated that... | 8 | 16 | 1,696 | 2012-12-16T17:04:12.233 | infrastructure | serverfault.com | |
423,057 | ADFS v.2.0 transitive trust in a federation scenario | Currently i'm working with ADFS to establish a federated trust between two separated domains. My question is simple: does ADFS v. 2.0 support transitive trust across federated identity providers? And if so, see the questions below. (I'm not talking about AD forest trusts but about compleatly separated domains using pur... | Well, since nobody did answer, i took the time, setup a test lab and sniffed the HTTPS traffic. Here are my research results in case anybody else will ever come across this thing: I still got no official source for this questions First off: yes, transitive trust is possible and there is no way to block it except of leg... | 3 | 0 | 1,329 | 2012-08-30T20:13:36.967 | infrastructure | serverfault.com | |
195,117 | JSONB: Finding an element with a null attribute in array of objects | With the following table in psql 10: [CODE] How do I find row #2 by querying the date=null value in the array? I already know how to query by name to find row#2: [CODE] But I don't know how you can query for rows with or without a null date attribute. | Like this, [CODE] | 0 | 1 | 2,709 | 2018-01-10T23:00:21.930 | data_quality | dba.stackexchange.com | |
1,074,039 | Nginx sending 301 when using proxy_pass | I have a website hosted on AWS, www.example.com . I have created a blog on Wix myblog.wixsite.com/blog. Now, I want to show the contents of myblog.wixsite.com/blog on www.example.com/blog . So I used the following Nginx conf to try & achieve that. [CODE] Now, when I hit www.example.com/blog , Nginx redirects me to http... | Either use [CODE] or change [CODE] [CODE] Notice the protocol is [CODE] instead of [CODE] . Your wix blog is served on HTTPS anyway. | 0 | 1 | 1,752 | 2021-08-10T06:35:05.317 | infrastructure | serverfault.com | |
743,751 | Dual interface/network with duplicate IP (local and extern) | So, i have two virtual network, a machine with two interfaces, each on a different virtual network (but with the same logical network 192.168.0.0/24 both). eth1 : 192.168.0.10 eth2 : 192.168.0.20 I have to do a thing which look like "man in the middle" : [CODE] I can ping from MAM machine to network1 or network2 with i... | You need to configure a bridge and attach your interfaces to it. | 0 | 0 | 137 | 2015-12-17T15:51:18.153 | data_quality | serverfault.com | |
18,789 | ssl_error_handshake_failure_alert with Commercial CA-based client certificate | Attempting to implement client authentication with an SSL cert. http://www.modssl.org/docs/2.8/ssl_howto.html#auth-selective Receive the following errors. Apache: Re-negotiation handshake failed: Not accepted by client!? Firefox: ssl_error_handshake_failure_alert I assume it is a configuration error, but have not been ... | Seeing that the handshake fails it could be that the client doesn't understand (or is configured to use) the negotiated SSL Protocol. Check eg in FF whether all SSL protocols are enabled (SSL2, SSL3, TLSv1) and match that up with the SSL protocol configured for Apache. update: it might also be usefull to do a network t... | 3 | 1 | 12,159 | 2009-06-03T14:53:40.470 | api_errors | serverfault.com | |
300,793 | Deleting MySQL rows causes lock table error | I had a couple million rows to delete but they can't be deleted at once without this error ERROR 1206 (HY000): The total number of locks exceeds the lock table size So I wrote a script to delete 100,000 rows 10,000 at a time. It ran once but when I run it a second time I get the error on the first attempt to delete 10,... | Is it the InnoDB storage engine? This error means that MySQL doesn't have enough room to store all of the rows lock that it would need to execute your query. Depend on RAM you have, set [CODE] to a reasonable value (256MB, 512MB), you will probably never encounter this error. Check the default value with [CODE] . | 4 | 1 | 4,375 | 2011-08-13T16:30:12.023 | database_errors | serverfault.com | |
606,144 | Win2012R2 Eventlog subscription don't display informations | I have two Win2012R2 servers. One is the Domain Controller, the other is an SQL Server. I created a subscription on the DC, gathering events 1149 (source : TerminalServices-RemoteConnectionManager) from the second server. The events are gathered, but are not display correctly : Remote Desktop Services: User authenticat... | Ok, I got it. My OS are in English. My keyboard layout is french. By default, the subscribed events had the XML parameter (don't know why): [CODE] I don't know why fr-FR was select, maybe because my keyboard layout is french. So, I manually selected en-US as language for subscribed events (RenderedText) : [CODE] After ... | 1 | 1 | 3,672 | 2014-06-18T15:31:37.077 | api_errors | serverfault.com | |
594,329 | Do only Servers support VM? | I'm being told that only Servers support VM. Desktop models do not. What if the hardware characteristic so that I know if box supports real VM? In this CentOS wiki: http://wiki.centos.org/HowTos/KVM It explains that this test must be done to determine if KVM can be run: [CODE] If you get back results with vmx, then you... | You have been incorrectly advised. Looking at "Intel" CPU's - most Intel i5/i7 systems and newer I3 systems support KVM virtualization - even laptops. As the manuals say, if the check you quoted confirms the Virtualization flag, the device supports virtualization. A list can be found here . As others have indicated, th... | -3 | 2 | 127 | 2014-05-10T19:23:07.393 | infrastructure | serverfault.com | |
282,109 | Store fields that are subset of other fields on same table | Just wondering what the optimal design pattern would be for the following data I'm trying to model. I have a table that stores information for Orders that have been placed by customers. Orders can be either Invoiced or Opened. Currently, the table stores data about the total Order information (so...invoiced+open). I.e.... | Generally in a Sales system, Sales Orders and Invoice Orders are two different entities related to each other. That's probably a good way to normalize the columns you're referring to. In general, it's better to normalize your tables to reduce data redundancy and improve query efficiency, as opposed to very wide Tables.... | 0 | 1 | 28 | 2020-12-24T15:26:16.670 | warehouse_errors | dba.stackexchange.com | |
97,696 | Percona MySQL 5.6 databases ignoring key length at constrait creation | We have a 3 servers running Percona MySQL 5.6 in a Master/Master configuration that are all reporting errors on key length, either too long or not specified. The structure of the databases is all generated from a mysqldump on existing standalone MySQL 5.6 databases that do not report these errors. Key too long error: [... | By default, an index key for a single-column index can be up to 767 bytes – MySQL Reference Manual The size of your index is: [CODE] The calculation may not be 100% exact, I am not fully sure about the length requirements, but I will assume it is not a bug. The reason why it may be working initially could be because yo... | 1 | 0 | 623 | 2015-04-13T11:42:39.903 | data_quality | dba.stackexchange.com | |
144,451 | Trying to compare several similiar lists on one table to produce a concatenated result | So imagine that four friends are planning on moving into a house together. They put together a list of stuff that they all own. Obviously, there is some overlap but there is also unique things among them. Table [CODE] is a fairly simple table: [CODE] This table contains lists unrelated to these four people (e.g. shoppi... | [CODE] is not that effective, because you need to access the table 4 times. With [CODE] you can do it with 1 table access. [CODE] [CODE] version: [CODE] This returns a [CODE] where the item is not on the list, otherwise it returns the [CODE] . The actual value does not matter, just the fact that it is not null, so prov... | 0 | 1 | 45 | 2016-07-20T15:19:46.077 | warehouse_errors | dba.stackexchange.com | |
240,143 | Updating AFP version on Windows Server 2003 | We have a couple of Macs, running Leopard and Snow Leopard in our otherwise pure Windows environment. We cannot get file names longer than 31 characters and some times the file permissions gets scrabbled (users can't delete their own folders or access files they usually access). This only occurs when connecting through... | AFAIK Microsoft is never going to bring their Services for Mac implementation up to date, so you'll have to replace it with something better. I haven't used it myself, but ExtremeZ-IP is the one I've seen recommended. | 0 | 1 | 869 | 2011-02-25T09:12:49.653 | infrastructure | serverfault.com | |
633,180 | NFS permissions on a directory | I feel stupid not knowing this, but alas, I need to ask. I have a few directories being automounted via NFS on my CentOS boxes. Source is a Dell NAS or Openfiler (which we are working on migrating from). The default owner.group is root.root with 755 perms. I want to modify default group and the default perms. I can chm... | Default group is mapped using export file option [CODE] used with a squashing option ( [CODE] or [CODE] ). The default permissions are given by your [CODE] value. UIDs must be consistent between the NFS client and the NFS server. | 0 | 0 | 203 | 2014-10-02T21:06:36.623 | infrastructure | serverfault.com | |
250,713 | Improving the query standards and performance run time | For one of our Vendor based SQL server database, they have created certain views for users to query. Since i am new to SQL querying, please help me understand the below format of SQL and how can i tune it up further as it runs over hours. I will try to get a repro, but for now, let me know if below can help:- Query [CO... | [CODE] is must.Unless we do not have table structure and their description we cannot say which column should be CI. Provide volume of data in each table and expected volume of output. [CODE] is not SARGAble. So you can rewrite the query as below.Always check the performance with [CODE] instead of HARD coded value. I me... | 2 | 1 | 69 | 2019-10-10T03:11:03.147 | database_errors | dba.stackexchange.com | |
807,919 | MediaWiki foreground not rendering tabs in content section | We are having issues getting the foreground or foundation skins in MediaWiki to render any tabs in the content section of our pages. This site is a demo, hosted on GoDaddy, but we have also tried clean installs Fedora locally and Linode. All the applicable CSS and JS seems to be loading correctly, and there are no obvi... | We got this one figured out. Turned on debug logging, and the cache directory was included in the configuration ($IP/cache), but not writeable. Thank you for your help. | 1 | 0 | 125 | 2016-10-08T20:57:56.150 | infrastructure | serverfault.com | |
93,168 | What's the intuition behind nonlinear predictors in multivariate regression? | I'm learning statistical learning with the well known ISLR (Introduction to Statistical Learning with Applications in R) and doing the exercises, right now in the linear chapter regression. Despite being linear regression, non linear transformations are also mentioned because of the high bias issues. It's quite straigh... | Not quite sure if this is what your question actually is. However, when you have a data generating process such as $y = 3 + 2x$ (with some zero-mean "gaussian noise"), your model could look like: $$ y = \beta_0 + \beta_1 x + u,$$ and you will find the $\beta_0 = 3$ and $\beta_1 = 2$ . When you have a data generating pr... | 0 | 1 | 153 | 2021-04-17T10:15:40.687 | data_quality | datascience.stackexchange.com | |
1,140,892 | Not able to receive emails on Postfix | I installed a mail server with Postfix and Dovecot on Debian. I can send emails without worries to Outlook, Yahoo, ...BUT I can't receive emails from outside. I use my internet box (free) as a router. I redirected flows comes on 993, 143, 25 and 587. I use NOIP as DNS. I added the records needed for the MX part. [CODE]... | It would be best to start by learning what a DNS MX record is , which helps to understand how to use them. Your current configuration suggests you would need [CODE] records for IMAP, POP, SMTP and "MAIL", but that's not how it works! As it seems you are only having one server at [CODE] handling the mail and it has SMTP... | 0 | 1 | 152 | 2023-08-06T12:48:05.097 | infrastructure | serverfault.com | |
987,999 | Convert one interface to a tunneled interface | I have a server with 2 WAN interfaces, [CODE] and [CODE] . Each one have one router connected which gives them these IPs: [CODE] and [CODE] . The thing is that I want to completely avoid traffic through [CODE] and instead create a [CODE] which will tunnel all the traffic [CODE] should receive. I have complete control o... | You are trying to implement a solution based on routing tunnel mode, but your problem description rather looks to me perfectly fit for bridging tap mode. OpenVPN can not only tunnel IP packets. It also can tunnel the whole Ethernet packets. In short, you can replace "mode tun" with "mode tap" and remove any IP address ... | 0 | 1 | 482 | 2019-10-15T00:41:37.827 | infrastructure | serverfault.com | |
1,144,695 | Slowdown in Apache with HTTP/2 when Requesting Small Thumbnails (60KB) via Reverse Proxy to HTTP/1.1 Backend | I am currently running an Apache server with HTTP/2 enabled as a reverse proxy for my web application. I have noticed a significant slowdown when requesting a large number of small thumbnails (each approximately 60KB) through this configuration. Strangely, this slowdown started to occur after switching from HTTP/1.1 to... | (This should be a comment - but space limited) 1.) The first place to look when a service is not behaving as expected is in the logs. But the default log formats do not capture useful timing information - you should add at least %D on httpd 2.) I love Apache httpd as an origin server, but it's a less than ideal as a re... | 0 | 0 | 130 | 2023-09-29T03:01:53.113 | infrastructure | serverfault.com | |
227,182 | Why is apache serving the default? | I keep adding more vhosts and enabling them but all the sites always do to the default vhost in sites-available here is what the default kind of looks like with me only changing the ip for security reasons [CODE] and here is my other which i named some-site.net [CODE] and it turned on my this command [CODE] then i relo... | First guess, you need the NameVirtualHost statement in your httpd.conf file. Also, as a sanity check, I'm assuming you have the correct blocks? What do you get when you run [CODE] ? | 0 | 2 | 1,504 | 2011-01-26T16:10:45.590 | infrastructure | serverfault.com | |
356,584 | How to remove an entry from the registry during an MDT deployment | I'm working on the well known problem of MDT not wanting to automatically continue because of a legal disclaimer prompt at login. Our disclaimer is set at the domain policy, so I've created a new OU for staging, then blocked inheritance so it doesn't get the GPO. I have MDT set to place the newly built machine in that ... | The steps in the task sequence execute after the local administrator account has logged on and this needs to occur before. I'm not aware of a way around that within the task sequence itself. You should be able to mount your WIM file and remove those lines using regedit against the registry contained within. EDIT - I us... | 0 | 2 | 5,045 | 2012-02-03T16:27:19.803 | database_errors | serverfault.com | |
740,044 | Are rejection messages stored anywhere on a postfix server? | I am working, with very limited experience, to recover messages that were sent to an address on a postfix email server that had been forwarded to a bad address. So the messages were rejected, but were attached to the rejection notice. A sample rejection notice is below. What I'm hoping is that the rejection messages mi... | In a typical postfix configuration, they are not saved, but it is possible. See for example: Is it possible to hold rejected messages in a queue? See if you have [CODE] set to true in [CODE] . Since recipient checking happens early, it's unlikely any content filters would save the messages either (but see [CODE] , [COD... | 3 | 4 | 2,193 | 2015-12-01T16:35:07.940 | infrastructure | serverfault.com | |
291,480 | PostgreSQL Update Query Hangs | I have an update query being fired from the Java Hibernate (for a single user), which works fine on a small dataset of rows in a table (100MB), but the same update query goes into a hung state if the number of records in the same table increases (12 GB). I didn't find any blocking or deadlocks queries been executed. I ... | If the execution plan that you posted is for the query that is too slow for you, the answer would be to create an index on [CODE] . | -2 | 1 | 1,145 | 2021-05-13T04:51:13.807 | database_errors | dba.stackexchange.com | |
417,087 | Maxed out directories in public folder for rails. What can I do? | We have a rails app that dynamically generates thumbnails on request and saves the result locally to make it faster to serve up the same one again. We use the following url structure: /thumbnails/99999/large.jpg Where 99999 is the database record the thumb is linked to. The problem is the number of records with thumbna... | Use subdirectories, like: [CODE] and so on. Create as many subdirectories as you think are necessary for the unique identifier of your image, e.g.,: [CODE] You may need to be aware of the inode limits on your filesystem. | 1 | 2 | 142 | 2012-08-13T18:01:39.513 | infrastructure | serverfault.com | |
1,017,333 | Hardening a file-serving Windows Server 2019 instance | I'm in the process of re-configuring and securing a server for the small company that I work for. We use it to store design files and other data with Autodesk Vault. It's running on a VPS from a server provider close by. The reason I'm doing this is that we've been notified by our server provider that they receive comp... | It is possible to disable quite many of the services that are allowed through the firewall by default, without affecting the capability of hosting an Autodesk Vault server. I disabled those that I was sure that I didn't need - it's probably possible to disable quite a few more, with some research and/or trial-and-error... | 5 | 0 | 914 | 2020-05-15T16:51:33.223 | infrastructure | serverfault.com | |
505 | How far should you go with normalization? | I have a decent amount of data in a database. I have well formed tables and good relationships between them with some redundancy in my data. But how far should I go with normalization? Are there performance drawbacks to too much normalization? | You should go as far as you should, and no further. Of course. ~ The problem may be that this is a bit of an art, and it's why this isn't a pure science. Our main product is an analysis and reporting system, and so in that regard, we have quite a few detail records. We initially had it designed with lots of joins on a ... | 35 | 42 | 9,250 | 2011-01-11T04:49:33.963 | warehouse_errors | dba.stackexchange.com | |
932,542 | iptables: Rate too fast Error | I want to set hard limit for incoming UDP packets on my Linux machine which is inside 10 Gigabit LAN. Following command works fine [CODE] But when I try to increase limit like [CODE] It gives me the error [CODE] . Any idea why? I also saw a macro [CODE] linux/netfilter/xt_limit.h` in linux kernel source. Any idea why t... | If you look at the source file [CODE] , you can find the answer. Specifically, look at these lines in [CODE] function: [CODE] The macro [CODE] is 10,000 as you said. The value of [CODE] starts from 1 for seconds and reaches 24*60*60 for days. The largest value will be the case of days of course. If you do the math, you... | 1 | 2 | 499 | 2018-09-25T12:52:08.667 | infrastructure | serverfault.com | |
161,096 | Pylons deployment on Apache using mod_fcgid | I tried to deploy my Pylons app using the instructions found here . This simply loads the default Pylons page when I visit the root of my domain. When I try to enter in any path, I receive the message [CODE] When I view the error log for my application and the Apache error log, it seems Pylons always tries to route thi... | While you could debug the fcgid issue, you might find it much easier to deploy using mod_wsgi. The issue you are probably running into is related to debug=true being set in your .ini file which doesn't work in a multi-threaded mode or code that does a print to STDOUT. If you can post more of your config, log lines, etc... | 1 | 1 | 613 | 2010-07-11T20:48:06.163 | pipeline_ops | serverfault.com | |
644,683 | VMs on ESXi system, only able to use internal IPs | first off I am a bit of a network newb, I know the basics but that is about it. So I have a ESXi server running a few VMs. The set up is; -Master IP (controls the ESXi box) -Internet IP (for general use, accessing the net and VPN etc) -Service IPs (several for use on hosting websites, these are publicly known) On my ES... | The problem is in your IP addressing: [CODE] You've configured a single /32 with that subnet mask, it's not able to route anywhere. Did you perhaps mean [CODE] which is a /24? Even if that's right, the gateway is not in the subnet of the local IP. The communication to the gateway (and elsewhere within the local subnet)... | 0 | 0 | 176 | 2014-11-16T03:30:18.067 | infrastructure | serverfault.com | |
88,287 | Need help on Deep learning model on sentiment analysis | Before I present my problem, please note that I am a newbie in deep learning and I am trying things for the first time. Most of my code/logic were adopted from various references in the internet. Goal : Build a LSTM/CNN model to classify the IMDB reviews available in tensorflow datasets Approach 1 : 1) LSTM based - tra... | Most of the code/references available out there use test_data during training. test_data wasn't part of my training. While this is the way we should do it but stuff like Encoding must be done holistically. In your case, you have called the [CODE] separately for Test and Train. So, the words are converted to Numbers ind... | 0 | 1 | 62 | 2021-01-21T13:02:24.023 | api_errors | datascience.stackexchange.com | |
312,805 | Is it appropriate to ask for mentorship when getting involved with an open source project? | I'm trying to get involved in an open source project and I am feeling a little lost for several reasons: I've been reading the project's mailing list, but its a fairly large and complicated project with many contributors and I'm having a difficult time keeping up with everything that is going on. I've been lurking in t... | It's obvious that you've spent a lot of time getting to know the community and the project's guidelines. With open source projects it's important you pick one within your skill level that you can add to (or improve on). From the way you've written this question "fairly large and complicated project" I get the feeling y... | 2 | 3 | 156 | 2016-03-15T14:26:58.213 | api_errors | softwareengineering.stackexchange.com | |
346,525 | Cannot login to SQL Server 2008 R2 with Windows authentication | When i try to connect to SQL Server (2008 R2) using Windows authentication: i cannot: Checking the Windows Application event log, i find the error: Login failed for user 'AVATOPIA\ian'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: ] Log Name: Appl... | @squillman provided the solution in a separate question. This is a known issue with SQL Server 2008, and future products. The fix is to run: [CODE] The important point being that cannot add a "group" to a server role directly. You have to add a "login" for that "group". Then you can add that "login": e.g. Fails : [CODE... | 6 | 3 | 68,861 | 2012-01-04T14:57:09.397 | data_quality | serverfault.com | |
575,887 | Shared object "libarchive.so.5" not found, required by "pkg" | I just updated my FreeBSD from 9.x to 10.0 (using [CODE] ) and now my [CODE] isn't working. [CODE] I know I can use [CODE] meanwhile, but how do I fix my [CODE] now? * UPDATE * : [CODE] | Here's what fixed my FreeBSD 9.2-RELEASE -> 10.0-RELEASE update which had the identical issue [CODE] , though my [CODE] showed [CODE] was installed. [CODE] Which listed instructions for boot strapping pkg [CODE] Afterwards pkg seems to behave correctly. | 4 | 4 | 4,077 | 2014-02-15T20:26:16.103 | hadoop_errors | serverfault.com | |
1,145,450 | I can't access my Postgres server remotely | I have a Postgres db running on a linux server in my home. I want to be able to access it from my public IP address remotely but it seems not to be working. I have [CODE] set in my conf as well as [CODE] set in the pg_hba.conf. I have port 5432 forwarded in my router and I know for a fact it works. I use dbeaver and wh... | Ensure that postgresql is listening on the LAN address that your router is forwarding packets to. | 0 | 0 | 978 | 2023-10-08T21:23:42.457 | infrastructure | serverfault.com | |
328,451 | is there an fsck for .iso disk images? | I have an iso file on a hard drive that's been having problems. Is there any way to check that the file didn't get corrupted, like an fsck for iso file systems? | I've got an [CODE] utility. From the [CODE] page: [CODE] Maybe that will help? | 7 | 9 | 4,254 | 2011-11-07T11:32:46.003 | data_quality | serverfault.com | |
447,782 | Postfix sends every mail twice | Could someone please tell me, why Postfix sends each message twice? I noticed that one message is correctly send and the other may (or may not) have a problem with the encoding. To be honest I did some adjustments for virtual domains, users,.... but I cannot find why these configurations should not work. I have the sli... | [CODE] Two distinct Queue-IDs indicates that two distinct messages were submitted to postfix; this is caused by your web server process, not postfix. | 0 | 4 | 1,923 | 2012-11-12T10:53:29.760 | infrastructure | serverfault.com | |
570,531 | Cisco switch restart doesn't reload config | Something really strange happened to me today. I was configuring a 3750 switch and halfway through the changes I messed up. So I did what I've always done, unplug the power cable from the switch and plug it back in after a few seconds so it loads the saved startup-config. 30 minutes passed and things still weren't work... | Doh! The answer is really simple, the switch is part of a stack and I rebooted the switches one after the other. The configuration was never reloaded. I feel so stupid for skipping this simple fact. | 0 | 2 | 550 | 2014-01-28T19:57:15.047 | infrastructure | serverfault.com | |
174,626 | How to know which ports are open on linux ubuntu | I want to know which ports are open on my ubuntu machine. I just want to initially block all ports in iptables and then slowly and slowly will open only those ports which i need. Currenly i have no idea how many services have opened their ports on my system any idea to know | Two ways I do it are: [CODE] (listed open files, a network socket counts as a file and that's what the -i flag specifies) [CODE] | 1 | 2 | 827 | 2010-08-26T02:49:38.020 | infrastructure | serverfault.com | |
936,511 | Ansible: user escalation failure | EDIT: This ansible_become_pass: "{{ scrappy.pass }}" #scrappy's password is the source of the problem. Should be password for ubuntu user I am having a hard time understanding how to set privileges per task in ansible. So given the playbook [CODE] , I want to log in as the admin user (ubuntu) but do something as the us... | If the task needs to be run by root, it should not have [CODE] - this is running the task as that user, which does not have the rights to do so. [CODE] In this case it will be [CODE] who requests escalation, since they are set as [CODE] . If you need [CODE] to be the one who requests escalation, then [CODE] should be s... | 2 | 2 | 1,168 | 2018-10-21T15:23:30.090 | pipeline_ops | serverfault.com | |
255,476 | MySQL wrong use of index when a date interval is big | I have a query that have this statement: [CODE] When I use an interval between 2019-10-28 and 2019-12-12 the query run fast using the correct index. But when I use the interval 2019-10-27 and 2019-12-12 the query runs slowly and I have the explanation as follow: What's wrong? I have indexes on fields c.empresa, c.emiss... | The reason: If the range is large, it is faster to simply ignore the index and scan through the table. Note that using an index implies flipping back and forth between the index and the data. [CODE] The optimal index is [CODE] It would help if you decided on either [CODE] or [CODE] in the following. That way, that colu... | 2 | 1 | 525 | 2019-12-12T12:14:58.873 | database_errors | dba.stackexchange.com | |
41,754 | Trigger Performance : Is Using Trigger is a good way? | We are using [CODE] for a j2ee web application. I need to maintains the audits for updates for each column with their previous value and new value on one of my table which is very heavy, around 100 columns and 10K records and increasing rapidly on daily basis. Around 200 users work with this application and updates als... | Personally, I would use triggers for auditing. If they fail, then the main DML gets rolled back (same) The main update requires the DML to succeed A table will typically have several DML paths You may not be able to use code You will have direct table update that bypass code at some point Ok, so we'll use triggers. Som... | 4 | 10 | 11,379 | 2013-05-08T08:11:13.673 | database_errors | dba.stackexchange.com | |
16,953 | Port forwarding rules with Traefik and Docker.Compose | I'm trying to use Traefik to route to a number of services all running using docker-compose. What I'd like to do is access each service with a prefix, eg: 10.20.30.40/u10/xyz and 10.20.30.40/a10/abc instead of 10.20.30.40:8000/xyz and 10.20.30.40:8001/abc. I have a `docker-compose.yml file where I'm starting my service... | I can't tell exactly what you are trying, it looks like you might just not have Traefik and the services on the same network. Its also helpful to have a domain that's going to resolve to 127.0.0.1 on wildcard queries. This might be a valuable starting point as a working example. [CODE] [CODE] and then visit http://exam... | 0 | 0 | 2,014 | 2022-11-20T18:42:26.557 | pipeline_ops | devops.stackexchange.com | |
441,338 | openvpn in a bridge? | I have a somewhat tricky proble to solve. We have a wireless link between 2 building. One of them has an mikrotik and below there are some vlans. Some machines of one vlan need to use openvpn to connect to a remote private lan. I put a TP-Link WR1043ND (which those machines connect to) with openwrt with ebtables just i... | Finaley I've found a way so this to work I had to add some rule by hand after launch openvpn. I don't know why, but now it's working :) FYI: /sbin/ip link set dev tun0 up mtu 1500 /sbin/ip addr add dev tun0 local 192.168.200.1 peer 192.168.142.1 /sbin/ip route add 192.168.142.0/24 via 192.168.142.1 | 0 | 0 | 504 | 2012-10-23T13:06:16.330 | infrastructure | serverfault.com | |
358,524 | Server mirroring strategy questions SQL Server replication, MySQL replication, file replication, etc | I'm working as an application developer for a company that I've been with for for some time. The business would like to mirror their existing windows server (server A) to a new server (server B) with the main aim of providing redundancy where either server is unavailable. A hardware load balancer will manage direction ... | This question is too big; you'll likely not get specific answers on it. In order to have "multi-master" replication, meaning both servers responding, you need to solve that problem for each protocol separately (SQL, SMB, HTTP, etc.). A much easier route is to only use one server at a time in a active-passive scenario b... | 0 | 2 | 312 | 2012-02-09T20:30:23.303 | database_errors | serverfault.com | |
105,501 | What are the most relevant books on software task estimation for individuals? | What books have you read that helped you, as a programmer, learn to estimate time for completing small-to-medium programming tasks, such as bug fixes or implementing new features? Which have you the most helpful? Please describe how it helped you, citing its strengths and weaknesses. | I would suggest looking into the Personal Software Process. Watts Humphrey has three books that might be of interest - Introduction to the Personal Software Process , A Discipline for Software Engineering , and PSP: A Self-Improvement Process for Software Engineers . Introduction to the Personal Software Process is pro... | 7 | 3 | 1,281 | 2011-09-02T14:55:43.333 | api_errors | softwareengineering.stackexchange.com | |
311,724 | Unable to open display ":0" on ubuntu 11.04 (with unity) | I'm connecting to a ubuntu 11.04 through ssh, and I'm trying to run this command(is a Image Magick command): *This command saves any visible window on an X server and outputs it as an image file. sudo import -window root -display :0 screen.png No protocol specified import: unable to open X server `:0' @ error/import.c/... | try running xhost +localhost On the server before grabbing the window. Edit BTW you need to be logged in as the same user whom has logged into the X server and set DISPLAY before running xhost. | 0 | 1 | 3,783 | 2011-09-15T11:37:49.190 | infrastructure | serverfault.com | |
622,073 | MAC address conflict | Computer A have two network ports, A1 and A2. Computer B have 1 port B1. The MAC address of B1 and A2 are identical, but both computer connects to the same network using A1 and B1. A2 are not connected to anywhere, will it cause a problem on MAC conflict? | No, as long as the duplicate MACs are not in the same network, there will not be a problem. But in the situation you describe, there might be a problem in the future. What if network connections change in the future, and ports B1 and A2 end up on the same network? That will cause problems. You need to find out how you ... | -3 | 4 | 1,267 | 2014-08-18T01:09:52.340 | infrastructure | serverfault.com | |
519,764 | Raid 5 scsi fault | I have no much knowledge about servers and I was looking all day around the internet about finding a solution to my raid 5 problem. All of a sudden two disks failed. The server won't boot (HP Proliant, windows 2003 R2, very old maybe 10 years old). I know that if one disk is faulty then I can add a new disk and rebuild... | you might be able to force a disk back into an online state if it's just the raid software that took it offline, that may allow you to rebuild the array. however if two disks are indeed actually faulty then you're basically hosed. (outside using an expensive data recovery firm) | 0 | 1 | 125 | 2013-06-30T23:00:07.757 | infrastructure | serverfault.com | |
367,029 | Icinga Hosts not showing up... upgrade from 1.4.1 to 1.6.1 | Anyone bump into a problem in 1.6.1 where hosts don't show up in the Classic Web GUI. The number of monitored hosts increases but the only actual host that shows up in host detail is "localhost". Tried reinstalling from scratch, copying localhost.cfg as a new file, included it in icinga.cfg, reloaded icinga, number of ... | The issue was with object.cache. This file was not being updated on an Icinga reload. I have to manually delete the file and reload Icinga for it to update with the new hosts. | 0 | 0 | 591 | 2012-03-06T22:51:12.473 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.