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 |
|---|---|---|---|---|---|---|---|---|---|---|
687,006 | Allow domain account to modify ACL of particular service | I have a windows domain account that I would like to be able to modify the ACL of a particular service. Currently this account is being used to run an installer, and the installer wants to do the ACL modifications but it is failing. The account is a local admin on the box, but apparently due to some group policy it is ... | Since it is a group policy interfering with these permissions, I would recommend fixing the group policy. You can do this by editing the offending group policy, drilling down to Computer Configuration > Windows Settings > Security Settings > System Services > Pick the service you want from the list and go to Properties... | 2 | 0 | 149 | 2015-05-01T16:26:10.493 | infrastructure | serverfault.com | |
1,141,255 | nftables netdev rewrite - what I'm doing wrong? | [EDITED] I'm receiving on physical interface ERSPAN-encapsulated traffic and need to process just a small part of it. In order to do this, I'm decapsulating traffic on local tunnel interface: [CODE] and want to filter (drop/accept), rewrite and/or redirect accepted part to further processing - either local or towards s... | The issue wasn't with nftables. The issue is that tunnel interface is not an ethernet interface and tunnel encapsulation is expected, while after traffic was decapsulated from ERSPAN, it's an Ethernet frame. As soon as I bridged this 'inspan' interface (in my case - into the local OVS bridge), I got this traffic in the... | 0 | 0 | 359 | 2023-08-10T21:30:04.457 | infrastructure | serverfault.com | |
940,700 | I can't connect to my VM on Google cloud | I can't SSH my VM server, every time I tried it failed, please help: I can't connect to it via the browser, the error code is : (#79) I also can't SSH to my server via SSH client See Connection error btw, I already uploaded the SSH public key to the METADATA and also the private key to PUTTY: [CODE] | Google provides an ssh troubleshooting guide . I suggest going through it. If the guide does not resolve the problem, the troubleshooting guide mentions connecting via serial console. connect via the serial console, & ensure the Linux guest environment is running. I will also suggest you check this guide to ensure you'... | 1 | 1 | 7,647 | 2018-11-19T13:39:40.893 | infrastructure | serverfault.com | |
28,580 | Monit connection testing, -1 response not being caught | I have a problem with apache 2.2 on my ubuntu 6.06 LTS server, some old rails sites are producing seg faults and all sorts of madness which seems to be eventually dragging down apache. I am migrating them to a 8.04 installation with nginx and passenger, where the bug has been squashed - but that takes time, until then ... | What happens if you reduce the number of cycles required for a fail ? Possibly your site is flapping, and you never get two consecutive fails. | 0 | 1 | 272 | 2009-06-19T10:55:55.713 | infrastructure | serverfault.com | |
988,626 | Struggling to enable SSL on an old EC2 Instance running Apache & Amazon Linux 1 | Title Hi. I've been struggling to find out why my EC2 Amazon Linux (1) Instance isn't serving my site at the [CODE] address, even though I've confirmed that the SSL is configured, per https://www.ssllabs.com/ssltest/ . I've scoured the web for answers and am still coming up short. I've gotten the following header info ... | As mentioned by others in the comments you've not really given enough information for anyone to say for sure but my guess would be that you need to add the following to your Nette application somewhere: [CODE] I'm not familiar with Netter but it seem that you're getting redirected from https back to http and if you've ... | 2 | 0 | 1,019 | 2019-10-18T23:07:18.690 | api_errors | serverfault.com | |
277,068 | Are Secure Desktop and separate process enough for hiding sensitive information in RAM? | In my program, I have an encrypted database on the file system with a password. It is decrypted in RAM, and the sensitive data get spread out too much in RAM for mistake to be auditable easily enough. (Which rule out zeroing memory manually and using SecureString all over the place) So what I think about doing is spawn... | You must decide what you are protecting and against whom. First, swap. Your application sensitive data can get to swap file and be extracted from there later. So, you must enable zeroing swap file on shutdown. Second, who is attacking your application. I am pretty sure when ring3 application allocates memory it is alre... | 3 | 1 | 121 | 2015-03-23T01:16:37.610 | api_errors | softwareengineering.stackexchange.com | |
325,257 | Possiblity to request several Linux threads scheduled together (in the same time) | I'd like to be able to request Linux to schedule two or more threads in the same time. I mean today when my multi-threaded program is being executed I know that in worst case only one of my threads is being physically executed (scheduled) at a time. Now I'd like to tell Linux: here is the list of thread Ids, please try... | Actually, in worst case, none of your threads may be executing. Linux has plenty of its own threads that it also needs to schedule. You can always request to run multiple threads, but only by assigning a high priority to them can you hope to have them running simultaneously. No guarantees. Assigning a core affinity to ... | 1 | 2 | 317 | 2016-07-19T23:43:21.903 | api_errors | softwareengineering.stackexchange.com | |
777,770 | Trying to setup mail server, can't get ports (25, 587) to work | I've searched everywhere and I'm really struggling with this one. I think I've tried just about everything. Background info VPS with CentOS 6.7 Postfix 2.6.6 dovecot, amavis, mysql, fail2ban I've verified with my VPS provider that they do not block any ports. Things I've done Removed stock sendmail I've installed postf... | Reachergilt, welcome to SF, and thanks for an excellent first question. You may feel that we've saved you, but honestly - you'd already done all the heavy lifting, and presented it very systematically. With a forensic mindset like that, I hope you stay around these parts for some time to come. The [CODE] output is part... | 10 | 4 | 2,368 | 2016-05-19T13:41:18.803 | database_errors | serverfault.com | |
126,505 | How to tell if PAE is hurting me? | We have a couple of servers with 20-30 GB RAM that are running (a variant of) RHEL4. They are currently running the SMP i386 kernel, not x64, not even the hugemem kernel. This means LowMem is confined to Here's a typical vmstat report while it's compiling some Java: [CODE] I don't like the way [CODE] is nonzero when th... | I don't think PAE could hurt you but with that amount of memory why not move on to a 64 bit system. http://linux-mm.org/ You can read more about vmstat here: http://www.helpmehost.com/linux/reading-vmstat-in-linux-part-1/ (and part 2) Why not sar for this kind of a investigation ? | 1 | 2 | 400 | 2010-03-26T05:53:20.357 | infrastructure | serverfault.com | |
287,480 | SSAS error deploying project: Ensure that 'SQL Browser' service is running | After successfully building my project, I got this error when deploying it: The project could not be deployed to the '\SQLEXPRESS' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. To verify or update the name of the target s... | i'm not sure to have a good view of what you are doing... But i can say that SASS service is not included with sql server express. You can only have the reletional database service .\SQLEXPRESS, not the analytics database that is SSAS. https://learn.microsoft.com/en-us/analysis-services/analysis-services-features-suppo... | 0 | 1 | 2,025 | 2021-03-22T15:22:31.567 | pipeline_ops | dba.stackexchange.com | |
1,031,810 | 400 Error with nginx-ingress to Kubernetes Dashboard | I have an ingress that connects to Kubernetes Dashboard, but I'm getting a 400 error when trying to access it. [CODE] That gives me a 400 error in the nginx pod. 2020/08/28 01:25:58 [error] 2609#2609: *795 readv() failed (104: Connection reset by peer) while reading upstream, client: 10.0.0.25, server: kube.example.com... | All you need is this annotation on your service ingress [CODE] | 7 | 13 | 8,942 | 2020-08-28T01:59:46.930 | pipeline_ops | serverfault.com | |
350,230 | Am I too 'clever' to be readable by Jr. devs? Too much functional programming in my JS? | I'm a Sr. front-end dev, coding in Babel ES6. Part of our app makes an API call, and based on the data model we get back from the API call, certain forms need to be filled out. Those forms are stored in a doubly-linked list (if the back-end says some of the data is invalid, we can quickly get the user back to the one p... | In your code, you have made multiple changes: destructuring assignment to access fields in the [CODE] is a good change. extracting the [CODE] functions etc. is a possibly good change. introducing a functor is … very confusing. One of the most confusing parts here is how you are mixing functional and imperative programm... | 135 | 324 | 37,934 | 2017-06-06T04:52:23.893 | api_errors | softwareengineering.stackexchange.com | |
264,516 | Force update statements to take page locks in the same order? | I have two update statements on the same table that take page locks in different orders. This leads to deadlocks. Process A owns an update lock on page 1, and requests an update lock on page 2. Process B owns an update lock on page 2, and wants an update lock on page 1. How can I force both statements to take page lock... | How can I force both statements to take page locks in the same order? You can't. Instead force them both to take a table lock with a TABLOCKX hint, or use an Application Lock to serialize the sessions. | 2 | 2 | 122 | 2020-04-07T18:04:45.250 | database_errors | dba.stackexchange.com | |
159,092 | table is corrupted after getting 1114 error : table is full | PC is Intel Core 2 Duo with 4G of RAM. Windows 7 32bit innodb_buffer_pool_size=1G with innodb_buffer_pool_instances=2 I was loading data from CSVs into mysql table using mysql import command. Mysql gave me Table Full Error: 1114 at when my table size was exactly 4G. (Size of .idb file in the ProgramData directory.) Aft... | For me, the solution was to moving to 64bit operating system as suggested by @mustaccio originally in the comments. Thanks to @Rick_james and @mustaccio for their support and instant replies. | 1 | 0 | 614 | 2016-12-24T14:18:53.907 | data_quality | dba.stackexchange.com | |
894,003 | Using dialogflow library in App Engine Flexible Environment | I am trying to integrate Dialoogflow V2 into my Python/Django WebApp in GAE Flexible Environment. I have followed all the steps: https://developers.google.com/api-client-library/python/apis/dialogflow/v2beta1 https://cloud.google.com/appengine/docs/flexible/python/using-python-libraries https://cloud.google.com/appengi... | Okay. The problem was that the appengine_config.py file was not understood by the GAE. The documentation here ( https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#vendoring ) is insufficient. I included this ( https://gist.github.com/jonparrott/4bdd7af14a676f33b099 ) in my appengine... | 0 | 0 | 291 | 2018-01-25T03:40:41.617 | pipeline_ops | serverfault.com | |
21,030 | Slow-running query on clustered MySQL environment | I've got a very simple query, directly equivalent to [CODE] When I run this query on my non-clustered development machine, it runs in 0.07 of a second. When I run the same query on one of our clustered load-balanced servers, it takes upwards of half an hour to complete. The data on both servers is exactly the same. Why... | You may want to consider if you really need the MySQL Cluster, it may be overkill for your purposes and may not justify the complexity. A pair of MySQL Master-Master or Master-Slave instances with replication are good enough for many shops and will deliver better performance in this scenario. If you have to stay with y... | 3 | 2 | 449 | 2012-07-17T15:25:00.947 | database_errors | dba.stackexchange.com | |
297,274 | Efficient 2d per pixel lighting on Android | I am trying to create a simple 2d game to learn on my own. My current task is creating a lighting scheme. My goal is to make the screen appear dark except where I create lights. I have a light class that only tracks the position and radius of the light. The code I feel I need help in improving is my per pixel lighting ... | There are a couple of things in this code that strike me as wrong or inefficient: First, [CODE] doesn't actually create a copy of the image. It creates a copy of the reference to the image, hence you are modifying the actual image, rather than a copy. This is actually a thing throughout Java, only primitive values can ... | 1 | 0 | 186 | 2015-09-15T01:01:17.173 | api_errors | softwareengineering.stackexchange.com | |
192,529 | Email trouble with ISA 2004 behind Cisco ASA | Without going into the whys, I've got an ISA 2004 server behind a Cisco ASA. Since the installation of the ASA, I can no longer send email to one particular domain. I get a "500 Non RFC-compliant response received" bounce. Using a telnet session from a server in the DMZ, I verified that I can get a mail session to go t... | Any chance you can have the application filter on the Cisco turned off? There are various issues with Cisco's implementations of their application-level filters. We had a situation where the Cisco filters would cause a SIP video session to consistently disconnect after a hour into the session. The situation was finally... | 0 | 1 | 127 | 2010-10-19T15:37:55.053 | api_errors | serverfault.com | |
323,359 | NFS mounted on windows 7 authentication headache | I've got a NFS share on a Netapp and a laptop running windows 7 enterprise that needs to mount the volume. I've installed all the NFS services on windows 7, and am able to mount and browse the drive. The problem is that I don't have access to modify files on the volume. Googling around, I think this is because I need t... | First you need to look at the Qtree security style for the exported volume/qtree. This will be either NTFS/Unix/Mixed. If it is to only be used by Windows hosts, set it to NTFS, if this particular export is to be mounted on *nix hosts, and you want nix to handle all permissions, set it to Unix. Mixed should generally b... | 2 | 1 | 3,281 | 2011-10-20T16:26:43.340 | api_errors | serverfault.com | |
929,268 | Azure Virtual Machine has no public IP yet can access the internet | I have a Virtual Machine which is connected to a Virtual Network. The Virtual network has 2 attached devices, and Virtual Network Gateway and a Network Interface. Only the Virtual Network Gateway has a Public IP address (apparently used so Point-to-Site can access it). The Virtual Network has two Subnets, a Gateway Sub... | It uses NAT to connect to the outside world, the same as most home PCs do. If you look at your own PC, you will most likely find that it also uses a private address. Basically, the router forwards the connection to the destination, for the target host the connection seems to originate from the router. This usually work... | 0 | 1 | 8,991 | 2018-09-03T20:00:45.637 | infrastructure | serverfault.com | |
330,280 | ErrorDocument not working when accessing .htaccess | I've been setting up ErrorDocuments for a website I'm working, and generally they've been working. However, after I set the 403 ErrorDocument, I noticed that it didn't work when I tried to access the .htaccess file itself. When I access a different forbidden file, the Error Document appears just fine. How can I make th... | The .htaccess file is most likely uploaded with your user permissions, allowing it to be viewed like any other file you might upload. The [CODE] at the front only makes the file hidden from the standard file list, so that people don't see it listed. It does not completely forbid access to the file. Check the file's per... | 0 | 0 | 381 | 2011-11-11T19:40:42.040 | api_errors | serverfault.com | |
13,596 | What techniques to use for image matching | I have a database with around 30,000 pictures. All of them are a different object. They are all from a certain perspective, the pictures itself are the same size but the objects vary in size. I want to build a system that you can query with a new picture, and that will return it's nearest neighbor, given that it is sim... | Hashing is the way to go if you want fast -- constant time -- retrieval of nearest neighbors. Here's a recent example using neural networks to learn a binary hash: Deep Learning of Binary Hash Codes for Fast Image Retrieval ( code ) ( slides ) You want to avoid doing all-pairs computations like correlations. | 5 | 8 | 9,597 | 2016-08-22T13:54:43.567 | data_quality | datascience.stackexchange.com | |
190,938 | Postgresql migration disaster? | I am running Gentoo. I upgraded from Postgresql 8.2.7 to 9.0.1. Somewhere in the upgrade process, the old Postgresql got unmerged unstead of getting slotted, so it's gone. The old version is also gone from portage so I can't just re-emerge it. I have the Postgresql data directory with my database, but it is useless bec... | The official way to migrate a PostgreSQL database to a new major release is to dump and reimport: As a general rule, the internal data storage format is subject to change between major releases of PostgreSQL (where the number after the first dot changes). [...]When you update between compatible versions, you can simply... | 2 | 2 | 429 | 2010-10-14T14:00:30.060 | database_errors | serverfault.com | |
253,339 | Different default innodb_buffer_pool_size on Windows with MySQL 8.0.18 | I have installed MySQL 8.0.18 Community with the same configuration (mysql-installer-community-8.0.18.0.msi installer, custom install with server + workbench, standalone server, legacy authentication, rest are the defaults ) on multiple Windows environments with surprisingly varying results. 3 out of 5 of these machine... | 8M is a very old default for MySQL. Yes, it is laughable. It is much too small for any instance today. Either that my.ini was left over from some previous installation, or it is worth a bug report. If you have at least 4GB of RAM, set [CODE] to about 70% of RAM. | 1 | 1 | 1,242 | 2019-11-14T21:05:52.533 | bi_errors | dba.stackexchange.com | |
72,292 | Splitting a csv column from select query into multiple columns | I have a stored procedure [CODE] that returns this: [CODE] I want to split the Location column into multiple columns . [CODE] I found this answer but that was for postgresql . Also this , but it returns a table with multiple rows and you can select the top 1 but I want all the results and I'm not sure how to use the tv... | Making use of Jeff Moden's Tally-Ho! CSV splitter from here : [CODE] We can code the solution as an apply against Jeff's function and a pivot like so: [CODE] yielding this: [CODE] | 7 | 6 | 3,500 | 2014-07-24T16:47:08.580 | database_errors | dba.stackexchange.com | |
1,102,619 | Does a GCP stateful Managed Instance Group checkpoint restore machine state or just disk? | I'm just getting into setting up a feature we were originally doing with local VMs, now through Google Cloud Platform and some of the features and terminology are confusing me. I need to launch a batch operations where multiple VMs launch and then interact with each-other via RESTful APIs for perhaps 10 minutes before ... | To clarify your doubts about the stateful MIG; in general, when you deploy a Managed instance Group, this will try to recreate your instance if a VM crashes or if a managed instance stops running. And, if this change of state was not initiated by the MIG, then the MIG automatically recreates that instance based on the ... | 0 | 1 | 646 | 2022-06-06T16:18:38.743 | pipeline_ops | serverfault.com | |
199,388 | Why are there so many numeric types (bit, int, float, double, long)? | I've learned PHP, Java, and C. Now I'm curious as to why there are so many types of numerical data types like bit, int, float, double, and long. Why not make only one type for numericals? Is there any benefit to this? Maybe if we use integers to hold such small numbers we can save memory? | There are two reasons why you should be concerned with the different numerical data types. 1. Saving memory [CODE] Why use a long when it could just as easily be an integer, or even a byte? You would indeed save several bytes of memory by doing so. 2. Floating point numbers and integer numbers are stored differently in... | 10 | 18 | 14,324 | 2013-05-25T04:32:35.383 | api_errors | softwareengineering.stackexchange.com | |
15,817 | K8S + HELM. Create a persistence volume for mysql database | I am using K8S with Helm 3 . I am also using MYSQL 5.7 database. How can I create MYSQL pod, that the database will persist (created on first time) after first time the pod is created, and even the pod is down and up again, the data won't be lost? I am using [CODE] and [CODE] . Here are the YAML files: Mysql pod: [CODE... | It seems that you are using the host file system for the persistent volume. Assuming that you have multiple worker nodes and the pod restarts on a different node, the data is “lost” (only exists in the node that it ran on previously). Force the pod to run on 1 particular node and restart the pod. You’ll notice that the... | 0 | 1 | 640 | 2022-04-18T12:41:43.173 | database_errors | devops.stackexchange.com | |
955,354 | x11 forwarding not working | I'm having trouble getting x11 forwarding when I ssh into a linux machine from a MAC operating Mojave. When I do ssh -X username@serveraddress, I get the following error appearing after I successfully login: [CODE] I have tried to follow the fixes suggested to this problem on stackoverflow but they don't seem to work. ... | Obviously you should remove the change you made to [CODE] . It doesn't work, and never will, because the path is wrong, and that takes place on the server side anyway. After that, you should ssh to the server and delete the existing [CODE] file. Then log out, and ssh back in. This error occurs because the file could no... | 2 | 2 | 1,998 | 2019-02-22T22:10:16.567 | infrastructure | serverfault.com | |
146,955 | How to get Super Priviledge for a database on an online server | Can someone please look at this MySQL statement and suggest to me what to do, for each time I run the code below, I get the following error: 1227 - Access denied; you need the SUPER privilege for this operation [CODE] | I question whether you asr asking the correct question: Are you [CODE] @ [CODE] ? If so, leave out the [CODE] clause. Do you really want the VIEW to be run only as [CODE] @ [CODE] ? Usually one wants to run things as [CODE] or as [CODE] . To get [CODE] , normally you connect to MySQL as the user [CODE] . I say "normall... | 0 | 0 | 97 | 2016-08-16T12:58:31.843 | database_errors | dba.stackexchange.com | |
537,545 | cron job not running the script that start vncserver | Hi I wrote a script to start my [CODE] when I call it manually via command line. It works as follows: the script is in usr/bin I gave it the right authorization ( [CODE] ) but wen I test it via cron ( [CODE] ) it doesn't works In the syslog I find : "grandchild #8076 failed with exit status 2" I'm on a VPS running Debi... | Why are you going to be running the cronjob continually? Does the script detect if the vnc is currently running and only starts it up if it is not? If you want vnc to just start up at reboot, use the [CODE] cronjob, or put it inside [CODE] . Not knowing what your use case is or what your script actually does it is hard... | 0 | 0 | 2,016 | 2013-09-09T16:45:33.330 | infrastructure | serverfault.com | |
1,076,325 | apply calico manifest through ansible kubernetes core module | I am trying to install calico on an existing single-node kubernetes cluster (installed through kubeadm). The two manifests are tigera-operator and custom-resources . This works fine if I manually install it through kubectl: [CODE] When I try to install it through the ansible kubernetes module (core or community, it's t... | I was able to solve it quite easily in the end. I needed to add the [CODE] directive to the task. So now it looks like this (I'm also adding the second related task): [CODE] Reference: https://docs.ansible.com/ansible/latest/collections/community/kubernetes/k8s_module.html apply compares the desired resource definition... | 0 | 1 | 1,042 | 2021-09-01T18:54:23.653 | pipeline_ops | serverfault.com | |
441,546 | Classic ASP start page not found (404) in IIS 7 on Windows Server 2008 R2 | My site/application points to a folder called "site" with all permissions set up. In that folder resides "home.asp". Default document is "home.asp". When I go to the domain, I get a "page not found". If I capture that 404 error in IIS and tell it to redirect to "home.asp", everything works. The problem with that is I d... | [From my comment] The fact that the redirect is working means that, by definition, the first request is not the same as the second (otherwise the redirect would cause another 404). Look in your IIS logs to see what the first request looks like versus the redirected one | 0 | 0 | 9,625 | 2012-10-23T21:25:04.580 | infrastructure | serverfault.com | |
669,958 | Nginx access log. Include only pages | Now in my access log file too many records, - because images and pages in same file. Is it possible move all images to one file and only php pages to second file? (filter images and non images files) [CODE] | The [CODE] directive can be used in different scopes as stated in the documentation : Context: http, server, location, if in location, limit_except So for instance it's possible to split locations for static and dynamic content and log what you want where you want. Another possibility since nginx 1.7.0 is to set up con... | 0 | 2 | 1,797 | 2015-02-19T19:13:47.933 | infrastructure | serverfault.com | |
445,004 | Microservices distributed lock mechanism | I am using spring boot with mongo db (azure cosmos db) in my microservices. Currently I have an Orders collection that stores Orders. These documents have a field userId that is null when the document is created. Afterwards, a request is made from a user to assign a order to him and this field is populated. The issue i... | want to make sure an user has at most one order assigned Due to some performance constraints I cannot guarantee this constraint with unique indexes. I flat out don't believe that, absent benchmark results. But let's assume there exists no technology that can support your required read and write transaction rates. I wil... | 1 | 2 | 891 | 2023-04-13T10:39:26.917 | data_quality | softwareengineering.stackexchange.com | |
100,665 | Unknown returned type in PostgreSQL query | The following query works: [CODE] However, I wasn't able to use a different column type such as [CODE] : [CODE] It seems that, in the second case, the column type is inferred as [CODE] , which is not cast to [CODE] automatically. How do I make the second example work and return columns with the right type, if possible ... | You can do this without generating a warning by creating a type and casting the records to it: [CODE] tested on 9.4 and 9.3 (db<>fiddle here ) | 10 | 8 | 4,409 | 2015-05-05T14:10:52.867 | database_errors | dba.stackexchange.com | |
820,563 | Can't connect to specific IP address and/or TCP port - can the ISP be blocking it? | I have a RDP user who has successfully been using RDP from his laptop to his workstation in our office when he is at home. It is configured to use our public IP and port 10378 and has been working fine until about 2 weeks ago when it just stopped working for him. I've checked this RDP profile (IP:PORT) config from nume... | Old topic, but I want to warn future readers that presenting RDP directly to the Internet - even on a nonstandard port - is an incredibly bad idea. Set up a secure VPN from the user’s laptop to a network or to a specific machine in their workplace and run RDP traffic through that encrypted tunnel. This solves the possi... | 0 | 1 | 5,472 | 2016-12-14T01:14:25.497 | infrastructure | serverfault.com | |
54,293 | Strange binary classification result with a model that indicate it has been well-trained | The problem : I am trying to build a model for binary classification for melanoma 'MEL' and nevus 'NV' the dataset is from ISIC archive ISIC 2019 but for 8 different type of skin lesion, I am using just two type as I mentioned (binary classification). the two classes are unbalanced 10000 for 'NV' and 3000 for 'MEL'. th... | There are many points that you should check/try : - use Flatten layer instead of GlobalMaxPooling2D (with optional conv2d layers to reduce spatial dimensions even more before the Flatten) - your final Dense layer should have only one unit and not two since you are doing binary classification - no down sampling but bala... | 1 | 1 | 311 | 2019-06-22T15:08:00.760 | hadoop_errors | datascience.stackexchange.com | |
515,845 | Tell Apache to create error.log/access.log as different user | If you tell Apache to use CustomLog files, Apache2 will create these files on startup. And it always gives them to user root:root. How can I change this behavior? Background Apache runs with [CODE] and at the same time, I use a CustomLog that pipes it output to a script. The script removes two bytes from the IP and the... | This sentence: The script cannot access my custom log if this does not belong to www-data. Is in direct contradiction with http://httpd.apache.org/docs/current/logs.html#piped : Piped log processes are spawned by the parent Apache httpd process, and inherit the userid of that process. This means that piped log programs... | 7 | 1 | 14,108 | 2013-06-14T13:57:05.847 | infrastructure | serverfault.com | |
990,743 | How to configure FreeRADIUS for use with strongSwan group selection? | Building a VPN service with strongSwan, I need to distinguish between several groups of users where each group is assigned a certain subnet with certain permissions (i.e. "group x" has access only to a specific part of the local subnet, e.g. 192.168.10.10/32). The official strongSwan wiki only allows so-called "group s... | You're missing the comma at the end of the [CODE] line. See the examples in the users file man page . | 0 | 2 | 1,321 | 2019-11-05T23:21:33.820 | data_quality | serverfault.com | |
74,667 | High error Arima model - Python | I have a time series data. It has daily frequency. I want to forecast the data for the next week or month with an ARIMA model. This is a chart of my time series data: First I use the method seasonal_decompose from stats model to check the trend/sessionality/residual looks like: [CODE] I check if my data is stationary: ... | your data looks like a count process. The default ARIMA parameters assume a normal distributed continues error term. So the standard ARIMA models are using this assumption. As far as I know there are some ARIMA models with poisson distribution as an error term, but I guess you just should google for timeseries for coun... | 2 | 1 | 234 | 2020-05-22T18:02:06.340 | data_quality | datascience.stackexchange.com | |
1,077,701 | Ansible fails to ssh connect to dynamically created EC2 host | My Ansible script creates an AWS machine, then tries to connect to it. Depending on the image I'm creating, the default username for SSH login is either 'centos' or 'ubuntu' etc. My script below fails on the wait_for_connection with a 'permission denied' error. I assume this is because ssh is using the wrong username; ... | You can set variables on any task, block, or play using the [CODE] keyword. [CODE] | 0 | 0 | 605 | 2021-09-15T23:31:05.833 | pipeline_ops | serverfault.com | |
65,233 | How can I make multiple joins on the same table? | I have a table ( signal ) which contains references to two other tables ( ee and eeav ). I want to perform an SQL Query which combines the data from ee and eeav tables. The situation is as follows: The table signal can either have a reference to ee or eeav . In other words: when ee has a non- [CODE] value, eeav has the... | I think this does what you need [CODE] | 1 | 1 | 126 | 2014-05-16T12:22:38.797 | api_errors | dba.stackexchange.com | |
658,363 | Installation OpenLDAP on CentOS 7 | I'm f ollowing this OpenLDAP step by step tutorial : http://www.server-world.info/en/note?os=CentOS_7&p=openldap&f=1 Important: I'm working on CentOS 7 But when in the first part I try to start [CODE] with: [CODE] , it throws me an error that I can't solve. I looked for in web, StackOverflow and Server Fault but anyone... | Use CentOS OpenLDAP help page . It is very concise and no fluff. Prior to doing so - please revert all the config files to their original state. Can be confirmed via: [CODE] If above command shows any files modified - either remove and reinstall openldap-server or fetch files over from backup. | 2 | 2 | 18,347 | 2015-01-09T11:48:22.643 | infrastructure | serverfault.com | |
438,730 | Configuring Apache vhost to process PHP files | Possible Duplicate: Apache not parsing files? Just sending downloads Description Now I have setup up a site in Apache using vhost. If I request something it response me a PHP file raw. Question How should I configure my vhost to process PHP files? Stage My vhost configuration: [CODE] If I request some page it throws me... | Ensure that mod_php is installed and enabled. | 0 | 0 | 503 | 2012-10-15T20:35:04.600 | data_quality | serverfault.com | |
739,800 | Saltstack events not firing or reactor system not responding | I've got a master and minion connected, and I'm trying to set up some monitoring via the reactor system on the master. I haven't gotten far at all though, because so far as I can tell, events aren't occurring on the master. A simple execution of: [CODE] from the minion seems to try to send the event: [CODE] However, th... | on your master config did you uncomment the following line [CODE] If you don't then the reactor.conf you added will never work | 1 | 1 | 1,683 | 2015-11-30T17:38:54.197 | pipeline_ops | serverfault.com | |
55,147 | How to train model to predict 1 value from multiple input samples | Very new in ML... Actual problem is more complex, but I'll give it shorter. Train data is a collection of samples, describing features of some items. There are many samples for each item. So ML model is implied to predict a few target variables, but one time for each item: It appears, that I can't find in sklearn or a ... | My first approach would be to repeat the target as many times as there are entries for an item. This would give you something like: [CODE] etc. Perhaps adding some noise over the target parameters could help in regularization, depending on the results. The [CODE] feature probably needs to be encoded somehow if it is li... | 1 | 0 | 1,866 | 2019-07-05T16:50:40.387 | pipeline_ops | datascience.stackexchange.com | |
118,552 | How to choose between Tell don't Ask and Command Query Separation? | The principle Tell Don't Ask says: you should endeavor to tell objects what you want them to do; do not ask them questions about their state, make a decision, and then tell them what to do. The problem is that, as the caller, you should not be making decisions based on the state of the called object that result in you ... | Actually your example problem already illustrates lack of decomposition. Let's just change it a slight bit: [CODE] This is not really different, but makes the flaw more apparent: Why would the book know about its shelf? Simply put, it shouldn't. It introduces a dependency of books on shelves (which doesn't make sense) ... | 26 | 26 | 3,164 | 2011-11-08T15:39:32.477 | api_errors | softwareengineering.stackexchange.com | |
443,615 | If "others have modified components since you checked out the system", what would you do? | In Software Engineering by Pressman: The steps in continuous integration are: Check out the mainline system from the version management system into the developer's private workspace. Build the system and run automated tests to ensure that the built system passes all tests. If not, the build is broken and you should inf... | What does "these" in "edit these" refer to? The components that was modified by others since I last last check out? Or the components that was changed by me after my last last check out? Honestly it's both. Obviously if you can resolve the conflict by sticking to editing the components you were already making changes t... | 0 | 5 | 220 | 2023-01-26T22:05:53.137 | api_errors | softwareengineering.stackexchange.com | |
736,385 | OpenLDAP ACL stored as hash? | Does anyone know why when I add these 3 ACLs the third is represented in the olcDatabase\={2}hdb.ldif as a random string? ACLs: [CODE] slapcat output: [CODE] This is kind of random but it's really bugging me. I'm running openldap-2.4.39-7.el7 on CentOS 7. | Please try: [CODE] you will see what is inside the hash. You can confirm what @Sven said (a trailing space at the end of the line, very likely). | 0 | 2 | 312 | 2015-11-14T17:01:09.923 | infrastructure | serverfault.com | |
117,534 | The multi-part identifier "d.dept_name" could not be bound | I want to create a table with department name as column name and no. of employess for each department as its row. Here dept_name is coming from Dept table and count of emp.ID is coming from emp table. I am getting this error for my code Msg 4104, Level 16, State 1, Line 3 The multi-part identifier "d.dept_name" could n... | First of all, after applying PIVOT, all columns of the pivoted set must be referenced using the alias specified for the PIVOT clause. As per the manual: When a derived table, rowset or table-valued function, or operator clause (such as PIVOT or UNPIVOT) is used, the required table_alias at the end of the clause is the ... | 3 | 4 | 4,323 | 2015-10-09T10:07:23.587 | warehouse_errors | dba.stackexchange.com | |
966,618 | How to troubleshoot internal DNS resolution (Windows DNS server) pointing to a local server with a static internal IP address | To better explain the set up I have a Debian server in a private network with a static IP. There is a windows AD server that resolves DNS for clients internally. A domain name is already registered and a public IP is pointed to the server AAA record mapping to the static IP internally has been done (as i have been told... | To troubleshoot DNS, there are a couple of things to understand. What DNS server your Debian server is using. Can be found in /etc/resolv.conf What domain you are trying to find a server in. Typically the domain is the last part of the web address. What DNS is authoritative for the domain From what it sounds like, you ... | 2 | 1 | 520 | 2019-05-09T19:04:29.403 | infrastructure | serverfault.com | |
43,880 | how to get prediction from trained random forest model? | i have a dataset with two columns user posts (posts) and personality type (type) , i need personality type according to posts using this dataset so i used random forest regression for prediction here is my code:- [CODE] accuracy: [CODE] now i want to get prediction from a custom text how can i achive that ? how can i g... | Use the CountVectorizer you have fitted to preprocess your custom input then feed it to your model for prediction. [CODE] | 0 | 4 | 265 | 2019-01-12T11:02:44.420 | hadoop_errors | datascience.stackexchange.com | |
933,355 | nginx "ERR_TOO_MANY_REDIRECTS" after add ssl | After i add Let's Encrypt certificate to my website with CertBot i get [CODE] when i try to visit the domain of my website. some info : -mywebsite build with django, nginx and gunicorn. [CODE] /etc/letsencrypt/options-ssl-nginx.conf :- [CODE] please tell me if you need any other code/info thanks Note : i have read all ... | That's because you're redirecting all connections to https, even https connections, which means you create a redirect loop. Change your config to [CODE] Though it would be good to know what your /etc/letsencrypt/options-ssl-nginx.conf includes. Explanation: Basically you need two "server" sections, one for port 80 and ... | 8 | 8 | 20,477 | 2018-09-30T16:25:34.003 | infrastructure | serverfault.com | |
22,561 | Remote Support Software Recommendations | Possible Duplicate: Best Windows remote support / screen sharing tools? What remote support software do you use? How much of your support is done remotely versus on-site? Any metrics your company is using to quantify the savings/profit remote support has contributed to your company? | LogMeIn is the primary way Secondary way, All computers have remote desktop turned on as the secondary and the network forwards the remote desktop port to one computer. So I can login via remote desktop to one computer and then remote to any other. I'll filter the IP for forwarding of that port so it only comes from my... | 1 | 1 | 456 | 2009-06-09T13:13:20.993 | data_quality | serverfault.com | |
233,350 | PostgreSQL: pg_rewind complains about wal_log_hints = on not been set, it is | I'm rather new to pg so please bear with me. I've set up two hosts and installed pg10 on both. Then I configured log streaming replication between them. This worked fine. I wanted to test fail over, so I stopped postgresql service on Primary and create trigger file on Standby, this also worked find. I check and my stan... | I have wal_log_hints = on set on both servers. But presumably it was set too late, that is, after the generation of at least some of the WAL files involved in the rewind (in the [CODE] directory). | 2 | 1 | 3,819 | 2019-03-28T09:26:54.313 | database_errors | dba.stackexchange.com | |
980,312 | Webserver with merged disks and backup optimal Solution | I have to set up an HPE server GEN10 with 2x240GB SSD & 3x1.2TB HDDs as a webserver. Client needs a production repo (live on apache folder), multiple development repos and backup. My idea is 1) merge the two SSDs into 1disk, so 1Disk with ~400GB total, 2) merge 2x1.2TB HDDs having all the development repos there 3) and... | Sorry, I know you're new, and I'm trying to be nice here, but those are all terrible options sorry. Firstly don't create a RAID 0/striped array for any data you care about - WHEN you lose one SSD you'll lose all your data, R0 has it's purpose, usually for holding data you don't mind losing like logs, but nobody uses it... | -2 | 2 | 75 | 2019-08-22T12:40:52.553 | database_errors | serverfault.com | |
1,049,272 | Route Tinyproxy outgoing connections through OpenVPN interface | I've created an Ubuntu 16.04 lxd container and setup Stunnel, Tinyproxy and OpenVPN client in it. The goal is to connect to Tinyproxy through Stunnel and force Tinyproxy to use OpenVPN's interface for outgoing connections. Stunnel -> Tinyproxy works fine - pages in browser are loading as expected, however, as soon as I... | The problem was with routing table configuration. I noticed that when removing routes added by OpenVPN: [CODE] and trying to perform [CODE] and simultaneously monitoring packets with [CODE] , reply icmp requests actualy hit [CODE] but don't proceed any further. After some investigation I found out that there should als... | 0 | 0 | 1,582 | 2021-01-10T17:33:46.690 | pipeline_ops | serverfault.com | |
187,261 | Configuration file for an API - should it be web.config? | I have a remote procedure call API where the connection parameters need to be stored somewhere that the API code can access. This API is expected to be used mainly to create web services. I originally planed to store these parameters in a separate xml file, and require users of the API to define the path to that file i... | In my experience with .NET programming, the web.config (for WCF and ASP.NET) or the app.config (for all other .NET projects) are used for anything that is related to the configuration of the application or framework. There are exceptions such as when the amount of configurations is just too exceedingly large to organiz... | 1 | 3 | 7,252 | 2013-02-16T04:48:31.980 | api_errors | softwareengineering.stackexchange.com | |
289,832 | Dell PowerEdge - Advanced ECC vs Optimized for 8GB RAM | We are buying new Dell R410 servers, and I'm trying to figure out the best RAM performance we can get. Dell offers the following choices: [CODE] From reading Dell help, and the following document: http://www.dell.com/downloads/global/products/pedge/en/server-poweredge-11g-white-paper.pdf It seems the last configuration... | So as per the comments above and some extra info, I think this is the fastest configuration: RDIMM (see page 8 'High Performance') 3 x 1Gb (or 3 x 2Gb) sticks per CPU (see page 8 'High Performance') I realize these options won't provide exactly 8Gb RAM, but that amount appears to be an inefficient one for this processo... | 1 | 2 | 6,000 | 2011-07-13T10:37:55.097 | infrastructure | serverfault.com | |
166,674 | Need help with Master Slave Replication | I want to set up a Master-Slave Replication. Therefore I followed the MySQL manual. Once I was I wanted to test it. I've let me show the slave status with was as following; [CODE] As you can see, the slave was waiting. That's the reason, why I made a test INSERT on the MASTER. As the INSERT did not show on my slave it ... | -I think the Bind-Address in the my.cnf can be set to [CODE] or [CODE] -From what I understand your replication never once worked? Your master is sending the files to the salve I see that in the [CODE] So what the problem is with the configuration of the salve reading the log or you did not dump the database from the m... | 1 | 1 | 2,070 | 2017-03-09T13:20:20.173 | database_errors | dba.stackexchange.com | |
224,643 | MySQL vs. MariaDB Binary Logging Difference | I've been doing some testing with both MySQL and MariaDB and I've noticed a big difference with regards to the growth of binary logs - I can't find out much about this online. I have a test database, and I have written a script which simulates transactional activity (selects, updates, inserts, deletes etc) with the aim... | There are many differences in default values for system variables between MariaDB 10.3 and MySQL 5.7 , so that can explain both some of the performance and binlog size differences. Additionally, MariaDB 10.3 is of course newer code, being the most recent major MariaDB release at the moment, whereas MySQL 5.7 is not the... | 0 | 2 | 1,030 | 2018-12-11T10:54:42.433 | database_errors | dba.stackexchange.com | |
319,926 | mod_rewrite and access.log | My site recently came under a DOS attack, which seems to have been mostly fixed by installing mod-evasive (which is fine) I wanted to find the IP which was used for the attack so naturally I went to the access.log only to find hundreds of lines of this: [CODE] I'm pretty sure this is because I'm using mod_rewrite, in s... | These are internal requests by the apache parent process to keep child processes alive and to generate new child processes when load dictates new children are required. Depending upon the type of denial of service attack, you're not going to have much luck getting the IP from the access log. The access log only logs re... | 2 | 2 | 840 | 2011-10-08T20:25:55.887 | infrastructure | serverfault.com | |
330,317 | Cannot Enter Credentials Over UAC Prompts During Remote Assistance | We are using SonicWALL firewall devices throughout our network. We use the SonicWALL Virtual Assistance tool for remote desktop assistance. Since our systems are not in a workgroup and are on a domain, we face problems when the UAC prompts appear. As a workaround, we edited the UAC policies such as switching to secure ... | One possible solution is to use SCCM. When using remote tools in SCCM you can type in the UAC prompt. | 0 | 1 | 4,445 | 2011-11-12T08:03:15.703 | infrastructure | serverfault.com | |
446,304 | How to change SMP affinity of an IRQ on Ubuntu PV domU inside Xen XCP? | I'd like to change IRQ SMP affinity for reasons, outlined in this question: CPU0 is swamped with eth1 interrupts But I can't — I see [CODE] when I try to write to [CODE] . Please point me to the HOWTO on the matter. (A formal reference on [CODE] would be cool as well.) Gory details: Note that this is a VM (PV domU) ins... | I do not think that moving interrupts to different CPUs - especially for handling network events - would increase the performance. The contrary will happen, since the network-code can not be held in a specific CPU any longer. So as long as you do not experience dropped packets on your network interface, I would say - t... | 4 | 2 | 18,236 | 2012-11-07T13:52:26.677 | infrastructure | serverfault.com | |
395,498 | Should we keep time related audit fields as integers or as timestamps? | We have a PostgreSQL database which we use as an intermediate staging area for our ETL pipelines. In the tables of this database, we have kept the time-related audit fields like creation time and modification time as integers. I'm not exactly sure why but I think the idea was to make the join conditions simpler; in thi... | Probably. It is hard to tell from your story though. If the fields are only there to keep track of a sequence of events and an integer field is smaller than a date/time field and disk usage was of any concern at the time of design, it may have been a good decision. Like you say no one ever really seems to care when and... | 0 | 3 | 66 | 2019-08-02T00:37:35.003 | data_quality | softwareengineering.stackexchange.com | |
372,481 | yum simulate install | Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use [CODE] Is there something similar for yum? Our Red hat box (yum) is our production server, so I would like to see exactly what will be happening before I actually install some package. Couldn't rea... | you can do a yum install without the -y switch (if you use it): [CODE] this will grab a list of packages and dependancies required. Before installing it will ask you if you want to install or not, just answer no and no changes will be made. Alternatively you can do [CODE] to list all the dependancies of a package and s... | 50 | 41 | 124,234 | 2012-03-22T16:51:36.267 | infrastructure | serverfault.com | |
837,371 | Nagios Plugin CHECK_NRPE Receive header underflow | I run a Nagios Core server on a LAN. I have 5 windows machines outside the network I am talking to via five ssh tunnels on 5 different ports listening to five custom NSClient++ apps. All is working well with this configuration, however I am noticing that check_nt MEMUSE is giving us odd numbers, when in fact all we wan... | 1. Testing NRPE connection You can test your connection between your windows and Nagios via NRPE like this : [CODE] If you don't pass any arguments to your check_nrpe, the server (windows client) will responde with his version number. 2. Testing your command On your windows client, you can test locally your command in ... | 1 | 1 | 15,055 | 2017-03-09T22:50:28.587 | infrastructure | serverfault.com | |
642,920 | Zombie connections on tomcat server while using mod_proxy_ajp | I'm using tomcat server 7 with apache mode_proxy_ajp module to serve a website. Here is my ajp connector config: [CODE] & here is executer config: [CODE] now the problem is that many times I see many connections with S (service) status in tomcat manager (server status), something like this: these connections seems to o... | These are likely pooled connections in mod_proxy . It will open connections to your backend server and keep them open to reuse them. You can either tune the settings, both for mod_proxy (timeout, ttl, etc...) & Tomcat (connectionTimeout), or you can set [CODE] in mod_proxy which will tell it not to pool connections. Fo... | 0 | 1 | 859 | 2014-11-08T08:10:06.460 | infrastructure | serverfault.com | |
196,718 | In a functional requirements document, is the Assumptions section dangerous? | I am currently a reviewer on a Best Practices document for Developers or Business Analysts in writing a Functional Requirements document. This document is not necessarily a template for functional requirements documents, but a guide to what elements are necessary, optional, and dangerous to include a Functional Require... | Adhering to the recommended guidance to exclude assumptions from a functional requirement document depend on a few things. First, how strict is the culture and the project? Sometimes recommended practices are treated as defacto required practices. It is 'good practice' to ensure how strongly such things are merely reco... | 5 | 3 | 9,205 | 2013-05-01T12:29:07.143 | data_quality | softwareengineering.stackexchange.com | |
85,380 | How to normalize technical skills of IT using machine learning? | I have a huge collection of skills collected/scraped from various online sources. It was huge effort done by our team. Now, the biggest challenge we are facing is trying to normalize the skills back to its root form to reduce the duplication. Here's are few examples, [CODE] These kind of duplicates are very common is m... | In a first iteration, use a sentence encoder.You can find pre-trained model on tensorflowhub ( https://www.tensorflow.org/hub/tutorials/semantic_similarity_with_tf_hub_universal_encoder ), spacy ( https://spacy.io/universe/project/spacy-universal-sentence-encoder ) or huggingface ( https://huggingface.co/sentence-trans... | 1 | 1 | 119 | 2020-11-13T19:45:21.087 | data_quality | datascience.stackexchange.com | |
161,138 | Finding hosting provider, basic criteria? | i am a professional in web software development but know little about hosting. I selected Bluehost because of good reviews. Every day i experience between 30 min and 2 hour downtime, which is in direct contradiction to all i read about this Hoster. My problem now, how do i find the right hoster. What are the types of H... | Take a look at this answer and see if it applies to your situation. If not, good luck finding a $5/month host which doesn't suck. AFAIK, they don't (and cannot, profitably) exist. Edit: Okay, time to expand on this again a bit. First, I'll tackle your third question. SLAs: they are... interesting. Here's how it works: ... | 0 | 1 | 135 | 2010-07-16T14:47:55.680 | infrastructure | serverfault.com | |
836,330 | unable to install source route - RTNETLINK answers: No such process (IPsec / strongswan) | Basically I'm trying to connect a pfSense to an EdgeRouter via IPsec site2site. (public ip networks obfuscated by '1.2.') [CODE] IPsec settings on both sites: phase1: IKEv2 PSK AES128 SHA1 DH2 phase2: ESP AES128 SHA1 EdgeRouter has Internet access via mesh-routed OLSR, so its gateway is commonly non-local and is also s... | solved the problem. as strongswan daemon wanted to install following route: [CODE] which didnt work, according to Gateway on a different subnet on Linux i've set the following two routes on edgerouter: [CODE] 10.5.44.101 is the internal remote-side of the ipsec tunnel. interface br1 needs to be used because the tunnel ... | 1 | 1 | 3,204 | 2017-03-04T23:30:15.240 | infrastructure | serverfault.com | |
159,929 | How to prompt sql if there is no exception | I'm new to SQL advance methods. I'm trying to do some error handling after checking for exceptions. [CODE] I'm trying to have a [CODE] for this SQL because I'm calling this script from a shell script. It returns out no prompt at all which is different from when I run the SQL command in sqlplus manually. See, for exampl... | It looks like you are actually interested in knowing that the parameter has been set. In which case the following will set the value and then query the parameters to output the new current value. [CODE] | 0 | 0 | 956 | 2017-01-04T08:22:25.520 | warehouse_errors | dba.stackexchange.com | |
823,609 | Ubuntu Apache Slow | My Apache server seems to be going really slow, I am running it on an OVH VPS server. If I reboot the entire VPS the website goes back to normal but if its left over night for a long time it seems to come to a snails pace. Is there an easy way to check if someone is doing something malicious? I am running WordPress and... | My guess based on the information provided is Cosmic Rays. However, you don't need to guess you can be smart. Install monitoring. Gather data. Analyse the data make changes based on your analysis. in short use Scientific Method not guesswork. | -3 | 1 | 103 | 2017-01-01T17:29:26.050 | infrastructure | serverfault.com | |
299,932 | Group by x, get other fields too (comparing options and performance) | I'm a novice, trying to find the best way to sum up my data. Oracle 19c. I have a WORKORDER table that has work orders (ISTASK=0) and tasks (ISTASK=1). Tasks are children of work orders. Work orders and tasks are grouped by WOGROUP. Costs are split out into four columns: [CODE] (actual labour cost) [CODE] (actual mater... | My clear preference is on option #2. IMHO it is pretty straight. You aggregate per partition, then only keep the rows you are interested in. As the calculation of window functions without framing clause ( [CODE] ) is very well optimized it's not that you do a lot and throw it away afterwards. Nevertheless, some feedbac... | 2 | 1 | 121 | 2021-09-21T19:51:37.350 | database_errors | dba.stackexchange.com | |
319,532 | Exchange 2007 Open Relay | Apparently our domain has been spamlisted, and a check has revealed that we're an open relay. Internally we have just one mail server, Exchange 2007. No edge transport. Send connector is configured with Address Space *, cost 1; FQDN same as our MX Default Receive Connector is same FQDN; authentication is basic only, pe... | In Exchange 2007/2010 you have to manually enable a receive connector to allow permission for open relay. Run this against your default send connector (the one that accepts from public address space): Get-ReceiveConnector "Your default Receive Connector" | Get-ADPermission -Identity "NT AUTHORITY\ANONYMOUS LOGON" If th... | 2 | 2 | 373 | 2011-10-07T17:50:52.573 | api_errors | serverfault.com | |
646,831 | How do I configure nginx on RHEL to recognize root SSL certificates of external sites? | Setup : I have a nginx reverse proxy that is a load balancer for ASP.NET applications. The problem is when ASP.NET application tries to access an external application, the SSL handshake fails. I think the SSL/TLS connection exists between the external server and the nginx reverse proxy. So, basically, the SSL certifica... | In most configurations the requests originating from the .Net application servers are routed independently and that reverse proxy never comes into play... I would investigate how a web service request would be routed from the application server. I.e. First Can the external host be resolved is there a default gateway an... | 0 | 2 | 89 | 2014-11-25T03:49:20.097 | api_errors | serverfault.com | |
824,594 | Completely rename an unix user | Recently I had a hack try on my server and someone from this forum gave me some solutions to protect my server from hack. A trick is to not use defaults users, for example pi for the raspberry. The problem is when I started to configure my server I didn't created a new user and I did all with the default user pi. What ... | You can't rename it. Just create a new user ( [CODE] ) and disable the pi user (AFTER you've checked the new user/pass works ;)) | -1 | 1 | 1,478 | 2017-01-06T09:55:46.240 | infrastructure | serverfault.com | |
291,623 | Unable to enter characters in MariaDB | I have just switched from MySQL to MariaDB and am running into a very silly problem: I cannot enter any extended characters in the database (for example, ö ä or å). The system is utf8, and I tried switching the keyboard to swedish — works everywhere except for mariadb prompt, and even tried copying and pasting from guc... | If you are using Windows [CODE] , you need [CODE] before entering mysql/mariadb. Since you are using a Linux variant, [CODE] may need [CODE] from within the mysql/mariadb. If the columns are not utf8mb4, you will have other problems. Check a table by using [CODE] This provides a rundown on common problems and leads to ... | 2 | 0 | 347 | 2021-05-15T14:51:23.310 | database_errors | dba.stackexchange.com | |
1,022,844 | VM instance down suddenly and fail to restart, showing 'serviceAccount' was not found | I have a Django server running in VM instance, the server working fine before this, but this morning the server was unable to access. So I tried to SSH into the VM instance, but it took a long time and shows an error that SSH can't be connected. I then tried to restart the VM instance by "stopping" the VM instance in G... | This error looks like you've deleted in some way [CODE] . Please go to [CODE] -> [CODE] and check if you still have service account with name [CODE] . To solve this issue follow instructions Undeleting a service account : In some cases, you can use the undelete command to undelete a deleted service account. You can usu... | 2 | 1 | 225 | 2020-06-25T05:51:58.800 | api_errors | serverfault.com | |
501,186 | Rails AWS Architecture - migrating from single Linode machine to AWS | Our startup has an app that's been in production for nearly a year running [CODE] successfully on a single Linode box. We've recently decided to move to AWS for several reasons: Cost - we received several thousand dollars worth of AWS credit (through an accelerator program we're in), and it'd be a shame not to use it. ... | Aws can provide the scalability in case you need it Architecture suggestions use elb for first tier use two or more app servers (for redundancy reasons) use rds if you can Now ... If rds is not an option you will end up with a master db and a slave. For the db I recommend ebs volumes that are striped. Config management... | 1 | 2 | 511 | 2013-04-20T14:06:51.440 | infrastructure | serverfault.com | |
193,847 | Huge MySQL slave replication lag (days) at almost idle servers. Slave is mostly 'Waiting for dependent transaction to commit' | I have a strange situation with MySQL replication lag happening on relatively idle servers. Slave shows no symptoms of IO saturation (according to top, iotop or iostat), no symptoms of CPU saturation. If I do [CODE] at regular intervals, it seems, that slave spends 99% of it's time at two events: Waiting for slave work... | Check these two server parameters (my.cnf): slave_pending_jobs_size_max should be same or more than the value of max_allowed_packet https://dev.mysql.com/doc/refman/8.0/en/replication-options-slave.html#sysvar_slave_pending_jobs_size_max slave_transaction_retries value should be twice of slave_parallel_workers. | 1 | 1 | 4,506 | 2017-12-09T10:43:21.913 | database_errors | dba.stackexchange.com | |
658,590 | How to forward catch-all emails to another domain/email with postfix? | I am totally newbie with email postfix (any email server) but I would like to do this: [CODE] And I need to configure this email server just for this - so it should prevent using it in any other manner (prevent misuse for spam). As I said I have no experience with setting this up so I would really appreciate step by st... | You can do this by inserting a [CODE] line into your virtual aliased map, which is in most cases in /etc/postfix/virtual. After that, you shouldn't forget to rerun a [CODE] command to recreate its database! | -3 | 1 | 641 | 2015-01-10T12:37:58.170 | infrastructure | serverfault.com | |
314,281 | PostgreSQL ESCAPE Quoting on TAB-delimited files: MySQL works, Pg doesn't, and I'm confused | I'm working with some SEC data , which is available in very regularly formatted tab-separated files. On MySQL, I can import these files as so: [CODE] This works fine for every file. However, a similar command run on the Pg server does not work. In this case, I'm using 2011's Q2 'num' data from the .zip on that page. Th... | According to the error message, your contents have [CODE] characters inside the fields. In CSV this is allowed, but only on fields enclosed by quotes ( [CODE] by default), and with inside-fields quotes being escaped (with another quote by default). If the fields are not enclosed you get the error mentioned in the quest... | 2 | 3 | 910 | 2022-07-11T16:05:11.043 | database_errors | dba.stackexchange.com | |
241,849 | Rescue *.vmdk by wrapping it in new, working *.vmdk | I have a vmdk (VMware virtual [NTFS] formatted disk) beyond repair (It's not mine, I don't know exactly what happened). I'm trying to get some files off of it using Plan B as outlined here: http://sanbarrow.com/sickbay.html#planb From what I can tell, for my case this would entail Create a new new.vmdk with size a bit ... | There are several vmdk mount utilities you may want to try one of those. | 0 | 1 | 1,754 | 2011-03-01T19:42:29.667 | infrastructure | serverfault.com | |
760,897 | Does a CoreOS member need to have a public ip to join an etcd2 cluster? | I am starting 5 coreos EC2 members all in a private subnet. Then assign one elastic ip to one of the members. It seems that only that one with an ip assigned can join the etcd2 cluster, and is perpetually waiting for the other 4. here is my cloud-config [CODE] here are errors from the member with a public ip [CODE] the... | I spun up the cluster with the same settings, except that i enabled "Auto assign public ip" when creating the instances, and everything just worked™ i'm not sure yet why each member needs a public ip, since they are only advertising their $private_ipv4 within the network. ------ edit ------ I found that the issue that ... | 1 | 0 | 296 | 2016-03-02T06:32:31.290 | database_errors | serverfault.com | |
19,119 | Quantifying the Reproducibility of LDA Models | I am working on a text mining project where I'm using Latent Dirichlet Allocation to study a corpus of documents. I'm currently in the process of optimizing my parameters to get the best models for my client. My biggest concern at this point is whether my models are reproducible or not. I understand that LDA models are... | As you already noticed, Topic Models aren't reproducible due to the probabilistic algorithm. I did some topic models on a large corpus (10k documents, 30M words), and generally, between two different topic models about 10% of the topics were incomparable. My corpus is mainly English, but contains some Latin texts, and ... | 0 | 1 | 354 | 2017-05-22T17:26:48.557 | api_errors | datascience.stackexchange.com | |
298,420 | Prioritization of requests in a small IT department | I'm looking to implement ITSM in a two-man IT department. We have a web-based workflow system where five request types have been defined that end up in our department. The rationale behind the division of the request types is basically for categorization, but the users often don't understand which request type to pick.... | I was going to just leave this in comments, but actually I'm going to post an answer because while I think you have good intentions, I think you're going about it in a more complicated manner than you need to. It is good that you are planning some sort of ticketing system, and I am of the opinion that for anything more... | 5 | 5 | 598 | 2011-08-06T14:36:15.760 | infrastructure | serverfault.com | |
401,707 | What kind of factory method abstract singleton design pattern is this? | I made a code that seems to mix Singleton design pattern, and Fatory method. But my factory method is in an abstract class inherited by my Singleton ... what the hell have I created ? Does it have a name ? Here is the situation (in PHP I hope to be understandable by everyone) : I had a circular inclusion problem : [COD... | If "ThingsService" & "StuffService" have such coupling (i.e. they both call each other's methods), why you found the need to separate them to two distinct classes in the first place ? I advise you to reconsider your design decisions, either create a single class or move out the shared functionality between the classes ... | -3 | 2 | 211 | 2019-11-27T10:58:40.770 | data_quality | softwareengineering.stackexchange.com | |
156,181 | SlaveThreadCount at 0 for non-root user, should be 2 | In MySQL 5.5 running on Ubuntu 14 in a master-master-slave configuration From one of the masters, when executing the query below as a user with (ALL PRIVILEGES) on the database but no other privileges elsewhere, this query returns 0 [CODE] When executing the same user as root, I.E. (ALL PRIVILEGES) on everything, I get... | If you have all privileges on a specific database, you cannot have the PROCESS privilege. Why ? The PROCESS privilege is not a database-level privilege. It's a global privilege. How ? About 2.5 years ago, I answered How to grant super privilege to the user? Someone wanted the SUPER privilege but only had all privileges... | 1 | 1 | 78 | 2016-11-23T16:36:27.763 | database_errors | dba.stackexchange.com | |
1,150,977 | PHP curl_init(), curl_exec() work from the command line but fail when browsed/accessed from a webserver | The following PHP script (when not anonymized) runs successfully at the commandline. It uses curl_init() and curl_exec() to retrieve JSON-formatted data, converts the result into an associative array, and displays a particular array value. [CODE] It retrieves 913 characters of data, and produces the output: [CODE] But,... | It develops that my problem was something I should've considered much sooner than I finally did: selinux. Whenever there is no good reason for something to not work, but it still insists on not working, there is a good chance that selinux and/or firewalld are at least part of the problem. The default selinux policies f... | 0 | 1 | 228 | 2024-01-05T23:07:43.310 | infrastructure | serverfault.com | |
1,090,391 | access mikrotik webfig through the private openvpn address | I am using Mikrotik (7.1.1) router with an ovpn client interface connected to an openvpn server installed on ubuntu ec2. Everything worked fine: I want to use my laptop (connected to the same OpenVPN server) to access remotely to the /WebFig using its private IP (10.8.0.4). I have already added firewall rules to accept... | i just switched to PPTP protocol and everything worked fine | -1 | 0 | 191 | 2022-01-18T18:44:49.657 | infrastructure | serverfault.com | |
42,204 | Best practices or experience with company wide Username policies and resolving duplicates | I am a programmer with an application that needs to be integrated into the new company wide Active Directory login scheme. This means changing all the usernames in our system to use the new scheme. The new scheme is "first initial, last name", so Joe Smith would have a username of jsmith. If John Smith now gets hired, ... | Windows copes with this by using a GUID to identify every account. The username is just decoration. You'll find that the old jsmith and new jsmith have different GUIDs even though the usernames are the same. Can you associate a GUID with each account in your app? If I think about it I can probably tell you how to get a... | 8 | 7 | 7,460 | 2009-07-17T16:16:38.677 | data_quality | serverfault.com | |
229,352 | Redis has "commands" that mutate the various data types it can store. Why? Redis is primarily a cache | If you look at something like https://redis.io/commands#list , you will see that types that Redis stores and supports are fully mutable, atomically, within the data store's memory. This does not make alot of sense given that Redis exists as primarily a cache to accelerate applications who have a database separate from ... | Redis is a Key-Value (KV) store, and KV stores generally are well suited for cache however provide additional functionality. KV stores can provide synchronisation between a variety of stateless front ends which is what this commands provide. | 0 | 1 | 138 | 2019-02-10T20:18:48.193 | database_errors | dba.stackexchange.com | |
449,517 | varnish cache storage | I'm trying to (re)build a VM that will be running Varnish Cache. One of the issues that I've had in the past, is running out of space (allocated space was ~10G). I guess what I'm really confused about is how Varnish uses space. As soon as I start varnish it creates a file which is (from what I assume) is equivalent to ... | AFAIK there was a memory leak in version 3.0.0: are you perhaps hitting it? Rather than using a ramdisk, I would simply change the varnishd option to "malloc", for example (change the size to something more useful, of course...) [CODE] BTW, even if the VM is dedicated to varnish, I would not allocate more than 80% of t... | 0 | 0 | 1,326 | 2012-11-16T17:31:52.173 | infrastructure | serverfault.com | |
775,658 | Count number of incoming connection on a port - Linux | We have a server which listens on port X. The server has a large number of clients, from time to time the process gets hung, I am seeing SYN flooding messages in the log. I have been trying to tune relevant tcp configuration params. I would like a way to count number of incoming connections to that particular port usin... | Iptables can log connections or if you prefer you can use the [CODE] option to match syn packets. [CODE] [CODE] can show active connections (pipe to [CODE] for counts): [CODE] Or just use tcpdump to examine the traffic. [CODE] | 0 | 3 | 6,432 | 2016-05-09T13:36:43.777 | infrastructure | serverfault.com | |
290,053 | How do I get DBeaver to do a DB2 UPDATE via Cursor | The following query works when run from the console via db2 command. But fails when running via DBeaver. [CODE] DBeaver gives the following result SQL Error [42601]: An unexpected token "END-OF-STATEMENT" was found following "WHERE ID = R.ID". Expected tokens may include: " ".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.26... | As mustaccio points out, you need to change your statement terminator. In DBeaver you can do that by: Right-click on the data source and choose "Edit connection" In the leftmost frame at the bottom, there is SQL Processing Check the Datasource checkbox Now you can alter the statement delimiter | 0 | 1 | 1,240 | 2021-04-19T12:54:48.150 | database_errors | dba.stackexchange.com | |
100,649 | What are the “training error” and “test error” used in deep learning papers? | I have heard of the terms "training" and "test error" in the context of classification quite often, but I am not sure I know what they mean. This article writes: Training Error : We get the by calculating the classification error of a model on the same data the model was trained on (just like the example above). But wh... | Training error is simply an error that occurs during model training, i.e. dataset inappropriately handle during preprocessing or in feature selection. On the other hand testing errors are slightly different, such as model overfitting and underfitting, etc. | 0 | 0 | 5,804 | 2021-08-30T15:46:58.870 | data_quality | datascience.stackexchange.com | |
93,462 | Is there a way to get disc space remaining using an SQL query on an Oracle database? | We experienced a problem recently where the disc space ran low and some queries started giving unpredictable results. The root cause was that we'd take too many restore points and filled up the disc. I'd like to be able to monitor this. My context is a big corporate, highly separated functional roles, so I only have ac... | You should look here at Managed Tablespace Alerts, notably this bit where you can monitor by two criteria with warning and critical thresholds. [CODE] | 1 | 1 | 95 | 2015-02-21T08:22:30.010 | 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.