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 |
|---|---|---|---|---|---|---|---|---|---|---|
521,359 | Why do some connections time out and others get refused? | I have noticed that sometimes while trying to telnet in some random port, I have observed two kind of scenarios: [CODE] Can someone explain me what is the difference between the two ? | One reason would be the behavior of a firewall on example.com. In the event the firewall simply drops the traffic, you will see the first response. On the other hand, if the firewall rejects the traffic, you will get the second. To better understand, take a packet filter such as tcpdump or wireshark and sniff the traff... | 17 | 14 | 24,986 | 2013-07-07T06:42:57.987 | infrastructure | serverfault.com | |
408,808 | Adding unstructured data to a relational database (PostgreSQL) | I'm building a project and I only know the MERN stack. Everywhere I see the general consensus is that Mongo is not good and should only be used in very specific use cases. More importantly, I also want to expand my skills so I thought this would be a great time to try out PostgreSQL since there also seems to be a ton o... | The usual approach would be a table that links snacks to users, perhaps something like this: [CODE] For time-series data, we might rather store individual entries that can be aggregated later with some query: [CODE] (however, my SQL may be rusty). The core insight is that we have a n:m relation between users and their ... | -2 | 1 | 726 | 2020-04-14T20:01:01.587 | database_errors | softwareengineering.stackexchange.com | |
292,582 | Unity under Ubuntu 11.04 in VMware Workstation | I installed Ubuntu 11.04 32bit as virtual machine in VMware Workstation under a 64 bit Windows7 host system. The surface of Ubuntu is Gnome, after I got a message, that Unity needs some 3D graphics... Now I shut down my VM and enable the checkbox "Accelerate 3d Graphics" and started again. The VMware tools are also ins... | VMWare won't let you use 3D graphics acceleration on non-Windows VM's as Bisti mentioned. What you can do is install the 2D version of Unity: [CODE] | 2 | 2 | 1,187 | 2011-06-16T11:13:55.370 | infrastructure | serverfault.com | |
406,190 | Is there a correct way to use abbreviations in code? | Oh, abbreviations in code, the bane of every developer. Consensus seems to be against them , because readability might be affected. But the examples given are often extreme: like "repr" for "represent" . I call that extreme, because it is shortening a word not in need of shortening, into something that has a very ambig... | First off, the naming of the classes seems odd. Generally, convention is to go from most specific word to least. E.g. [CODE] and [CODE] . In your case they would be (assuming these are the correct order): [CODE] Generally it is recommended to avoid abbreviations . However, this does seem like a particularly extreme cas... | 8 | 3 | 1,332 | 2020-03-06T10:31:32.760 | database_errors | softwareengineering.stackexchange.com | |
331,607 | Forcing Outlook 2007 to connect to Exchange via HTTP/S (Outlook Anywhere) | We have a L2L VPN tunnel that keeps going down - our Exchange 2010 Server is hosted across the tunnel. I am wondering how to force Outlook 2007 to connect via HTTP or HTTPS to the Exchange Server at all times so that this is never an issue. The Exchange server is exposed to the Internet on ports 25, 80, and 443. OWA wo... | Go to Tools->Account Settings Click on the E-mail tab. Click "Change E-mail account". Click "More Settings". Click on the "Connection" tab. Click "Exchange Proxy Settings". Make sure "On fast networks, connect using HTTP first, then connect using TCP/IP" is checked, as well as "On slow networks, connect using HTTP firs... | 0 | 3 | 3,730 | 2011-11-16T16:31:48.237 | infrastructure | serverfault.com | |
1,054,110 | Ansible Checks - OS version & Copy module | I wrote this playbook in order to check some functionality : [CODE] I have 2 issues: When the playbook starts to run , the following code is executed : [CODE] and the the message "Host client2 does not meet minimal reqs" is echoed , though it shouldn't because the managed node is RedHat. It generates the following erro... | See suggested changes and code review comments. [CODE] | 0 | 0 | 3,689 | 2021-02-18T12:01:51.903 | pipeline_ops | serverfault.com | |
264,092 | QoS on DD-WRT Questions | I have a question about quality of service (QoS) on linux (DDWRT specifically). Here's my setup: Recent version of DD-WRT 120 kbytes/s up and 2mbytes/down Traffic limited to about 80% of stated speed, so about 100kbytes/sec HFSC enabled but no traffic rules. Observed behaviour: Traffic is indeed limited to about 80kb/s... | What you are asking is not unreasonable, however I do not think (someone correct me if I am wrong) that QoS is best suited to distribute traffic equally between clients. Instead, it is there to make sure that certain traffic (such as VOIP) goes out of the network at a higher priority than others so that they are not in... | 3 | 1 | 504 | 2011-04-27T22:16:28.123 | infrastructure | serverfault.com | |
352,526 | Boundaries of unit testing between my code and a library or sub-component | Background: I am new to testing in general, and have been studying it in context of JavaScript, specifically React.js, front-end development (actually new to this as well). For the question, I have these 2 similar cases: Case 1: My code and a library I'm using UI library and aside from its decent design, I want to leve... | Unit testing refers to testing individual units or components of your code in isolation from the rest of the application. The goal is to verify that each unit or component is working correctly on its own, and to identify any issues early in the development process. In the context of testing a library or sub-component, ... | 10 | 1 | 974 | 2017-07-11T03:14:29.270 | data_quality | softwareengineering.stackexchange.com | |
43,306 | Oracle database link via ODBC to SQL Server does not recover automatically | I have a test environment with an Oracle 10XE database which is linked to an SQL-Server 2005 via an ODBC data source. For reference here I named the connection [CODE] . The production environment will have an Oracle 11g and an SQL-Server 2008. The connection once set up works fine. As a test of error conditions in prod... | Step by step: There is no way to test a dblink other than select a dummy over it A network timeout affects only the running transaction that is currently the dblink. There is no recorded state about the dblink, there is no status like ACTIVE or BROKEN . DBLink creation simply instruct the DB about remote host, port, tn... | 0 | 1 | 4,812 | 2013-05-29T09:50:27.010 | database_errors | dba.stackexchange.com | |
203,157 | Wrap identifiers automatically with brackets in SSMS text editor | Working in SQL Server Management Studio, when using the text editor: Is there any way to automatically wrap schema names, table names, column names and other identifiers with brackets so I don't have to put them manually, just in the same way it does it when it auto-generates queries? Is there (perhaps) any Intellisens... | From the options given by @Shaulinator in his answer, ApexSQL Refactor does the job very nicely, integrates with SSMS and is free. This is the particular option that I needed: | 2 | 1 | 4,087 | 2018-04-05T16:10:56.363 | database_errors | dba.stackexchange.com | |
943 | Expired archived logs not deleted from RMAN catalogue | If I issue a [CODE] command in RMAN, I see a list of files with expired status, that is, they exist in the catalogue, but not on the disk (verified by [CODE] ). After issuing [CODE] and [CODE] commands, I would expect [CODE] to return nothing... but they are all still here. This may or may not be causing my backups to ... | Doing a [CODE] and then a [CODE] should cause a new [CODE] to not show any entries in most situations. Here are a few situations that could cause this to not be the case. If [CODE] is not specified on the delete command then it follows the archived log deletion policy which determines when archived redo log files are e... | 4 | 2 | 97,695 | 2011-01-27T13:14:40.257 | database_errors | dba.stackexchange.com | |
181,536 | Applying Index happens in memory or disc? | Say I have 10k records in Customer table (MySQL or oracle) which has 10 columns. One is ID(primary key) and another is name(created index on it) Now I search for word customer whose name is Alex. My understanding is first DBMS will determine the row location for record name [CODE] and then fetch those rows in memory or... | Study the concepts of "cache" and "block". In many situations, especially in databases, the data on disk is organized into "blocks". When a block is needed (to satisfy some [CODE] or [CODE] or whatever), it is requested. Meanwhile, there is a "cache" in RAM that contains some of the blocks. To satisfy the request for a... | 2 | 3 | 1,171 | 2017-07-23T05:55:54.257 | database_errors | dba.stackexchange.com | |
17,158 | How to send keys in an Ajax dropdown? | I already got the Xpath, but when I'm trying send keys there is error : [CODE] Help please. I am new in selenium with python. | As @FDM mentioned the [CODE] will find 2 matching elements. So you need to build a locator that is more unique/precise. If you search it in Firebug or any other console you'll notice that it yields two matching nodes. I'm not sure in Python how it should be, but I tried this in Java using the following CSS selector and... | 0 | 1 | 1,596 | 2016-02-20T14:21:56.897 | data_quality | sqa.stackexchange.com | |
294,601 | The windows firewall on this machine is currently blocking remote debugging | I am using MS-SQL server 2008 R2 express edition. In this when i am trying to execute my query i am getting the following error "the windows firewall on this machine is currently blocking remote debugging.Remote debugging requires that the debugging be allowed to receive information from the network.Remote debugging al... | Your answer is really in your question. Either allow the appropriate ports to be opened on the Windows Firewall or just disable the Windows Firewall altogether. The 2nd approach would be my suggestion to you, only because it appears from your question, no offense meant, that you might not know how to get into Firewall ... | 2 | 1 | 7,444 | 2011-07-27T14:24:24.903 | database_errors | serverfault.com | |
218,409 | Error starting postgresql server on ubuntu | I recently stopped the postgresql database (that was working perfectly), and after a couple of days, when I try to start it, I get the errors: [CODE] I'm running Ubuntu 9.1, and I'm using the usuals [CODE] Any hints ? | Check ownership and permissions on /etc/hosts? Specify 127.0.0.1 in the config to isolate the problem. | 6 | 6 | 4,551 | 2011-01-04T03:07:47.600 | database_errors | serverfault.com | |
25,056 | Combining results via arithmetic mean | For combining the results of different measurements, I want to calculate their arithmetic mean. Imagine the following dataset: [CODE] I want to combine all results with id [CODE] and get their mean. The expected dataset looks like the followind. Be aware, that the value of the in between attribute, is not important, I'... | Try it the R tidyverse way: [CODE] Result [CODE] | 0 | 2 | 67 | 2017-11-23T15:20:33.023 | data_quality | datascience.stackexchange.com | |
400,847 | Why does my ftp(e)s server fails like half of the time | I have this discussion at work regarding our ftp server running via vsftpd. Initially, we have opted to serve ftpes instead of sftp because this seemed the most flexible and straightforward solution for our server to have secure file transmission. Afterwards, our ftp server seems to be a source of issues for our end us... | Start by increasing your passive port range to at least 1000 connections and ensure that the firewall has these ports open. | 0 | 2 | 329 | 2012-06-21T07:50:59.410 | infrastructure | serverfault.com | |
633,394 | PHP configure not finding LDAP header libraries | I installed the LDAP development headers: [CODE] This added a few ldap headers: [CODE] When I configure and reference the directory: [CODE] I get this error: [CODE] | I ran into this issue trying to get PHP extensions involved in a Docker container. Here is what I had to do: [CODE] [CODE] | 13 | 34 | 43,436 | 2014-10-03T17:46:36.800 | infrastructure | serverfault.com | |
119,310 | Archive Logs filling up Flash Recovery Area (FRA) space | I got hired to fill a position of DBA that I wasn't quite ready to fill, and while the training is getting me there, I am running close to a potential issue. My oracle 11g database's Flash Recovery Area (FRA) is getting very close to being full(2.5% left). It is in ARCHIVELOG mode since we do live backups(at least that... | Oracle will automatically delete obsolete files. In general, you should not have to manually delete anything. An important part of RMAN maintenance is deleting backups that are no longer needed. If you configure a fast recovery area, then the database automatically deletes unneeded files in this area automatically From... | 8 | 5 | 63,205 | 2015-10-27T12:53:18.630 | hadoop_errors | dba.stackexchange.com | |
379,972 | How to monitor VPN traffic with Wireshark on Windows 7? | I'm running Wireshark 1.6.7 (latest available release) x64 on Windows 7 x64. I only have a single network card on this computer, and Wireshark shows only it as an available adapter to capture packets on. If I establish a VPN connection (using Windows' built-in VPN client), Wireshark: doesn't show any additional adapter... | Looks like it's not possible at all :-( http://www.winpcap.org/misc/faq.htm#Q-5 | 9 | 5 | 58,357 | 2012-04-16T18:39:09.667 | infrastructure | serverfault.com | |
166,298 | Unable to Install Samba after uninstalling? | I have removed samba using : [CODE] and then Manually removed the smb.conf using [CODE] after going to the Samba directory. Now While I trying to install Samba again I am getting the following error: [CODE] I am unable understand why this is happening. Please help Edit: After trying [CODE] getting the follwing response... | I guess it's because you uninstalled samba only and wiped out the config file so something stayed installed and without configuration. I think there are ways to repair, but I would try to reinstall on a "clean" base doing: [CODE] before anything and reinstall with [CODE] | 5 | 2 | 17,641 | 2010-08-02T13:13:15.030 | infrastructure | serverfault.com | |
441,428 | Bad IIS 7.5 performance on webserver | I have a webpage (ASP.NET 4.0 / MVC 4). On my development machine (i5-2500 3.3 8GB Win7 VS2010 SP1 Fujitsu Esprimo P700) the page performs with 160 requests/sec on devenv webserver on my machine. The page performs with 250 requests/sec on my local IIS 7.5. (uncompiled web) The page performs with 20 requests per second ... | This may sound ridiculous, but try running IIS in 32bit mode, i know situation, when this helped to reduce CPU consumption by 50%. http://www.iis.net/learn/web-hosting/web-server-for-shared-hosting/32-bit-mode-worker-processes | 1 | 0 | 1,596 | 2012-10-23T16:20:52.477 | api_errors | serverfault.com | |
495,911 | Bandwidth Usage: ActiveSync vs IMAP/CalDAV/CardDAV | I have been trying to find bandwidth usage information how the technologies compare. I understand that ActiveSync is instant, and new changes get "pushed" to subscribers. But IMAP/CalDAV/CardDAV is synced on a timed basis. So that means it must use some bandwidth to check if there is anything to sync even when there is... | ActiveSync and IMAP are quite similar. Both ActiveSync and IMAP IDLE maintain a dormant TCP session for inbound push notifications. IMAP IDLE handles 'push' email as well FYI. Both are quite conservative with bandwidth usage. Bandwidth consumption in practice will be more determined by configuration parameters than pro... | 2 | 6 | 1,238 | 2013-04-03T21:03:59.037 | infrastructure | serverfault.com | |
434,318 | How do desktop applications get notified of events over the internet? | I would like to display something on my desktop by tapping a button on my mobile app. For example, there is a "show cat" button on my mobile app. When I tap that button, a new window should be opened and display a cat picture on my desktop. The scenario is a bit similar to Zoom. The desktop application is idle (from th... | Be aware that to be able to send an information, the sender needs to know the target. Normally the client knows the server. But the server has no clue about the clients until they try to connect. Therefore you first have to establish a connection to the server, THEN the server can send data to the client. In generell, ... | 7 | 24 | 3,067 | 2021-12-14T06:07:29.283 | api_errors | softwareengineering.stackexchange.com | |
258,882 | Problem connecting number of networks together | Our campus has NAT setup at each hostel, and the gateways of all hostels are connected via a Layer 3 Switch. The ip configuration of clients of hostel 1 is 130.130.1.2, gateway 130.130.1.1 and that of hostel 2 is 140.140.1.2, gateway 130.130.1.1 (these are given by a dhcp server running on gateway servers). The gateway... | I'm at a bit of a loss... and have a big red-flag to wave at you... if your school does not OWN the 140.140 block and the 130.130 block... you can end up with some pretty hefty fines & lawsuits if attached to the public internet. There are only 3 blocks reserved for private allocation, the 192.168.0.0 - 192.168.255.255... | 0 | 1 | 127 | 2011-04-12T17:53:30.707 | infrastructure | serverfault.com | |
398,373 | Is there a way to disable Tomcat memory limits? | Inside the /etc/tomcat6/tomcat6.conf file, the JAVA_OPTS configuration line gives me the ability to set memory limits for Tomcat. For example: [CODE] Is there a way to disable memory limits for Tomcat entirely? I want Tomcat to make use of all available memory - I don't want to artificially limit the JVM with these par... | This is not related to Tomcat really, but is something every Java application has to deal with. There's plenty of resources on the net, e.g. this: http://javarevisited.blogspot.de/2011/05/java-heap-space-memory-size-jvm.html | 1 | 2 | 422 | 2012-06-13T16:59:39.667 | infrastructure | serverfault.com | |
50,349 | Migrating database live while being severely handicapped | I "inherited" a web application which is designed and implemented horribly (both the application and the database). For example, the main data is stored using a sort of emulated key-value storage in a Postgres 8.2 database, making it virtually impossible to extract useful data from it in a reasonable amount of time. Cu... | If you can, it would be better to do views and triggers rather than bilateral replication of data between both sides. So I would modify your plan slightly: Create a sane schema Create an emulation of the old schema using views. Create triggers on the views to write to the new schema instead of the old. The question is ... | 3 | 1 | 151 | 2013-09-23T14:09:31.900 | warehouse_errors | dba.stackexchange.com | |
829,588 | Wine not work in crontab | There is bash in cron script with wine executing. In cronjob log I see: [CODE] I tryed two approaches to avoid this problem, but no one worked. 1) In bash script: [CODE] 2) In crontab [CODE] How to fix this error? | The binary [CODE] is meant for graphical programs, it needs an X server to run. If your program doesn't have a graphical interface, use [CODE] instead. [CODE] | 1 | 2 | 1,436 | 2017-01-31T08:07:28.753 | infrastructure | serverfault.com | |
48,531 | How much of data wrangling is a data scientist's job? | I'm currently working as a data scientist at a large company (my first job as a DS, so this question may be a result of my lack of experience). They have a huge backlog of really important data science projects that would have a great positive impact if implemented. But. Data pipelines are non-existent within the compa... | Feels like most of the work is not related to data science at all. Is this accurate? Yes I know this is not a data-driven company with a high-level data engineering department, but it is my opinion that data science requires minimum levels of data accessibility. Am I wrong? You're not wrong, but such are the realities ... | 46 | 27 | 8,223 | 2019-04-03T15:16:24.773 | pipeline_ops | datascience.stackexchange.com | |
209,846 | Enable ssh, vnc or something similar during installation of Ubuntu | I have a headless Scaleo Home Server 2205 that I'm thinking of installing Ubuntu Server on. Then on top of that I was thinking of using greyhole and CrashPlan to mimic some of the original WHS functionality. But since it's headless I would have to either fiddle with hooking it up to a graphics card using a 1x-16x pcie ... | This Ubuntu help article describes how to modify the netboot installer to automate things far enough to make SSH available. Warning: I haven't tested it myself. | 1 | 0 | 1,382 | 2010-12-07T06:07:38.500 | infrastructure | serverfault.com | |
534,367 | Apache Error Log what does mean for "File doest not exist / undifined" | I can not understand following error from my VPS (LAMP) [CODE] I am getting these kind of error, anyone can help me to know source and nature of this error. | Some web client with the IP 175.101.XX.XX wants to retrieve some file named "undefined" from your server. Since that file doesn't exist, your server answers with a 404 error. | -2 | 3 | 1,137 | 2013-08-28T07:21:49.017 | infrastructure | serverfault.com | |
330,017 | Duplicate BLOB in Postgres duplicate the storage requirements? | I uploaded a huge 2GB file in postgres in a Blob tuple field. In example for id #1 If I upload the same file a second time (in example for id #2). Do I need the double space requirements? As far as I know the Postgres file is stored as a OID-reference-value. After uploading a duplicate, I noticed the OID differ for sam... | You generally want to avoid storing files in a database system , that's what a file system is best for. Typically it's better to store a reference to the location of the file in the database instead. This makes management of the database better, and reduces your overhead (e.g. with backups, etc). But if you must store ... | -1 | 0 | 122 | 2023-08-07T08:44:32.690 | data_quality | dba.stackexchange.com | |
254,855 | socat connect-connect "proxy" two inbound TCP connections to expose a firewalled service? | I'm struggling a bit trying to see how to use socat (or a similar TCP port redirector) to expose a firewalled service on a PC. Here's the scenario: I have a server PC which will be acting as a listen-listen "proxy" / redirector between two client machines. The server can have as many firewall ports open as needed and h... | Something like On "Server": [CODE] On "Client A" [CODE] On "Client B" Configure the client to connect to Server:4200 Alternatively, have a look at SSH port forwarding. | 4 | 7 | 9,241 | 2011-04-02T04:24:45.833 | infrastructure | serverfault.com | |
135,030 | Ubuntu hangs on boot when NFS-mounting entries in /etc/fstab, but they mount cleanly otherwise | I'm managing several Ubuntu 9.10 servers that NFS mount several folders (including /home). I'd like these folders to be mounted at boot time. I would like to have several entries in my /etc/fstab to accomplish this, e.g. [CODE] Unfortunately, with this configuration, the servers usually (although not always) hang durin... | Try the [CODE] option for that filesystem in [CODE] . [CODE] | 4 | 5 | 9,703 | 2010-04-22T20:34:43.660 | infrastructure | serverfault.com | |
143,552 | Owner of uploads directory is `www-data` but this prevents FTP access via PHP scripts | To allow write access to Apache, I needed to [CODE] to my site's upload folder. This allows me to delete files from the folder via [CODE] in a PHP script. Unfortunately, this prevents another PHP script, which uses FTP functions, from working. I think it is because the FTP user is [CODE] and now that the uploads direct... | That would be why, you need the 'write' permission to delete files. You have a couple of options here. chwon /var/www/mysite/uploads to www-data:mike and chmod to 775 (rwxrwxr-x) Create an ftp-write group and chown /var/www/mysite/uploads to www-data:ftp-write and chmod to 775 just chmod to 775 (rwxrwxr-x) and leave mi... | 3 | 7 | 15,359 | 2010-05-19T21:08:16.570 | infrastructure | serverfault.com | |
203,756 | What is a local exchange | When talking about your home or business internet connection and its connection with the local "exchange". What is an "exchange"? Role does it play in the connection between your home and your ISP? My assumptions are that is regional location for data lines from your house to connect to some sort of routing server whic... | Usually it refers to a telephone exchange; the building/enclosure housing the telephony switching equipment. It really shouldn't affect your view of the network at all. Some of what you said doesn't make sense (grammatically). The data packets from your home (or whatever) do go through to one of your ISP's servers, but... | 0 | 1 | 314 | 2010-11-19T02:07:59.967 | infrastructure | serverfault.com | |
34,468 | Oracle 10g dump file into Oracle 11g database | I went through this link for my answer to the same question. I was not sure if i could continue in the same link, so created a new question. Oracle 10g dump file push into Oracle 11g database Sorry if I am wrong. When I used [CODE] with the following parameters: [CODE] I got the following errors: [CODE] Also this error... | That error is most likely due to incorrect environment settings indeed, probably your [CODE] is mixed up too. In a command prompt, assuming that your Oracle 11g home is indeed as you posted above, run: [CODE] Make sure you can connect with [CODE] , then start [CODE] . (Do consider using the [CODE] / [CODE] Data pump to... | 2 | 3 | 13,041 | 2013-02-09T11:14:20.143 | database_errors | dba.stackexchange.com | |
1,067,904 | Tail the journalctl log on failure to restart systemd service? | I want to know if there is a brief way to check the last 50 lines about a service that threw an error on restart. $ sudo service nginx restart Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. I use an alias for checki... | -u stands for unit. -e stands for pager end From the documentation: This implies -n1000 to guarantee that the pager will not >buffer logs of unbounded size. For example to get the last 50 lines for nginx you would execute: [CODE] | 0 | 2 | 4,897 | 2021-06-26T09:21:55.330 | infrastructure | serverfault.com | |
406,801 | Memcached clustered alternative | I'm looking to replace memcached. We have a LOT of traffic to our central memcached node which I'd like to split. There's only so much trunking networks I can do. My general idea is to install a memcached-type daemon on every webserver and have the daemons replicate set/delete/updates over all the daemons, so that each... | Consider using Membase in caching (memory-only) mode, it's memcached-based | 0 | 0 | 633 | 2012-07-11T14:59:19.517 | database_errors | serverfault.com | |
1,111,571 | Unable to login to my mySql server as root, and unable to reset root password | I'm trying to access and backup a mySql Database but without success. I know the root password, but if I try to login to the DB using it I get a [CODE] error. I tried to follow different tutorials on how to change mySql root password but without success: tried to restart mySql in safe mode and to [CODE] ing the sys tab... | I'm on CentOS Linux release 7.9.2009 (Core) - MySQL Ver 14.14 Distrib 5.7.36. MYSQLD_OPTS is the key. [CODE] Hopefully this works in your enviornment. | 1 | 0 | 1,040 | 2022-09-26T10:06:03.323 | database_errors | serverfault.com | |
285,938 | How are permissions on default administrative shares controlled? | The ACEs on our default administrative shares (C$, D$ etc.) suggest that the Users group has read/write access to the disk roots. In practice though it appears that only Domain Admins group can actually open these shares at the root. How are the effective permissions controlled and why is it set up this way? Is it to e... | While the NTFS ACLs on those items are permissive, the share ACLs on these default system shares are always set to allow just the local [CODE] group (which contains the [CODE] group). The permissions on these items cannot be modified. | 4 | 8 | 8,617 | 2011-06-30T20:49:02.513 | infrastructure | serverfault.com | |
830,723 | Postfix SMTP sender access restrictions | The issue: Couple of days ago we faced spam attack from external IP that was using a real external domain to send around 7k email to different external domains like yahoo, hotmail, gmail ....etc, that i had to block that ip by the firewall manually, How to only allow defined domains in my "domain" mysql database and re... | Did you try http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_recipient ? I haven't tried it but I think it should work. Also take a look at http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions | 1 | 0 | 1,194 | 2017-02-05T15:47:10.557 | database_errors | serverfault.com | |
201,978 | Oracle: Delete data from one table based on starttime and finishtime column of another table | I want to delete all the data from Table1 which is getting inserted between specific timeframe. And that timeframe value I am getting from Table2 columns starttime and finishtime and these two tables have no relations between them. So for doing this, I wrote the below query: [CODE] The above query is working but it is ... | In your second query, your where clause has 1 column trying to compare to TWO columns in your subquery. That's probably the error you're getting. Have you tried using CTE? http://www.dba-oracle.com/t_common_table_expression_cte.htm However, I think your REAL problem is that you're using a function (SCN_TO_TIMESTAMP) in... | 0 | 0 | 182 | 2018-03-22T10:04:29.097 | database_errors | dba.stackexchange.com | |
408,260 | XenCenter can't connect to server; missing methodResponse element | I'm trying to connect to the server (which I can ping successfully) in XenCenter but I keep getting an error that states "Response XML not valid XML-RPC - missing methodResponse element" . I tried looking up the error, but all I figured out is that I should check the file that the parts [CODE] is at/ should be at. I'm ... | Never mind. It was a silly error of non-matching IP addresses. I had set up XenServer to use DHCP for IP addresses and it configured it using the BMC IP address, not the ethernet port IP address. I basically fixed this error by going on XenServer and selecting "Network and Management Interface" and then changing IP add... | 1 | 1 | 1,357 | 2012-07-16T19:04:39.293 | infrastructure | serverfault.com | |
1,092,470 | phpMyAdmin with cloudflare ssl certificartes | I have 3 wordpress sites, 1 moodle site and 1 owncloud site, all with same apache configuration in my vps, and all of them works fine But I'm not able to make phpMyAdmin work with cloudflare's origin certificates. When I go to mysql.domain.tld it returns: ERR_SSL_VERSION_OR_CIPHER_MISMATCH But if I use Let's Encrypt it... | Check that you can read the certificate: [CODE] Check the private key: [CODE] Verify that the private key and certificate are matching: [CODE] Make sure that /etc/apache2/certificates/domain.tld.crt contains in this order: the certificate for domain.tld all intermediate certificates from CloudFlare | 0 | 1 | 429 | 2022-02-02T18:25:13.647 | database_errors | serverfault.com | |
827,855 | Postfix reject unknown local recipients | I have a problem with backscatter. Spammers send emails to non existent username @ existent domain hosted on my server. I am trying to abort the session instead of sending bounce messages back to forged sender addresses. I tried adding reject_unverified_recipient, but that doesn't seem to work. When I check mailq, I ca... | Perhaps you can check the solutions from the Postfix Backscatter Howto . And if you really want to get rid of persistent backscatter/spammers, you might want to implement a fail2ban policy combined with postscreen . Postscreen alone eliminates practically all the spammers, with minimal resource usage, and it's very eas... | 2 | 0 | 860 | 2017-01-22T18:56:02.957 | infrastructure | serverfault.com | |
33,351 | What is the problem with: the condition has length > 1 and only the first element will be used? | newbie to r. i have: [CODE] if i use one & instead of &&, i get two warnings. i know that one of these is because of the shortcut thing. how do i write this function so as to get rid of the warning message? thanks edit: i tried: [CODE] and got even more warnings: [CODE] this one seems to work, but they want us to use c... | The reason you receive a warning is that Age is a vector, but you are comparing it with a scalar. R automatically takes the first element of Age. You can use "ifelse" and convert the class if needed. If you want to limit yourself to base R, you can use the following: [CODE] | 3 | 4 | 67,931 | 2018-06-19T03:24:09.483 | data_quality | datascience.stackexchange.com | |
96,484 | Set static route on 56k Modem in Windows | I'm currently trying to route a 56k connection, which is connected to a PSTN off a microwave transmitter, through a laptop to some ethernet enabled equipment. Essentially I'm using a laptop as a router utilizing a persistant route until proper routing equipment can be flown in. I can connect, route, perform data transf... | I ended up writing a small application with the super creative name DialupRouteMaster . It checks the destination gateway to see if the route is alive (not in a disconnected state) and if the network is disconnected (redialing, etc) then it attempts to remove the persistent route then recreate it with the correct inter... | 0 | 1 | 290 | 2009-12-21T22:08:15.150 | infrastructure | serverfault.com | |
77,310 | Send simple HTML email from command line? | I have a cron job which produces a list of resource, expiration date and the days until expiration. The report produces a CSV file. I attach this to the a message using [CODE] . I also want to include information in the body of the email. I use gawk to format this into clean lines and add this to the body. It looks som... | If you have a sufficiently recent version of mutt I believe you can do something like this. [CODE] index.html will be the html body of your message. | 3 | 2 | 4,464 | 2009-10-22T18:45:01.660 | infrastructure | serverfault.com | |
474,813 | GSA Lotus Connector | I'm trying to install a connector for GSA to crawl a Domino server. It required me to - create a GSAConn.nsf database that contains configuration for GSA Connector (based on a template file). - Create an user with access MANAGER to the GSAConn.nsf A tomcat server will run the connector and GSA will connect to Tomcat to... | I have two ideas which might cause that: 1.) The DB isn´t fully initialized. That means only a replication stub is created on the server. Can you open the server example and the GSAConn.nsf on it? Did you got a error message? 2.) It might also that the server "Example" couldn´t be found. If you ping "Example" on the se... | 0 | 0 | 66 | 2013-02-02T16:16:10.350 | infrastructure | serverfault.com | |
171,342 | Copying files from OSX to samba, force create mode not working | I have a problem whereby I have set up a samba share with these parrameters: [Design] path = "/sec/projects/design" writeable = yes browsable = yes valid users = @design force group = design force create mode = 0775 force directory mode = 770 When I copy a file from removable storage which has the permissions set as 64... | This should answer your question: Permission issues with Samba and OS X Read the comments to the answers as well. | 2 | 1 | 1,424 | 2010-08-17T11:00:47.080 | infrastructure | serverfault.com | |
388,276 | Troubles with sssd and Active Directory Integration | I have Debian Squeeze and sssd installed. When I try to login to server by user 'alexwinner' by ssh I see in the log: [CODE] But when I execute [CODE] all is ok, I receive ticket. This is my sssd.conf [CODE] and this is my krb5.conf [CODE] I tried to see tcpdump for kerberos packages and see that padata is different fo... | Try below settings, They work pretty well in my environment. Make changes to /etc/sssd/sssd.conf [CODE] Run the authconfig-tui tool. Select ldap under the "User Information" section and Kerberos under the "Authentication" Section. On the ldap Settings step. Leave the use TLS option unselected put the AD servers fully q... | 5 | 3 | 22,574 | 2012-05-11T15:13:40.783 | infrastructure | serverfault.com | |
112,633 | Python library for recommendation engine | I have a dataset containing records of books issued to students in college. It comprises the following fields: Department of student Date on which book is issued to the student Details of the book including title, author and publisher Details of the student including name, batch, sex and department I want to build a re... | You can use Collaborative Filtering . Collaborative filtering (CF) and its modifications is one of the most commonly used recommendation algorithms. Even data scientist beginners can use it to build their personal movie recommender system, for example, for a resume project. When we want to recommend something to a user... | 0 | 1 | 61 | 2022-07-14T07:44:27.997 | data_quality | datascience.stackexchange.com | |
270,113 | Using a bytearray rather than a string to store password in memory | Using a bytearray datatype to store a password (in memory) has an advantage over using a string datatype for a password in that a bytearray is mutable and can be overwritten with 0x00 values when the password is no longer needed for processing and until the password variable is garbage collected. It's not clear to me, ... | At least using CPython, overwriting a bytearray is the way forward. Like most systems, CPython does not clear memory prior to garbage collection, so a manual erase is required. It also does not make copies of data unless specifically requested. Be wary of other Python implementations, however. They often differ in spec... | 1 | 2 | 1,480 | 2015-01-14T23:02:12.057 | api_errors | softwareengineering.stackexchange.com | |
247,658 | 5 year old server upgrade | I am looking to upgrade a server for a web app. Currently the application is running very sluggish. We've made some adjustments to mysql (that's another issue in itself) and made some adjustments so that heaviest queries get run on a copy of the database on another server was have as a backup, however this will not las... | Currently ... 1 gig of ram. 1GB, for a busy database? Really? The current size of your database is 445MB. While that is smaller than your 1GB of RAM, adding more RAM would provide space for indexes, transactions logs, and query working sets all to live in memory. If you go up to even just 4GB of RAM I'll bet you find y... | 2 | 5 | 275 | 2011-03-15T15:27:36.213 | hadoop_errors | serverfault.com | |
507,151 | Virsh can't connect to ovirt hypervisor | I installed Ovirt and want to add network interface for NAT. So I need to connect to hypervisor by virsh and add nic. Ovirt installed on my local server, host (ovirt-engine.kvmserver.net) is on the same server. I tried to connect in readable mode is ok [CODE] In normal mode [CODE] As I understand I need to connect with... | I found the solution! The problem was on "Remote management using SASL authentication". I didn't create special user for SASL. Create user command is [CODE] That's all. | 1 | 5 | 18,064 | 2013-05-12T23:11:57.043 | infrastructure | serverfault.com | |
78,545 | MySQL replication duplicate key errors after error 1594 | So I had this happen to me recently: [CODE] So I looked at master: [CODE] Everything fine. So I ran: [CODE] As suggested by everyone and now I run into: [CODE] Obviously my replication is now broken beyound repair. Considering every answer says that it is safe to replicate from the last master position why did this not... | How I would do it, without having to reload all data: Take the slave out of production- it has drifted and has wrong data Skip replication errors until the replication is running again (but remember, with wrong data) with slave-skip-errors . Not always possible. Use pt-table-checksum to identify the master-slave differ... | 1 | 1 | 783 | 2014-10-07T08:27:23.363 | database_errors | dba.stackexchange.com | |
378,371 | SBS backup to linux share | Im currently looking for a solution regarding backing up windows to a network share which is located on a linux machine (Shared trough samba). I cant get it to work with the current setup (SBS backup --> junction point to mapped driver --> mapped driver = samba share) It keeps prompting for passwords and it has authent... | I recommend working through the Samba issues and you should have a fairly stable backup plan. Another option would be to present the share via NFS and then install "Client Services for NFS" on your SBS machine. Either way, you're stuck looking at Samba or NFS as a share from a Linux machine, unless you feel like stagin... | 0 | 0 | 200 | 2012-04-11T06:33:06.377 | api_errors | serverfault.com | |
80,418 | Train a model to determine that the probability of an event given a set of features is higher than when given a different set of features | I have a data set of attempted phone calls. I have a set of features, say, hour of day, and zip code. I have a label indicating whether the callee picked up the phone or not. I want a model to predict the probability of a phone pick up given a instance's feature set My difficulty is that I'm not interested in predictin... | I'm not sure you need to depart from the binary classification paradigm. If you train a binary classification model using whether or not the phone is picked up as a label, then the trained model will end up sending inputs in the feature space into a mostly monotonic transform of the "actual" probability distribution (t... | -1 | 1 | 46 | 2020-08-17T21:11:07.760 | data_quality | datascience.stackexchange.com | |
355,354 | Apache2 on Ubuntu server - Windows Domain | Hi this is probably a stupid question....but here it goes I have an Ubuntu server (hostname: intranet) with apache2 running with virtual hosts. Lets call them "website1.intranet" and "website2.intranet". The ubuntu server is on a Windows AD "domain.local" When I try to access the virtual hosts with a hosts file pointin... | If the Ubuntu machine is known as intranet.domain.local in AD DNS, you could add a wildcard to it: [CODE] NOTE that you must adjust the apache virtualhost Servernames accordingly. | 0 | 1 | 120 | 2012-01-31T10:48:35.467 | infrastructure | serverfault.com | |
245,005 | How to combine date and time with a string value in column created by Case in SQL Query | I am in the process of creating a query for an SSRS report that will show a column that has DATETIME values. The column can have [CODE] values. In my query I would like to use a [CODE] expression. I want to create this column to just display the date and time value if its not null but if its [CODE] I want it show somet... | I guess because it cant have a string value with a column formatted for Date and time? You are correct. CASE Returns the highest precedence type from the set of types in result_expressions and the optional else_result_expression. Data type precedence comes into play here. You'd have to convert your column to a [CODE] .... | 2 | 3 | 829 | 2019-08-09T16:57:04.490 | bi_errors | dba.stackexchange.com | |
544,073 | sudo fine, sudo ls not working (command not found) | On Ubuntu 13.04 running in EC2, all commands through [CODE] work fine except [CODE] . Here are some example commands to illustrate the issue: [CODE] My dotfiles are here https://github.com/mike-spainhower/dotfiles | Line 40 of your .aliases is aliasing ls to a command called 'command'. Your system can't find this program named 'command'. You can tell from your first sample error: the first instance of the word 'command' is the system naming the program it failed to find. | 4 | 6 | 2,063 | 2013-10-05T23:38:57.283 | infrastructure | serverfault.com | |
908,851 | How to configure ssl in httpd/apache for heavy traffic? | I am running a SSL enabled website on apache 2.2 which is comparatively static but the data is fetched from mysql as it makes updating easier for business side. Few points about the site: 1. It runs fine during low load condition 2. It was running fine without ssl even in heavy traffic 3. But after enabling SSL it is s... | Naturally SSL, even when configured perfectly, consumes more resources, as it needs to encrypt everything. It might well be that your server is underpowered. However, there might be other things you could try to tweak first. Finally upgrade your Apache 2.2 to 2.4. It was released 6 years ago, being 7 years younger than... | 0 | 2 | 138 | 2018-04-21T20:26:10.313 | database_errors | serverfault.com | |
266,418 | Windows file share access is intermittently successful between two machines with a local account having a matching username and password | I'm setting up an automated process on one Windows machine that backs up data from another. The process will run as a local account that exists on both machines and matches user name and password. I'm using the ability of windows to use matching accounts to provide login-less "authentication" which I have used numerous... | Your best bet is to take a sniffer (say, Wireshark ) and see the packets. They will tell you what exactly happens out there. Windows has many peculiarities in SMB logon procedure, in particular, algorithms to logon via a simple host name, full DNS name and IP address are all different. My guesses: you may be required t... | 0 | 0 | 1,298 | 2011-05-04T20:47:14.323 | api_errors | serverfault.com | |
608,024 | set ACL for BackupUser | I want to backup a whole bunch of folders from different users remotely. Therefore I created a special user that is able to log into the machine and (should) have the right to read all the files via a acl. What I have done so far is to add these acls to the home directory [CODE] I thought that all new files will inheri... | ACLS use the group permissions as a mask against what is set. Thus, if you have a acls of [CODE] But a mode of: [CODE] Then the ACL will not function correctly. If the mode was: [CODE] Then this would allow [CODE] traversal only access to the directory. | 0 | 2 | 114 | 2014-06-26T07:13:36.273 | database_errors | serverfault.com | |
427,714 | Session persistence between multiple Rails / Unicorn servers with Redis as session_store on AWS | I've got 2 nginx EC2 instances pointing to 2 Unicorn EC2 instances in a round robin load balanced configuration. The two nginx instances are being the Elastic Load Balancer. Both Unicorn instances have a Redis session_store configured which is in a master/slave configuration with an Elastic IP attached to the master. I... | I figured it out. In the location section of the nginx configuration file, I had to add two additional proxy parameters: [CODE] | 1 | 1 | 1,284 | 2012-09-15T13:46:57.800 | database_errors | serverfault.com | |
536,580 | Exchange 2010 Autodiscover/OAB update issue | Mid way through migration from 2003 to 2010 and with a few test users on 2010 i've noticed that the OAB is not being downloaded to outlook clients. I've checked the URL's are configured, addded both our CAS servers to the web based distribution list for the OAB and assigned the OAB to 2 mailbox databases we use but whe... | Just resolved this issue with Microsoft support. The 3 users not receiving from autodiscover.xml had a specific (and the wrong) OAB configured in their AD Object setting "msExchUseOAB", instead of being " ". With the entries for "msExchUseOAB" cleared, OAB settings were obtained from Autodiscover. | 1 | 1 | 3,037 | 2013-09-05T10:25:58.817 | infrastructure | serverfault.com | |
319,370 | Fast straight-line-integrals over a discrete grid | I have a grid that represents a sampling of a continuous function in a 2 dimensional space. I'm looking for a (preferably fast) algorithm that can calculate the discrete line integral along a straight-line path from one grid cell to a distant grid cell. This seems like it would be a canonical problem with an accepted s... | I assume you used Bresenham's algorithm ? It works fine for nearly-horizontal or nearly-vertical cases. Works well with integer-only coordinates, too. If your integral value depends on the amount of interconnection between a cell and the line, consider the Xiaolin Wu's antialiased line algorithm . Both are for uniform ... | 2 | 1 | 781 | 2016-05-24T17:21:00.410 | api_errors | softwareengineering.stackexchange.com | |
90,227 | Approach for training multilingual NER | I am working on multilingual (English, Arabic, Chinese) NER and I met a problem: how to tokenize data? My train data provides sentence and list of spans for each named entity. e.g. [CODE] What the best way to tokenize input data? There are main different alternatives I consider: word level, wordpiece level, BPE. BPE do... | First, some clarification: BPE does work with Chinese and Arabic. The only problem with Chinese is that there are no blanks between words, and therefore there is no explicit word boundary. In order to address that problem, normally you would segment words before applying BPE. For that, the typical approach is to use Ji... | 0 | 1 | 190 | 2021-03-04T05:53:15.657 | data_quality | datascience.stackexchange.com | |
325,126 | Always On Cluster, Network Problem, make failover or disconnections for nodes | have a nice day, I have a cluster sharing the same quorum resource, this quorum is a server with 2 share folders, one for SQL Always on Cluster, and other for SAP Always On Cluster, I have lot´s of connection problems, and I check all settings on the hardware for those 2 Always on cluster, (VmWare Infra). My question i... | My question is is or it's not recommended this architecture, 2 Always on cluster in the same quorum server, even if I have 2 different shared resources for every cluster? It's perfectly fine to use the same base share for multiple clusters so long as whatever is hosting that share has availability that meets your needs... | 1 | 0 | 143 | 2023-03-24T13:27:28.187 | database_errors | dba.stackexchange.com | |
1,088,736 | QEMU/KVM guest VM cannot resolve DNS hostnames or SSH/ping from host | I have a QEMU/KVM-based virtual machine with CentosOS 6.4 that cannot fully connect to the Internet. I can ping IP addresses (ex. [CODE] works successfully), but domain names are not resolved (ex. [CODE] returns [CODE] ). The guest has a static IP assigned to it, and I am using the default (NAT-based) network: [CODE] [... | The following error messages from [CODE] indicate that the communication is blocked by a firewall. [CODE] | 2 | 1 | 4,331 | 2022-01-01T17:40:14.973 | infrastructure | serverfault.com | |
702,942 | Tcp connection breaking, too fast for serial? | I've been having real difficulties getting a tcp connection to work with my web server. I think the issue might have something to do with the speed or ordering of the packets as the connection seems to start off managing okay then fails after a little while. I am running all this traffic through a program I've written ... | I actually do quite a bit of testing of applications through high-latency situations due to the business I'm in... (we test with a variety of 200 - 1400ms latency links) Typically, I would setup a linux router and use [CODE] to emulate latency and packet loss (and such)... but in windows, I have never bothered to try. ... | 1 | 2 | 360 | 2015-07-01T19:42:25.397 | api_errors | serverfault.com | |
71,827 | RAID hard-drive configuration performance | Which is faster - two 500gig Western Digital hard-drives in a RAID configuration or two single Western Digital hard-drives? | Assuming all the drives involved are the same type: Two drives in a RAID-0 configuration are faster than a single drive, which itself is generally faster than two drives in a RAID-1 configuration. RAID-0 alternates sectors across each drive, so reads and writes can be sent to both drives at the same time, making it sli... | 0 | 1 | 260 | 2009-10-06T17:02:38.893 | api_errors | serverfault.com | |
125,785 | How do I configure IIS 7 (discount asp.net) to point subdomains at application subdirectories? | I have an discount asp.net account, which uses IIS 7 and I want to configure subdomains to point at specific applications on the site. For instance: 's1.site.com' would run the application at 'site.com/serverone'. I would like the subdomain to be opaque so that users do not have to deal with the /serverone part. There ... | Using the URL Rewrite , that Sam Cogen mentioned, which is automatically installed in any discount asp.net account (and which can be installed to any IIS7 server), I created a rewrite rule to solve my problem. Note : The staff at discount asp.net said that a rewrite rule is the only way to accomplish this on one of the... | 3 | 2 | 3,101 | 2010-03-24T14:17:28.180 | infrastructure | serverfault.com | |
1,059,218 | Apache Site Goes To Wrong Page If I Manually Enter HTTPS:// in the URL | If I type in [CODE] into the URL it redirects to [CODE] which is great, same with typing [CODE] I get the correct redirect to [CODE] . However if I type in [CODE] it takes me to the warning SSL Certificate invalid page. After checking what the domain the certificate was for I realised that it's taking me to completely ... | Neither of these covers the [CODE] , and the default site is used, instead: [CODE] If your certificate is a wildcard certificate for [CODE] , you could add it to your [CODE] : [CODE] It is also possible to avoid using mod_rewrite altogether by adding another [CODE] block: [CODE] | 0 | 2 | 691 | 2021-04-02T22:51:06.890 | api_errors | serverfault.com | |
843,498 | TERRAFORM how do i have 1 ecs cluster with 2 or more ecs service/task definitions? | Using Terraform, I have tried the hardest to find out how to create 1 ECS cluster and have multiple services running under it. SO basically i have 2 different containers i want to run with this 1 ECS cluster. How do i do this? I have seen many examples but usually 1 service with 1 ECS cluster So from this link i got a ... | You simply create another aws_ecs_service and aws_ecs_task_definition resources. If you want it running on the same cluster, just specify the same cluster ID in the cluster param. So it would look something like this [CODE] There is another way of running multiple containers on ECS. You can place both Nginx and MongoDB... | 3 | 2 | 7,643 | 2017-04-09T07:06:21.873 | pipeline_ops | serverfault.com | |
114,608 | Why is removing the Identity property on a column not supported | I have read that after SQL Server 2000, the ability to "un-identity" an identity column was removed. And that this was "By Design" (not just a missing feature). Here is an example I found on a blog . It involves updating the system tables. (And that ability was removed after SQL Server 2000.) I get that doing this via ... | Your question is, essentially: Why can I no longer do this risky thing that I should never have been allowed to do in the first place? The answer to that question is largely irrelevant (though you can see some Microsoft comments in these Connect items asking for this functionality: #294193 and #252226 ). For completene... | 12 | 22 | 2,828 | 2015-09-09T18:22:49.250 | hadoop_errors | dba.stackexchange.com | |
44,599 | How to avoid empty rows in SSIS Excel Destination? | Does anyone have a way to avoid empty rows when using SSIS to export to Excel. Here's a simple example of one data flow task: OLE DB Source: Data Conversion (to handle the annoying UNICODE / NON-UNICODE deal): The end result is either of the two below depending on value of "FirstRowHasColumnName" in the Excel Connectio... | I tested this in SSIS from a 2008 R2 install and Excel 2010. Using the Excel 97-2003 output format in the connection manager, I was able to reproduce the case where there was the header name in the first row, then a blank, then the data. But changing the "First row has column names" had a different effect for me: I sti... | 2 | 2 | 20,101 | 2013-06-15T17:47:55.003 | warehouse_errors | dba.stackexchange.com | |
43,406 | Performance impact of sp_configure blocked process threshold change | I've been tasked with identifying any blocking happening on a production server. My plan to achieve this is to use [CODE] In combination with a server side trace to collect a Blocked Process Report. I understand that this activity will incur a performance hit, I'd like to find some way of quantifying what this will be. | Minimal hit. The cost of evaluating the blocked process list is already there since this is how deadlocks are detected. The cost of generating and writing an event in the server side log is quite low and any server IO should be able to handle an extra write into LOG/*.trc every 5 seconds (At worst). But 5 is a quite lo... | 9 | 6 | 2,440 | 2013-05-30T08:05:29.587 | warehouse_errors | dba.stackexchange.com | |
1,156,801 | Windows Server 2022 NAS/SAN | I have a Windows Server 2022 server intended to be used as storage server. In the server are two LSI 1068 HBA cards. First plan was MPIO, but is not working. The two LSI controllers have two SAS cables to an HP D2700 Bay with two controllers. (second cable doing nothing at the moment). There are also two QLogic HBA SPF... | You’ll need something called “Target mode” server software. They exist for iSCSI (lots), Fibre Channel (less), and SAS (few). Unfortunately for you no SAS target mode stack exists for Windows OS. The only workaround I can offer is to enable Hyper-V role, spawn a Linux VM, PCI-pass-thru your HBAs and try playing with Li... | 2 | 4 | 60 | 2024-03-23T18:26:20.157 | infrastructure | serverfault.com | |
955,921 | KVM guest cant fetch packages thus it's reachable from ssh | I am a bit lost regarding my kvm setup. I rented a root server at hetzner.de and now wanted to setup virtualization using libvirt & kvm. I created a bridge [CODE] which now holds the static server ip (instead of the default interface [CODE] ). Linking a /29 subnet to the bridge and assigning a static ip to the guest we... | Thanks to @MichaelHampton I got it working. I forgot to update the nameservers in the guest under [CODE] . Inserting the hosters nameservers solved my problem. | -1 | 0 | 68 | 2019-02-27T08:45:35.937 | infrastructure | serverfault.com | |
516,324 | Unable to assign group permissions with ICACLS on Windows Server 2012 | I cannot get icacls to accept my group for adding permissions. I am using an elevated power shell with the following command: [CODE] I get the following error: [CODE] I have tried using the SUID too, but that fails as well. I have also tried 'Domain\Group Foo' I have a bunch of files I am trying to allow a group to use... | Use double quotes instead of single quotes: [CODE] I missed that you were using Powershell, not [CODE] . Powershell has some high weirdness when mixing external commands and quoting. Here's a couple examples using Powershell. PS v2: To pass the quotes onto [CODE] you must escape them with a caret. Note parenthesis arou... | 12 | 10 | 42,057 | 2013-06-17T12:37:59.850 | infrastructure | serverfault.com | |
1,042,464 | Can ping and RDP VPN's servers but cannot http/sftp | I am successfully connected to a VPN network, I can RDP to remote PC and ping the servers (remote PC and servers in VPN's network). However, I cannot http/sftp the server's sites through home's modem/router (the site takes a lot of time to load and then return Network Error or Timeout error). When I connect to VPN with... | It might be a MTU issue. Try to set your VPN Tunnel NIC MTU to e.g. 1420. This kind of issue happen if you're using Packetencapsulation e.g. in IPSec https://www.cisco.com/c/en/us/td/docs/interfaces_modules/services_modules/vspa/configuration/guide/ivmsw_book/ivmvpnb.pdf | -1 | 2 | 1,016 | 2020-11-13T18:27:51.607 | infrastructure | serverfault.com | |
659,313 | ASG replacement with same IP | Summary When a node fails, or is otherwise removed, how can an ASG be configured to respawn that node with the same private IP as the one it is replacing? I notice that there is support for allocating an administrator chosen address but I'm not sure how to apply this to ASG's. Context We have a service, Consul , that w... | You could make use of an Elastic IP (EIP) . Start by allocating an EIP that you want to always be connected to the instance in your ASG, this is done using the AWS CLI or through the AWS console (EC2 > Elastic IPs). When that is done, you should add a script to your AMI that associate the new instance with your allocat... | 0 | 2 | 457 | 2015-01-14T03:05:28.097 | infrastructure | serverfault.com | |
170,109 | What kind of process should I use to learn a big system? | Possible Duplicate: How do you dive into large code bases? I just joined a new company and started to study one of the their bigger system. For me to be productive, I need to understand the entire system without too much help. Other programers are really busy and dont' have time to hold my hands. I used to use brain ma... | I would start with the documentation of the system: design document, requirements document(s), database schema or possibly a user's manual. If you are lucky, you will find all of these, but find whatever you can. Read these to get an idea of what the system is supposed to do. Then I would play with the system in a test... | 3 | 7 | 660 | 2012-10-16T15:36:22.453 | data_quality | softwareengineering.stackexchange.com | |
269,352 | Login failed for user DEV\xxx (Microsoft SQL Server, Error: 18456) | Brand new installation of SQL2008 R2. My user, xxx, is a domain admin. I am attempting to connect via management studio while directly logged onto the SQL box. If I specifically add that user to SQL Logins then I can connect OK. However, if I add the group DEV\Domain Admins as a login I get the error above. Further, in... | What OS is this running on? If 2008/2008R2, try running management studio as an admin and try again. | 0 | 0 | 627 | 2011-05-13T10:56:35.570 | data_quality | serverfault.com | |
589,637 | Motorola SB6141 assigns 192.168.100.0/24 IP via DHCP when cable dies; can I prohibit systemd-networkd from using 192.168.100.0/24 addresses? | I have a Motorola SB6141 cable modem connected to a Linux firewall that obtains an IP via systemd-networkd's DHCP function. Every so often, the ISP will have issues, and for some reason, systemd-networkd gets assigned an IP in the 192.168.100.0/24 range (instead of one of the ISP's public IP addresses). When this happe... | You could add a cron job which checks the IP Address, and restarts systemd-networkd if it has one in the 192.168.100.0/24 range | 2 | 1 | 686 | 2014-04-17T06:55:22.467 | infrastructure | serverfault.com | |
640,344 | Why did git stop working after server disabled SSLv3? | Like most others, our repository server needs to disable SSLv3 (and v2) ASAP. However, doing so seems to break our git-clients -- at least, on RHEL5 (connections from my FreeBSD desktop work fine). Even the most recent git (2.1.2) fails, and upgrading OpenSSL libraries to the latest from the vendor did not help. Howeve... | Ok, here is the deal. Disabling SSLv3 in today's Apache means, the server would not even tell the client, that it wants to use TLS. If the client does not begin the conversation with TLS, the client will fail -- even if could talk TLS. Many thanks to user Chris S. , who analyzed the problem and even offered a patch for... | 5 | 6 | 5,923 | 2014-10-28T20:03:02.497 | infrastructure | serverfault.com | |
33,240 | selenium 3.11 - JAVA (Multi-threading),Multiple browsers launch attempted Exceptions Observed | OS: Windows 10 Selenium Version: 3.11 Browser: Internet Explorer, Firefox, Opera, Chrome Browser Version: Expected Behavior - The program should launch all the browsers, open websites and perform operations intended. Actual Behavior - The program behaves inconsistently during opening of browsers, sometimes throwing err... | The exception from your post indicates that the browser failed to launch within the allowed time. Either the browser crashed at some point or it is still loading. The time to launch a browser depends on the hard disk IO performance which is usually slower in parallel depending on the type of disk or if your system is l... | 3 | 2 | 8,495 | 2018-04-19T14:28:00.470 | data_quality | sqa.stackexchange.com | |
540,653 | l2tp/pptp + freeradius (accounting information only gets updated on disconnect) | I have a basic PPTP/L2TP setup that uses a remote freeradius server with mysql. Issue is that when a user gets connected to the vpn and as long as the user stays connected (could be hours), no accounting data is updated (bandwidth usage). Only on disconnect does it update the actual bandwidth usage etc. I have tried se... | add "ATTRIBUTE Acct-Interim-Interval 85 integer" to /etc/radiusclient/dictionary and return Acct-Interim-Interval in /etc/raddb/users or radreply sql table or others ways you like. here is the solution: http://lists.freeradius.org/pipermail/freeradius-users/2007-March/016817.html | 1 | 1 | 1,491 | 2013-09-21T04:52:50.680 | database_errors | serverfault.com | |
267,884 | Permission to select sys tables in stored procedure | I have implemented the stored procedure to check if a specific [CODE] exists. [CODE] When I tested with [CODE] it selected 1 as I expected but when I tried with a minimum permission account which only granted [CODE] to the procedure, it selected 0. My assumption of stored procedure mechanism was role/user only requires... | My assumption of stored procedure mechanism was role/user only requires EXECUTE to perform the procedure. We don't need to concern the permission setting of each DB object like CRUD to table and so on. This statement is true when ownership chaining applies. With an unbroken chain, users do not need permissions on indir... | 0 | 0 | 591 | 2020-05-26T03:39:04.140 | database_errors | dba.stackexchange.com | |
378,602 | Apache reverse proxy not working like expected | Ok, I'm feeling a bit stupid about this. I'm trying to setup a simple Apache reverse proxy setup and I'm hitting a wall. I've had this setup working in the past, but now I just don't see whats going wrong. Heres the setup: [CODE] I can see in the log with debug turned on that requests are being routed to a balancer mem... | you should set; [CODE] in your vhost configuration | 0 | 2 | 499 | 2012-04-11T18:08:42.087 | infrastructure | serverfault.com | |
704,854 | OpenVZ container - Can't set nf_conntrack_max | My question is does the Host Node and a container both have the same "nf_conntrack_max" ? When i check on the host vs the container these are the results: Host Node [CODE] OpenVZ Container [CODE] But when i try and change the value on the container i run into a couple issues. This is how i would normally increase the v... | While the host node and containers have seperate "nf_contract_max" values you are unable to raise a containers "nf_conntrack_max" higher then the host nodes "nf_conntrack_max". For example; if your host node has a max of 65536 you will not be able to raise your containers max past 65536. Simply raise the host nodes lim... | 0 | 0 | 1,172 | 2015-07-10T11:30:10.303 | pipeline_ops | serverfault.com | |
520,556 | SSL wildcard certificates and "www" sub-subdomains | I've got a wildcard SSL certificate for [CODE] . I'm using Nginx, and redirecting all traffic for HTTP to HTTPS, and also rewriting the URLs to remove a www subdomain (if there is one). So it has, [CODE] ---> [CODE] [CODE] ---> [CODE] [CODE] ---> [CODE] [CODE] ---> [CODE] However, since my cert is for [CODE] , case 3 g... | Wildcard certs only go one level deep. You will need to get a wildcard that also has subject-alternate names for all [CODE] sites. This will allow the redirection to happen. Any solution other than putting valid certs on the two-level-deep subdomains will not work, because the SSL handshake will always happen before an... | 3 | 4 | 1,839 | 2013-07-03T14:56:49.900 | api_errors | serverfault.com | |
759,807 | Configure postfix to use Google Apps SMTP relay in a Google Compute Engine instance | What are the steps to set up postfix as SMTP relay that uses the Google Apps SMTP relay. There are a bunch of tutorials on the web that explain how to use the [CODE] gateway with SASL authentication but I could not find a working configuration for the Google Apps relay [CODE] as described here , especially one that is ... | Install postfix with [CODE] . When asked select "satellite system" or the option with smarthost. Accept the defaults of everything else for now. Edit your main.cf according to the following file: /etc/postfix/main.cf [CODE] Restart postfix with [CODE] . All should be good. This may not be the cleanest all all solutions... | 8 | 10 | 18,553 | 2016-02-25T16:38:35.523 | api_errors | serverfault.com | |
609,169 | puppet logical conditions- "onlyif" and "unless" not working | I have written the following code and this works fine if swap is not in place, but once swap is created and if the script is executed again, it leads to error. I tried adding conditions using onlyif and unless which are commented in the following code but none of them seem to be working [CODE] Below is the console log ... | The issue has been resolved by adding following statement in unless => "/sbin/swapon -s | /bin/grep file > /dev/null" | 2 | 3 | 14,395 | 2014-07-01T06:16:54.127 | pipeline_ops | serverfault.com | |
584,485 | Vlan between Pfsense and Proxim hotspots | We want to plugin some hotspots to an existing network. Because we will account the hotspot traffic, it is important to route all traffic from the hotspots to the hotspot router. I tried to do the routing on ip base. This works but is also very easy to trick (by changing the ip address). Therefore I decided to give vla... | I had to enable vlan on the wifi part of the hotspot, and disable vlan on the ethernet port. Now it works as it should. | 0 | 0 | 182 | 2014-03-25T21:38:40.357 | infrastructure | serverfault.com | |
37,227 | How to modify HTTP request header in Selenium WebDriver with Java? | I want to add "iv-user" request header to log into web app. I'm using the newest ChromeDriver. Using extensions like ModHeader or ModifyHeaders is not working in this case. Fiddler is working, but I need a solution that will allow me to change accounts during the test case execution. Can someone help me with this, plea... | Here is the completed example that demonstrates how you can modify requests from your Selenium tests. To demonstrate one I have created a sample REST mock service via SoapUI that would return just a [CODE] message for any response. The test code ( [CODE] is used for test running, and borwsermob-proxy for proxying reque... | 6 | 7 | 66,107 | 2019-01-08T14:30:07.600 | data_quality | sqa.stackexchange.com | |
305,669 | MariaDB Galera Cluster galera.cache file getting bigger than specified gcache.size | We have a 3 node Galera Cluster running on Kubernetes, behind 2 HAProxy PODs configured so, all queries are executed on the first POD/node of the cluster if available, and the other 2 nodes, provide HA (HA Proxy backend backup nodes). In the config file, gcache.size is configured to 5 GB, and when a new node is deploye... | Solved after upgrading Galera library libgalera_smm.so to 26.4.9 version. The galera.cache does not grow over the specified 128MB gcache.size, using MariaDB 10.4.12 and that Galera version. | 1 | 1 | 2,138 | 2022-01-05T16:19:00.117 | database_errors | dba.stackexchange.com | |
297,088 | Scientific linux: How to install yum using rpm? | On Scientific linux 6.0(RH like linux) I accidentally removed python, so yum removed as well.µ How to install yum with rpm? EDIT I try to install python but it is somehow looped the dependences: [CODE] Then: [CODE] | Download the package(s) and type [CODE] as root or [CODE] as normal user I used [CODE] to get a list of dependencies for yum, hope that gets all off them in one go: Download all the packages with the following code block: [CODE] Install them as follows: [CODE] | 4 | 5 | 28,216 | 2011-08-03T12:53:02.560 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.