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 |
|---|---|---|---|---|---|---|---|---|---|---|
54,890 | database mirror problem with Network Service account | I have two SQL Server 2008 R2 instances installed on same Server and the engine log on as Network Service account which is set by installation. there is a database TestDB on both instances. I try to setup database mirror for this case and I failed with following error: The server network address "TCP://myserver.mycompa... | Use a local system account, or create a local or domain account. The [CODE] account has its limitations as that documentation explains. | 1 | 1 | 498 | 2013-12-12T11:39:46.140 | database_errors | dba.stackexchange.com | |
1,134,235 | Netdata: apps.plugin errors out because of permission denied | while configuring netdata on my debian 11 mailserver I get constant permission denied errors for the plugins. I have no idea why netdata is even using those and how to get rid of them. Do I need to change permissions for netdata in the /etc/passwd file? Jun 19 11:07:32 mail netdata[1934]: 2023-06-19 11:07:32: apps.plug... | Netdata is designed to run as a normal user, without special permissions. But certain plugins, like apps.plugin, need elevated permissions to do their job. It seems that in your case, apps.plugin does not have the right permissions. To fix its permissions issue, run: [CODE] If you have installed netdata in some other d... | 0 | 0 | 299 | 2023-06-19T09:50:13.563 | infrastructure | serverfault.com | |
194,126 | Wordpress: Problem installing on dedicated windows server 2008/IIS7 | I'm having trouble with installing Wordpress on a dedicated Microsoft Windows Web Server 2008 R2. I've installed Wordpress Version 2.9.2 from Web platform installer 3.0. After installation when I try to access wordpress, either from ~/index.php or ~/wp-admin/install.php I get the error: HTTP Error 500.0 - Internal Serv... | I solved the same issue setting the [CODE] option in the Advanced Settings of the application pool to [CODE] . | 6 | 11 | 8,992 | 2010-10-23T16:31:14.203 | pipeline_ops | serverfault.com | |
816,392 | Let's Encrypt automatically redirect to HTTPS not working | I have set up Let's Encrypt on my small Ubuntu server, and am using it on all non-IDN sites thereon. It has the option to automatically redirect HTTP sites to HTTPS. I selected that option. The Let's Encrypt daemon added three lines to each domain conf, and created a new domain-le-ssl.conf for each domain. Here's [CODE... | You only should redirect requests from HTTP to HTTPS, so you need to delete the rewrite config out of the *:443 virtual host config file. The port 80 virtualhost config should look like this: [CODE] Make sure you already enabled vhost config in Apache. In Debian or Ubuntu, you can use the command [CODE] . | 2 | 1 | 12,861 | 2016-11-22T17:53:20.213 | infrastructure | serverfault.com | |
28,795 | Getting SQLSTATE in psql error messages | I have the following problem. [CODE] Since Appendix A of the official documentation only states error_codes and conditional names but not the actual messages, one can only guess that "No function matches..." refers to [CODE] . I can set [CODE] in [CODE] - but that will affect the logs, not the messages returned to the ... | Based on a_horse_with_no_name's comment, I started searching around [CODE] and found the solution: [CODE] Now that goes into [CODE] . Details and further options can be found in the psql documentation . | 11 | 10 | 4,030 | 2012-11-16T13:18:50.387 | warehouse_errors | dba.stackexchange.com | |
34,441 | Forgotten laptop windows login - what are my options?s | I have a (elderly) colleague who has forgotten the password to his laptop - he generally signs in as Administrator, but can't remember the password, and has asked my help. He says the laptop contains some important data. What are my options? Thanks for any help. EDIT: I have just got hold of the machine and not all is ... | If you just want to get the data off, pull the hard disk drive out and plug it into another Windows machine. If you actually want to logon and use the machine again, reset the Administrator password (which doesn't require pulling out the hard drive, and may end up being easier). As long as he wasn't using encrypting fi... | 2 | 8 | 432 | 2009-07-01T13:05:36.710 | infrastructure | serverfault.com | |
49,577 | Window handling in java selenium | Successfully handled the child window in java selenium but the cursor is not moving forward to the password field. My code is below [CODE] | You may have to wait for the second window to come up before getting the window handles. To make sure, print the window handles and check | 1 | 0 | 210 | 2021-12-28T13:19:59.103 | database_errors | sqa.stackexchange.com | |
1,055,913 | Reverse proxy blog.example.com to example.com/blog using Apache | EDIT - Added Vhosts config for the target subdomain. I am trying to reverse proxy [CODE] to [CODE] . The current config I have right now redirects to the subdomain rather than render the data in the TLD itself. I am using apache2 on both the servers, using AWS's Lightsail instance for both. [CODE] Configuration for the... | Two things: ProxyPass rules are processed in the order they are listed in your configuration, the first match wins. In the order below a request for [CODE] is matched by the first ProxyPass directive and will never reach the second ProxyPass directive: [CODE] Switch the order around: [CODE] and [CODE] will match the fi... | 0 | 0 | 87 | 2021-03-04T12:44:43.087 | infrastructure | serverfault.com | |
107,641 | Blackberry 8130 doesn't remember contacts (BES) | I've got a user with an 8130 attached to our Blackberry Enterprise Server who had around 1500 contacts synced to his phone. Now it's only showing 8. I've disabled wireless sync on the phone and in Blackberry Manager, then re-enabled both - the user saw many contacts being added to the phone's address book. Then he let ... | Try deleting the Address Book service book on the device, clear the Address Book database, then push the Service Books from BES. | 1 | 1 | 287 | 2010-01-29T18:30:00.823 | api_errors | serverfault.com | |
406,966 | coldfusion 9 and IIS 7.5 windows authentication security pass through | We are using Windows 2008R2, IIS 7.5, Coldfusion 9 and our websites are virtually hosted. A number of websites use windows authentication protected folders to limit access. We are finding that html, images, asp are protected but the .cfm files are not. Employees, who are not in the permission group, click on a link, ar... | Maybe the permissions on the .cfm file (or containing directory) are less restrictive than the permissions on the /images subdirectory, and it is challenging the user for each image it is trying to load into the page, but not challenging for the markup file itself? | 1 | 1 | 541 | 2012-07-12T00:28:16.987 | api_errors | serverfault.com | |
225,544 | Infinite loop when putting rewrite into Directory context in Apache | I want to redirect www.example.com/foo to www.example.com/bar/index.php/foo So I have the rule (mod_rewrite) [CODE] This config caused a infinite loop, how to fix? Thanks. | Like Ency suggested, you'll want to make sure that you insure you're NOT trying to access [CODE] : [CODE] Hope this helps. | 1 | 2 | 1,119 | 2011-01-22T15:43:45.200 | infrastructure | serverfault.com | |
880,179 | Nagios3 "Return code of 127 is out of bounds" | Without making any changes to nagios3 config or OS (debian) filesystem changes when I add some extra devices (to the 12000+ on it already) suddenly [CODE] All the binaries are readable/executable none of that has changed since setup. It happens for ALL hosts of that type, bear in mind this is a setup that's worked for ... | What fixed it was although I had many other performance recommendations followed I hadn't disabled [CODE] Not a dent in performance now. Apparently the problem was the OS was struggling with making those environment vars available at that amount of hosts.. Found through here I like a good nagios facepalm. | 2 | 3 | 1,767 | 2017-10-25T10:07:26.310 | infrastructure | serverfault.com | |
2,539 | Explain the pros and cons of standard desktop OS | In my workplace (c. 750 desks) we have standardised on Windows XP for non-technical users. Technical users can use any OS they like as long as they support it themselves and they sort out the licensing. Quite a few tried Vista, but I think they're all back on XP now. We find that there are a bunch of advantages in stan... | The main pro for a "standard" desktop OS is maintainability. It is much easier to get to know just one OS and adjust to its strenths and weaknesses. However, how long are you planning to stay with that single OS? The market will move on and newer things will come out and there will be need to change. So, a single OS ca... | 2 | 1 | 758 | 2009-05-01T15:49:40.347 | infrastructure | serverfault.com | |
95,082 | What could be eating up my entire hard drive space ? (650GB) | I only have a database , which is around 40G. I did have some problems with replication earlier....could it be some sort of log/files that are eating it up? How do I check why the space is taken up? I'm using Ubuntu, the latest version. I don't have a GUI. everything is command line. The only thing that is running is m... | Yes, your binlogs take up a lot of space - especially right after setting up replication. You can configure how long these are kept around in /etc/mysql/my.cnf, using expire_log_days Note that if there is a problem with your binlog index file, this setting will appear to not work. I believe you can just manually ensure... | 0 | 1 | 6,408 | 2009-12-16T20:31:12.137 | database_errors | serverfault.com | |
314,244 | Design patterns for ERP software with clients and web service | I'll will make ERP software for managing data for business activities. The solution must have two big parts: a WPF application for all the clients and an ASP MVC Web API application for all the client. The API application manage all the public data that is equal for all the clients and store it into a SQL server databa... | Create a Repository Layer contains and manage all your repositories and business logic, create unit of work class to act as single point to manage your repositories. Create Data Access Layer that will contains your database Layer (EF code first). Create contracts Layer will contains all interfaces of your repositories ... | 0 | 1 | 2,181 | 2016-03-30T10:22:43.977 | database_errors | softwareengineering.stackexchange.com | |
143,811 | The merge process could not connect to the Publisher 'Server:Reports'. Check to ensure that the server is running | Sql version:Microsoft SQL Server 2008 R2 Replication type: Merge Getting Below error in 'View Synchronization Status' window. The merge process could not connect to the Publisher 'Server:Reports'. Check to ensure that the server is running. Though Replication is working Fine as i can see records are replicating success... | I observed few orphan jobs under SQLserver agent(which i created in past for testing), in sql server agent logs there were number of error for these jobs. I cleaned up all unnecessary orphan jobs and restarted agent and after that ERROR 'The merge process could not connect 'resolved. | -1 | 0 | 1,068 | 2016-07-14T02:27:27.087 | database_errors | dba.stackexchange.com | |
6,275 | How do you submit a List of items to a Stored Procedure to limit results? | Possible Duplicate: Passing array parameters to a stored procedure Lets say you want to filter results by a List of uniqueidentifiers such that your SQL statement would read: [CODE] Is this possible? Edit: To clarify and answer Nick's question, I'd like to pass in a List of values from C# to SQL Server and be able to d... | If you are using SQL 2008 or higher you can use a table valued parameter which would allow you to pass in what is basically an array from the .NET side then use the table variable as an in clause an Nick has said. If you aren't using SQL 2008 or higher then you'll want to pass in the values as an XML document, then use... | 8 | 8 | 13,837 | 2011-09-28T17:39:09.550 | database_errors | dba.stackexchange.com | |
400,344 | IIS FTP Server on Windows 2008 R2 Standard - Can only logon using administrator user/pass? | I've setup a FTP server in IIS 7.5 on Windows Server 2008 R2 Standard and enabled [CODE] . I have a basic user ("Ropstah") on the server which is in the [CODE] and [CODE] groups. I've allowed the [CODE] group read/write access on the FTP folder. Now when I connect to the server using "Ropstah" I get the following error... | I have a basic user ("Ropstah") on the server which is in the Users and Some Custom groups. I've allowed the Some Custom group read/write access on the FTP folder. Where have you configured this? Setting it in the IIS FTP settings is only one step. You also need to give that group appropriate permissions on the NTFS AC... | 1 | 2 | 1,239 | 2012-06-19T22:46:58.503 | infrastructure | serverfault.com | |
315,579 | How to configure mysql group replication with different ports? | I have a k8s cluster and each [CODE] instance is well connected together! But I have another [CODE] server outside the cluster! Each [CODE] inside the cluster has a default [CODE] port, which is [CODE] and an external port; which is something random! So when I start [CODE] group replication with the instances that are ... | Linux has a pretty neat utility called [CODE] that accept connections on the configured port and then redirect it to the another port inside the infrastructure. You have to run a script that should: query some cluster member for its external port number $RANDOM start [CODE] be configured as service with autorestart and... | 0 | 0 | 83 | 2022-08-13T14:31:41.567 | database_errors | dba.stackexchange.com | |
720,365 | Can I use a proxy to secure elasticsearch? | I have deployed an open source public web service (elasticsearch) on Ubuntu. Problem is - no security at all (only if you pay). I've researched a bit about blocking ports only to internal requests while allowing external access only through authentication proxy. The simplest way was nginx with basic authentication. But... | The official security plugin for it is https://www.elastic.co/products/shield . It offers encryption as well as password authentication, and best practice usually dictates that in a professional environment you buy that from them. However, lots of people use proxies to authenticate access, and this is fine too as long ... | 2 | 0 | 936 | 2015-09-05T22:35:08.613 | api_errors | serverfault.com | |
8,072 | Oracle Enterprise Manager read-only access for non-administrative users | Can access to OEM be restricted to the point where you can allow a non-admin user access to it but they can't modify any objects but can still view performance data, alerts, sessions, etc? I am a former DBA now developer and I don't have an environment where I can go verify this myself. | You allow a non-admin user access to the Performance area of OEM by granting them the [CODE] role. However, be aware that this role does have a few additional priviliges that you may not want to provide. In that case I would create a similar role to [CODE] but with a reduced set of privileges. | 5 | 1 | 8,856 | 2011-11-17T21:27:07.183 | database_errors | dba.stackexchange.com | |
894,836 | Powershell string matching a specific value from a file (ignore others) | I'm trying to write a Powershell script to get the status from a HP RAID controller (using [CODE] and piping it into a file. I just need to check whether [CODE] appears in the output. The problem is there are multiple strings that contain [CODE] output.txt [CODE] I was trying to run the command [CODE] but I receive 3 m... | You could match based on that string containing only spaces before your output using [CODE] or match exactly 9 spaces before the word Status. [CODE] | 0 | 0 | 859 | 2018-01-30T17:49:11.220 | infrastructure | serverfault.com | |
924,843 | Apache 2.2 reading from NFS returns 404 for about one minute even if the file exists | I have a CentOS release 6.6 (Final) distro on which is running a Varnish instance (port 80) and Apache 2.2 (port 81). Apache reads file from a NFS. The issue I am facing (not always but most of the time) is the following: if a create a new file on the NFS and I try wget that file directly on port 81 (bypassing Varnish)... | NFS caches by default for performance reasons. If you don't want to wait a minute, you can mount the share without directory caches: [CODE] NFS - Detecting remotely created files programmatically? | 0 | 0 | 348 | 2018-08-03T15:22:26.713 | infrastructure | serverfault.com | |
305,985 | How can I create a client for a service without hiding the parameters needed for each endpoint? | I'm creating a client to a third-party soap web service in my application. Here is the way I'm thinking of doing it: Create a [CODE] that makes a client based on the [CODE] file, and sets needed options on it, then returns it. Have several [CODE] objects, preferably implementing the [CODE] interface, that take the [COD... | I would consider moving the params to the __construct() so each request will do only one thing. I would also consider decoule the params out using valueobject. Something like this: [CODE] | 1 | 1 | 92 | 2015-12-28T09:21:33.167 | api_errors | softwareengineering.stackexchange.com | |
134,421 | Understanding Loose / Tight Coupling in the "Real World" | I wont say what "community" because I want a non-biased explanation, but let's say you're building a reusable module and that module requires 3+ dependent modules and removing 1 of them causes a breaking error not only in your app as a whole which uses this module, but the module itself. From my understanding (which mu... | Not quite --- removing the module could well break the system. The idea behind loosely coupled systems is that swapping in a completely different module will work just fine so long as the new module conforms to the same interface requirements as the old one. If it were tightly coupled, the surrounding code would make p... | 9 | 21 | 4,561 | 2012-02-08T22:00:48.373 | api_errors | softwareengineering.stackexchange.com | |
838,007 | What are my options for moving my LetsEncrypt certificate from one server to another? | I have an ubuntu server running through Digital Ocean that has an SSH certificate that I got through LetsEncrypt. I'm trying to switch to a cheaper service, and I need to move the cert to my new server. How can I do this? It looks like I can revoke the certificate on my current DO server. Can I then make a new one on m... | Some of this has already been said, but just to give one complete answer. I have started to use some LE certs on public services. Options for moving are almost unrestricted, more dependent on what project you are using to request the certs. Once you get the cert, you can export the key and cert to a file for moving to ... | 5 | 2 | 10,132 | 2017-03-13T16:13:28.967 | infrastructure | serverfault.com | |
384,064 | Bootstrap Linux Server for URL Redirection | I am setting up a nginx/php-fpm only server that will just redirect requests in a very simple way. I am planing to do this like this: the request should be as simples as for example http://server-url.com?redirection-url.com , save the url in log file, log with a real time analytics (piwik.org) and at end proceed with t... | Like pQd mentions, the distribution of the visits will matter more than the total amount. If you expect a Slashdot Effect you'll need to plan for the moment of peak requests. However if the distribution will be more spread out over the day, the numbers you mention should be no problem for something as simple as providi... | 0 | 2 | 551 | 2012-04-28T11:25:22.883 | infrastructure | serverfault.com | |
854,143 | IAM user is not authorized to perform: application-autoscaling:DescribeScalableTargets | I am trying to add autoscaling to a cluster. However I encountered the following error: I have already added the IAM user to these new security groups: and Altogether this user has the following permissions: [CODE] What did I miss? EDIT: I have added AutoScalingFullAccess and ApplicationAutoScalingForAmazonAppStreamAcc... | I need to add the following custom policy to one of my permission groups [CODE] Source: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html#auto-scaling-IAM | 1 | 4 | 10,282 | 2017-06-06T05:21:59.430 | infrastructure | serverfault.com | |
570,710 | stop postfix relay from internal network | I'm using Postfix 2.7.1 (can't change to a newer version for the moment) and it's running fine, with the exception that is allowing to relay mail from the internal network even if the specified sender is not from the domain served by Postfix. In other words, if my domain is mydomain.com, any computer on my local networ... | If you are having issues with people sending with "unofficial" or bogus accounts, the smtpd_sender_login_maps option is what you need. It will take the SASL login name, and check the file/DB/regex to see if the From: name is valid, and either relay, or deny. You will have to create the mappings, but that's the only wor... | 1 | 1 | 859 | 2014-01-29T12:39:05.090 | infrastructure | serverfault.com | |
1,056,021 | Automatic ELB forwarding rules based on path | I have an ec2 container serving inference for ML models, which need to be cached in memory to avoid cold starts. We are using an LRU cache and selecting the model based on a query parameter. As the container scales up, our naive ELB is doing RR to forward traffic, so the same models end up loaded in each server's cache... | You can have separate Target Groups for different models. Ie one model per instance / container and different URL paths to use them. Or am I missing something? | 0 | 0 | 47 | 2021-03-05T09:10:13.300 | pipeline_ops | serverfault.com | |
371,344 | How to compile PHP with ldap support in PHP in a Mac ports Environment? | I had originally installed the LAMP stack using Mac Ports. Another project requires me to enable LDAP support. How do I get about installing it using Mac Ports? My PHP info file has no mention of LDAP. Since I do not have LDAP, I am getting error in my PHP script like: [CODE] | [CODE] . | 0 | 4 | 1,127 | 2012-03-19T23:06:18.883 | infrastructure | serverfault.com | |
419,930 | Undefined symbol: apr_memcache_add_server | I installed [CODE] through yum and after restarting [CODE] got this: [CODE] This is a legacy Linux system I got in - Fedora 9, pretty old. Any ideas on how to fix this? | The module that's complaining is mod_dav_svn, which is used to access Subversion repositories. If you're not going to use your webserver to do that, just comment out the line where mod_dav_svn is loaded. If you do want to use it, try installing a newer version of mod_dav_svn. | 0 | 1 | 482 | 2012-08-22T06:56:23.493 | infrastructure | serverfault.com | |
73,332 | Oracle 10g install on Linux Red Hat 4.0 | New to linux redhat and oracle 10g. Having problems creating an Oracle software user. Input as /root /user/sbin/useradd -g oinstall -G dba[,oper] oracle Output useradd: unknown group dba[ useradd: unknown group oper] cat /etc/group showed the above groups were created. Need help!!! | /user/sbin/useradd -g oinstall -G dba[,oper] oracle [] means optional input use /user/sbin/useradd -g oinstall -G dba oracle This is a very good link with instrunctions: http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnRedHatAS4.php | 0 | 3 | 455 | 2009-10-11T03:12:16.163 | database_errors | serverfault.com | |
733,928 | Windows Server 2012 R2, cannot install any role or features using GUI Server manager | Exiting environment : Windows Server 2008 R2. I am in the process of migrating to Windows Server 2012 R2. I installed Windows Server 2012 R2 on HP DL380p G8 server. I am able to install role or feature using PowerShell but not via GUI ServerManager. Now, when I go to add a any role or features using GUI ServerManager I... | This sounds like an issue with the OS installation. If possible, I would run a sfc /scannow on the server and see if that corrects it. If not, toss the OS CD in there and run a repair from that. | 6 | 1 | 32,894 | 2015-11-04T18:10:29.193 | database_errors | serverfault.com | |
273,373 | SQL alwayson AG Disaster Recovery | Need advise on below: I have 2 node alwayson AG on Primary Sync mode in the current configuration and fsw is in Primary DC only Actually during Switchover the entire DC 2 node and fsw will be down Which DR configuration should I opt in this situation for little manual steps and DR can come up without much issues: 2 Nod... | DR solutions are not built around existing infrastructure, they are built around business requirements. Define your business need for DR and build a system that supports that need. P.S. You need to build a new system anyway. SQL 2012 is out of mainstream support and has less then 24 months before end of extended suppor... | -1 | 0 | 40 | 2020-08-07T02:58:27.527 | warehouse_errors | dba.stackexchange.com | |
179,334 | identical load balanced VM's on same host | Howdy cowboys and cowgirls, If I have a VM (either KVM or ESXi) serving static content on Apache and a video streaming webapp on Tomcat, is there a logic in running multiple instances on the same VM on the same piece of kit and load balancing them? To me it seems conceptually pointless as when taking the same incoming ... | The only reason to do this would be if (a) you get operational benefits around patching and the like, or (b) you can find some sort of inability of your hypervisor to map vCPUs to real CPUs in a linear fashion (i.e. 2 x 4 vCPU guests get better throughput than 1 x 8 vCPU guest). You'd only every prove that through stre... | 0 | 0 | 857 | 2010-09-08T21:42:51.263 | pipeline_ops | serverfault.com | |
154,936 | Get maximum, minimum values across columns | I want to get the minimum and maximum across multiple columns in a row. I found various working queries using CROSS APPLY, UPIVOT and VALUES, e.g. like this one: [CODE] These all are working in SQL Server 2005 or above, but I need a solution for SQL Server 2000 (database compatibility level 80). How can I do that? DDL:... | It's not going to be pretty (and I have no 2000 installation to test) but this should work. The [CODE] is the [CODE] of the table (or a column with [CODE] constraints): [CODE] Alternative is to use correlated subqueries in the [CODE] list: [CODE] Tested in rextester.com | 4 | 5 | 1,472 | 2016-11-11T09:51:13.590 | database_errors | dba.stackexchange.com | |
75,833 | Best way for printing (semi-)unique coupon codes | this is not strictly a server admin problem, but one I (as an admin) am tasked to resolve. Marketing wants to send out coupons with our packages. The code I thought up was something along the line: HITS-#MERCHANT#-#COUPONITERATION# So we can track which merchant sends out how many coupons (or at least how many are rede... | This is a whole industry, called "variable data printing". yeah, sounds trivial but there are lots of difficult cases. (After all, if you say that a DB just "stores records" it sounds trivial too). There's a specific markup language for this, called PPML . Being XML-based, you can use XLST to turn your template + DB in... | 2 | 1 | 1,035 | 2009-10-19T09:43:58.383 | infrastructure | serverfault.com | |
36,343 | Can't able to run TestNG its show an error below I mentioned | [CODE] | If you read the stacktrace you have provided you will see that [CODE] So set up path to your webdriver in the code that is executed in your testng configuration to fix the issue. | 0 | 1 | 2,248 | 2018-11-09T11:59:00.710 | data_quality | sqa.stackexchange.com | |
124,868 | Network wide rule to forwared IP address | we have a virtual machine which hosts a web based bug tracker in our network which is reached internally via e.g. 192.168.1.5:9800. From the outside we made a port forwarding in our firewall so that the web site can be reached via e.g. 72.10.10.10:9800. Now that works fine but the problem is that we got different IP ad... | On most of your higher end Routers you can specify Forward Wan traffic on this port to this IP address or Forward all traffic on this port to this IP address What make and model Router are you using?, check to see if it has the ability to set the All traffic option, if it does, tell everyone to stop using the internal ... | 2 | 1 | 135 | 2010-03-22T09:42:25.067 | infrastructure | serverfault.com | |
281,979 | MySQL multiple index columns have a full cardinality? | I have noticed indexes like: [CODE] I guess since column 3-6 have a full cardinality this index is not goodly constructed, that it shall be deleted and the new indexes should be built (queries should be analyzed to see if it's (city_id, item_id) or maybe (city_id, item_id, votedate) or some other combination starting w... | As @Johnakahot2use mentioned, indexes on fields with really low uniqueness (low cardinality) is not a bad thing. It's just fields with high uniqueness are generally more efficient when indexed and stored in a B-Tree. That being said, you don't normally write queries around the cardinality of the fields in your table (u... | 2 | 3 | 638 | 2020-12-22T11:16:04.527 | database_errors | dba.stackexchange.com | |
249,944 | Select with a preffered where condition, but if missing use another | I have the following select in SAP HANA DB: [CODE] It will select multiple lines for a given name if translations exist for different languages. How do I say that I want texts with language = 'S', but if it doesn't exist, then select ones with lang = 'E'. I want it in a single request to the DB and no processing on app... | One way of accomplishing this might be a self-join (assuming [CODE] uniquely identifies rows): [CODE] | 0 | 0 | 36 | 2019-09-30T16:20:02.583 | warehouse_errors | dba.stackexchange.com | |
65,460 | Nothing happens when using "Edit in Microsoft Excel" button in Sharepoint | The user is trying to edit a sharepoint document. It works on every other computer, just not on this particular one. All computers are running IE and Office. I'm used to seeing the "This document is locked out to.." error, but in this case nothing at all happens. | There is probably a problem with the ActiveX control provided by the Office client products that give this additional functionality. Try the following: If you have pre-Office 2007 products installed on the machine, run Setup and remove the Windows SharePoint Services Support component. For each Office 2007 product, run... | 1 | 0 | 4,343 | 2009-09-15T09:18:32.383 | infrastructure | serverfault.com | |
18,853 | How to measure client side page load time? | I need to measure response time for a website. Response time to open a page of a web site: I mean the loading time, some way to see the difference in time before and after open a website page. But this way, measuring the client loading time, will depend on the client used client. What is the best way to measure that? [... | Selenium is the wrong tool for measuring page load times. Selenium can't actually block until the page finishes loading, so it has to poll the browser. Your load time precision is constrained by the poll interval. The most accurate tools for measuring page load times are browser extensions like YSlow , Firebug , and th... | 3 | 1 | 14,546 | 2016-05-26T11:51:36.007 | data_quality | sqa.stackexchange.com | |
677,390 | Smart Array E200i battery on ML350 G5 did not fix the warning message (battery failure) | I have got this warning message on the System Management in a Proliant server ML350 G5. [CODE] I order a new battery HP part number: 307132-001 (used battery but in good state). I replaced the battery according the instruction but after turn on the server the warning message is still in the System Management. I have re... | I think you purchased a bad battery. But please see: Smart Array P400 - Accelerator Replacement Battery Failure You could try a full power off of the system (removing power cables) and try again. But you've most likely acquired a bad battery. | 1 | 1 | 2,354 | 2015-03-22T15:03:29.580 | infrastructure | serverfault.com | |
302,315 | Operation level authorization in PostgreSQL | I'm developing an analytics application that provides multiple levels of visualization of a data warehouse in a Postgres DB. One of its requirements is that different users should have different levels of access to the data. For example, some users should only extract metrics ( [CODE] , [CODE] , [CODE] ) from a particu... | You can do this with views. The columns of the view must be given names, they can't be specified in the functional form. [CODE] Now as user2: [CODE] | 0 | 2 | 41 | 2021-11-08T16:45:37.317 | bi_errors | dba.stackexchange.com | |
608,109 | Show a 503 error page if server unavailable | I've searched through google, stackoverflow and serverfault but I'm not quite sure how to phrase what I'm looking for, sorry if this is a duplicate (it probably is)! What I would like to know is if its possible to do the following: I currently have access to two different servers (droplets) with Digital Ocean under two... | You can't do it without an additional device. You need to have something upstream which is fielding the requests and passing them on to the relevant servers. When it detects that something has gone away then it returns the 503. | 0 | 4 | 2,067 | 2014-06-26T12:29:18.347 | data_quality | serverfault.com | |
150,490 | SPN clarifications | We are getting below message: ‘SQL Server cannot authenticate using Kerberos because the Service Principal Name (SPN) is missing, misplaced, or duplicated.’ I found an article on how to get it fixed . But I still have the following questions: Currently our auth scheme is NTLM. How is NTLM different from Kerberos? What ... | NTLM is a challenge/response type system, and while it has a resonable level of security it is potentially vunerable to attack and credential theft. In fact NTLM V1 is a known attack vector, considered insecure and should be disabled on your systems. NTLM V2 is more secure, and the current standard. Kerberos handles mu... | 2 | 3 | 203 | 2016-09-23T11:02:18.717 | database_errors | dba.stackexchange.com | |
351 | Which ways are there to decouple deployment from release? | One method of continuous deployment is to decouple deployment from release, i.e. deploy updates without activating the changes immediately. I know that feature-toggles can be used for this, but I'm wondering if there are other techniques for "non-features". For example, would you build a feature toggle for a bugfix? Pr... | For software in the web app category, depending on you infra/hosting provider such decoupling might be possible to switch incoming traffic across (or split it between) different deployed versions of the sw, practically covering any of the changes you mention: bugfixes, visuals, etc. Such support would typically not req... | 13 | 7 | 451 | 2017-03-05T21:45:03.183 | pipeline_ops | devops.stackexchange.com | |
24,857 | Listener refused the connection with following error: ORA-12505, TNS: listener does not currently know of SID given in connect descriptor | I am a newbie to oracle database. I am trying to make a connection but I receive the following error: [CODE] I have done my research online and after executing the lsnrctl status and lsnrctl service I get the following. Does anyone what I need to do? All kind of help is highly appreciated. Thanks. [CODE] | How are you trying to make a connection? If it is SQLplus here's what happens: [CODE] The entry "database" is looked up in the tnsnames.ora file. Here is how this may look: [CODE] This says that database "database" runs on server "server" with SID "databas". A connection is made with the listener on server "server" on ... | 2 | 2 | 80,635 | 2012-09-25T03:51:07.390 | database_errors | dba.stackexchange.com | |
190,152 | In which order should I do comparisons? | I'm a strong proponent of writing if statements like this: [CODE] Because to me it just makes sense, it is more readable than the inverted: [CODE] Which seems to be used a lot by C-programmers. And I see the use, namely that the interpreter or compiler will throw an error and let you know if you're not doing a comparis... | The second method you list (constant == variable) is done to be safe, and to make the intent clear. That way, if you see: [CODE] In the code, you know it was intentional and not a typo. That said, I've never seen: [CODE] In any textbook or advocated in any style guide. There are static analysis tools that can detect as... | 4 | 6 | 1,240 | 2013-03-11T16:13:10.943 | api_errors | softwareengineering.stackexchange.com | |
386,733 | Fiber vs. 2 separate business-class cable | We're completing renovation of our new office and need to make a decision on internet access. Our office will contain ~20 employees at the start and we may grow to ~40 in a few years. We have VOIP office phones for all employees, but it'd be highly unlikely that everyone would ever use the phone at the same time. Our s... | I like the idea of connection and provider diversity. Can you do cable and fiber? Or perhaps another medium like fixed-wireless broadband ? Couple that with a multi-wan link balancer (like an Elfiq or Barracuda ), and you'll have very good protection for physical location issues, as well as upstream ISP problems. | 4 | 5 | 247 | 2012-05-07T15:48:55.753 | api_errors | serverfault.com | |
358,931 | Breadth-first traversal with some edges preferred | Let we have a (finite or infinite) directed graph and a start vertex. For each vertex we have the set of edges from this vertex totally ordered to specify the traversal order. Let we also have a set P of "preferred" edges. I want to traverse this graph. This could be accomplished as either depth-first or breadth-first ... | A priority queue here would likely serve you best. A priority queue is nothing more than a queue that orders based on a criteria. Algorithm You start by adding the start node to the list associated with level 0. The algorithm is as follows: [CODE] Depth first The key here is specifying the criteria for your order. Dept... | 0 | 1 | 250 | 2017-10-10T21:04:12.447 | api_errors | softwareengineering.stackexchange.com | |
251,188 | How to join sparse events for individual users on a "filled in" date ranges in Redshift? | Let's say I have a table that has a record of every change a customer has made to their subscription for an internet service: [CODE] I'd like to perform an analysis on this data so that I can see the count of plans for every day, from 10-01-19 through 10-20-19. To perform this analysis (among other things) I'd like to ... | Non-optimized solution: [CODE] fiddle | 0 | 0 | 53 | 2019-10-16T01:37:32.173 | warehouse_errors | dba.stackexchange.com | |
33,389 | How can this CNN for the portfolio management problem be implemented in keras? | In the paper " A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem " the CNN in the picture below is applied on the portfolio management problem. I am trying to understand how this network works and can be implemented in keras. What I don't understand is, why do we have 20+1 feature m... | You can concatenate your tensors in Keras. I have written the model below [CODE] I am not sure about the loss function, I have not read the paper in detail. But this model describes what they have in the paper. | 0 | 0 | 197 | 2018-06-19T17:09:56.500 | data_quality | datascience.stackexchange.com | |
45,521 | Where to store versioned/historized records? | In our application we are using versioning records using triggers. The application is supposed to handle millions of records in the future and the history/versioning tables are there to ensure that there is an audit trail for various transactions. Currently everything is stored into one database. My concern is that the... | We use Change Data Capture . SQL Server essentially creates journal tables and then automatically reads from the transaction log and fills in the journal tables with information about DML operations on the original table. To save space, we compress the journal tables. This means your journal tables are stored in the sa... | 2 | 2 | 1,285 | 2013-07-01T14:43:40.147 | hadoop_errors | dba.stackexchange.com | |
68,777 | What is an ATQ thread and how can IIS 6 run out of them? | while troubleshooting an issue today with our web sites the Microsoft engineer noticed that we had run out of available ATQ threads. I am not sure what an ATQ thread is or how it plays into how IIS handles responses. Can someone point me in the right direction to learn more. | ATQ = Asynchronous Thread Queue. At a high level, it's the main thread pool for IIS. Here's a good blurb from this Windows IT Pro article which is a nice talk on IIS threading. IIS, ASP, and Threading IIS uses a pool of threads (i.e., instances of code execution) to handle incoming requests and work on those requests. ... | 0 | 0 | 1,294 | 2009-09-25T18:00:44.277 | infrastructure | serverfault.com | |
324,273 | Row level security with multiple rules | I need some assistance with designing a system which implements row-level security that could have multiple conditions that need to be satisfied. Context Suppose I have a user. A user can belong to 1...n organizations, 1...n departments, and 1...n positions. Maybe related/useful: These tables follow a hierarchical flow... | I think you're going down the right path. I'm not sure I'd use nullable/optional fields though. In my mind, NULL means "unknown", not "ANY". Using your example data you could create a table [CODE] For any given user, the test would be [CODE] If that count is greater than zero, the user has access. Note that we don't ne... | 0 | 0 | 634 | 2016-07-07T14:46:49.387 | api_errors | softwareengineering.stackexchange.com | |
999,626 | renaming a .local domain to .com for every relayed message | Situation: about 10 virtual machines (linux) that run postfix to send e-mails for several users. Those e-mails are all relayed through a central server which then sends them to the internet. The virtual machines have names like: redmine.vanheusden.local or scm.vanheusden.local and so on. I would like the central postfi... | Unfortunately it's not possible to use masquerade_domains for this use case. With masquerade_domains it's possible to strip the domain names of your e-mail addresses. Example: [CODE] Source: http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade Instead you should use generic mapping. This will allow you to co... | 0 | 2 | 1,160 | 2020-01-20T09:57:15.117 | infrastructure | serverfault.com | |
378,513 | Remote-MTA: dns; [192.168.92.98] private ip elimination | I have Postfix installed, Whenever my email bounces back in the header information it is showing private ip (internal infrastructure), which i wanted to eliminate Reporting-MTA: dns; xxxxx.xxxxxx.com Final-Recipient: rfc822;ajkdafjhkfsd@xxxxxx.com Action: failed Status: 5.0.0 (permanent failure) Remote-MTA: dns; [192.1... | Removing header information outside the guidelines in the RFC is not advisable; it seems you are bouncing this message inside your local network, after already accepting it at the edge. You should NEVER accept mail you cannot deliver; instead, reject unknown recipients on the MX host. | 0 | 1 | 2,531 | 2012-04-11T14:53:40.040 | infrastructure | serverfault.com | |
15,374 | k means clustering for large dataset | I have a dataset of latitude and longitude coordinates with 140000 values in each and when I apply k means clustering using r I am getting this error: [CODE] However, the dataset doesn't contain any missing values I don't think. How should I solve this issue and get clusters out of these locations? Is there any other a... | First of all, "the dataset doesn't have any missing values I don't think" If you are not sure that the data is clean, you should probably check it first. You should check for both columns of your input data frame that there are no NAs and all values are numerical. Then check the datatype within R and the datatypes acce... | -2 | 0 | 572 | 2016-11-27T04:45:02.170 | data_quality | datascience.stackexchange.com | |
369,336 | Measuring I/O Performance Paradox | I'm trying to figure out the correct way to get the 'real world' write performance of my NFS cluster. The NFS export is mount on a XEN hypervisor, and I'm running 'dd' from within a VM. What I can't decide is should I use [CODE] or not. If I won't use it, the kernel will do page caching to RAM, and I'll will end up mea... | First of all, I'd use an actual I/O benchmark utility such as 'iozone'. It'll test a variety of things and will even use O_DIRECT if flagged to do so. And even, as I recall, has some NFS-specific flags. One thing I've found to be very reliable is to use a file-size that exceeds the RAM size for the device you're testin... | 3 | 3 | 172 | 2012-03-13T20:03:38.573 | infrastructure | serverfault.com | |
74,000 | How to Find the Average of the Input Vectors | I want to find the average of input vectors . I tried to use tf.math.reduce_mean, but it went error. If I have to use keras.layers.Average, I have to make a list of the hidden states. Does anyone know how to solve this? Using tf.math.reduce_mean [CODE] Error: [CODE] Using Average layer [CODE] Error: [CODE] | Does this work for you? After the Bi-Directional LSTM layer, I sum the tensor over the batch axis and then divide by the batch size. [CODE] | 0 | 0 | 49 | 2020-05-11T22:51:50.663 | data_quality | datascience.stackexchange.com | |
799,930 | Lookup ip geolocation via command line | I've been trying to piece together a quick and dirty script to return the geolocation of a bunch of IP addresses. I'm using freegeoip.net and couldn't find a quick wget equivalent for cmd line so using a powershell script for that, calling it from my batchfile (or at least, trying, and I think that's where I'm failing)... | Put the whole script in the script. No need to wrap PowerShell in a batch file in this case. Actually, you lose a lot in doing so, since PowerShell is object oriented. [CODE] | 2 | 1 | 3,327 | 2016-08-30T08:45:19.090 | infrastructure | serverfault.com | |
181,279 | Testing UI for azure web app on iPad | I am working on debugging my mobile application. There is a specific requirement/issue that I am having related to a drag and drop touch interface on an iPad. I am at the trial and error phase of trying to figure out how to fix this (meaning I have no idea how to fix the issue I'm seeing). The only way I have been able... | I'm not familiar specifically with the azure compute emulator, however setting up a reverse proxy should be fairly straightforward. I would suggest using nginx, you're config file should be this: [CODE] *the proxy_pass should go to whatever port the emulator is running on Ubuntu Install: sudo apt-get install nginx Wind... | 1 | 1 | 305 | 2013-01-02T19:33:18.563 | api_errors | softwareengineering.stackexchange.com | |
216,387 | WCF Service in Windows Services | I create WCF service library and i test that working fine on WCF Test client(default). when i host the WCF service in winodws service that time i got the error. I am using windows XP sp3, .Net 3.5 and Visual Studio 2008. i got error. Error opening host : HTTP could not register URL " http://+:8731/WCFServerDLL/Service1... | Yeah. READ. What you did, what the error message says. Realized that 8731 is NOT equal to 8000. See, the error is thatt you dont ahve access rights on port 8731- " http://+:8731/WCFServerDLL/Service1/ ". Then you blindly go and assign rights on port 8000 - "httpcfg.exe set urlacl /u http://localhost:8000/WCFServerDLL/S... | 0 | 0 | 726 | 2010-12-27T13:04:07.390 | infrastructure | serverfault.com | |
383,700 | windows server 2008: How to identify who is logged on to the server | My windows server 2008 allows only one user to login at a given time. When another user tries to remote login into the same server, the previously active user's session gets disconnected. This is creating few problems for us. Can anyone tell me a way to find whether a user has already logged into the server/ to find cu... | You could use psexec from Sysinternals to remotely run the command "quser". This will list all logged in users, along with whether they're at the console or on RDP. That said, I don't think it should automatically take other sessions and I'm pretty certain you can have up to 2 as standard. | 1 | 3 | 8,971 | 2012-04-27T07:12:19.903 | infrastructure | serverfault.com | |
1,772 | Windows 2003 ODBC Issues - Error 10055 | Using data integrator for ETL's pulling data from DB2 to SQL Server, after some time, will get these odbc errors: Communication link failure. comm rc=10055 - CWBCO1003 - Sockets error, function returned 10055 Can't do anything with ODBC after that, have to reboot the box, and currently we just reboot the box every nigh... | Certainly a low-memory condition, possibly caused by the extremely common mistake of not closing DB connections. My recommendations are: Examine the amount of non-paged pool memory available as the process runs. Odds are it will steadily decrease until the machine fails. This is an indicator that sockets aren't being c... | 4 | 2 | 4,063 | 2009-04-30T21:56:05.217 | database_errors | serverfault.com | |
310,402 | What is a single-table relational database | I searched Google for the definition of a single-table relational database and found nothing but redirection to other database models. What's up? Why is this concept confusing? Every relational database is also a single-table relational database. The key difference between a standard RDBMS presentation and its single-t... | It is not desirable from a performance or concurrency point of view to make an operation which should logically impact only one table impact every table in the database. For example, consider adding a new column with a default value to a traditional table with one billion rows. With SQL Server, this is usually a very f... | -1 | 2 | 386 | 2022-03-31T17:14:26.943 | database_errors | dba.stackexchange.com | |
235,625 | Can windows 7 qualify for a windows XP volume license upgrade? | Possible Duplicate: Can you help me with my software licensing question? We've got volume license for xp professional upgrade. My predecessor thought that was enough to be compliant. We can't buy xp anymore, but can 7 serve as basis for the volume license? Another question: Do we, for compliance, have to physically ins... | I'd love to give you a 'black and white' answer for this but it depends very much on your region, country and existing licencing arrangement you may already have - there's really no 'one size fits' all answer I'm sorry - you're going to have to speak to MS directly :( | 2 | 1 | 85 | 2011-02-15T09:45:13.137 | data_quality | serverfault.com | |
132,887 | MAX and MIN for each car model | I have a problem with a query. I have a db with car and their spec, every model has a different car related to that model with its price. I want to create a query that gives me the min and max price for each models. something like this: [CODE] the query give me this: [CODE] Can you help me? | You can simple use [CODE] : [CODE] | 2 | 6 | 69 | 2016-03-21T17:35:24.330 | warehouse_errors | dba.stackexchange.com | |
412,488 | Database dictionary table versus code defined enum | For the following table structure, for the metric_id column, what are the advantages of having a JOIN dictionary table versus an ENUM dictionary defined in the code? Assuming the metrics dictionary is very rarely modified, the total number of metrics is around 300. [CODE] Assuming object metrics contains roughly 1M row... | For small projects, having a JOIN table on identifiers has rarely any advantage over simply listing the identifiers in the programming language itself. This changes when you move to bigger systems and enterprise. The primary data store of your enum values is suddenly not your database, but instead a system responsible ... | 0 | 1 | 552 | 2020-07-08T12:34:12.993 | api_errors | softwareengineering.stackexchange.com | |
291,352 | Stored procedure to change string to datetime in MySQL | This is a follow up to this question . Turns out the driver that I am using (can't change it) is not compatible with timestamp values. Lets say it is set in stone that I have to load the data into my MySQL 8.0 database as a string type. There is no native function within the software I am using to read in the PLC and w... | Based on the fiddle you may apply [CODE] https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=104e72ae4730b2c8c30f84f61bf392d7 The column [CODE] may be defined as STORED (occupies disk space, fast access) or VIRTUAL (calculated each time its value is retrieved, does not occupy disk space). Alternatively you may use BEFORE INSER... | 0 | 1 | 1,085 | 2021-05-11T08:38:20.420 | database_errors | dba.stackexchange.com | |
699,397 | NetApp cluster fail to start | I have a big problem with my FAS2020 (configured as iScsi storage for 2 esxi 4 server). I couldn't ping the 2 ip address of the FAS so I connect by the serial port with putty for monitoring the boot flow. I got a lot of error as shown on attached image. I try to run "autoboot" command from the loader but it goes in a i... | You've got an internal FC bus error - very likely to be a hardware issue. You'd going to have to get NetApp to fix the broken bit sorry. If you have no support contract can you let me know where you are in the world please, I have a few spare FAS2020's at my storage location in the UK, if you're nearby you could have o... | 3 | 3 | 188 | 2015-06-16T13:46:50.097 | pipeline_ops | serverfault.com | |
285,888 | How do Java AOT compilers work? | There are a few number of tools out there ( Excelsior JET , etc.) that claim to transform Java app's into native executables ( [CODE] ). However it is my understanding that these tools are really just creating native wrappers that invoke/execute [CODE] from a shell or command-line. If that understanding is incorrect, I... | All programs have a runtime environment. We tend to forget this, but its there. Standard lib for C that wraps system calls to the operating system. Objective-C has its runtime that wraps all of its message passing. With Java, the runtime is the JVM. Most of the Java implementations that people are familiar with are sim... | 19 | 27 | 12,861 | 2015-06-05T00:17:16.067 | api_errors | softwareengineering.stackexchange.com | |
211,115 | A minimum of a 3 Node Galera Cluster is Recommended, but is it better to have 5 nodes? | Right now I have a 400GB database, with a 5 node Galera Cluster. They are all RAID 10 SSDs. I've read the following: If the node goes missing due to a network problem or otherwise leaves without telling the rest of the cluster, then problems can arise. For the cluster to function, it needs a quorum, a majority of nodes... | If the criteria for "safe" is "no single point of failure", then 3 suffices. If "safe" means surviving "any two points of failure", then there is no solution. 5 only handles the case where two servers go down, not arbitrary combinations of things. RAID 10 (or 5, but not 1 or 0) provides recovery from a single disk fail... | 0 | 2 | 1,265 | 2018-07-01T23:51:39.440 | warehouse_errors | dba.stackexchange.com | |
350,873 | Sign an OpenSSL .CSR with Microsoft Certificate Authority | I'm in the process of building a Debian FreeRadius server that does 802.1x authentication for domain members. I would like to sign my radius server's SSL certificate (used for EAP-TLS) and leverage the domain's existing PKI. The radius server is joined to domain via Samba and has a machine account as displayed in Activ... | kce, what the previous poster is hinting at is to verify the properties of the Machine template. It can be found at the 'Certificate Templates' snap-in. Find that template's properties and on the 'Subject Name' tab are the settings on how the Subject Name should be provided to the CA (e.g. 'Supplied in the request' or ... | 3 | 2 | 9,208 | 2012-01-17T23:53:10.003 | api_errors | serverfault.com | |
378,435 | Git one repo dependent on another | I have a git repository that is built with one library and during compiling the library is switched for another to get 2 versions of compiled code for 2 different libraries. (different versions of the same software) This method has been working until now. Now I have received a new 3rd library that differs significantly... | If I understand your problem correctly it should be possible to do this with a separate remote bransch. Create a new branch: git checkout -b feature_branch_name Edit, add and commit your files. Push your branch to the remote repository: git push -u origin feature_branch_name Then set up a build for each branch library ... | 3 | 1 | 5,714 | 2018-09-14T09:34:08.417 | api_errors | softwareengineering.stackexchange.com | |
832,899 | difference between https git clone and ssh git clone | Hi I am using git for a while now however I am new to enterprise git. here Is what I did with my [CODE] I created a ssh key pair and added public key to my test repo as deploy key. Now I can clone my [CODE] from [CODE] and [CODE] however when I add someone as collabrator they're able to clone repo from [CODE] but not f... | Git uses several protocols for client-server communication: http https ssh git When you decide to use [CODE] for you git server, you need to provide relevant ssh access for the collaborators who are going to work with your repositories. There are plenty of solutions to ease the manage - gitlab (it has GUI too), gitolit... | 2 | 3 | 23,154 | 2017-02-16T11:17:01.753 | infrastructure | serverfault.com | |
43,629 | Mysql Connection Pooling Similar To PostgreSQL's PgBouncer | I'm looking for a pooling solution for mysql that is independent of the language. I am using PGBouncer as an example because it Resides on the server the database is on Just change the connection string to use the pooling connector No modification to the code required Is there something similiar in MySQL where I can us... | This started off as a comment but it's getting a bit long. Perhaps you could provide a better description of what it is you actually want rather than simply say it's like something else. If you want multiple clients to use the same connection, then it must be implemented in the DBMS, otherwise you have no session manag... | 6 | 3 | 9,737 | 2013-05-04T18:44:11.890 | database_errors | dba.stackexchange.com | |
90,097 | Upgrade PostgreSQL 9.1 to 9.3 and server no longer starts | Technically, I didn't upgrade from 9.1 to 9.3, I built a new server with Ubuntu 14.04 and used my old 9.1 config files. PostgreSQL wouldn't start: [CODE] but the logs were empty. Eventually, after comparing the stock 9.3 postgresql.conf file and my 9.1 file I figured out that, at some point, the config variable [CODE] ... | The config variable [CODE] has been changed to [CODE] in 9.3 - found in [CODE] | 1 | 1 | 613 | 2015-01-25T05:18:31.180 | database_errors | dba.stackexchange.com | |
375,264 | Rest API Design in case of partial success | So I have a ticket booking system. I have ticket booking request on api, from my application we call payment service. If failed on first attempt we proceed by adding message on queue for handling payment later. And proceed with issuing ticket to customer. From queue we retry payment with payment api 10 times in 10 minu... | The HTTP return codes are designed to deal with the HTTP protocol, not every possible Request/Response. Rather than selecting an obscure code that can, maybe, be interpreted, roughly, as what you want it to, if you squint at it. Simply return more information in the response body [CODE] | 2 | 9 | 7,023 | 2018-07-16T10:07:27.980 | api_errors | softwareengineering.stackexchange.com | |
283,074 | Index usage across databases | I would like counseling as to what is the best way to get performance in the following scenario. This is on a SQL2016 server. I have a newly created central database where data is replicated to from another system. I have department-specific databases on the same server containing department-splitted views to the data ... | I try to answer to all your questions: If I create indexes on the CentralDB's table, will the views use it? Yes for sure, if the indexed columns are used in the views, like the Department Code in your example. Are Columnstore Indexes better choice? Yes and No, it depends on numbers of rows and the usage of the central ... | -1 | 2 | 731 | 2021-01-12T15:10:23.830 | pipeline_ops | dba.stackexchange.com | |
71,431 | how to get the classe names in an image classifer after predection? | I made an image classifier of 80 classes of handwritten numbers then I tested my model and it worked pretty fine, the only problem that I have now is the display of the correct names of these classes. Dataset: 2 folders: [Train Folder===> 80 folders each has 110 images, Validation folder===> 80 folders each has 22 imag... | I get your problem, the point is that its correct what the model does, but you have to build a look-up table for its answer. Your ground-truth, looks somethink like that [CODE] , a one-hot vector for example. You, the human know what this code stands for, for example [CODE] . just like that you have to build an numpy a... | 1 | 0 | 33 | 2020-03-30T09:34:53.560 | data_quality | datascience.stackexchange.com | |
879,602 | HaProxy alias domains | I have several domains which are variations of my main domain. I want to redirect them all to my main domain ignoring the protocol (http/https) and subdomain (www./beta.). Is there a way to do this in HAProxy config? I was thinking of something like [CODE] | Redirecting [CODE] to [CODE] , preserving the subdomain, path, and query string if present (linebreaks added for readability)... [CODE] Take the incoming host header, convert to lowercase, then do a regex replacement of [CODE] anchored to the end, changing to [CODE] , then append the captured request URI, and the code ... | 0 | 1 | 1,645 | 2017-10-21T14:02:26.867 | infrastructure | serverfault.com | |
193,364 | Error Receiving WAL files with barman | I'm having a similar issue reported here but no solutions have helped: Unable to receive WAL files with barman Trying to get streaming replication to work. PostgreSQL 9.6 on the master. Barman 2.3 installed on backup server. barman cron is running every minute barman switch-wal --archive --archive-timeout 90 pg The WAL... | added the following to crontab [CODE] | 2 | 1 | 9,607 | 2017-12-18T02:24:19.663 | database_errors | dba.stackexchange.com | |
736,969 | Squid and delay pools: rep_mime_type, https | I'm struggling with squid delay pools. The documentation I found is very poor and on internet there is contradictory and possibly surpassed information. First question: acl aclname url_regex -i \.exe will it match an HTTPS request ? According to my experience and from some posts it will not, so cannot find any easy way... | An answer received in the squid mailing list confirms all my doubts: "HTTPS" is not a single thing, or message type. It is a term to describe an entire stack of multiple-layered protocols. To do anything at all with URL or any other HTTP message details in what could be termed an "HTTPS request" requires decrypting the... | 0 | 0 | 889 | 2015-11-17T13:06:28.553 | infrastructure | serverfault.com | |
217,836 | network configuration | I have just inherited a network at my work- 1 primary server and about 65 computers running XP. All machines have Gigabit ethernet cards and all are connected through Gigabit switches and cat. 6 cables. The workstations send large numbers of image files to the server where they are held until they need to go to a print... | Can you install more network cards into the server? See this TechRepublic Tutorial for an example. This will distribute the load - certainly of the incoming files. However, as others have pointed out, check that this is really the bottleneck first. | 0 | 2 | 123 | 2011-01-01T18:42:19.470 | infrastructure | serverfault.com | |
13,203 | Jenkins: Access job/plugin configuration values inside pipeline | I am trying the access the values set on a job's configuration page from within my pipeline. These values are not made available as params, nor are they injected as envvars. Setup Jenkins, v2.263.1 GitLab Branch Source plugin, v1.5.3 ( link ) Multibranch pipeline job which is pointed to a Gitlab repo Remote Jenkinsfile... | This is possible, but you'll have to use scripted Pipelines, not declarative, disable the Groovy sandbox for pipelines, and dig deep into the Jenkins API. For instance, I wrote a Pipeline job that edits the parameters of a second job which has a full name of "SCA/deploy_to_environment/master". Here's a snippet of that ... | 2 | 2 | 395 | 2021-01-22T17:44:59.453 | pipeline_ops | devops.stackexchange.com | |
1,094,543 | mysqld fails to start due to InnoDB | I did install MariaDB on MX Linux, my system info below : [CODE] When I start the server using the command : sudo mysqld I get the following error regarding InnoDB missing FILE_CHECKPOINT : [CODE] It is beyond my competences, can anyone give me some hint ? | InnoDB could indeed not recover from the last logfile named : ib_logfile0 As I didn't need to save anything, I did simply remove /var/lib/mysql/ib_logfile0 after what I have been able to start the server normally. PS : I am new here, and I didn't know if I should user "answer my question" or just mention this in a "com... | 3 | 2 | 9,427 | 2022-02-23T09:02:57.527 | database_errors | serverfault.com | |
225,392 | PostgreSQL How to DEFAULT Partitioned Identity Column? | PostgreSQL 11 What is the best way to generate default values for identity columns on partition tables. E.g [CODE] If I do: [CODE] I get: ERROR: null value in column "id" violates not-null constraint DETAIL: Failing row contains (null, 1000000, hello). SQL state: 23502 because the default generated value is not applied... | I don't know of a better solution in general. A few minor things, though: [CODE] If you don't know the name of the parent's implicit sequence, use [CODE] . [CODE] You might even use the expression in the [CODE] script directly, but that would impose a very minor additional cost to compute the actual name for the defaul... | 6 | 5 | 4,806 | 2018-12-19T16:45:46.067 | data_quality | dba.stackexchange.com | |
662,575 | IIS7.5 Virtual Directory Wrong Physical Path | I have been fighting this problem for hours, and I can't make IIS (7.5 on 2008r2) do the right thing. Every time I try to go to the [CODE] virtual directory, I get a 404.0 and the physical path listed is wrong and different from the physical path I setup on the virtual directory. Here is the setup: I have a virtual dir... | So the apparent reason this was happening was the shared configuration and / or failover cluster. Even after changing the virtual directory configuration, the old configuration was cached and even restarting IIS would not cause it to be refreshed. I was only able to get the configuration to reload by migrating the serv... | 1 | 0 | 5,574 | 2015-01-27T02:36:48.237 | database_errors | serverfault.com | |
649,612 | ssllabs keeps saying sslv3 enabled when it isn't | https://www.ssllabs.com/ssltest/analyze.html?d=cablework.co I can't figure out why it keeps saying "C". I have disabled SSLv3. this is my config file [CODE] | You forgot to specify [CODE] and [CODE] for your [CODE] named [CODE] . So the defaults - whatever they are - get used. | 3 | 5 | 141 | 2014-12-06T06:33:43.927 | infrastructure | serverfault.com | |
1,127,213 | MSA volume is more used than the StoreEasy disk | I meet a problem on connection between MSA - Proliant servers. The volume has been created on MSA in raid 6: https://i.stack.imgur.com/6lUIY.png https://i.stack.imgur.com/u1LP7.png https://i.stack.imgur.com/lq3FW.png My question is: why does the size difference occur between msa and proliant server if the volume from m... | In the MSA, the "Unused" means "disk space you could use to create further volumes or extend existing ones". In the server, "Unused" most likely means "disk space that is ready to accept files and directories, but currently doesn't contain any." When you create a volume in MSA and present it to a server, all of that sp... | 0 | 0 | 43 | 2023-03-27T08:42:10.230 | infrastructure | serverfault.com | |
611,397 | MDT Injecting Drivers still does not bring up network in PE | Laptop: HP HDX X16T-1200 CTO Drivers: Taken from the HP Site and extracted. Imported in to MDT 2013. When I launch the Lite Touch it pops up an image saying it can not find the ImageDeploymentShare via DHCP so it looks like even with the network drivers injected I still get nothing. ipconfig /all shows nothing. Is this... | Are you using Windows Deployment Services (WDS) to boot via PXE? Assuming you are, when you "imported in to MDT", did you also update the deployment share and add the updated WinPE boot image (x86 or x64, or both) to WDS? The boot images are located in "\NAME\DeploymentShare$\Boot". Add them using the WDS MMC (below). ... | 1 | 6 | 9,490 | 2014-07-09T22:53:30.620 | pipeline_ops | serverfault.com | |
232,481 | trouble running multiple domains on tomcat behind apache via mod_jk | I am having trouble setting up tomcat6 with 2 virtual hosts, behind apache2. if i have just one host defined in tomcat, and one jk worker, everything works fine. as soon as i define another jk worker and a corresponding tomcat host i get this error in jk.log: [CODE] my tomcat server.xml looks like this: [CODE] my worke... | You will need to add another Connector on a different port for the second virtual host, because the AJP connection between Apache and Tomcat is a persistent connection. eg, server.xml: [CODE] workers.properties: [CODE] | 0 | 1 | 2,240 | 2011-02-08T03:13:26.947 | infrastructure | serverfault.com | |
828,362 | RAID5 Data Recovery on PowerEdge | First off, sorry for my poor english. Okay? So, folks, my DELL PowerEdge R420 is stopped. It's RAID-5 designed with SAS x4. But, two drives are in trouble: One is under S.M.A.R.T. error. The other one is simply failed. So, it's right the RAID-5 won't do the things properly. I mean the server isn't booting the OS any mo... | The HDD with SMART error is not failed, it is only predicted to fail in a relatively short time. To restart your array, you had to replace the failed disk only, let it rebuild, and then replace the predicted-to-fail drive. However, if you cleared the array config, you are now on a very bad situation, as basically you e... | 0 | 3 | 337 | 2017-01-24T19:39:13.803 | infrastructure | serverfault.com | |
1,146,261 | AWS VPN Client fail | using debian 12 + aws vpn client 3.9.0 this is the log Any ideaaa ? [CODE] | I had to edit /etc/systemd/system/awsvpnclient.service to include [CODE] . Full file is: [CODE] Also has to install http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb and http://http.us.debian.org/debian/pool/main/o/openssl/openssl_1.1.1w-0+deb11u1_amd64.deb to deal with the opens... | 0 | 0 | 269 | 2023-10-20T15:44:05.727 | infrastructure | serverfault.com | |
238,418 | Red gate SQL Compare error while running using SQL Agent Job | I created a SQL agent job to perform a SQL Compare using the below command line [CODE] This below given is the command line code in DEVvsPRJ.ps1 file [CODE] So, when I tried executing the job it succeeded without any errors. But when I checked the location comparison report was not created. So I went back to Job histor... | Since I did not get a proper solution to this using the SQL Agent job, I had to try an alternative. I used Windows Task Scheduler to run this. I have saved my script as DEVvsPRJ.ps1 and invoked PowerShell using the scheduler and it worked fine. Running the Powershell script in scheduler solved the problem. | -1 | 1 | 441 | 2019-05-17T14:27:42.227 | warehouse_errors | dba.stackexchange.com | |
61,792 | psql: id SERIAL PRIMARY KEY not starting with 1? | This is something I don't understand, can somebody explain? I create a table [CODE] Then I simply try to insert some data from a csv file like so [CODE] Which gives me this Error: [CODE] I know that 4372840000 results in an integer overflow. That is why I'm trying to insert the values as chars in the first place. But m... | The table should be [CODE] And do [CODE] So that it knows to not insert into the id serial column. The serial type is not a true type. From the manual : The data types smallserial, serial and bigserial are not true types, but merely a notational convenience for creating unique identifier columns (similar to the AUTO_IN... | 1 | 6 | 5,748 | 2014-03-26T12:59:29.773 | warehouse_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.