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 |
|---|---|---|---|---|---|---|---|---|---|---|
322,376 | Scaling advice LAMP + Load balancers | My current setup: 1 Http Load Balancer 3 Apache Frontend Server 1 Mysql Load Balancer (Balancing reads across all three, writes go to master only) 3 Mysql Database Server (1 master, 2 slave) All is good, but I have sudden scheduled bursts of traffic and need to scale up during these peaks. I'm thinking of moving to a s... | By having a single load balancer there's still a single point of failure on your setup. So the first thing I would do, would be to add a second load balancer and setup a virtual ip shared between the two load balancers. LeasewebLabs has a nice article about how to do that. Also I believe that webservers should be on di... | 2 | 1 | 464 | 2011-10-17T22:48:54.233 | database_errors | serverfault.com | |
166,836 | phpMyAdmin setup not password protected; getting hit a lot by hackers | The phpMyAdmin (version 2.11.9.5) setup screen of my server is not password protected. I have noticed a lot of attempts at accessing the screen in my log files, especially from automated requests that ask for 50 or so different possible directory locations of the setup screen. The issue is discussed here: server has ph... | I would strongly recommend a .htaccess file in the root of the folder that phpMyAdmin is installed in: [CODE] and then run: [CODE] There are other good ways to do this, but this is relatively easy. | 1 | 3 | 5,748 | 2010-08-03T22:57:26.890 | database_errors | serverfault.com | |
1,090,743 | What is causing BadRequestException when calling the ExecuteStatement operation on Aurora Serverless db | I have a lambda function that retrieves records from AWS Aurora Serverless db. Now I thought of adding api gateway to trigger the lambda function but I get this error Connect an AWS Lambda function triggered by API Gateway to Aurora Serverless MySQL database. [CODE] What is causing BadRequestException when calling the ... | Error 1045 apparently means 'Access denied'. Have you set the credentials properly in your Lambda? Does the lambda use the right execution role? Seems to be some more good info here . | 1 | 0 | 873 | 2022-01-21T16:42:50.157 | database_errors | serverfault.com | |
543,761 | VPS Provider says 1 core /proc/cpuinfo says 4 | I have recently changed VPS providers, I have got a very low-powered VPS for running things like an IRC network, and proxy services, etc. My VPS provider states that I only get 1 core and 512mb of RAM, which is fine. However, if I [CODE] it states the following: [CODE] Which shows that I have got 4 cores, which is inco... | I would say your VPS has two quad core CPUs, and you have single core assigned from each CPU, and CPU has hyperthreading enabled so you see one core as two logical units. This two lines mean that hyperthreading is enabled, and therefore you see single core as two logical units. siblings : 8 cpu cores : 4 This means tha... | 1 | 4 | 532 | 2013-10-04T09:10:55.780 | infrastructure | serverfault.com | |
217,977 | Cannot Create or Drop User in MySQL Workbench | OK. I have set up a new MySQL Server in AWS Ubuntu EC2 and migrate databases from the RDS. After importing the tables, stored procedures and functions into the new server, I encountered the attached error. This happens whenever I want to create or drop users, or if I modify the stored procedure and apply changes. For s... | Do not import the tables in the database [CODE] from a server running a different version of MySQL. | 0 | 1 | 361 | 2018-09-19T00:33:49.563 | database_errors | dba.stackexchange.com | |
634,745 | Hyper-V Manager crashes when connceting to remote Hyper-V Server | I am using Windows 8.1 and have Server Manager installed. I've added one of our servers (Server 2012 Standard) to Server Manager, and it connects just fine (Manageability shows "Online" and I can see things in the Events list for the server. When I go to Hyper-V, then right click on the server and click "Hyper-V Manage... | The Remote Server Administration Tools (RSAT) have always been very sensitive to exact Windows versions. In other words, don't even try to manage a server that is running a different version of Windows than your client. And by different version, I mean Windows 8.1 -> Server 2012 R2 Windows 8 -> Server 2012 Windows 7 ->... | 3 | 2 | 1,876 | 2014-10-09T13:32:36.097 | infrastructure | serverfault.com | |
382,032 | Unable to submit certificate request to 2k8R2 CA | I have created a two-tier CA using Windows Server 2008 R2. The [CODE] files used to create this standalone root and an enterprise subCA are at the end of this post. The root is installed OK and issued a certificate to the SubCA. The SubCA has in turn issued certificates to the domain controllers automatically. My PKI h... | I was able to resolve this after finding further information You cannot submit a certificate request generated by Exchange Management Console (EMC) or Exchange Management Shell (EMS) to Microsoft Certificate Services In summary, this is becuase the certificate request was stored as Unicode encoding and Microsoft Certif... | 2 | 2 | 4,134 | 2012-04-22T19:58:45.390 | infrastructure | serverfault.com | |
425,729 | What would the database schema look like for a Entity Component System architecture of web app? | I found previous SE questions like this . I'm familiar with the typical RDBMS backed MVC web app framework. To illustrate what I am thinking of, let's use the examples of Bunny and Carrot from this [article]. In a typical MVC For a typical MVC RDBMS, you would have two tables. A [CODE] table and a [CODE] table. Which i... | This approach is very unsound, because it completely ignores the role of the System aspect of ECS. There's not a single mention of systems in the question. The way the state is sliced and diced — not just in ECS, but pretty much everywhere else — depends on its usage. If two pieces of data always come together, it mean... | 1 | 1 | 628 | 2021-04-23T15:48:55.150 | api_errors | softwareengineering.stackexchange.com | |
46,285 | Cannot SSH tunnel with PuTTY (Windows Vista) to connect to MySQL on a Linux box | Goal: I am trying to copy a database onto my local box running Windows Vista. Setup: Using MySQL 5.1 (mysql-essential-5.1win32) on Windows Vista On Linux box: MySQL Ver 14.12 Distrib 5.0.51a, I set up SSH tunneling on PuTTY this way: Source port 3306, Destination:localhost:3307 I am using 3307, because I have my own da... | It sounds like you've got it "backwards". The destination is not your loopback, it's the remote machine on the other network. That, or you're using Remote instead of Local for the tunnel. Try flipping the IP addresses around, example: [CODE] Where mysql.yourdomain.com is the name of the host that has the MySQL service ... | 2 | 3 | 10,121 | 2009-07-27T01:37:00.867 | database_errors | serverfault.com | |
107,429 | ERROR 1146 (42S02): Table 'db.tablename' doesn't exist | I have a two databases, when I prompt SHOW DATABASES I can see a list of the databases, including mysql, performance_schema and informations_schema. I can prompt 'SELECT DATABASE_NAME' on both of them, I can prompt 'SHOW TABLES' on both of them, but when I try to query I get the error mentioned in the title of this que... | I think you might be able to find the answer in the following post: https://stackoverflow.com/questions/7759170/mysql-table-doesnt-exist-but-it-does-or-it-should Seems to have the same issue as you. | 7 | 6 | 147,928 | 2015-07-18T11:02:44.643 | database_errors | dba.stackexchange.com | |
310,111 | From spinners to SSD (SQL Database) | I have a SQL Server database running on a virtualized Windows Server 2012 R2 (VMware ESXi). I have a task from Accountancy to boost the performance of the database. The database has about 70GB and the RAM allocated is about 90GB. The virtual machine is spining on SAS Disks 10k - RAID10 at the moment. I want to make an ... | You need to approach this by figuring out where the time for your critical processes is going (the ones that you want to improve the performance of). Look at execution plans, wait stats, sp_whoisactive to get a picture of what this is going to be. You have more memory than data, which means that there is a possibility ... | 0 | 3 | 107 | 2022-03-24T09:45:49.550 | database_errors | dba.stackexchange.com | |
106,545 | Restricted Boltzmann Machine (RBM) implementation in Tensorflow (TF) 2.x | I‘m looking for a Python implementation of a Restricted Boltzmann Machine (RBM), e.g. applied to MNIST data as mentioned in „Elements of Statistical Learning“ Ch. 17, in Tensorflow 2.x . I‘m aware of code as linked here . However, the model(s) are implemented in TF 1 and some layers are not supported any more (in TF2).... | Following is an RBM implementation in Tensorflow 2.0. As mentioned on the website: The Restricted Boltzmann Machine is a legacy machine learning model that is no longer used anywhere. This repository is of historical and educational value only. I have updated the code using the TensorFlow 2 to run on modern systems, bu... | 0 | 0 | 746 | 2021-12-29T21:11:07.433 | data_quality | datascience.stackexchange.com | |
674,764 | HTTPS only on subdomain | I have a Jenkins install at [CODE] , and a static site at [CODE] . The Jenkins install is configured to use HTTPS exclusively. I'm a cheapskate, so I only have a certificate for the [CODE] domain. My Apache config looks like this: [CODE] (actually, this is an Ubuntu machine, so I just pulled the relevant site config fi... | With your current setup: No, you can't just refuse the connection.. that is, without also refusing connections to the ci.example.com vHost. Bite the bullet and get a cert for the additional hostnames, or get a wildcard cert, or use cloudlfare, etc or accept the browser warnings when people try to use HTTPS for a vhost ... | 0 | 2 | 1,368 | 2015-03-11T23:41:16.880 | api_errors | serverfault.com | |
56,872 | Postgresql Logging Questions | I'm seeking some help understanding my PostgreSQL 9.3 log file. (Note: maybe this should be multiple questions, they are all involve the same general topic - which is understanding my log file). In my postgresql.conf file I have the following log related settings: [CODE] If I have the following in my log: [CODE] Questi... | Everything there is probably a client round-trip, but you'll find that multistatements show individual durations for each component statement. The times are for the time spent executing it on the server, not the time including network access. Entries with no transaction ID appear because PostgreSQL uses "virtual transa... | 1 | 2 | 323 | 2014-01-16T05:46:15.163 | database_errors | dba.stackexchange.com | |
361,704 | Can one rely on Apache sanitizing URLs? | I set up Apache with [CODE] in a default installation, with a very simple test application [CODE] that goes like this: [CODE] Apache itself is basically configured like that: [CODE] Now if I access URLs on that server, I get the following output: [CODE] => [CODE] [CODE] => [CODE] [CODE] => [CODE] (due to [CODE] , I sup... | The security guideline "Defense in Depth" suggests that you should configure Apache to preprocess paths, but you should also protect against dangerous paths yourself. Since you probably know a lot more about what the valid paths should look like, you should be able to come up with a lot more restrictive test that's als... | 1 | 2 | 644 | 2012-02-19T22:49:15.687 | infrastructure | serverfault.com | |
346,897 | Return value of collection.add() vs Map.put() | In Java, Collection.add() returns a boolean which is true if the added element wasn't present in the set whereas Map.put() returns the value that was previously associated with the key (or null if there was none). Is there any reason that aren't implemented the same way (e.g. both returning boolean)? | I assume you mean [CODE] - because there is no [CODE] . But even if they had the same name - these methods behave differently enough to render any attempt to unify their interface meaningless. Look at the way [CODE] 's return value's doc is worded: true if this collection changed as a result of the call Now, the only v... | 3 | 7 | 9,653 | 2017-04-10T08:24:47.427 | api_errors | softwareengineering.stackexchange.com | |
852,501 | Install vagrant plugin on archlinux | I am trying to install vagrant plugin in ArchLinux and get error Marshal.load reentered at marshal_load. Here is output with debug on: [CODE] Any suggestions? I am not familiar with Ruby, so don`t know where to look. | I was seeing similar errors as well as segfaults in vagrant's bundled ruby. Downgrading from vagrant-substrate from 605.0566498-2 to 599.d7cedfe-2 fixed this for me. | 4 | 9 | 1,687 | 2017-05-26T21:02:30.433 | infrastructure | serverfault.com | |
614,607 | Unable to connect to localhost or local ip but can connect to other servers or websites | I have a server with nginx|bind|mysql installed, everything is working fine but I am unable to connect to localhost or any websites hosted on server. I tried pinging and wget and none of them work and give connection timed out. The server has Centos installed. Can some one please help. netstat -anp gives : [CODE] | Have you looked into your etc/hosts file, and make sure that your local host points to 127.0.01. Also check and make sure that lo0 is configured in the network settings. | -1 | 0 | 794 | 2014-07-22T18:15:58.690 | database_errors | serverfault.com | |
277,348 | Eclipse on Ubuntu: Rectangles instead of Strings and some Java methods and classes | after upgrading from Ubuntu 9.04. to 11.04 (new installation), I have weird problems with the Eclipse editor. With the Eclipse PyDev plugin, whenever I typ single quoted strings like 'bla', they appear as rectangles (both the quotes as well as the string). First I thought this was a problem with the PyDev plugin, but i... | Figured it out. It was a font problem. When I change Eclipse to use the system font settings in the Java editor, it works. Somehow the required font was installed by ubuntu. | 0 | 0 | 189 | 2011-06-06T09:22:12.630 | infrastructure | serverfault.com | |
376,312 | Why is nmap now taking a long time to perform subnet ping? | I've been using the nmap tool on my Windows machine to ping my Uni house home network range using the following command: [CODE] I had no problems with this and it was only taking 5-10 seconds to complete. Since I've returned home for Easter (different home/network) I've tried to use the command again (albeit this time ... | [CODE] tries to scan your network for live IPs addresses and ports. If there are more live IPs in your subnet, [CODE] will finish sooner. This is because it is faster to say there is a live host with IP [CODE] than to say there is no live host with the IP [CODE] . So, it should be normal to get different times for diff... | 0 | 2 | 3,617 | 2012-04-03T14:50:48.393 | infrastructure | serverfault.com | |
436,082 | PureFTPd is using ports above 50000 even with PassivePortRange specified | I have installed the pure-ftpd package with PureFTP 1.0.24 on Ubuntu 10.04 using apt-get. Even though, this is the default port range, I've added the file /etc/pure-ftpd/conf/PassivePortRange containing: [CODE] This does add the correct option to the command as it is run ( [CODE] ), but for some reason, I still get con... | In active mode the server initiates a connection to a client defined ip address, so the server has no way of affecting the port number being used. In this case you don't need to open other incoming ports than 21 because the server initiates the data connection towards the client. In passive mode the client opens a conn... | 1 | 1 | 2,600 | 2012-10-08T18:10:05.303 | api_errors | serverfault.com | |
393,529 | Dealing with API errors | I'm building a shop system which works in three parts: a mobile app (Android/iOS) which is used by customers to make orders, view products and so on, a desktop application, used by the managers to manage orders and shop things and a web server with an API to which both mobile and desktop applications communicate. The s... | The kind of validation you're describing is part of your business domain and should be treated differently from API errors (such as a request that doesn't have the right parameters). If you think about it this way, then it makes sense to put the enums inside the DTOs since they represent the result of your business ope... | 2 | 3 | 245 | 2019-06-19T05:51:59.773 | api_errors | softwareengineering.stackexchange.com | |
554,452 | sendmail restart fail [exim abandoned: unknown,malformed, or incomplete option -L] | When I restart Sendmail services, I see the following: [CODE] How can i do to fix this please? i'm on linux CentOS | It seems that you use sendmail startup scripts to start exim. The script fails to start second daemon process (sm-client) which is not needed by exim. | 0 | 0 | 1,322 | 2013-11-12T14:55:58.333 | infrastructure | serverfault.com | |
487,218 | setting up subdomain wildcard: configured A record, VirtualHost... still does not work | Running Apache on CentOS, trying to setup wildcard subdomains, basically I want .mydomain.com to point to mydomain.com With cPanel I added *.mydomain.com With WHM I made sure that A record is pointing to the right IP. I set my A record: [CODE] My httpd.conf: [CODE] I have my VirtualHost in httpd.conf set to point to do... | ServerAlias directive is valid only in VirtualHost context. See: http://httpd.apache.org/docs/2.2/mod/core.html#serveralias Your config should be: [CODE] | 0 | 1 | 1,102 | 2013-03-12T22:57:50.240 | infrastructure | serverfault.com | |
323,277 | Having problems joining a database to an Availability Group on the secondary replica | Trying to join a database to an AG on the secondary replica, I'm getting the error: The remote copy of database "ABC" has not been rolled forward to a point in time that is encompassed in the local copy of the database log. (Microsoft SQL Server, Error:1412) I have looked up this error and followed the "fix" to restore... | If you're taking log backups, you'll have to stop them while you're setting up a new secondary, otherwise the log will truncate on the primary, causing this error. So, disable log backups, add the database to the Availability Group on the primary, and either wait for automatic seeding to complete its tasks, or manually... | 1 | 3 | 1,523 | 2023-02-09T12:44:56.933 | api_errors | dba.stackexchange.com | |
262,340 | SysRq, task list and missing processes | I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one of the "magic" sysrq commands: echo t > /proc/sysrq-trigger What is astonishing is if I do this on a healthy system, I ge... | Is the JVM hanging because it is attempting to write to a process that isn't there anymore? From looking at the linux-source-2.6.38 code the sysrq trigger just calls: [CODE] Which calls: [CODE] There aren't any filters there, so its printing everything which suggest the parent is gone. Have you run lsof or ps and verif... | 3 | 1 | 646 | 2011-04-21T20:52:30.270 | infrastructure | serverfault.com | |
368,986 | Running SQL queries and getting back the result on deployed software | We update the software manually every couple of weeks (by copying over files).For the database we get their backup, apply the changes and hand it back over.In the meantime when we do a bug fix it's usually to do with the database and no code change is needed, but we have to message back and forth with the client's IT p... | How could I go about automating this? The usual way is to use a database design tool, that is capable of generating DB migration scripts from the old DB schema version to the newer version. The generated migration script should be running as part of your software update, or sent to your customers' IT staff to run it. | -5 | 1 | 93 | 2018-04-06T23:37:16.913 | database_errors | softwareengineering.stackexchange.com | |
471,657 | windows server 2008: 'user must change password' has locked me out | I have just rented a virtual windows server 2008 VPS. I wanted to change the admin's password from that given by the VPS company, so I remoted on, opened up the properties for the admin user and checked the [CODE] box. I then logged off and attempted to reconnect via RDP but I get the message An authentication error ha... | "User Must Change Password At Next Logon" is a flag that indicates that a temporary password has been set by someone else (usually an admin), and that to maintain account security the user is forced to change the password at next logon. Are you sure that you changed this on the Admin account, or on a service account, s... | 0 | 0 | 488 | 2013-01-23T10:22:21.467 | api_errors | serverfault.com | |
510,855 | postfix - different header checks for incoming and outgoing mail | How can I apply different [CODE] for incoming and outoing mail using postfix? By default, all header_checks are applied to both incoming and outgoing. | [CODE] is done by [CODE] so I don't think you can apply it only for incoming or outgoing. [CODE] is applied only for outgoing mail (smtp client) | 8 | 8 | 16,889 | 2013-05-25T16:17:19.707 | infrastructure | serverfault.com | |
845,186 | Google Apps with AD FS 3.0 Sign out problems | We have a Google Apps account that we use for most of our work. We also use AD FS 3.0 as an SSO provider to authenticate users. Everything works great with the sign in process. However when signing out, it all falls to pieces. I followed a guide a long time ago to get it setup and the verified the settings with this gu... | The problem here is you've not been provided appropriate guidance from Google as to how to configure a SAML capable IDP such as AD FS to federate with Google apps. You should not be using adfs/ls/?wa=wsignout1.0 as this is how you use ws-federation protocol to kickoff a signout. You are mixing wsfed and SAML use. See h... | 1 | 2 | 766 | 2017-04-19T00:51:32.740 | infrastructure | serverfault.com | |
84,194 | SQL 2008 Reporting Services Report Manager blank on Win 7 | I have installed SQL Server 2008 Reporting Services on my development laptop running windows 7. When I browse to the report manager, only the header is shown. The content pane is blank, and there is no 'Site Settings' option, New Folder options, etc. I found plenty of similar stories about SQL 2005, and then the fix wa... | I just set 'Trusted Sites' to 'Low' in IE and it now works. This page was helpful : | 1 | 1 | 3,414 | 2009-11-12T20:26:39.600 | database_errors | serverfault.com | |
281,159 | How can I display multiple column records in the same row? | I want to display all related information in to the same row column. Currently my output and query are the following: Trader Items Prapor Weapons Prapor Wearables Prapor Weapon Modifications Prapor Health and Buffs Therapist Weapons Therapist Wearables Therapist Weapon Modifications Therapist Health and Buffs [CODE] I ... | You can apply the GROUP_CONCAT function on top of your existing query like so: [CODE] | 0 | 0 | 19 | 2020-12-09T06:14:35.387 | warehouse_errors | dba.stackexchange.com | |
83,371 | db2_install do not have write permission on the directory or file | This is the error I encountered (I ran the [CODE] and everything else as root,): [CODE] I tried to change the access permission of the path: [CODE] And then I could create a new file in that folder: [CODE] Result of [CODE] in that directory: [CODE] But when I ran the [CODE] again, it failed for the same reason. PS: I t... | if you install on mounted fs ensure it's not mounted with the nosuid and noexec parameters. db2 binaries require suid file permissions. remove v10.5 directory if you created it manually and set chmod 755 on parent directory | 3 | 0 | 3,861 | 2014-11-22T18:03:09.553 | warehouse_errors | dba.stackexchange.com | |
328,757 | Generating MD5 Hash for NVARCHAR and VARCHAR columns across different databases | I am building a utility that generates a single MD5 hash across all CONCATENATED column values for any table row. To make this work, I have to eliminate NULL values using COALESCE and must CAST NUMBER and DATE types to VARCHAR using consistent patterns. The purpose of this utility is to compare all the data across two ... | The key difference between varchar and nvarchar is the way they are stored, varchar is stored as regular 8-bit data(1 byte per character) and nvarchar stores data at 2 bytes per character. Im guessing md5hashing converts everything to its bits and then creates a hash, which would mean its hashing two different values. | 0 | 1 | 418 | 2023-06-29T02:38:24.903 | warehouse_errors | dba.stackexchange.com | |
416,551 | Do differences between ATT and Intel formats of assembly languages come from differences between their underlying machine languages? | From Computer Systems: a Programmer's Perspective, about assembly languages: We see that the Intel and ATT formats differ in the following ways: The Intel code omits the size designation suffixes. We see instruction push and mov instead of pushq and movq. The Intel code omits the ‘%’ character in front of register names... | Considering that both AT&T syntax and Intel syntax are used for x86 assemblers, the difference cannot possibly be related to the underlying machine language, because there is only one underlying machine language . | 0 | 7 | 299 | 2020-10-04T11:53:44.867 | api_errors | softwareengineering.stackexchange.com | |
224,298 | Does cherry-pick just pull changes into the current working tree as uncommitted changes? | My team uses Mercurial for version control. Our development / version control routine is: all been committing to the same branch pulling for changes and rebasing our commits locally before pushing back to the hosted repository This keeps everyone in sync. And the latest code (even unfinished code) is than grabbed from ... | Cherry-pick for Mercurial is [CODE] History of grafted commits are easy recoverable, especially if graft performed with [CODE] and without [CODE] +madcap editing commit-message. Also the good GUI (TortoiseHG) reveals the history of grafting. Toy-repo with some grafting in it (release+devel branching model) Glog ouput i... | 3 | 1 | 1,193 | 2014-01-15T19:44:30.107 | pipeline_ops | softwareengineering.stackexchange.com | |
45,728 | Scaling does not speed up the SVM model | I tried to standardize the training data with samples of 629,145 rows and 24 features: [CODE] Already 6 hours and SVM does not converge. Same data is converged with other algorithms very fast as RF and I know it is quite normal as SVM considered computationally high algorithm compared to KNN and RF.. I read quite a bit... | I do not program on python. Nevertheless, I would say the key relies in the number of samples (629,145). They are many. The SVM has to test them to pick which are good support vectors for data partition/regression and given the size of the dataset there are a lot of alternatives. That issue plus the number of different... | 4 | 1 | 699 | 2019-02-17T19:20:14.760 | data_quality | datascience.stackexchange.com | |
149,698 | Provide a URL to a CouchDB document attachment without giving the username/password? | I posted this question on DBA, but it got closed and was never reopened even after I rewrote the whole thing to be more specific. I think its more appropriate for programmers anyway :) Background Information I have a CouchDB server (Server B) that is accessed by another server running PHP (Server A). My web app (Client... | I don't think you'll be able to do what you want without opening up all the CouchDB documents to all-comers. The solution is, I believe, to only send back to the client this portion of the returned document URL: [CODE] And then keep your client talking with Server A: [CODE] Server A then just translates this to the ret... | 2 | 2 | 1,935 | 2012-05-22T17:57:54.547 | api_errors | softwareengineering.stackexchange.com | |
412,826 | Can't access shares after installing SP1 for Server 2008 | Just finished installing SP1 for Server 2008 R2, all went fine other than i can't access any shares using a UNC. When using \server from clients or on the server i get the following message; [CODE] I've also tried with the FQDN and the ip and i get the same message. I've disabled the firewalls on the server and client ... | Have a look at this page Open Regedit "HKEY LOCAL_MACHINE\SYSTEM \CurrentControISet\Control\NetworkProvider\Order" The "ProviderOrder" Key has just one value for the "hgfs" Validated with another server having the same configuration the Key above and the information found were different: The Key "ProvideOrder" contains... | 0 | 0 | 541 | 2012-07-31T11:47:47.587 | infrastructure | serverfault.com | |
185,566 | Does a BSD-licensed project need a signed statement from each contributor? | Today I read on Fossil SCM 's mailing list : The problem with BSD is that you really should get a signed form from each contributor stating that their contribution is BSD. This is automatic with GPL, since releasing your contributions under a compatible license is a prerequisite for viewing the code in GPL. This makes ... | The GPL does not explicitly make any statement about the licensing of code contributed code back to the project. It might be inferred that any contribution is covered by the GPL as it could be considered a derived work and thus must be licensed under the GPL but it is possible that the contribution is already licensed ... | 9 | 6 | 914 | 2013-02-01T16:55:56.130 | api_errors | softwareengineering.stackexchange.com | |
85,985 | Oracle connection suddenly refused on windows 8 | I am having all kinds of connection issues with sql developer all of a sudden. It was working till yesterday and stopped working on windows 8 machine. I am still able to connect via command prompt. I exclusively opened the port 1521 thats been configured for listener. Also opened all ports for local programs. Added TNS... | Solved! The issue was [CODE] was not set to [CODE] . So [CODE] did the trick! | 2 | 2 | 1,578 | 2014-12-12T05:17:17.963 | database_errors | dba.stackexchange.com | |
322,800 | Password mismatch while logging to sql server | Alright, I have a classic asp application and I have a connection string to try to connect to db. MY connection string looks as follows: [CODE] Now when I'm accessing db though front-en I get this error: [CODE] I looked in the sql profiler and I got this: [CODE] What I've tried: checked 100 times that my password is ac... | I think you will need to enable Named Pipes in Configuration Manager and restart the services. Also start the SQL Browser service. | 2 | 0 | 2,197 | 2011-10-19T05:24:28.033 | database_errors | serverfault.com | |
823,747 | Windows failed to install the following update with error 0x800f0900 | My primary WIN 2012 VM domain controller cannot update anymore, every update fails with this error: [CODE] I tried many things: reset SoftwareDistribution directory sfc /scannow ends without errors dism /online /cleanup-image /restorehealth stucks at 40% (I wait 18hours, then I stoped it) dism /online /cleanup-image /s... | The simplest solution would be to create a new DC, and retire the broken one. | 4 | 3 | 19,765 | 2017-01-02T18:13:49.833 | database_errors | serverfault.com | |
198,539 | Re-architecting a classic inheritance design | I have the opportunity to rewrite a core piece of a project (C#) that is inheritance-heavy and feels increasingly restrictive in how it is designed. The scenario is pretty simple, imagine an application that is built to handle various small tasks. Every task is unique in it's functionality so it implements an ITask int... | Step 1: Make each of those methods in BaseTask static and pass any required private members as arguments. Now they can live, and breathe comfortably, outside of the class. Step 2: Implement an IOC container . Resolve your tasks from there. Step 3: Take all of those protected methods and move them to a service, make the... | 7 | 11 | 981 | 2013-05-17T18:03:45.453 | api_errors | softwareengineering.stackexchange.com | |
433,242 | How to get php mail function to work on Debian “squeeze”? | Possible Duplicate: Getting PHP mail() function to work on Debian Lenny I have installed Apache and PHP5 on my debian server. Firstly I tried it using sendmail. Here is the step by step procedure that I have tried : [CODE] But this didn't work. Then I tried using external SMTP . My domain is registered on BigRock .I re... | It look like your question is :"How do I install an mta on my dedicated server and use it with php5"? Therefore, there are 2 step to follow : First one is to install an MTA. If you don't know much about mail servers, I suggest you postfix instead of sendmail: It is easier. For security reasons, make sure it listens onl... | 1 | 2 | 5,722 | 2012-09-28T11:41:10.213 | data_quality | serverfault.com | |
258,048 | Error creating memory optimized filegroup in SSDT | I am attempting to add a memory optimized filegroup to a SQL server database project in SSDT. This is for SQL Server 2017, using Visual Studio 2017. However compiling the project (pressing F5 to build) is resulting in an error. This error does not occur when deploying (via Deploy). The filegroup is created as normal (w... | I am not certain whether AUTO_CLOSE is enabled or disabled by default after CREATE DATABASE. If ON by default, it seems that SSDT is generating the deployment script in the wrong order. If OFF by default, then I don't understand why the error exists. It seems LocalDB has hard coded use of AUTO_CLOSE, ignoring model Loc... | 2 | 2 | 1,129 | 2020-01-23T09:18:56.120 | database_errors | dba.stackexchange.com | |
186,993 | SOLUTION - OOM Killer was killing mariadb every hour or so | The Out Of Memory killer was killing mariadb every hour or so but not regularly on time like a cron job to restart it. I found it doing a [CODE] to show the last 200 lines of log entries for mariadb ***** EDIT 10/10/2017 3:33 PM PST STARTS **** This solution is for a CentOS 7 system . The server continued to kill every... | A regression was discovered after the release of MariaDB 10.1.27. It has been pulled from the downloads system, but some mirrors may still have it. Do not download or install this version. Stay with MariaDB 10.1.26 until 10.1.28 is released Taken from https://mariadb.org/mariadb-10-1-27-now-available/ Update. 10.1.28 h... | 1 | 4 | 11,225 | 2017-09-27T00:50:30.967 | database_errors | dba.stackexchange.com | |
27,933 | NoSuchElementException: Cannot locate an element using XPath | I am getting XPath error. Already tried with many XPath's. But not able to resolve. Can anyone give correct XPath? XML: [CODE] Highlighted path I need correct XPath. Already tried with many input XPath's and sibling XPath's. Error Message: [CODE] | The [CODE] of the [CODE] element looks auto-generated - you probably cannot use it to locate the element directly. There are so many ways to get to the element, but I think, using the label's text and then using the [CODE] axis is one of the most explicit approaches: [CODE] | 2 | 2 | 537 | 2017-06-22T06:10:23.200 | data_quality | sqa.stackexchange.com | |
486,180 | Windows 2012 Core - IIS8 - Shared Configuration | I'm trying to setup windows 2012, IIS8 shared configuration. That is two IIS servers share the same configuration file which is stored on a network share. I've setup a share and granted userA "full control" to the share. I've also granted the userA account "modify" permission to the file security. I then ran the follow... | Looks like I was able to figure this out on my own. Per the microsoft documentation: *Note: If NT Service\WMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Serv... | 0 | 1 | 1,664 | 2013-03-09T02:58:47.027 | infrastructure | serverfault.com | |
625,091 | MacOS X 10.9 Mavericks Kerberos login w/ FreeIPA | Has anyone successfully set up authentication and authorization between MacOS X and FreeIPA? An old revision of the FreeIPA documentation explains how to get it working in 10.4 and nothing in their current documentation indicates it can't be made to work; but so far I'm unsuccessful getting it working. The outdated Fre... | There is a more recent tutorial here, works for Mac OS 10.7 / 10.8. http://linsec.ca/Using_FreeIPA_for_User_Authentication#Mac_OS_X_10.7.2F10.8 | 0 | 0 | 3,161 | 2014-08-29T22:49:49.720 | api_errors | serverfault.com | |
857,753 | amazonaws.com port 22: Connection refused | I know it's multi-duplicate topic but I can't comment in other topic. I tried every solution and I still can't connect with my ec2 instance. I even checked my pem file [CODE] which is correct. I also tried to [CODE] ec2 instance, but I think [CODE] is blocked by default. [CODE] | In your EC2 Security Group make sure you enable icmp4 from your public IP address, that way you will be able to ping your instance, you can find more information here . In order to connect to the instance you need to use something like... [CODE] Of course you have to change the example with the actual data. You have al... | 0 | 0 | 312 | 2017-06-25T12:05:57.653 | data_quality | serverfault.com | |
113,545 | How should I go about fixing code from a less-experienced programmer? | A little background: I am one of two programmers for our department of 10 people (the rest are artists and management). The two of us do all of the coding required to make things flow well, and develop any projects that come up. I've been programming for about 4 years now, where this is his first "real" job (as he puts... | Sounds like instituting some sort of code review policy might be beneficial on multiple levels. Some immediate benefits: You can directly influence the quality of his code before code is committed thus keeping the code base quality high Keeps you from making similar mistakes that another set of eyes may catch In the ab... | 19 | 33 | 929 | 2011-10-10T21:28:05.150 | api_errors | softwareengineering.stackexchange.com | |
640,738 | nginx : stop error log from search engine bots | I have a centos 7 server with nginx 1.6.2 and I would like to stop error log when a bot from a search engine make a 404 error in my website. This, in order to have a clean error log, with only "true errors". How is it possible ? I've tried this in my vhosts but it doesn't work [CODE] In return, nginx service restart fa... | Finally I've found an intermediate solution : [CODE] This code avoid error logging for no critical files. Thank you for your help | 0 | 1 | 957 | 2014-10-29T23:51:21.423 | infrastructure | serverfault.com | |
798,635 | IPsec for Linux - strongSwan vs Openswan vs Libreswan vs other(?) | Searching for IPSec and Linux one inevitably will be confronted with different solutions (see below) which all seem quite similar. The question is: where is the difference? I found these projects. All of them are open source, all are active (have a release within the last 3 months) and they all seem to provide very sim... | It appears to me that StrongSwan and LibreSwan are the two main viable products now-a-days. strongswan vs openswan has one good comprehensive comment with some comparisons between StrongSwan and LibreSwan. StrongSwan seems to win the argument in that link. But to be fair, I saw Paul Wouters, who represents the LibreSwa... | 27 | 24 | 59,094 | 2016-08-23T16:27:35.853 | api_errors | serverfault.com | |
580,525 | Nagios check_procs returns wrong value when called from NRPE | I have added the following line in nrpe.conf of a monitored server say named myserver: [CODE] which works locally as expected: [CODE] However when I run the check through nrpe from my nagios server I get a zero output whatever the number of processes with the specific patterns will be (usually 0 or 1): [CODE] More Deta... | This makes me think about a reported Bug caused by the [CODE] environment variable. Here, you have [CODE] . This means that any process command line that exceeds [CODE] value will be lost. AS you said that your process name is long, you could be facing this issue. You can try to increase your [CODE] variable in your co... | 2 | 3 | 6,524 | 2014-03-07T15:17:36.427 | infrastructure | serverfault.com | |
5,885 | Issue with custom domain SSL certification | We are working on saas application which is hosted on app.example.com. Now we are trying to give the option to the users where their own domain or sub domain like dev.stack.com point to my application by adding A record to 1.2.3.4 IP address (ip address where app.example.com is hosted). With the above setup, we are fac... | Can you obtain a secure certificate for someone else's domain or subdomain without their help - hopefully not. One of the core security pillars of a secure certificate is that it ensures that you are actually connected (through an encrypted connection) to the the site you wanted to connect to. For this purpose the mini... | 1 | 1 | 60 | 2019-01-04T14:46:38.793 | api_errors | devops.stackexchange.com | |
1,123,359 | Postfix white listing a badly configured server not working: Helo command rejected: Host not found; | My mail server configuration is rather strict and some times incoming mails from legit servers get rejected because the remote end has a configuration problem, a common one is the HELO hostname. I have a specific example that is from the most important electrical company in Italy, ENEL, that apparently sends transactio... | You could just delete the duplicated [CODE] / [CODE] checks, as your helo/ehlo restrictions are applied anyway, as long as you keep [CODE] . Then change your list back, whatever is configured with check_ helo _access needs to contain the helo values - it is deliberately made to not allow whitelisting with (unverified) ... | 1 | 2 | 559 | 2023-02-20T18:59:12.777 | infrastructure | serverfault.com | |
366,743 | Apache ActiveMQ Server-to-Server connection | Our company now uses Websphere MQ to facilitate communication with our business partners, but we're evaluating migration to ActiveMQ. I've read some documentation and articles and haven't found particular option we need - server-to-server connections. Apache MQ has notion of broker networks, but as I understood it's mo... | I was absolutely correct, websphere-like server-to-server workflow is not a part of ActiveMQ's feature set. | 3 | 0 | 626 | 2012-03-06T08:16:49.817 | infrastructure | serverfault.com | |
317,203 | Move SQL Server Databases to new installation | I am reinstalling Windows on a developer workstation, that runs SQL Server 2008R2 and contains a lot of SQL Server databases (~50). After the reinstall, I want the SQL Server up and running with the same databases as easy as possible . It is just a workstation, so downtime is not an issue. What is the easiest way to ac... | Backup and Restore Detach and reattach Whether you backup the databases or detach them, make sure you copy/move them to removable storage before you rebuild the workstation. | 0 | 2 | 125 | 2011-09-30T11:43:32.933 | database_errors | serverfault.com | |
323,179 | Msg 214, Level 16, State 201, Procedure master..xp_cmdshell, Line 1 Procedure expects parameter 'command_string' of type 'varchar' | i am using SQL Server Management Studio 2018 I have created a stored procedure where i want to generate CSV Files [CODE] The error i am getting: Msg 214, Level 16, State 201, Procedure master..xp_cmdshell, Line 1 [Batch Start Line 1] Procedure expects parameter 'command_string' of type 'varchar'. What i've done EXEC sp... | You can't use varchar(max) with xp_cmdshell. When you change the [CODE] to [CODE] It should work. | 0 | 2 | 1,223 | 2023-02-07T18:52:43.563 | data_quality | dba.stackexchange.com | |
1,123,107 | SELinux is preventing /usr/bin/mongod from search access | My question is similar to others, such as SELinux preventing mongod search access . In this case, I installed snapd for a reason entirely unrelated to Mongodb. That was about a week ago (2/5/2023). That package created /var/lib/snapd. Just this morning, MongoDB decided it wanted to search that directory, and it has gen... | a had a FTDC similar issue with MongoDB7 on RHEL9. And instead of creating a new policy on SELinux I have just added next lines to /etc/mongod.conf [CODE] You can find more information on this link: SELinux preventing mongod search access | 0 | 0 | 600 | 2023-02-16T17:09:19.077 | database_errors | serverfault.com | |
652,311 | ZFS on Linux + KVM Steals Memory | I'm having an issue with a CentOS 7 server where I have a single ZFS pool created along with (currently) a single running KVM VM (CentOS 6 guest). Top is reporting that the VM is using about 50% of my system's memory (which is correct - I have it configured for 16 GB out of 32 GB total), however, free reports my active... | You have a lot of L2ARC... more than you should. This is not all magical... There are some ZFS best practices that should be part of the design. L2ARC needs to be mapped in real RAM. The best practice that I recall is ~1GB of RAM per 5GB of L2ARC. So you have 172GB of L2ARC... The system would need to be sized to ~34.5... | 2 | 2 | 1,603 | 2014-12-13T07:55:21.673 | infrastructure | serverfault.com | |
906,090 | Can't connect to remote mysql database using SSL and SHA256 password authentication | I can successfully connect over a secure connection from the web server's cli but get an error message when testing connection through php script. mysql status from the web server cli [CODE] SSL variables from web server cli [CODE] Grants from web server cli [CODE] Character set using utf8mb4 from web server cli [CODE]... | I don't have a clear answer for this problem. My assumption is that something is going on with yaSSL. I ended up using Percona instead which implements openSSL. | 1 | 0 | 1,662 | 2018-04-03T09:28:41.643 | api_errors | serverfault.com | |
879,185 | Partially propagated DNS? | Yesterday I made some changes to the Name Server records for a clients domain. Here's a link to a DNS propagation checker that shows the updated NS fields for only three DNS servers across the world. I understand that DNS settings are cached & take some time, but it's been over 15 hours at this point & I've never quite... | DNS doesn't propagate. There's no reason those name servers would have the name server information for the domain name you supplied unless a DNS client of those name servers asked them to resolve DNS records for the domain... or the DNS propagation checker asked them to query for the name servers of the domain name you... | 1 | 4 | 942 | 2017-10-18T23:10:56.000 | infrastructure | serverfault.com | |
543,937 | Maven interfering with Jenkins post build script | I have a Jenkins Maven job that has a post build script written in BASH. Periodically, while the post script is running, it seems like some sort of Maven operation is interfering with the BASH script causing the build to fail. Here's some sample output from the Jenkins console [CODE] See how my BASH variable appears to... | Finally figured it out! I'm using a Maven plugin to extract the module version via a Maven plugin, based on this SO article . The command produces output like this [CODE] My initial BASH call to extract the version number [CODE] However, every so often (and yet unsure where to control this), Maven will reach out for up... | 1 | 2 | 1,095 | 2013-10-04T22:53:33.370 | pipeline_ops | serverfault.com | |
110,491 | Should I be using y_pred or y_pred_proba for binary Classification? | I have a binary classification problem and i want to plot ROC/AUC curve, should I use ypred or ypred_proba | [CODE] gives the predicted probability. [CODE] takes the probability and then rounds to category $0$ or category $1$ . You need some kind of continuum of values in order to vary the classification threshold and draw a ROC curve, so use [CODE] . | 0 | 1 | 411 | 2022-04-29T12:09:51.567 | data_quality | datascience.stackexchange.com | |
15,618 | Windows XP onlys uses up to 1.3GB on one of our boxes | I noticed that one of our Windows XP 32-bit boxes, which has 4GB of RAM, will only use up to 1.3GB of physical memory. Has anyone run into this before? The only thing I can think of is that it's a 4GB-on-32-bit-OS thing, but I don't see why that would cause XP to only use 1/3 of the RAM. Thanks! In answer to your quest... | What does the computer BIOS say about the available RAM? Also, what do you mean by "will only use up to 1.3 GB"? How much memory does it say the computer has in System Properties? | 1 | 1 | 409 | 2009-05-30T15:15:15.690 | infrastructure | serverfault.com | |
32,413 | Objective function for multi-label classification | The customary objective function for multi-label (e.g. M labels) classification is binary cross-entropy. The problem is, if we use binary cross-entropy, we are assuming that the output labels are independent of each other, turning the problem to M independent binary classification problems. Is there any suitable object... | What you're looking for is called "cost-sensitive classification". Most methods however don't work with label similarities, but rather with relative penalties for different types of misclassifications. | 7 | 1 | 358 | 2018-05-30T18:16:01.063 | data_quality | datascience.stackexchange.com | |
595,207 | Domain Admin cannot make changes to Windows Server 2012 | In our windows domain I am the Domain Administrator. I log into my servers with my domain administrator account via Remote Desktop. Now, I just installed Windows Server 2012 and am working in it via RDP and discover that I cannot make changes to a text file because I don't have permissions. This problem extends to any ... | The simplest way is to take ownership of the directory (which as an administrator, you can do), and then change the security permissions to suit your needs - add the administrators group or your user to the security permissions and allow full control, in this case. | 1 | 2 | 57,127 | 2014-05-15T01:24:57.667 | infrastructure | serverfault.com | |
44,871 | How to select specific rows if a column exists or all rows if a column doesn't | I'm writing a script that gets a count of rows for a few tables, however for some tables I want to only get a count of rows where a flag is set (in this case active=1). Is there a way I can do this in one query? Eg: Table [CODE] has a column called active Table [CODE] does not have a column called active I want to get ... | My first thought would be to use the [CODE] first, so you get to know (in one query for all tables in the MySQL instance) which tables have an [CODE] column and then use that info to construct your queries. And this is probably the most sane approach. There is one other, tricky way though that works no matter if the ta... | 24 | 53 | 23,954 | 2013-06-19T17:47:04.357 | database_errors | dba.stackexchange.com | |
301,265 | Any good webcrawler besides DRKSpider | I was having a look at DRKSpider to find problems with a website in our production server, but it seems its export feature generates different outputs (with different content). My goal is to find a good tool that shows every type of status code that might be an error 404, 500, 403, etc. Could you guys please suggest so... | I think the hardest part of this is that most open source tools won't implement a full DOM with a js and css engine. So you're likely to run into issues where even using wget will not expose broken java script issues on your site. If you are trying to figure out what errors your site might be generating for users you s... | 0 | 0 | 330 | 2011-08-15T16:41:46.493 | api_errors | serverfault.com | |
309,769 | Can Dell Equallogic share a LUN that's not dirty for NTFS writes? | If I have a dell equallogic san that has a lun and I want three Windows 2008 servers to be able to write to it. Will the Dell Equallogic product allow me to write to that lun without being "dirty" or corrupt or do I still need clustering somewhere? The windows servers are not clustered and there is no clustering softwa... | You would need to do one of three things: 1) Cluster 2) Mount the volume over iSCSI on one of the machines, and share it to the other two 3) Share the volume from the SAN as CIFS/NFS/Whatever and mount it on all three servers. I don't know if the Equallogics can do that or if they're straight iSCSI. If they're 100% iSC... | 2 | 4 | 606 | 2011-09-09T14:29:04.947 | data_quality | serverfault.com | |
97,020 | Memorization in deep neural networks, random vs. properly labelled datasets | From about 19:20 in the video here: https://www.youtube.com/watch?v=IHZwWFHWa-w it shows the difference in value of the cost function for randomly labelled data vs. properly labelled data. What do they mean by randomly labelled? That the labels change on every batch or epoch? Or that they are just assigned some random ... | They are just comparing learning rates between random labels and organised labels, to understand better how the neural networks behave. The lesson is that neural networks are better suited to learn on structured data. It can also learn on random data but much slower. | 0 | 1 | 288 | 2021-06-24T03:34:29.650 | data_quality | datascience.stackexchange.com | |
418,032 | Installing Tomcat 6 on CentOS 6.3 | I have a CentOS 6.3 server with cPanel. I want to install tomcat 6 (not 5.5 that cPanel supports). When I tried : [CODE] I get the error: (View Full) [CODE] How should I proceed to install Tomcat 6? Thanks! [CODE] [CODE] [CODE] [CODE] | I'm not familiar with cPanel, but it looks like that cPanel configures [CODE] to exclude [CODE] updates to protect it's own packages. [CODE] [CODE] requires [CODE] but it cannot be installed due to the above configuration in [CODE] . So, try this: [CODE] | 0 | 1 | 2,954 | 2012-08-16T02:13:54.517 | infrastructure | serverfault.com | |
268,653 | Size of a MyISAM table doubles after OPTIMIZE | I have this table: [CODE] which contains ~400k rows and is ~800MB big. This is the output from PMA: Then I delete 2'454 rows [ documented in PMA: Running [CODE] suddenly doubles the size of this table. I checked the real size of the table file in the directory and this is correct. It really doubled! My question: Why, w... | It's a 4 month ago filed bug and it is fixed in MySQL 8.0.22. | 0 | 1 | 131 | 2020-06-06T18:20:50.583 | database_errors | dba.stackexchange.com | |
67,507 | How do I spamtrap with Postfix? | How do I setup spamtraps with Postfix so clients that send to trapped addresses are prevented from sending me more spam? | OVERVIEW Bayesian filters and pattern matching and RBLs are all part of the fight against spam. This setup is intended to augment rather than replace those. Note that I'm NOT greylisting. Greylisting is great in theory but in practice it's extremely annoying to your users. Some people have great success with it. I'm no... | 6 | 6 | 4,535 | 2009-09-21T22:12:23.657 | infrastructure | serverfault.com | |
894,412 | LEDE | Two VLANs - when one connects to OpenVPN the other has no internet connection | We have two VLANs. First one is supposed to operate with OpenVPN (NordVPN), have two WiFi networks (5G, 2.4G) and occupy two switch ports. Second one is supposed to be normal, have one WiFi (2.4G) and occupy other two switch ports. The problem is, when I start the OpenVPN service, the first VLAN connects to it, but the... | As indicated in the image of the routing table, the VPN connection is clobbering the default gateway for your router, forcing all outbound traffic through the VPN regardless which internal subnet it originated from. "lan2" loses connectivity because it is trying to use the VPN, but the firewall rules prevent it from do... | 0 | 0 | 1,679 | 2018-01-27T15:46:01.593 | infrastructure | serverfault.com | |
485,371 | Setting up GPO to apply upon SSTP VPN login | I have successfully setup up a VPN connection to an EC2 instance of Windows Server 2008 using SSTP. How do I get GPOs to apply upon VPN login? | I'd use the Connection Manager Administration Kit to create an EXE that creates the SSTP connection. One of the features of the CMAK is the ability to execute commands after the connection has been established. You could execute a [CODE] after connection to apply Group Policy. Beware, though, that some Group Policy set... | 2 | 1 | 3,201 | 2013-03-06T21:09:26.117 | infrastructure | serverfault.com | |
46,830 | Unable to connect oracle as sysdba tables have been dropped | I have a script which lists all tables belonging to the user and executes DROP for all of them. By mistake, I logged in oracle with 'sys as sysdba' and ran above script. Due to which all sysdba tables are dropped. Now i can not startup database instance. In alert log, it gives following error: Sat Jul 20 15:28:21 2013 ... | This is probably as complete a way of killing an Oracle database as you could wish for. The sys tables contain all the metadata about every object in the database -- objects, segments, extents ... so the database now contains no information on what user tables it stores, including the tables that store the data about t... | 4 | 1 | 889 | 2013-07-22T08:52:06.633 | database_errors | dba.stackexchange.com | |
1,033,670 | Google App Engine 500 internal server error | is there any way to solve this probleme but in my local m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; neste... | There is a thread in Stackoverflow where this issue is discussed: To summarise, this is the configuration to implemented that worked. Set manual configuration for JPA [CODE] JPA by default searches sessionFactory by name 'entityManagerFactory' so change the code to: [CODE] | -1 | 0 | 563 | 2020-09-12T18:32:04.277 | api_errors | serverfault.com | |
51,391 | CPanel Change Password of POP Accounts (60,000 of them) | I have a server with CPanel/WHM and we have some 60,000 mailboxes, well some of them looks like compromized for easy password, and we want to reset all mailbox passwords. I tried to run /scripts/fixpop but somehow it did reset password but we dont know what it is ... I also have php script that actually scans through a... | Finally we made our own little HTTP Crawler, to automatically login to cpanel for all 60,000 users and change its password by posting form to change password form. You can do this in either php or any .net program, all you need to do is act like a browser and submit your form. | 2 | 1 | 1,016 | 2009-08-07T10:35:41.047 | infrastructure | serverfault.com | |
457,908 | Does Exchange 2010 encrypt inbound and outbound email traffic by default? | The higher ups have recently asked about this as I'm sure there are compliance issues that need to be addressed. I was under the assumption that Exchange uses opportunistic TLS or StartTLS to try to encrypt all outbound emails and falls back to unencrypted transport. Is this the case with newer versions of Exchange? Ho... | Assuming you already have a cert installed, Create an additional Send Connector specify the domains that require TLS in the Address Space section of the send connector check the "Enable Domain Security (Mutual Auth TLS)" checkbox in the Network section of the new Send Connector That checkbox ensures that TLS must be su... | 2 | 1 | 5,391 | 2012-12-13T20:09:57.510 | infrastructure | serverfault.com | |
1,046,992 | Routing with nftables (Fedora33, nmcli, brctl) | A/ Host (Fedora 33) with Ethernet if [CODE] . ip 192.168.18.11(/24) and B1/ Kvm guest with if [CODE] enslaved to [CODE] . ip 192.168.101.88(/24) (manual routing, static IP) or B2/ Kvm guest with if [CODE] enslaved to [CODE] . ip 192.168.102.210(/24) (virt-manager routing, DHCP) With the configuration shown below, I see... | What was missing was [CODE] s from the various devices on my LAN back to my VM's NW. As in: [CODE] | 0 | 1 | 515 | 2020-12-21T02:02:12.713 | infrastructure | serverfault.com | |
840,902 | systemd: when during boot are network interface devices created | I'm trying to create a custom network management service for a [CODE] netboot image. The service gets a list of all interfaces on the host, finds one with a physical connection, and then uses it to pull the DHCP configuration. The problem is making sure that it starts after all the network devices exist on the system, ... | it seems strange to me that the network device units start after network.target. So the question is: How can I reliably determine when all the interfaces will be available, using systemd unit file syntax? Parts of this question are answered by this Unix SE thread . Basically, per the documentation for network.target : ... | 1 | 1 | 2,504 | 2017-03-27T19:55:22.773 | infrastructure | serverfault.com | |
70,088 | Representation of state space, action space and reward system for RL porblem | I am trying to solve the problem of an agent dynamically discovering(start with no information about the environment) the environment and to explore as much of the environment as possible without crashing into obstacles I have the following environment: where the environment is a matrix. In this the obstacles are repre... | I would suggest you to use Deep Q or A2C (I personally use A2C). As a terminal state you can consider the state in which every tile has been visited once, except if you want to your agent wonder forever. I create OpenAI gym gridworlds so I can use some of their very useful wrappers (example TimeLimit wrapper in which a... | 2 | 1 | 352 | 2020-03-22T18:19:08.007 | data_quality | datascience.stackexchange.com | |
883,949 | Dynamics NAV service stops automatically | I have been tasked with moving Dynamics NAV 2013 R2 to another server. Both servers are running [CODE] with [CODE] . I have moved the database to the new machine and ran the installer for NAV 2012 R2 to complete the installation, but I cannot get NAV to start. When I go into [CODE] and manually try to start [CODE] I ge... | Finally found a solution for this. I installed the NAV Client and development tools on the server in an attempt to open the database from the development application. This provided me with the following error: The DATABASENAME-HERE database on the NAV-SERVER-NAME server cannot be opened by this version of the Microsoft... | 1 | 0 | 4,258 | 2017-11-17T14:36:33.200 | database_errors | serverfault.com | |
111,747 | Sizing a MongoDB shard? | I am in the process of planning a MongoDB deployment, this will be my first to production and I have a question regarding the disk size of each shard in a cluster. This cluster itself will be for storing of time series building sensor data with the potential to accumulate 2TB of data every year quite soon after deploym... | You'll need to increase the chunk size (default:64MB), otherwise you'll be limited there. http://blog.mongodb.org/post/100676030403/sharding-pitfalls-part-iii-chunk-balancing-and General limit information from MongoDB : Database Size The MMAPv1 storage engine limits each database to no more than 16000 data files. This ... | 2 | 2 | 4,677 | 2015-08-20T20:56:21.753 | database_errors | dba.stackexchange.com | |
1,048,182 | tshark : in a HTTP POST request how get form datas in a pretty output? | I'm a teacher and I want to simulate with my students a MITM attack. The goal is to show why the http s protocol must be always used. On debian, I installed tshark. All works fine, when I run the hotspot mode and run tshark, I can get HTTP packets and, digging a little, we can see the form datas in plain text : First, ... | Use the [CODE] command to search for lines containing form items, then split out the relevant data you want with the [CODE] command. In your example something like [CODE] would probably do what you want. | 0 | 0 | 1,077 | 2020-12-31T15:57:11.740 | data_quality | serverfault.com | |
206,167 | Reporting critical Event ID to email | How do you organize or implement monitoring system in your domain to monitor these critical error on your workstations and servers ? [CODE] Any kind of help and comments will be greatly apprecaited. Thanks, AWT | Heh... I keep posting a link to OSSEC, but it'll fit your needs: http://www.ossec.net OSSEC's rules can be easily tweaked to alert based on Windows event sources/IDs. | 0 | 1 | 165 | 2010-11-26T00:26:45.267 | pipeline_ops | serverfault.com | |
975,666 | pg_restore with ssl parameters - how to specify parameters right way? | I have PostgreSQL 11 server with ssl-only connections (it's "Managed PostgreSQL" service by my cloud provider) In documentation [CODE] connection to this server should be like this: [CODE] With this command I'm able to connect to server succesfully. So, next step is to restore my database from backup to that server. Pr... | Try like this: [CODE] But ensure (if you do run this from outside of YandexCloud) that current master host has public IP assigned. | 0 | 0 | 2,088 | 2019-07-17T21:04:31.693 | database_errors | serverfault.com | |
54,757 | How to set up where to store data in SQL Server | My [CODE] drive has a size of 99GB and my [CODE] drive has a size of 2TB Here comes the problem: where does SQL Server store data in the database? Can I control it? Actually, my [CODE] has been full of data now..... and I don't know how to deal with it. I want to configure SQL Server right so that I can store data on [... | You could also control it with: detaching the database in SQL management studio move the *.mdf and *.ldf file to the location you desire (C:/ or D:/) reattaching the database by selecting the new path. | 0 | 2 | 173 | 2013-12-10T04:55:59.940 | database_errors | dba.stackexchange.com | |
76,555 | Problem while connecting to teradata with sqoop | I am trying to connect to Teradat using Sqoop with following command: [CODE] I am getting following error [CODE] Earlier I was using following command to list tables [CODE] and was getting below error : [CODE] Could someone suggest where am I going wrong? | I think here Sqoop is not able to find the connection manager. If you are using CDH, then try to add following parameter in your list-tables command. --connection-manager "com.cloudera.connector.teradata.TeradataManager" | 1 | 1 | 3,783 | 2014-09-15T10:46:44.713 | hadoop_errors | dba.stackexchange.com | |
838,463 | Azure RecoveryServiceVault can't be removed? | During the free trial, I spent time fiddling and experimenting with azure. Now that we've moved to paid version, I need to delete all of the experimented things as we don't need all of them. One of those is a Recovery services vault that somehow got something stuck in it's backup usage (see screenshot below) The recove... | Finally was able to remove the vault, after clearing the sql backups from it through powershell. I'm really surprised NO ONE knew about this and it took so much digging to find it. commands for anyone else having this problem: These commands are to first see if anything is in the database backups, then remove it all. [... | 3 | 5 | 2,290 | 2017-03-15T15:28:26.423 | database_errors | serverfault.com | |
709,006 | Redirect document root within VirtualHost | I am trying to redirect my domain to a new document root if a cookie value is something. I did setup the rewrite and it works fine. [CODE] The problem I have is that the site has a [CODE] configuration file to rewrite SEO friendly URL's. When the document root redirect does redirect me to a new document root then it do... | These are the rewrites I ended up with and they work: [CODE] | 0 | 0 | 144 | 2015-07-28T10:01:21.060 | infrastructure | serverfault.com | |
922,590 | Change postfix limit size of file attachment for some user | I'm using postfix as a relay server and using SASL as authentication. In my case, I want to set a different limit for some SASL user and the others will be using the default limit of postfix. Based on this link https://easyengine.io/tutorials/mail/postfix-attachment-size/ , I know that it is possible to change maximum ... | I think it would be possible, but only with an plugin service like policyd. This can make rules dynamically such as sending limits, etc. https://wiki.policyd.org/ | 0 | 0 | 880 | 2018-07-19T02:14:02.423 | api_errors | serverfault.com | |
15,114 | What design pattern is best suitable with this context? | I have a base class Shape, and drived classes Line Segment, Arc, B-spline,... I want to find the intersection point between these shapes. I would like: [CODE] I don't like this design in Intersect: [CODE] So, What design pattern is best suitable with this context? | I think you are looking for double dispatch or multiple dispatch . Btw., this question is better suited for StackOverflow. | 1 | 6 | 321 | 2010-10-27T15:33:11.827 | api_errors | softwareengineering.stackexchange.com | |
297,708 | Why NPM fails to install Socket.io on Ubuntu? | I've got Ubuntu v11.04 running on Win7 by VMPlayer. I've just finished a fresh installation of NodeJS v0.5.4-pre, and NPM v1.0.22. When attempting to install Socket.io, I'm getting this: [CODE] Any ideas? | This fails because of a bug in the git master version of node, which is unstable. The solution is to run the stable version 0.4: git clone https://github.com/joyent/node.git && cd node git checkout origin/v0.4 ./configure make sudo make install node -v curl http://npmjs.org/install.sh | sudo sh After this, npm should b... | 1 | 3 | 3,467 | 2011-08-03T10:00:33.520 | infrastructure | serverfault.com | |
1,038,816 | Redirects from https reverse proxy to prestashop backend (apache <-> apache) | The issue is with ERR_TOO_MANY_REDIRECTS from my Apache reverse proxy for secured connection to prestashop frontend on backend host (admin panel is reachable trough ssl correctly). I suspect the issue is on the PrestaShop backend, since redirect to static page through SSL on the same endpoint works fine. The infrastruc... | I wasn't able to find any answer for the above issue so I turned to a different solution. I set up an nginx reverse proxy with SSL termination. This way both http and https traffic is pointing to port 80 on the backend. No more redirects loop | 1 | 0 | 1,948 | 2020-10-15T12:10:11.337 | infrastructure | serverfault.com | |
50,740 | How to index refined null values? | I have table with two indexes: latest_channel_snapshots_views_idx (view_count DESC NULLS LAST) latest_channel_snapshots_network_views_idx (network_id, view_count DESC NULLS LAST) What I want is to be able to sort by view_count overall, and within specific network. Postgres uses correct index for both of these cases. Ho... | You have two issues here: large offset: PG will need to scan through the provided offset number of rows and will prefer an index to do this above a table scan. how to index the data: I think a partial index might help you here. Can you try create index xxx_idx on latest_channel_snapshots(view_count DESC NULLS LAST) whe... | 0 | 1 | 985 | 2013-09-30T10:25:31.893 | data_quality | dba.stackexchange.com | |
173,939 | Why doesn't this query use an index spool? | I'm asking this question in order to better understand the optimizer's behavior and to understand the limits around index spools. Suppose that I put integers from 1 to 10000 into a heap: [CODE] And force a nested loop join with [CODE] : [CODE] This is a rather unfriendly action to take towards SQL Server. Nested loop j... | As you know, the optimizer's search is not exhaustive. It tries things that make sense in context, and which frequently pay dividends on real queries. Forcing a loop join between two single-column unindexed heap tables is not such a scenario. That said, here are some details: SQL Server likes to transform applies to jo... | 24 | 21 | 3,393 | 2017-05-18T13:47:56.977 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.