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 |
|---|---|---|---|---|---|---|---|---|---|---|
893,188 | SSL-enabled website does not "establish secure connection" on mobile devices (WiFi works) | I am using a basic OVH VPS with Apache2.4 to host my website. Currently, the root index is just a test page, but the result is the same. Whenever I try to load it from my iPhone, I get the message, "Safari cannot open the page because it could not establish a secure connection to the server," despite the fact that I am... | I was unable to configure Apache to accept IPv6 traffic; http://ipv6-test.com confirmed this for me. It occurred to me to test other websites, and it was clear that many others that worked on Safari did not even have AAAA records. I solved the problem (temporarily, and for all reasonable purposes) by simply removing th... | 0 | 0 | 578 | 2018-01-20T06:29:03.050 | infrastructure | serverfault.com | |
46,359 | Check existence with EXISTS outperform COUNT! ... Not? | I've often read when one had to check existence of a row should always be done with EXISTS instead of with a COUNT. Yet in several recent scenarios I've measured a performance improvement when using count. The pattern goes like this: [CODE] I'm not familiar with methods to tell what's happening "inside" SQL Server so I... | I've often read when one had to check existence of a row should always be done with EXISTS instead of with a COUNT. It's very rare for anything to always be true, especially when it comes to databases. There are any number of ways to express the same semantic in SQL. If there is a useful rule of thumb, it might be to w... | 40 | 47 | 17,610 | 2013-07-10T08:11:41.253 | database_errors | dba.stackexchange.com | |
1,105,359 | mysql crashes when accessing database after upgrade from 5.5 to 5.7 | After upgrading mysql from 5.5 to 5.7, one of innodb databases seems corrupted. [CODE] The mysql log shows this error: [CODE] Now, I cannot dump the database for recovery nor repair the database. How can I do? The database is a compressed one. | Did you run mysql_upgrade after you updated the software? | 0 | 0 | 421 | 2022-07-12T08:02:52.987 | database_errors | serverfault.com | |
533,793 | Is a hardware watchdog already active at my CentOS server? | I rent a dedicated server (with Intel Haswell CPU and custom hardware) at a lowcost hosting service and use it with CentOS 6.4 / 64 bit Linux (with stock kernel: 2.6.32-358.14.1.el6.x86_64). Every few weeks it hangs and the other customers seem to have similar problems. In the [CODE] output I see (here is the full dmes... | Linux has a generic watchdog interface. You can use it by either enabling the NMI watchdog your iTCO_wdt hardware supports or by installing and configuring a software watchdog which does not depend on the hardware. | 5 | 7 | 19,310 | 2013-08-26T12:06:03.267 | infrastructure | serverfault.com | |
103,772 | Should I apply Softmax before calculating metrics Precision or similar? | I am using PyTorch Lightning (there is no tag for this and I don't have enough reputation to create one) and am facing a multi classification problem. My loss function is [CODE] which applies softmax internally. So, as I don't have to take care of this, my model prediction output is not a probability vector. Now, in te... | yes, you should apply softmax or sigmoid (for the binary case). y_out is what usually called logits. There are metrics like AUC which requires the probability as an input and will not work well with y_out. | 1 | 3 | 498 | 2021-11-03T13:20:24.743 | data_quality | datascience.stackexchange.com | |
904,957 | Linux: Rescue a system remotely after boot failure | Context I have two linux based servers which are remotely located. It has already happened twice: after a system or kernel update, the system wasn't responding/reachable over ssh anymore (configuration errors or disk failure, ...). I had travel to the location to rescue the server. When the boot process fails, the syst... | If you can't afford KVM-over-IP or iLO/DRAC/ILOM hardware you can hook up a raspberry pi on the serial port of those systems. Then configure grub to use serial as console, example - https://wiki.archlinux.org/index.php/working_with_the_serial_console - google for your distro. And you will be able to do almost anything ... | -1 | 0 | 284 | 2018-03-28T09:16:56.673 | infrastructure | serverfault.com | |
722,230 | msdeploy via jenkins & service account: connected but "could not authorize"? | Background / Goal The moving parts: I have a service account, let's call it [CODE] . I have a remote server, let's call it [CODE] . I have a Jenkins server, let's call it [CODE] . In Jenkins, I have a deployment task. It grabs some artifacts and then calls [CODE] to push them to MyServer. This deployment step fails, an... | I found the answer on this old forum post from 2011 -- it seems really obscure. The solution found on that forum post was to: Open Regedit Open the path [CODE] add a DWORD named [CODE] with a value of [CODE] Restart WMsvc and IIS After performing those steps, it appears to have worked for me the first time. | 5 | 5 | 4,177 | 2015-09-14T17:19:03.683 | api_errors | serverfault.com | |
109,272 | is it "bad" to bulk update a boolean column semi-regularly on potentially a large set of records in Postgres? | pertaining to a previous question I asked: how do you prevent dead rows from hanging around in postgresql? If I have a table with 300k rows, and I were to update all rows in the table, setting a boolean column from false to true, is this an OK thing to do or should bulk updates over a certain size always be avoided? I'... | So, 300k rows total doesn't seem like a huge amount, I wouldn't be overly worried unless you have a particular cause for concern (e.g. your UPDATE taking way too long, holding row locks for too long, etc). But two suggestions which may be helpful for your particular use-case: First, make sure that your UPDATE statement... | 1 | 2 | 883 | 2015-08-06T19:14:49.040 | database_errors | dba.stackexchange.com | |
72,305 | Are we a good fit for SQL Server Enterprise and table partitioning? | We currently have a production database that contains millions of records (14 million in the largest table). One function of the database is to provide time sheet information so a single table could have 2 million time sheets but be joined across 5 other "detail" tables and each of those detail tables have between 500k... | My question is, do you think we should look into upgrading to SQL Server 2014 Enterprise so that we can partition our time sheet tables? No. Absolutely not. On a pocket change server of 8 cores you would be spending ~$50k and be unlikely to see any benefit. I would suggest trying, in this order: Increase the memory all... | 5 | 9 | 322 | 2014-07-24T19:48:35.733 | api_errors | dba.stackexchange.com | |
1,064,447 | How to return a cerbot process after the session is interrputed | While I was waiting for the DNS txt setting, the session was broken. I want to return the process and continue the following process. How can I do? [CODE] Here is the process info. [CODE] | To kill a Program and really force to terminate it kill -9 PID if you are lazy you can also use killall -9 program_name In your point would it be needed to kill both PID (Process Identification Descriptors you can use kill -9 PID PID in case you have a instable Internet connection I suggest, that you can use a program ... | 0 | 0 | 216 | 2021-05-23T08:13:56.963 | infrastructure | serverfault.com | |
5,827 | Docker Persisting Data During Build | I am trying to create a custom container which also contains MongoDB (hence not using the official MongoDB container). I am trying to add authentication to the database, and I think I am having an issue in persisting authentication data, i.e. in [CODE] I run the following command at some point: [CODE] and [CODE] is: [C... | Instead of writing your own Dockerfile, you can simply pass auth through environment variables to official images, I use compose file something like this: [CODE] you can have your database persisted in ./databases folder and nice in browser ui at port :8081 | 3 | 1 | 71 | 2018-12-24T21:57:52.637 | database_errors | devops.stackexchange.com | |
21,290 | How to get the most out of MySQL on a QuadCore machine with 16 GB of RAM? | I'm running a MySQL 5.5 server on my workstation for scientific data analysis and wonder how to configure MySQL in order to get the most out of it performance-wise. The types of query that I typically run involve joins of 10-20 tables and can run for quite long, one to several minutes being no exception at all. Only ve... | Since you are running MySQL 5.5, you may want to consider configuring InnoDB to access multiple cores Here are the settings you should be using innodb_thread_concurrency sets the upper bound on number of concurrent threads that InnoDB can hold open. Best round number to set for this is (2 X Number of CPUs) + Number of ... | 10 | 5 | 25,951 | 2012-07-21T10:27:29.620 | database_errors | dba.stackexchange.com | |
1,000,170 | Size of SPF with other TXT records | The SPF specification says: The published SPF record for a given domain name SHOULD remain small enough that the results of a query for it will fit within 512 octets. Otherwise, there is a possibility of exceeding a DNS protocol limit. … Note that when computing the sizes for replies to queries of the TXT format, one h... | After rereading the SPF spec, the concern about the TXT RRset size is that DNS responses could be truncated if the client both does not support EDNS and the client does not support DNS over TCP. DNS over TCP has always been a required part of DNS, and the caveat seems to be concerned with broken DNS. (To be fair, there... | 4 | 1 | 1,454 | 2020-01-23T21:26:27.203 | infrastructure | serverfault.com | |
669,416 | gunicorn 19.2 fails to start with 18.0 configuration | I've got a dev server running gunicorn/Django behind nginx. As part of a wider server environment update, I attempted to upgrade gunicorn from 18.0 to 19.2.1, but the service would no longer start. (The server is running Arch and therefore uses systemctl.) The gunicorn configuration was done by someone who is no longer... | (Of the comments posted to the question, I must especially call out the one by skarap , since it helped me to find a solution on my own by making gunicorn properly output errors. I wish I could award a partial bounty for this; the conversion of that comment into an answer would not yet be a complete answer, but it did ... | 5 | 1 | 1,256 | 2015-02-17T21:40:53.560 | infrastructure | serverfault.com | |
795,643 | AWS S3 no space left on device | I am mounting a S3 bucket on a amazon EC2 instance using S3FS. Things have been working great for now over 18 months. Today I've tried to download a 5GB file using wget directly on the S3 bucket (things I already done before without issue) and I have a [CODE] error. [CODE] I don't understand what [CODE] return. I suspe... | According to this How to upload file directly to Amazon S3 from a remote server , you will have to download the file to local server before uploading it to S3 bucket. Since you have not defined the save path, I afraid you are storing the large file locally at /tmp folder in which you don't have enough space for storing... | 1 | 3 | 10,181 | 2016-08-08T22:15:03.987 | infrastructure | serverfault.com | |
243,785 | How to implement complex search functionality? | Below is my table structure: [CODE] I want to add search functionality for this table. There will be below conditions: I may search by text which will match with rows [CODE] and [CODE] . I may also filter those result by many conditions for rows [CODE] . Below is an example: [CODE] Now I'm not sure how can I implement ... | Use Fulltext: [CODE] and [CODE] Construct, and optionally leave out, any tests that are not requested. That is, don't include this line if there are only 20 rooms: [CODE] Don't bother will [CODE] since it is [CODE] . Gather typial queries . Either by asking 'users' what they will ask about or by collecting queries on t... | 0 | 1 | 160 | 2019-07-25T13:22:29.610 | database_errors | dba.stackexchange.com | |
182,635 | Storing PLC Data in SQL Server database | I'm developing a software solution that requires storing raw data points originating from many PLCs (programmable logic controller, used to control industrial machines such as conveyor belts and robots) into a SQL Server database. My main concern is how to properly store large amounts of raw numeric data. Each data poi... | Let's start with the basics: Should you store 16 trillion raw data points per year in a relational database? Probably not. Think about what you're going to do with it afterwards, and what those queries will look like. Relational databases are great for data that has relationships to other tables and needs to be inserte... | 3 | 5 | 3,447 | 2017-08-03T20:28:33.327 | api_errors | dba.stackexchange.com | |
33,828 | Slow query performance | My database contains 20,000 rows and the following query is slow. Please help me to speed this up: [CODE] CREATE TABLE : [CODE] My EXPLAIN : [CODE] NOW I change query following : [CODE] AND faster than before : 1.97s. So somebody help me for speedup more. | MySql is not really my domain, but i believe the basics are the same ... Try to use less subqueries Joining user and department tables in the first subquery is completely useless Use EXISTS clause instead of IN ( link for explanation ) Set up indexes Check the execution plan | 2 | 1 | 588 | 2013-01-30T10:55:22.667 | warehouse_errors | dba.stackexchange.com | |
617,171 | sshdOpenSSL version mismatch - update sshd from rescue mode | After upgrading with [CODE] then [CODE] is not starting at boot upgrade [CODE] error on boot Have tried to boot in rescue mode and run the following command to update [CODE] but it doesn't work. After rebooting [CODE] still fails to load at boot and return the same error about version mismatch [CODE] How to update the ... | I found a solution Update openssh from rescue mode Mounting the hard drive in rescue mode (with software RAID) [CODE] Updating openssh [CODE] Restart the server and the server will boot up in normal mode Update openssh from a remote console [CODE] If the ssh server doesn't start, start it [CODE] | 2 | 0 | 1,399 | 2014-08-01T10:16:22.667 | infrastructure | serverfault.com | |
149,980 | Monitoring VPN users on my network | My company runs filters on contents available for browsing and I have to check if everyone is respecting the browsing policies. Recently I have spotted some users activate OpenVPN on their workstations and i have discovered that they connect on port 443 of an external server and then use a proxy to circumvent the compa... | Do we take it that this OpenVPN connection is not set up by you/your company, and that the end users are connecting to their own OpenVPN server? If OpenVPN is using the standard ports you can certainly block them: drop or reject traffic to TCP and UDP ports 1194, perhaps from specific machines (the users in question) a... | 1 | 1 | 1,345 | 2010-06-10T08:34:06.473 | pipeline_ops | serverfault.com | |
569,561 | Windows server 2012 user/administrator missing programs | I have the weirdest thing with windows server i have ever encountered. When i log into the IIS server i have all my pined icons in the metro interface, my task bar pinned programs and my mapped shares in explorer. Than when a other user logs on (has the same rights as me) he has lost all his pined icons on the metro in... | What i did to solve this problem. Log in with an account witch has administrator rights on the problem machine. Go to C:\Users\ and rename the folder with the name of the problem account to account [CODE] . Than remove the user from the local user list and check the register under [CODE] and if the account is still the... | 0 | 0 | 2,022 | 2014-01-24T10:17:49.370 | infrastructure | serverfault.com | |
746,567 | Not all printers are deployed on the client using Group Policy | Situation in our environment we are using the following servers to deploy printers in our domain forest: Windows Small Business Server 2008: contains the group policy to deploy the printers Windows Standard FE Service Pack 2: file and print server which contains the shared printers to deploy Problem I have a group poli... | Ok, after some hours spending and searching I have found the solution. All of my printers are now deployed on the Win7 and Win10 computers. The fix was to update the ADM files on my Windows server because the setting [CODE] wasn't available under [CODE] . Then set this also [CODE] , did a [CODE] and voila, all printers... | 3 | 0 | 11,689 | 2016-01-04T11:00:17.053 | infrastructure | serverfault.com | |
133,702 | UFT to SQL Server conecction which is located at different domain | I need to connect to a SQL Server through UFT (Unified Functional Testing) but the problem is SQL Server is present at different domain whereas QTP (HP QuickTest Professional) is present in a different domain. I am able to connect to SQL Server manually from my domain using [CODE] Where mydomain is the domain in which ... | The uid & password attributes are used for SQL Server Authentication. You cannot use those connection string values with Windows Authentication. I suspect you are getting login failures with error 18456, state of either 2 or 6. The state portion of the failure message will give you the detailed reason for failure. This... | 0 | 2 | 1,583 | 2016-03-29T16:42:51.173 | database_errors | dba.stackexchange.com | |
563,831 | Postfix (delivery temporarily suspended: conversation with mydomain.net [private/lmtp] timed out while receiving the initial server greeting) | I'm running Debian 7.1, Postfix version 2.9.6, Dovecot Version 2.1.7 To set it up I followed mostly this (without the spamass-clamav-greylist bit) I have also got setup smart host relaying via gmail [CODE] reveals: [CODE] I am able to send emails to the outside world but all emails sent to me are getting stuck. [CODE] ... | OK. I found the fix to my problem - I changed this line in postfix cofig: [CODE] | 0 | 1 | 14,711 | 2013-12-27T20:36:01.870 | infrastructure | serverfault.com | |
296,415 | Who is the Owner of Information? Memento vs. Originator | Imagine for a second that I'm implementing the Memento Pattern, using the following classes. Classes An Originator class that has public and private, properties and fields respectively A Memento class that has many properties/fields representing state of Originator A CareTaker class that acts on an instance of Originat... | Once the Originator generates a Memento, the Caretaker shouldn't have an API available to modify the data contained within that object. The key is that encapsulation isn't lost when giving the Memento to the Caretaker. Objectively, if the only really difference between Option 1 and Option 2 is that the Originator uses ... | 4 | 1 | 468 | 2015-09-04T14:30:44.027 | data_quality | softwareengineering.stackexchange.com | |
1,006,516 | Client certificate works in Firefox in .p12 format, but not with .pem | I needed to convert a client certificate .p12 file to .pem and I did it with the following command: [CODE] Importing .p12 to Firefox for test works, I am asked for my passphrase and after entering my data it's then imported, but importing the .pem file does nothing, just nothing happens. Format of my produced .pem cert... | A pem file can hold different parts of the certificates - and thus you can have different ways to build one. In your case - the error you get implies that you are missing the issuer certificate to verify the trust of your certificate. So try adding the full chain into the pem in this way: -----BEGIN RSA PRIVATE KEY----... | 1 | 2 | 1,294 | 2020-03-11T14:45:11.873 | infrastructure | serverfault.com | |
1,137,796 | Does iptables apply all rules in order when an incoming connection is received? | I'm using iptables and fail2ban to secure server connections. Currently I have connections filtered via a router passing only ports for email and webserver access and fail2ban adding restrictions based on login failure attempts. I'm trying to understand how iptables iterates through rules. From my understanding, it goe... | Packet processing finishes (in this chain) not "when packet fails a rule" (whatever this could mean), but "when packet matches a rule that defines a final action". ACCEPT, DROP, REJECT, DNAT, SNAT — all of these are final actions. So if packet matches some ACCEPT rule, the rule following it (in the same chain) won't be... | 0 | 0 | 68 | 2023-07-19T14:55:13.140 | infrastructure | serverfault.com | |
8,028 | What's better for large changes to a table: DELETE and INSERT every time or UPDATE existing? | I am making a project where I need to change around 36K records in one table daily. I'm wondering what will perform better: delete rows and insert new ones, or update already existing rows For me it is easier to just delete all the rows and insert new ones, but if this is going to fragment the table and indexes and imp... | It really depends on how much of the data is changing. Lets say this table has 20 columns. And you also have 5 indexes - each on a diff. column. Now if the values in all 20 columns are changing OR even if data in 5 columns are changing and these 5 columns are all indexed, then you may be better off "deleting and insert... | 32 | 15 | 67,960 | 2011-11-17T14:35:32.320 | warehouse_errors | dba.stackexchange.com | |
27,173 | Load testing WebRTC | So there is a WebRTC server I would like to load test to see how many connections I can have to it before its CPU/RAM or network utilization are maxed out. The server is hosted in Microsoft Azure cloud. Currently, the way to see if the system is working is: Open a browser, navigate to a web page and start streaming via... | You can use load generators in the cloud. Some tool manufacturers (like Neotys from NeoLoad) but also other partys offer the possibility of hiring load generators in the cloud. Then you only have a controller local and you only have network traffic from controller to load generators. That is a lot less than if you had ... | 1 | 1 | 1,127 | 2017-05-10T00:20:49.010 | data_quality | sqa.stackexchange.com | |
891,295 | Windows 10 circumvents WSUS | I am gradually installing Windows 10 in an environment where users hate Windows 10. So, everything has to go perfect. This environment already used WSUS to delivery updates to Windows 7 and Windows 8.1 computers, as well as Windows Server 2008 R2 and Windows Server 2012 R2 servers. There was not a single problem. Then,... | Thank you for your question. It makes me feel that I'm not the only one who is in pain since the inception of Windows 10! The solution is very simple: Ensure that you copy of Windows 10 1703 does not have any of the following value names listed under [CODE] (These values names are checked against [CODE] for Windows 10 ... | 5 | 5 | 5,868 | 2018-01-08T10:07:36.973 | infrastructure | serverfault.com | |
65,821 | How do data checksums interact with streaming replication? | Data checksums are a new feature introduced in 9.3, and: there is a new GUC parameter "ignore_checksum_failure" which will force PostgreSQL to continue processing a transaction even if corruption is detected In the event of a checksum failure on a replication master, will that corrupt data replicate to slaves or will r... | If the data was corrupted while on disk, the corruption should not get replicated unless it was already present in the backup from which the replica was created. Of course if you ignore checksum failures then the master may start going wrong things, and that wrongness will be replicated. If the corruption is occurring ... | 11 | 1 | 799 | 2014-05-24T05:08:41.073 | database_errors | dba.stackexchange.com | |
680,857 | Reverse zone not working with BIND9 | I'm trying to configure a DNS server in UBUNTU 12.04 with BIND9 service.I'm able to successfully configure the same and the when I'm executing nslookup command it works well.However,the host command seems to be not working which will execute the reverse address zone. HOST COMMAND ERROR: root@necacdnsone:/etc/bind/zones... | The immediate cause of error is the leading whitespace in your [CODE] file. Correct: [CODE] Incorrect: [CODE] Do remember to increase SOA [CODE] and then to reload named. In an unrelated matter, you should specify [CODE] contrary to what your ill-chosen guide suggests. | 1 | 4 | 10,130 | 2015-04-07T06:39:37.557 | infrastructure | serverfault.com | |
362,860 | Powershell authentication over VLAN | Problem I'd like to enable remote powershell scripting for all workstation hosts on a VLAN. There's no Active Directory or Directory services whatsoever. So HOST A on subnet 192.168.1.x would like to query HOST B 192.168.2.x. I've already run: [CODE] A prompt for credentials would be the desired result for any workstat... | If you are not using Kerberos/AD authentication, which you are not, then you will have to add each machine to your TrustedHosts configuration -OR- you will have to set up SSL between each node. The best way to achieve the former would be with a script of course. A script that uses a list of machine names from a file, p... | 2 | 4 | 2,656 | 2012-02-23T00:52:58.520 | api_errors | serverfault.com | |
1,064,759 | Xorg not starting in GKE with GPU : (EE) no screens found(EE) | I am trying to run Xorg server that use GPU inside Google Kubernetes Engine I followed this guide ( https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#ubuntu ) to setup a GKE cluster with Nvidia Tesla T4 GPU. The nodes are based on Ubuntu image (Docker). Deployed the pod : [CODE] Installed Nvidia drivers in th... | To use Xorg headless (a.k.a. without a display) in ubuntu 18.04, you need to install a dummy driver. Some info on this question . In summary, install the [CODE] package and include the [CODE] driver in your [CODE] : [CODE] | 1 | 0 | 1,681 | 2021-05-26T12:22:23.227 | pipeline_ops | serverfault.com | |
151,024 | Insufficient Privileges on selecting Views | I am using Oracle 12. Given 2 schemas, SCHEMA_01 and SCHEMA_09. I have a View_01 owns by SCHEMA_01 but it is made up of SCHEMA_01 and SCHEMA_09 tables. Then I have a User_02 that could select both tables in SCHEMA_01 and SCHEMA_09. But I am prompted with insufficient privileges when selecting the VIEW_01. Before that I... | Does USER_02 have permission to see VIEW_01? The grants on the view have nothing to do with the grants on the base tables. Being granted SELECT on the tables is not sufficient to have SELECT access to the view. On your last paragraph, it's true that SCHEMA_01 needs to have the SCHEMA_09 tables granted to create a view ... | 0 | 0 | 3,708 | 2016-09-29T14:42:58.983 | database_errors | dba.stackexchange.com | |
1,074,688 | security.debian.org 'does not have a Release file' on with Debian Docker images | It appears as both [CODE] and [CODE] are both currently broken (for updates): [CODE] Anyone else experienced this or found a workaround? | I was able to fix this by changing this line: [CODE] to [CODE] You can do that by running: [CODE] | 23 | 26 | 89,496 | 2021-08-16T12:05:47.590 | pipeline_ops | serverfault.com | |
94,889 | Mongodb: Couldn't find mech GSSAPI | I am trying to understand how mongodb works with kerberos. To do that I have configured a kerberos server, just only for local. This is the configuration of my realm: this is the content of krb5.conf file: [CODE] And this is the content of kdc.conf file: [CODE] The kerberos seems to work fine. I created some principals... | I solved. The problem was that I did not have the library libsasl2-modules-gssapi-mit. Once I installed everything works fine | 1 | 1 | 754 | 2015-03-10T15:35:17.713 | database_errors | dba.stackexchange.com | |
218,891 | Remote Management/VNC Mac OSX Server 10.6 from Windows Server 2008 | What is the most compatible/reliable software to remote manage an osx server using windows server? I tried to activate the remote management from osx server then use remote desktop login from windows(failed) Tried to activate built in vnc server from osx server then use vnc client from windows(failed) tried to install ... | Install OSXVNC, it works from the beginning with almost any Windows client http://sourceforge.net/projects/osxvnc/ | 0 | 0 | 545 | 2011-01-05T09:14:09.627 | infrastructure | serverfault.com | |
1,063,516 | What does a missing "Account" field mean in Windows event 4769 (A Kerberos service ticket was requested)? | I'm working on some detections for Kerberoasting using event 4769 (A Kerberos service ticket was requested) by trying to find users requesting multiple TGS tickets for several services in a short span of time. The user can be found in the "Account" field, but this field is not present in every event. The documentation ... | Yes, according to the documentation , the Account Name (aka TargetUserName) field on 4769 Kerberos service ticket request events is optional and can sometimes be empty. With that being said, I checked my AD environment and only ever see that field empty when it is an Audit Failure event. The status codes on the events ... | 0 | 1 | 401 | 2021-05-13T20:51:31.533 | infrastructure | serverfault.com | |
18,952 | Setting ingress port with helm parameter | I am runnning portainer on a k3s cluster, and installing/updating portainer using the command [CODE] I would like to be able to access the portainer install on https://portainer.k8s.mydomain.com/#!/1/kubernetes/dashboard but I have to use https://portainer.k8s.mydomain.com:30779/#!/1/kubernetes/dashboard I assume that ... | By taking a look at portainer's documentation https://portainer.github.io/k8s/charts/portainer/ , you can find values to set for configuring port, such as service.httpPort ingress.hosts.paths.port | 0 | 1 | 16 | 2024-02-20T20:11:35.750 | pipeline_ops | devops.stackexchange.com | |
221,250 | Fixing BIND9 rndc error "connection to remote host closed" | I just made some changes to a DNS zone in Webmin and clicked the "Apply Changes" button. I received the error message: rndc: connection to remote host closed This may indicate that the remote server is using an older version of the command protocol, this host is not authorized to connect, or the key is invalid How can ... | With a little help from @plluksie, I solved this on my own. Here's what I did: First I ran [CODE] to regenerate my rndc key and conf file. Next, I verified that the contents of [CODE] were the same as [CODE] . They were ( [CODE] was a symlink to [CODE] on my system) Then I edited [CODE] and copied the new key. I pasted... | 5 | 11 | 28,684 | 2011-01-11T19:58:40.680 | infrastructure | serverfault.com | |
58,737 | Machine learning for missing data in time series | We have two time series columns - column A is the reference column ( source of truth) and column B is a ''cousin'' of column A, in the sense that it exhibits ( or should exhibit) the same patterns, evolution, rates of changes etc, as column A. However, at certain periods column B values for wtv reason start exhibiting ... | If column B truly exhibits the same patterns, evolution, and rate-of-change as column A, then that means the values of column B are just a translation of A. That is, $B_i = A_i + c$ , where $c$ is some constant. If this is the case, then you don't need machine learning to impute values. Knowing $A$ is just as good as k... | 1 | 0 | 259 | 2019-09-05T15:04:22.210 | data_quality | datascience.stackexchange.com | |
364,743 | check which SQL server jobs run between 5AM - 11PM | Possible Duplicate: Get a list of SQL Server Agent Jobs is there a way to query the job schedule DB, and list out the jobs names, their schedules, frequency, and filter them, such that if I need can see which jobs run between 5AM -11PM everyday. | Check out the SQL Server Agent tables . Specifically SysJobs for the actual jobs and then SysJobHistory for dates and times. | 1 | 1 | 249 | 2012-02-29T03:24:01.130 | data_quality | serverfault.com | |
960,737 | High CPU - mysqltuner assistance (wordpress) | I just migrated wordpress blog to new server. It has some 120K posts. The problem is It get struck, hang or even freeze during mysql operation. A single wordpress(without any plugin) create post operation consumes 60-80% of CPU. And when perform 3-5 database operation it goes frozen. And there isn't any log for slow qu... | Rate Per Second = RPS - Suggestions to consider for your my.cnf [mysqld] section, [CODE] There are many more opportunities to improve performance through Global Variables. Disclaimer: I am the author of web site mentioned in my profile, Network profile that includes contact information. | 0 | 0 | 405 | 2019-03-30T08:50:21.103 | database_errors | serverfault.com | |
214,910 | Maintenance window and recovery for a large database | One of our teams is developing a database that will be somewhat large (~500GB) and grow from there (I know 500 Gigs may seem small to many of you, but it will be one of the larger databases in our shop). One of the issues they are grappling with is backing up and restoring the database. Basically, the database will hav... | Pretty simple: DO NOT PLAN TO RESTORE. In the event of a catastrophic database failure, restore the data tables only to get most of the application up and running ASAP. Really? Your definition of catastrophy is not mine and the rest of the worlds. In case of a datastrophy you want to get back up asap, but asap may requ... | 1 | 4 | 167 | 2010-12-21T16:35:21.783 | database_errors | serverfault.com | |
431,319 | Screen session only limited to 8? | I have a shell script as following [CODE] No matter of which script run first, only the first eight scripts will get run. How can I solve this problem? | You're probably running out of pseudo-tty's. What does it say if you run the first 8 scripts, and then just type "screen" (so that you can see any errors)? What OS is this? Pseudo-tty allocation is a little different for each, but if you google for "linux (whatever) pseudo tty allocation", it will probably come up. | 2 | 0 | 70 | 2012-09-24T10:16:44.317 | infrastructure | serverfault.com | |
205,001 | Whether Oracle Data Guard re-transmits logs from their starting after network interruptions? | Whether Oracle re-transmits logs from starting after any network interruptions? If yes, Please advise on how to configure (or) instruct Oracle Data Guard to resume a failed log transfer from where it left off. | I've faced network interruptions in my running data guard setup and there were situations were log shipping from primary to standby was stopped. In those situations I restarted the standby data guard and it started to transfer the log again. On primary DB, stop the log shipping: [CODE] On standby side, restart the DB. ... | -1 | 0 | 314 | 2018-04-26T05:08:47.637 | database_errors | dba.stackexchange.com | |
19,715 | 2 Very similar queries return different number of result (one is null) | I want to find businesses near a point that contain a word that start with sea lat=-6.185068&long=106.773121&keyword=sea&distance=5000&startfrom=0&howmany=20&prominent=5 [CODE] I got these result: [CODE] Now I run the similar query based on something slightly different lat=-6.185564&long=106.775518&keyword=Sea&distance... | You write sea* here and Sea* there. This bug report (which turned out not to report a bug, but a (for me at least) cryptic feature) can be useful for you. (I found the link by searching for case sensitivity in full text search.) | 0 | 2 | 59 | 2012-06-22T09:28:38.163 | api_errors | dba.stackexchange.com | |
348,996 | What do I need to send an Extended DHCPOFFER with multiple boot options? | According to Wikipedia and a bazillion other pages, you can have: Proxy DHCP If a PXE redirection service (Proxy DHCP) receives an extended DHCPDISCOVER, it replies with an extended DHCPOFFER to the client's port 68/UDP (DHCP client port). An extended DHCPOFFER contains mainly: a PXE Discovery Control field to recommen... | dsnmasq can do it. It is a 5 liner. http://etherboot.org/wiki/proxydhcp?s[]=dhcp&s[]=proxy So for me it is not clear why you need your own server. DHCP and PXEBOOT is a very tricky thing. With DHCP Proxy you add a bunch of additional problems. Because the documents are vague and the implementations on the client side t... | 4 | 0 | 1,736 | 2012-01-11T19:46:15.327 | api_errors | serverfault.com | |
1,083,286 | Debian 11 doesn't seem to have any netfilters installed | When I tried to so [CODE] I got the error: [CODE] When I checked the folder [CODE] All I could see was: [CODE] But on Debian 10, I see this: [CODE] [CODE] What am I missing, please? | The missing variables are made available by the kernel module [CODE] . You could, depending on the exact issue you have and the time when it happens (at boot or not...): manually load the module [CODE] have any stateful or NAT rule (from [CODE] , [CODE] or [CODE] ) trigger the loading of [CODE] alter the order and depe... | 3 | 2 | 1,691 | 2021-11-11T19:01:45.983 | infrastructure | serverfault.com | |
149,181 | Local SSL connections are causing redirect loop (after Ubuntu update) | Following a recent Ubuntu update, my local websites are no longer serving their pages over SSL. For example, my .htaccess file attempts to ensure /sign-in is always served over HTTPS: [CODE] However when I make a request to /sign-in on the domain site2-local , I get the error "The page isn't redirecting properly" with ... | I don't know what is causing the issue but I ran into it myself a while back and found a workaround of using a different variable to detect https requests. You can use one of either [CODE] or [CODE] . It also may be a capitalisation issue. [CODE] may well be "Off" rather than "off". In my SSL VirtualHosts, I have [CODE... | 3 | 2 | 16,249 | 2010-06-08T11:31:18.333 | infrastructure | serverfault.com | |
39,088 | ODBC connection for Active Directory user who doesn't log in to Windows | Do you think it is possible to create a SQL Server ODBC Connection for an Active Directory user who doesn't log in to Windows. Ideally this type of users will be used in a batch process. So, another person logs in and creates a batch process and runs it with another user. Note: I don't want to enable SQL Server authent... | Although you cannot login to SQL Server unless you use either a SQL Server Login or a Windows Account with permissions to connect to the SQL Server, you could create a low-permission user that can [CODE] certain stored procedures. Those stored procedures could then contain code that switches into the context of another... | 1 | 4 | 9,339 | 2013-04-02T16:46:54.397 | database_errors | dba.stackexchange.com | |
84,301 | Logging, do you do it? | Back on my theme of late: interview questions. Was recently asked to describe a time I'd used logging. My first instinct was to respond with compiler warnings set to full and error-out. What he was interested in was the use of logging as a debugging tool. Unfortunately I couldn't think of one at the time except the one... | I work in an environment where we cannot expect errors to be reproducible or be able to attach a debugger to the program. This has lead to a very defensive programming style, where we basically log a lot of things on the lowest level, which is then enabled when problems are expected or we are in a test phase. The next ... | 6 | 15 | 1,968 | 2011-06-15T21:27:56.557 | api_errors | softwareengineering.stackexchange.com | |
75,748 | drupal install module | I have a couple of drupal modules that I would like to install on my Ubuntu LAMP stack. However, I am running into a bit of a problem. I installed drupal using Synaptic, and I cannot find the folder where I am supposed to drop in the unzipped directories. Everything I google says to drop it in [CODE] , but I cannot fin... | Figured it out: When using Synaptic drupal's default modules and themes are here: [CODE] . Make the [CODE] directory and drop in your modules. As an fyi, to find the files installed using Synaptic or command line, use the following commands: [CODE] (Change [CODE] to whatever you are searching for.) | 1 | 1 | 186 | 2009-10-19T00:55:39.307 | infrastructure | serverfault.com | |
959,605 | Inconsistent elapsed time for mysql/mariadb query | Checking the elapsed time for a database query for munin monitoring,I have created a script, the time measurement part being: [CODE] I've checked the logic of the time measurement by replacing the SQL call with a simple sleep. That gives a consistent result every time. The database and client are MariaDB 10.1 from the ... | Look at how much overhead you are executing -- date, sed, mysql, mysql login, etc. Instead, do the date check as close as possible to the action: [CODE] That says 37 microseconds, but still has a bunch of overhead. Also consider the [CODE] function: [CODE] That says 0.03 microseconds; I trust it. [CODE] is the way to t... | 0 | 0 | 567 | 2019-03-23T07:27:37.730 | database_errors | serverfault.com | |
257,858 | SQL Server 2019 - Polybase -> Cosmos DB (MongoDB Mode) Error with dates | I'm new to polybase. I have linked my SQL Serer 2019 to a third parties Azure cosmos and i am able to query data out of my collection. I am getting an error out when i try to query date fields though. In the documents the dates are defined as: [CODE] In my external table i have the column defined as [CODE] I have tried... | Found a solution. SQL Server recommends the wrong type for mongodb dates in the schema. Using DateTime2 resolved the issue. Found this on a polybase type mapping page in msdn. | 0 | 1 | 250 | 2020-01-21T12:05:16.470 | data_quality | dba.stackexchange.com | |
186,620 | Seconds_Behind_Master high even though Read_Master_Log_Pos and Exec_Master_Log_Pos are very close | From what I understand from https://dev.mysql.com/doc/refman/5.7/en/show-slave-status.html , seconds_behind_master is the difference in the timestamp of where the IO thread is currently writing in the slave and where the SQL thread is executing now. And the difference between Read_Master_Log_Pos and Exec_Master_Log_Pos... | Regarding the seconds_behind_master oscillation. I found that the description in seconds_behind_master in the mysql documentation is not accurate. I checked the source code. [CODE] Seconds behind master is calculated based on the difference between current timestamp on the slave and the timestamp on the statement which... | 2 | 1 | 1,540 | 2017-09-22T04:38:25.157 | database_errors | dba.stackexchange.com | |
63,281 | Table with multiple lookups | I bet this may be a duplicate and I'm not forming the question correctly, so feel free to point me in the right direction. Background We have a SQL Server with some legacy data. They're all addresses, but stored in separate tables (I know, ugh.) so, we have a [CODE] , [CODE] , [CODE] , [CODE] , etc., all with addresses... | Have you considered modeling where contact info exists independent of type. Could a contact be used for defense counsel and latter for vendor? Assuming you are trying to fix the data and hide it from the program might i suggest the following: Create a generic contact table and import all contacts here Create bridge tab... | 1 | 1 | 280 | 2014-04-15T20:55:40.713 | data_quality | dba.stackexchange.com | |
335,677 | How to translate a class diagram to code? | During the design stage, I usually come up with a class diagram that looks something like this However, during coding stage, I would never create a class like Librarian with issueStatus() or searchBook() method. 100% of the time, class Librarian , will be a plain-old-object with only getter and setter method, and issue... | It highly depends on your goal of what to achieve with your design. As it seems, you are not targeting a code generator that directly translates your class diagram into code. Hence, the diagram is just that: a pretty picture. You may want to first rethink the actual value you get from it and why you are making the effo... | 4 | 4 | 7,161 | 2016-11-09T04:40:30.987 | api_errors | softwareengineering.stackexchange.com | |
220,124 | State design pattern: best implementation for my case? | Me and a mate have a discussion about what would be the best way to implement the pattern state for managing several screens for an application we are developing. We have a ScreenManager (I guess the Context class according some books) which looks like this (some irrelevant code has been removed to ease understanding) ... | I agree with Hans that observer can make the maintenance more nightmare. What I can suggest is separating the concern (delegating the responsibility) of opening playing screen into another class, to follow [CODE] . Currently, your title class has at least 2 responsibility, that is: rendering the title page and menus ad... | 1 | 3 | 1,213 | 2013-12-02T14:37:50.750 | api_errors | softwareengineering.stackexchange.com | |
63,522 | Need help tuning my.cnf file | I need help tuning mysql. Currently it is using a lot of CPU. I dont find any query that last longer than 3 seconds in SHOW PROCESSLIST and there are only around 20-25 running most of the time. Still the cpu usage goes beyond 600% I have 24 GB RAM and 64 bit 8 core processor. I got this results from mysqltuner but I ca... | 3 seconds is kind of a long time for mysql. I bet you have a lot of full-table scans going on that are using up CPU. I've gotten good mileage in decreasing CPU with just a little indexing. This is not going to be a short answer, but try this: Enable the slow query log (set global slow_query_log=on and set global slow_q... | 2 | 1 | 1,036 | 2014-04-19T18:14:41.110 | database_errors | dba.stackexchange.com | |
149,828 | SSL stops working on IIS7 after a reboot | I have a Windows 2008 Server with IIS7. Every time the server reboots, SSL stops working. Normal HTTP requests work fine, but any request to an HTTPS address gives the typical error message in the browser: Cannot find server or DNS I can temporarily fix it by opening IIS Manager and bring up the Bindings… window for th... | Something else that comes to mind would be a service that is trying to bind to your SSL port during startup. Do you have another SSL site or another server that's trying to listen on that port by any chance? If so, can you temporarily disable that server or switch the site to a different port to see if that allows your... | 3 | 1 | 6,752 | 2010-06-09T20:51:36.813 | infrastructure | serverfault.com | |
354,228 | TYPO3 on IIS 7.5 - HTTP 500 | I have a virtual server with Windows Server 2008 R2/IIS 7.5. I set up PHP 5.2 with FastCGI, MySQL 5 and put TYPO3 on it. Which doesn't work. I just get an "Internal Server Error - 500", which pretty much sums it up. No additional information. PhpMyAdmin is working flawlessly, I imported the database with it (migrating ... | IIS7 defaults to hiding detailed error messages. Add this to a file called [CODE] in the root of your site: [CODE] That should force IIS to render the underlying error. | 0 | 1 | 866 | 2012-01-27T12:53:09.233 | database_errors | serverfault.com | |
470,738 | How to store php sessions using memcached and unix socket | I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, however, I am unable to disable networking. I added the following line to /etc/conf.d/memcached [CODE] I also tried: [CODE] wh... | Memcached config.d A file path is all that's needed for Memcached's unix socket. [CODE] You can confirm that Memcached is operating normally by running the [CODE] command through the unix socket. [CODE] Configure PHP's session to use Memcached Edit [CODE] , or [CODE] , and add session support . [CODE] Restart services ... | 2 | 2 | 7,632 | 2013-01-20T02:13:52.877 | infrastructure | serverfault.com | |
267,097 | Best way to model a string matrix (postgreSQL) | My goal is to make this as convenient as possible (i.e. least external tables lookups in application) and efficient (least redundant indexes) I need to model data that, without any optimization, would ideally look like: [CODE] the main application use case is to fetch words from one locale and find the other locale. Th... | Plain list [CODE] is good enough. [CODE] should be used as PK for performance as far as string search for join is slow. Relation of equivalence can be represented by M:N table [CODE] where each pair is unique Commutative duplicates can be avoided by constraint [CODE] The whole nest for all locales can be fetched by sin... | 0 | 1 | 48 | 2020-05-13T17:08:17.943 | database_errors | dba.stackexchange.com | |
38,559 | How to plot train test error for classification models like Support Vector Classification(SVC) | How to plot train test error for classification models like Support Vector Classification(SVC). I am using SVC from sklearn module, not able to get train and test errors to plot | Well you haven't defined what "error" means, so I'll just assume that you want the log loss. First, you need to create your [CODE] object telling it you'll want probability estimations: [CODE] Then you can compute the log loss given said estimation: [CODE] | 2 | 2 | 462 | 2018-09-20T17:47:55.490 | data_quality | datascience.stackexchange.com | |
562,158 | How to properly disable a mailman mailing list | I have been asked to disable a single mailing list on mailman. I do not want to destroy the list - we may want to revive it later. Also, we want to keep the archives accessible for the list members. We are using mailman 2.1.14, with Postfix 2.9.6, on a VM running Ubuntu 12.04. It seems that mailman does not have an opt... | It should be possible to remove the list's aliases from postfix by editing the [CODE] file (see integrating postfix and mailman ) Other options (from this question ): You could use the emergency moderation feature of a mailing list to prevent any mail delivery (although the moderators would still receive emails if some... | 10 | 6 | 6,088 | 2013-12-18T12:04:47.013 | hadoop_errors | serverfault.com | |
37,029 | Difference between a defect and a bug in testing? | What is the difference between a defect and a bug? | A bug is the result of a coding error A defect is a deviation from the requirements That is: A defect does not necessarily mean there is a bug in the code , it could be a function that was not implemented but defined in the requirements of the software. From the Wikipedia page on software testing : Not all software def... | 37 | 69 | 139,111 | 2011-01-15T08:49:02.000 | api_errors | softwareengineering.stackexchange.com | |
701,296 | I've just increased the disk's size but the old size is still display, what could be the cause and how can I fix it? | I need to increase the size of the root logical volume on one of my CentOS 6 virtual servers. I've extended the virtual machine disk space from 16g to 30g. Then I've connected to the machine and created a new partition using fdisk and I've changed the partition's system id to Linux LVM (8e) and saved the changes to the... | Okay, I forgot to run the [CODE] command and that's why the LV size hasn't been updated. Running the next command fixed it for me: [CODE] [CODE] : [CODE] | 2 | 3 | 1,331 | 2015-06-24T12:32:53.077 | infrastructure | serverfault.com | |
60,598 | Supervised clustering | I'm working on a clustering problem. I have a training set composed of sets of points where the clusters are known and I want to find the good clusters on a testing dataset. It's a kind of supervised clustering. I looked for articles about supervised clustering but I didn't find a lot of informations. There is "semi-su... | What you are looking for is called [CODE] , also knows as k-nearest neighbours. It’s a supervised algorithm where you have points and their clusters given and you use these to learn a pattern for test points. | 2 | 1 | 1,050 | 2019-09-22T18:46:34.700 | data_quality | datascience.stackexchange.com | |
40,887 | How to proceed after clicking a button and that navigates to another page in selenium | Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name='Name_First']"} | Wait until the element is there. I always wait for the first element on a page before interacting with it. FindElement() does not wait for the element, just gives an exception if it is not there. Suggested is to use an explicit wait as described in this article: https://www.guru99.com/implicit-explicit-waits-selenium.h... | 1 | 1 | 52 | 2019-09-20T07:22:23.987 | data_quality | sqa.stackexchange.com | |
238,638 | Windows Server 2008 Multiple IPv4 Addresses | This is a bit of a strange problem that I can't seem to find a simple answer for anywhere. We have done a clean install of Windows Server 2008 and somehow there are two IPv4 addresses assigned to the same adapter? We have only the one adapter enabled and through the usual TCP/IP settings we have defined one IP address.... | In the "usual" settings (Start, Run, ncpa.cpl, right-click adapter, Properties, TCP/IPv4, Properties), click Advanced. Multiple addresses will be listed at the top with buttons to add/edit/remove them. EDIT: An address of 169.* is self-assigned. It indicates that the interface is configured via DHCP and Windows has bee... | 0 | 0 | 4,274 | 2011-02-22T13:42:01.937 | infrastructure | serverfault.com | |
876,301 | when should I raise an alarm if I see dropped packets ( packet_in or packet_out) | I am trying to create a simple anomaly alarm detection by looking at the KPI of my Linux servers. I was wondering when should I flag an alarm if see dropped packets ( both packet_in and/or packet_out). If I take a percentage total packets dropped/packets received ( and do the same for packets sent), and then alarm if i... | If you want to condense your network functionality to a single metric (eg. for monitoring or graphing purposes), I'd recommend something called TCP retransmission percentage, which is pretty close to what you suggest in your question. You get that number by dividing the number of tcp segment retransmissions by the tota... | 2 | 0 | 130 | 2017-09-30T19:17:20.433 | data_quality | serverfault.com | |
147,076 | Specify order of attributes in crosstable | I'm trying to create pivot tables on PostgreSQL. I successfully created my first example. But I have on problem: I use the two-parameter form of crosstab, which takes a query for the data and a second query for the categories. I also have to provide a list of category names in the AS statement. But how can I make sure ... | Ok, I might have found an answer myself. I learned that I can "emulate" the table generated by the second query by this: [CODE] This way I have control over the order. And if anything changes I have to add it into the [CODE] statement nevertheless. I don't want to eliminate the possibility to use maybe another special ... | 1 | 0 | 38 | 2016-08-17T14:45:29.280 | database_errors | dba.stackexchange.com | |
885,668 | Apache - Using a subdirectory in a URL to load the root of the site | Apologies if I missed it in a search but I'm bad at search terms and didn't find anything that is exactly what I need. Our servers run Apache and for a stack I'm setting up, they want the following URL pattern www.[sitename]/[subdirectory] Where [sitename] is common to a number of stacks and [subdirectory] is unique to... | If you want to do it in wholly in httpd, then use Alias . If you have dynamic requirements, look at using .htaccess in your document root to add and remove URI paths to your URLs. If you want more control, there should be a way of managing URLs in your programming language of choice. | 1 | 0 | 360 | 2017-11-29T09:02:21.420 | pipeline_ops | serverfault.com | |
733,403 | High availability Asterisk options? | We currently run FreePBX on a single node. I'd like to have a cluster of asterisk instances for sharing the load, but mainly for failover. I'm curious how other people have solved this problem. Ideally I'd like to use "free" (as in beer) software. Thanks for any help! EDIT More info requested... to be honest though, we... | Start by having a look at this voip-info web page: high availability design . It will explain what high availability is and isn't - in the context of Asterisk. (Its easy to confuse high availability with load balancing) Next, look at this voip-info web page: high availability products . It will explain what is out ther... | 9 | 13 | 9,868 | 2015-11-02T21:18:13.200 | pipeline_ops | serverfault.com | |
55,998 | how to express alternative flows in activity diagram | I want to express the below events in an activity diagram: An alternative flow, such as "at step x of basic flow, user clicks cancel instead of ok". An alternative entry to the use case, such as "instead of click the bold button, use can press Ctrl-B". An error, such as "when user clicks save, the system is unable to s... | you need something called constraints or guardian conditions. see where it says [loopguard] in that diagram? you can put [if user does x] implying the next state won't occur until the condition is true. for the second question, I'd just write "user presses ctrl+B or selects Bold" in the same state circle or as a note t... | 2 | 2 | 9,056 | 2011-03-08T16:17:11.710 | api_errors | softwareengineering.stackexchange.com | |
762,177 | Powershell New-SelfSignedCertificate missing -NotBefore in Windows 2012r2 | My 2008 powershell script is not working correctly in 2012r2. The command [CODE] comes back with: [CODE] I ran this ok in Windows 10 as a test... I do not (cannot) download an old version of selfssl to perform this (yes I know about this). It needs to be done in powershell or I'll have to look at gemerating these certs... | As Sam mentioned, this parameter was introduced in Windows 10 and is not available on previous versions. As an alternative solution, I would suggest a custom PowerShell script I wrote years ago: https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6 the page contains all parameter descripti... | 1 | 6 | 16,777 | 2016-03-07T20:42:02.593 | infrastructure | serverfault.com | |
395,340 | Cannot install packet mysql-workbench-gpl on debian squeeze | if I try to install mysql-workbench-gpl on debian squeeze I get to following error message (it's complaining about unresolved dependencies): [CODE] How can I force to install the packet? | The package you downloaded is a deb package for ubuntu systems only. In your case with debian you will need to build the source version mysql-workbench-gpl-5.2.40-src.tar.gz and build it manually. The way to do this should be inside the tar.gz file. | 0 | 1 | 834 | 2012-06-04T13:17:23.540 | database_errors | serverfault.com | |
61,064 | Why the same user has different PATH value on linux server? | I logged on to my Linux server (Redhat AS4) through SSH as the user 'guest', then run the command [CODE] , and the output is [CODE] . However, when I run the command [CODE] to switch to the same user, then run the command [CODE] , the output becomes [CODE] . Why the same user has different PATH value on Linux server? T... | Try to debug using the technique described in my answer on superuser, using [CODE] and similar for /etc/bashrc, /etc/profile, etc. | 2 | 1 | 1,419 | 2009-09-01T09:58:31.987 | infrastructure | serverfault.com | |
731,106 | Cannot set Diskquota on CentOS7 Cannot find filesystem to check or filesystem not mounted (but it is) | I am currently trying to set disk-quota for groups (in the home-directory) of a CentOS7 installation. Sadly there is a problem at the very beginning. I have set the options in the /etc/fstab: ... [CODE] afterwards i have remounted the /home partition with: [CODE] This seemed to work, as the options where set in the par... | Try using the xfs tools (*), like: [CODE] There's no need to run quotacheck on xfs, xfs does that internally after quota is turned on and will always be consistent. (*) It's better to use only xfs quota tools for xfs as there's (was) a bug in the quota package (1) which does not report group quotas for xfs correctly. I... | 0 | 2 | 6,172 | 2015-10-23T07:46:26.780 | infrastructure | serverfault.com | |
197,577 | Shell Script = Command "Test" = Simple Question | an excerpt of a startup script looks like this: ENABLED=1 test "$ENABLED" != "0" || exit 0 The problem is, no matter if Enabled is set to 0 or 1, the script always exits at that line. I looked up "man test" and as far as I understand it, test will always evaluate the expression and then exit(!!) with the return code? I... | [CODE] when i run this, i get [CODE] So, it seems to me that either you're using an odd interpreter (which shell are you running this under), or you're picking up the wrong `test` (could you do a `which test` and tell us the results, or explicitly use `/usr/bin/test`?), or (sorry about this) you're wrong about it not g... | 0 | 4 | 201 | 2010-11-03T05:31:02.000 | infrastructure | serverfault.com | |
357,748 | How to store text inputs of unknown & varying size? | I am trying to create a table (or several) to receive user inputs (UGC). This content could vary in size from a single character up to a few hundred words. The input will be coded in [CODE] and could be in Latin or multi-byte characters. The input will have to be search-able. How should I structure my DB to allow for a... | I guess it may depend slightly on your database engine, but more than likely it has a field for "Text" (as opposed to "Varchar" or "Char") that is suited for holding varying sizes of text data. Essentially this your option #1. If it's going to be in MySQL then you have a Text or Blob field available: http://dev.mysql.c... | 2 | 0 | 3,174 | 2012-02-07T19:17:45.197 | infrastructure | serverfault.com | |
209,960 | ASA5520 stops sending to splunk syslog | I have an ASA5520 that is set up to send logs to a splunk syslog server. the setup works for a while, usually around 24 hours or so, but then stops until either the logging is reconfigured (twiddling the ports) or the ASA is restarted. what should i be looking at to resolve this issue? im not sure if its the splunk sys... | Put a packet sniffer on the Splunk host, set up a capture filter to capture only packets that originate from the ASA, start a capture, when splunk stops "seeing" data from the ASA look at the capture and see if traffic is still coming in from the ASA, if it is then the problem is with Splunk, if it's not then the probl... | 0 | 1 | 1,256 | 2010-12-07T14:31:55.203 | infrastructure | serverfault.com | |
128,855 | "Unable to Open BCP host data-file" using xp_cmdshell from SSMS but command line works | I have a stored procedure that runs on a job every once in a while to BCP some files left by an application I've written. I noticed the files were piling up and BCP wasn't picking them up so I tested in Management Studio using the following: [CODE] And got this error message Executing from the command line on the same ... | I just got your code to work on my end. Try this: Option A Assign Full Control NTFS permissions to 'C:\BCPFiles\bcpFile.dat to the user you will use in SQL Server Management Studio to run the query Re-run your query in SQL Server Management Studio Option B Or, just to get past the following error try: [CODE] Delete/mov... | 11 | 12 | 93,566 | 2016-02-10T14:48:11.203 | database_errors | dba.stackexchange.com | |
314,479 | Azure Synapse SQL Pool: Issue in MERGE INSERT UPDATE statement | I have a table in Azure Synapse Dedicated SQL POOL. [CODE] Now when I am trying to do a MERGE-INSERT-UPDATE the above table using the below syntax [CODE] The above SQL script is throwing two different errors: [CODE] But the same above query works fine when I use normal On-Prem SQL Server or Azure SQL Database. In the a... | [CODE] using a separate UPDATE statement without involving the IDENTITY column [CODE] | 2 | 0 | 1,334 | 2022-07-16T01:58:55.960 | database_errors | dba.stackexchange.com | |
214,271 | SSRS report ERROR "Could not load folder contents Something went wrong. Please try again later. " | One of our report servers is raising errors when trying to reach it from clients computers and works just fine from the actual server. the error is: I found that it was a bug in sql 2016 using this article by Microsoft: https://support.microsoft.com/en-us/help/3172981 I upgraded to SP2 and then upgraded to the last CU ... | I found the answer to my question finally. the problem was and i quote from Microsoft article: If you are deploying Reporting Services in a network that uses the Kerberos protocol for mutual authentication, you must create a Service Principal Name (SPN) for the Report Server service if you configure it to run as a doma... | 1 | 2 | 13,159 | 2018-08-07T11:27:55.627 | api_errors | dba.stackexchange.com | |
43,092 | How to repair Microsoft.SqlServer.Types assembly | When I run a checkdb('mydb') this is the only error message printed. [CODE] It is referring to 'Microsoft.SqlServer.Types' I do see that in the this db the clr_name is blank. but under the master db there is a value in there. I tried to drop or alter the assembly to add this value but its restricted. btw, this db was u... | After searching online a lot, I see the only option to fix that type of corruption is to recreate the database objects and move all the data. (or restore a backup if available) | 1 | 0 | 636 | 2013-05-26T20:18:45.120 | database_errors | dba.stackexchange.com | |
780,433 | Postfix lost connection with "server/host" while receiving the initial server greeting | I have postfix on CentOS6.6 on my local server(192.168.1.103), from which I'm unable to send emails to any domains. The following is the error obtained when sent to our company email.: Jun 2 11:09:55 server postfix/error[23443]: 3392D5418AC: to=, relay=none, delay=73765, delays=73765/0.03/0/0.09, dsn=4.4.2, status=defe... | This is happening because your IP is listed on a few popular black lists. You can check that on mxtoolbox.com . Also note that your MTA's IP does not have neither a forward (A) or reverse (PTR) DNS records which is a good reason for them to get rejected by other MTAs in the first place. In this world of spammers, MTAs ... | 0 | 1 | 9,435 | 2016-06-02T05:51:15.890 | infrastructure | serverfault.com | |
880,758 | Mysql master/slave setup - what users do i need? | I am currently setting up an master and 2 slaves (performance read queries) - Master -> 1 Slave works already. But now I want to add a second slave, I can not connect tho. Do I have to create a second user for that? like so [CODE] or should it work with the same user? I guess I know the answer already, since it is boun... | Can you connect to this server from slave ? You can check this via telnet: [CODE] example: [CODE] If not check you firewall, and paste (when you can) you MySQL config (my.cnf) from master and slave, and log from MySQL (replication and master). Make sure your password for this user is shorter than 16 characters. If you ... | 0 | 0 | 103 | 2017-10-28T13:48:03.197 | database_errors | serverfault.com | |
278,747 | windows 2003 server scheduled task resources | It seems I've suddenly become sys admin for our windows 2003 server boxes, despite having no experience with this. At the moment we're having issues with scheduled tasks and I have no idea where to really start with them. They seem to be a magical bane that require a lot of trickery to get working. What I am looking fo... | Scheduled tasks are simply programs that run at certain times (or in response to certain events). They usually run as a user account that is NOT the current logged in user. Because of this they need a little care in testing since it is often the case that the user accounts will not share the same rights. In general, yo... | 0 | 1 | 78 | 2011-06-09T14:42:24.613 | infrastructure | serverfault.com | |
252,278 | Setting up an SVN repository on a subdomain | I've found a few guides for setting up a subversion repository and making it available via a subdomain (using a virtual host in Apache), but for some reason can't get things working. Here's what I've got so far: Created a subdomain "svn.mydomain.com" Configured Apache with a new VirtualHost: [CODE] For now I don't have... | You need to create your htpasswd file and tell SVN about it. Here are my notes on setting up SVN on Centos 5.5: [CODE] Hope that helps! | 0 | 1 | 2,484 | 2011-03-26T22:21:37.963 | api_errors | serverfault.com | |
678,668 | Lotus Notes subdomain exchange server | We have a notes server at [CODE] that processes our regular email, and an exchange server at [CODE] for testing purposes. Lotus Notes email addresses are of the form [CODE] , Exchange email addresses will be of the form [CODE] . So, we already made an MX record for intra.contoso.com in our ActiveDirectory DNS server. W... | First of all: Make sure, that "intra.contoso.com" is not in the Global Domain document of the domino server, otherwise it will be very hard to make the domino server send these mails out. Then create a Foreign SMTP- document for intra.contoso.com. Fill in like this: Internet Domain: intra.consoso.com Domain name: Excha... | 0 | 1 | 972 | 2015-03-27T08:34:10.730 | infrastructure | serverfault.com | |
453,596 | Problems with SSH | I'm having issues with one of my computers on my server accepting my key. I've used this key on other computers I've set up before with no problems, I can SSH using it into many different servers. Here's the tail of the log: debug1: Authentications that can continue: publickey,password debug1: Next authentication metho... | I think you are missing the private key file on the client machine [CODE] , and you only have the public key [CODE] . You should see this: [CODE] | 1 | 3 | 434 | 2012-11-29T21:03:19.547 | api_errors | serverfault.com | |
322,909 | Where is the line between unit testing application logic and distrusting language constructs? | Consider a function like this: [CODE] It might be used like this: [CODE] Let us assume that [CODE] has its own unit tests, or is vendor-provided. In any case, we trust [CODE] . And let us further assume that error handling -- eg, of database disconnection errors -- is not the responsibility of [CODE] . Indeed, let us a... | Should [CODE] be unit tested? Yes. You aren't testing that [CODE] works, or that the db connection works, or even that the [CODE] works. You are testing that [CODE] fulfills the promise it makes through its contract. Imagine this scenario: someone does a big refactor of the code base, and accidentally removes the [CODE... | 104 | 122 | 12,216 | 2016-06-22T01:21:57.853 | api_errors | softwareengineering.stackexchange.com | |
862,618 | Newly Promoted Domain Controller does not create and replicate SYSVOL and NETLOGON folders | There seems to be something wrong with my primary domain controller. No matter what I do, I cannot get other domain controllers to create sysvol and netlogon folders when they've been promoted. my dcdiag shows these errors on my new domain controllers: [CODE] dfsrmig.exe /getmigrationstate shows this on both domain con... | My SYSVOL and NETLOGON folders were not being synchronized because my primary DC was not set as an authoritative DFSR member. It was still trying to replicate to a demoted DC. I followed the "How to perform an authoritative synchronization of DFSR-replicated SYSVOL" in this guide on my Primary DC: https://support.micro... | 4 | 1 | 24,729 | 2017-07-17T18:28:59.537 | infrastructure | serverfault.com | |
697,942 | CentOS 6 ELRepo kernel bridge issues | I'm currently running the following Kernel on CentOS 6.6 from ELRepo [root@de14 ~]# uname -r 4.0.4-1.el6.elrepo.x86_64 Anything related to a bridge doesn't work, what I've come to understand is CentOS runs sysctl.conf before the bridge is come up echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables /proc/sys/net/bridg... | In recent kernels, the [CODE] collection of sysctls is provided by the [CODE] module. When your system boots, you may see a message like this from the kernel: [CODE] For example: [CODE] | 2 | 2 | 3,702 | 2015-06-10T12:44:32.187 | infrastructure | serverfault.com | |
1,155,827 | how to redirect entire my website in multilingual html website | i have a multilingual website, Arabic and English, my English pages its in rood directory and Arabic pages its in folder name ar; but i got my auditing report that; Search engines see [CODE] and [CODE] as two different websites with the same content. This causes them to see a lot of duplicate content, which they don't ... | In general SEO issues are more on topic on https://webmasters.stackexchange.com/ The behaviour of directives [CODE] can be modified by other [CODE] files in parent and/or sub-directories and suffer from a performance penalty. The .htaccess directives look OK, but in general only use [CODE] files when you don't have acc... | 0 | 1 | 36 | 2024-03-07T09:11:46.067 | data_quality | serverfault.com | |
380,678 | Incomplete "File does not exist" Apache error message | I have the following problem. Given the [CODE] empty directory. If I refer to [CODE] I see this error to appear in the ssl_error_log: [CODE] So far so good but if I refer to [CODE] (a file in a non-existent peach directory) then I got: [CODE] I would like to see the complete filename in the error log. The ErrorLogForma... | It's a not a good solution, only a workaround: After you receive the error message, create the missing directory. The next time apache will print out a longer error message. If it's still not complete create the subdirectory... | 0 | 1 | 479 | 2012-04-18T13:35:18.380 | infrastructure | serverfault.com | |
171,721 | Problem configuring Cookbooks in chef | I've been trying to setup a chef server and supply it with the cookbooks form the opscode github page http://github.com/opscode/cookbooks.git I've cloned this repo and set it in both my server config and knife config server.rb cookbook_path [ '/opt/chef/cookbooks', '/opt/chef/site-cookbooks' ] knife.rb cookbook_path [ ... | The Opscode GitHub repository for cookbooks is considered in development and releases are made to the Cookbooks site , along with other members of the community. Opscode recommends using Knife's "cookbook site" sub-commands to work with this site to download cookbooks and incorporate them in the local Chef Repository .... | 1 | 3 | 761 | 2010-08-18T07:03:50.093 | pipeline_ops | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.