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 |
|---|---|---|---|---|---|---|---|---|---|---|
61,846 | How to install a local .deb file | I'm trying to install the last version of maatkit in debian Lenny. I couldn't find a repository with the last version, so I got the .deb file. The problem is How to I install this file? man aptitude gave me no clues. A repository would be the ideal solution. bonus point if you know a repository with php 5.3 | You can use dpkg directly. The command dpkg -i packagename is what you probably want. You could also install and use gdebi-core . With it you can install a .deb package and also get the dependencies if you needed them. | 1 | 13 | 1,039 | 2009-09-03T05:53:27.260 | infrastructure | serverfault.com | |
362,557 | How can I find the cause of a system hang from the system logs? | I am running a Ubuntu 10.04 LTS in an Amazon EC2 instance. The system suddenly became unresponsive. When I checked the log files I found the following errors in /var/log/syslog Feb 22 04:10:01 ip-10-0-1-12 CRON[16153]: (root) CMD (/usr/sbin/cm-sysmon) ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@... | This looks like /usr/sbin/cm-sysmon was the last command at 04:10:01 before the reboot. At 04:29:47 the system was up and running again, but had problems connecting to the console. I guess the latter is a EC2 problem caused by the sudden reboot. Best guess is to have a look at /usr/sbin/cm-sysmon - but that could be co... | 1 | 0 | 849 | 2012-02-22T08:42:25.237 | infrastructure | serverfault.com | |
451,617 | What is the correct authentication mechanism when there are users inside and outside the domain? | We have a Windows 7 enterprise desktop data entry app for mobile (laptop) users with local SQL Express 2008 R2 Express db that syncs data with an SQL Server 2008 R2 Server db. Users may go off network/offsite and still view and enter data. Data syncs with the server when network connection is established again. Authent... | The issue you are facing is because of the authentication. The application asks for SQL server authentication. Your need to provide SQL serer authentication instead of windows authentication else the SQL server will not work in case any other user will log into the same system or the Admin will get logged out and hence... | 0 | 1 | 325 | 2012-11-23T18:29:31.637 | api_errors | serverfault.com | |
903,460 | port forwarding to backend server | I'm running an openvpn server on my VPS with a public IP. There is a backend server connected to the VPN. These are the IPs on the VPN: VPS: 10.8.0.1 backend server: 10.8.0.2. eth0 is the public interface, tun0 is the VPN interface Now, I'd like to forward, for instance, port 22 on the backend server to port 2200 on th... | For people who might still be looking for a solution. Depending on your FORWARD policy (assuming its DROP) [CODE] Also might add this rule for locally initiated connections: x --> x:80 [CODE] | 0 | 0 | 337 | 2018-03-19T20:07:31.860 | infrastructure | serverfault.com | |
225,269 | ERROR: relation "codepool_codepoolseq_seq" does not exist SQL state: 42P01 | Below is my script but I keep getting an error. [CODE] The error I get is: ERROR: relation "codepool_codepoolseq_seq" does not exist SQL state: 42P01 | In your Scheme you must have Sequences called [CODE] Example create: [CODE] | 0 | 0 | 3,864 | 2018-12-18T14:48:42.673 | warehouse_errors | dba.stackexchange.com | |
7,480 | What are the pros and cons of using my customer codes as a primary key? | I am designing a database for one of my sales teams. Right now, the goal is to get a master list of customers and their mailing addresses, but the DB will eventually expand to track some other customer data. So, right now I am just working on the customers table, but want to make sure I follow good normalization and ef... | Pros - It is the natural key, it makes sense and it will likely be searched on, I presume? Cons - The default behavior (which is totally changeable) is for a primary key to be the clustered index. An alphanumeric doesn't make the best candidate because inserts can cause page splits because they aren't set on an ever in... | 6 | 3 | 2,188 | 2011-11-01T19:14:01.830 | warehouse_errors | dba.stackexchange.com | |
223,434 | Invalid object name 'column_name' | I have created a procedure as [CODE] 3 indexes as [CODE] Now, when I try to execute this stored procedure I receive the error Invalid Object name 'home_address_city' I am executing by right-clicking on the stored procedure, which actually executes the following query [CODE] I have already hit [CODE] a lot but with no s... | Your proc contains this dynamic code: [CODE] When executed, this code throws the error mentioned above because from context it seems that [CODE] is passed through [CODE] , but your code tries to do a [CODE] from this Some Column. | 0 | 0 | 857 | 2018-11-26T10:54:54.943 | database_errors | dba.stackexchange.com | |
255,050 | Ubuntu incoming mail server | I am trying to set up and configure a mail server in which I can receive email however I am not having any luck with Postfix or Exim4. I currently have Exim4 configured and it sends mail fine, however it can't receive. When trying to send mail from my other account (gmail) to an account on my server, I get this reply: ... | Normally you can get your Exim4 on a workable state just using the automatic configuration: [CODE] The most important answers are the ones where you set the type of delivery you want (you want the first one, messages delivered/received directly) and the domain configuration. The domain configuration is a series of ques... | 0 | 2 | 417 | 2011-04-03T03:46:20.073 | infrastructure | serverfault.com | |
281,567 | Any issue if PHP mail() mail server not MX of FROM domain? | Suppose I have this scenario: My mail server (and thus MX) for my email address me@company.com is hosted in my office. My website company.com is hosted by third party web hosting company. On my website I created a [CODE] with FROM, TO, SUBJECT, BODY and send out using PHP mail() to customers. Since the web server is th... | Your messages will be subject to the policies of the receiving domains - the only people who can tell you "What [you] need to do to ensure your mails appear legitimate" are the mail admins at those sites. Some suggestions: Ensure that your mail form is reasonably secure - You don't want to inadvertently become a spamme... | 3 | 4 | 3,484 | 2011-06-17T15:43:30.780 | infrastructure | serverfault.com | |
564,141 | rsyslog dynamic file filter | I'm trying to get my local /var/log/syslog file under control. My current structure is to log remote files to /var/log/juniper/syslog/%fromhost-ip%/syslog.log. Below are my configurations. rsyslog.conf [CODE] 50-default.conf [CODE] [CODE] is effectively logging everything from everyone (including locahost) to the templ... | To remediate this issue, I commented out [CODE] and added in 2 IP-based filter conditions. [CODE] Essentially, this sends everything coming from localhost to /var/log/syslog. Remote host logs are then sent to their respective dynamic directories. | 0 | 0 | 3,550 | 2013-12-30T11:06:36.827 | infrastructure | serverfault.com | |
454,192 | My linux server "Number of processes created" and "Context switches" are growing incredibly fast | I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because [CODE] exists and [CODE] returns /dev/simfs drive. Also [CODE] returns [CODE] ). When I do [CODE] , I can see how each second about 50-100 processes are created and happens about 800k-1200k context switches! All that info is with t... | In your case I would assume that your kernel is not virtualizing some or all values in /proc/stat, so what you're seeing should be caused by activity in other containers or in the hardware node itself. You haven't mentioned your specific kernel version so we can't check for sure, but a similar issue was discussed in ht... | 3 | 2 | 1,712 | 2012-12-01T19:00:26.567 | database_errors | serverfault.com | |
830,121 | SunOS 5.10 /bin/sh && changing env vars does not work | When I change an env var in [CODE] , it only takes effect after a new [CODE] command, for example: [CODE] Is this a bug or a new feature? Matthias | Feature. Not-exported variables are not visible to programs forked to. Export them to make them visible. [CODE] is inherited from the parent process, and will be passed on as-is to child processes such as [CODE] ; only after being flagged with [CODE] will any changes in the shell process be visible to child processes. ... | 0 | 3 | 130 | 2017-02-02T13:04:25.917 | infrastructure | serverfault.com | |
278,240 | What ports does Wininet listen on for Active FTP data connection? | I have an application using Wininet.dll for all its FTP operations. OS is Windows Server 2003. FTP mode is Active FTP. Unfortunately the port that the FTP server listens on is non-standard (i.e. it's not 21). This means that the Sonicwall firewall between me and the FTP server is not clever enough to automatically reco... | Both ports 20 and 21 are FTP ports. 21 is the first port that initiates the connection. The actual xfer of the files is done on port 20. You can read more of it here . You might double check your sonicwall and see how it's setup, see if you have port 20 assigned to anything. Otherwise create a Group Rule for both ports... | 1 | 0 | 1,364 | 2011-06-08T12:33:52.350 | infrastructure | serverfault.com | |
17,703 | How can I tell my Helm Chart to ignore the default ingress-nginx and create a new one? | Whenever I run [CODE] on the chart I'm making I see this, Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: IngressClass "nginx" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation... | For me the problem here was spelling, believe it or not. I just had to lowercase the [CODE] name in the chart. I figured this out, by dumping my helm to a yaml using [CODE] and then applying that. When I did this is what I got Error from server (Invalid): error when creating "nginx-ingress-install.yaml": ServiceAccount... | 0 | 0 | 1,067 | 2023-04-14T15:34:07.120 | pipeline_ops | devops.stackexchange.com | |
1,048,006 | Incorrect cache device after ZFS import | I've recently migrated from an Ubuntu machine to an Arch Linux machine. I imported the pool using the [CODE] and it reported my cache drive as faulted, but my storage drives are working fine. Its a raidz2 with 5 drives. The weird thing is, its reporting the wrong drive as the cache. Its listing [CODE] , when it should ... | You could consider importing the pool with [CODE] names instead of the standard SCSI [CODE] names. Due to your OS move and inconsistent device enumeration, /dev/sd* names are not deterministic and can possibly change. Here's an example of how to do this: https://unix.stackexchange.com/q/288599/3416 | 4 | 7 | 686 | 2020-12-30T03:35:03.773 | infrastructure | serverfault.com | |
903,429 | Apache reverse proxy so that SSL browser requests for IP of server are redirected to FQDN | I have Apache and a custom non-Apache web service running on the same server. I'm trying to get Apache to reverse-proxy SSL connections to the other site on to prevent SSL warnings from showing up when someone reaches my site by entering the address into their browser ( https://xx.xx.xx.xx ). I'd want the request gets ... | Change your service to listen on a port that can't be reached from the outside, say 8888. Apache should handle every incoming request, sending a redirect (rewrite) for those that don't please you. Those that satisfy, eg. the FQDN: [CODE] Add a virtualhost on port 443 for the secure requests (https/SSL) and a default se... | 0 | 0 | 471 | 2018-03-19T16:58:43.207 | infrastructure | serverfault.com | |
482,198 | Is there a way to allow specific permissions to a non-root user? | I have a program that, at some point, create/destroys tun/tap virtual adapters. Obviously, for these specific operations this program requires root privileges. According to the program specifications, root privileges are dropped as soon as they are no longer needed (I assume after the tap adapter was created). However,... | Look into the [CODE] mechanism. [CODE] and [CODE] . | 0 | 2 | 1,060 | 2013-02-25T10:45:03.983 | infrastructure | serverfault.com | |
238,017 | show mysql myisam locks | when dropping or renaming a table with myisam storage engine, I realize that it's waiting for table metadata lock, however, show full processlist doesn't reveal the offending query. any idea? | 462 | root | xxx.xxx.xxx.xx:54658 | mydb | Sleep | 1162 | | NULL | | 465 | root | localhost | mydb | Query | 0 | NULL | show f... | If you are using MySQL 5.5, there is a bug report on it . If fact, click here for an explanation of metadata locking . It is meant to protect tables from getting DDL executed against it while in the middle of a transaction. What seems strange is that you are getting this on a MyISAM table. | 2 | 1 | 3,010 | 2011-02-21T02:08:30.247 | database_errors | serverfault.com | |
646,184 | Which package contains rhn_register? | Spacewalk has been installed, runs and can be accessed. The expectation was that installing Spacewalk was sufficient in order to run rhn_register . [CODE] The idea was that there would be a rhn_register package. [CODE] Googling install rhn_register did not help to solve the issue. | This is from CentOS 7. Exact results may be different if you are using RHEL, other versions of CentOS, Scientific Linux, etc. : [CODE] [CODE] Here is a brief YUM tutorial, courtesy of RedHat => What is yum and how to use it? | 1 | 4 | 4,144 | 2014-11-21T20:55:16.767 | infrastructure | serverfault.com | |
486,403 | Converting the ssh key | to clone my bitbucket project,I changed the /.ssh/authorized_keys content by adding my bitbucket key and I am able to clone into my bitbucket,but after that I was not able to access my server at EC2 because I have deleted the whole content of /.ssh/authorized_keys and replaced with the key [CODE] Now how do I access my... | If the key above is the contents of your authorized_keys file then you should use the private key that you use to access bitbucket e.g. [CODE] You can recover the public key that you normally use to access the host using [CODE] where ~/.ssh/id_rsa is the path to your usual privater key. Once you have recovered the key ... | 0 | 2 | 481 | 2013-03-10T10:41:19.073 | infrastructure | serverfault.com | |
21,911 | How to install OpenOffice 3.1 in Headless Mode? | I need to setup OpenOffice in a linux box that will never have X installed. Every time I run the setup program of the OpenOffice installer it complains that the system does not have an X Terminal. I am using OOo_3.1.0_LinuxIntel_install_wJRE_en-US.tar. I have done this headless install for version 2.4, but we are havin... | Here's the procedure I use to install Openoffice [CODE] The rpm ooobasis3.1-gnome-integration*.rpm has a dependency on libgnomevfs and you don't need this package to run/install OpenOffice. | 4 | 1 | 4,691 | 2009-06-08T14:14:33.013 | infrastructure | serverfault.com | |
683,474 | Ubuntu /boot partition stay in mode "Filesystem state: not clean" (tune2fs) | I have the problem with my /boot partition on a ubuntu "Ubuntu 11.10" system. Maybe also on "Ubuntu 12.04 lts" but I cannot verify this, because it's a prodctive system. If I umount the /boot partition, make a fsck.ext2 everything seem ok, see the log. But if I remount the /boot everything is pretty much the same as be... | This is normal. The filesystem is always "not clean" while it is mounted. There is no problem to be fixed. | 2 | 3 | 2,116 | 2015-04-17T10:44:31.993 | infrastructure | serverfault.com | |
777,346 | Old pod not deleted after rolling-update | I've run into a problem doing a rolling-update of our website, which runs in a container in a pod on our cluster, called website-cluster. The cluster contains two pods. One pod has a container which runs our production website and the other has a container which runs a staging version of the same site. Here is the yaml... | This is Kubernetes bug #27721 . But even if it wasn't, you'd still have a moment when your user traffic is being delivered to both old and new pods. That's fine for most applications, but in your case it's undesirable because it leads to unexpected 404s. I suggest that you create the new pod with a labelset that's diff... | 0 | 2 | 1,248 | 2016-05-17T18:04:57.307 | pipeline_ops | serverfault.com | |
1,075,758 | nginx reverse-proxy upgrade from nginx 1.17 to nginx 1.18 gives SSL error | I am having trouble upgrading nginx from 1.17 to 1.18 (or .19, .20) Everything works ok on 1.17, but higher versions give this error: [CODE] The error only happens when upstream is a internal IIS server. When upstream is another nginx it works with versions above 1.17 config is basically: [CODE] I tried to use [CODE] w... | This looks like a problem with TLS versions. Maybe your backend IIS server isn't new enough to support TLS protocol that nginx requires? Try adding [CODE] directive that contains the SSL / TLS versions your IIS supports. | 1 | 1 | 789 | 2021-08-27T01:46:30.393 | infrastructure | serverfault.com | |
396,049 | How to ban IPs trying to login as root with ssh | I have already blocked logging in as root with ssh, so I know that any attempt to do that is malicious. I know they wont succeed (sshd wont allow it), but I'd nevertheless would like to ban the IP in question immediately. How would I do that? I'm running Gentoo Linux, and have fail2ban already running. I don't want to ... | I setup two different Fail2Ban rules: If they try an invalid username they get banned on the first try, permanently. I don't have many people getting in that way and none of them have ever got banned that way; but it may be a support issue if you've got lots of people signing in. Root isn't a valid ssh login on my syst... | 4 | 6 | 3,349 | 2012-06-06T12:03:55.730 | infrastructure | serverfault.com | |
337,338 | How can I minimize data loss & data transfer when I failback with the requirement that I promote the old primary back to its primary status? | The definition of failback according to IBM docs is "the process of returning production to its original location after a disaster or a scheduled maintenance period". From my reading of postgresql community postings, bringing an old primary server back online after failover as a standby that follows the new primary may... | Before I answer your question, let me remark that you forgot a very important step in your failover procedure: between steps 1 and 2, you have to make dead sure that Constanza is down. This may seem trivial, but if you don't do that, it can happen that some clients are still connected to the database on Constanza, and ... | 0 | 1 | 16 | 2024-02-29T01:04:43.483 | database_errors | dba.stackexchange.com | |
260,873 | Benchmarking a hard disk drive for OLTP | I have a PostgreSQL database (OLTP, 10GB in size) server and I'm planning an array of hdds for it's storage. I have various disks I can use. I need to find the best ones for the job with the right kind of RAID configuration. What to look? IOPS, MB/s, 4k/512k, what queue depth? What tools to use for measuring (and in wh... | I wouldn't spend time on benchmarking individual disks. Assuming we're talking about direct-attached storage, get the RAID array design right, that's the most important part of getting good disk I/O. Individual harddisk models within a category & product generation will be quite close in performance, perhaps +/- 10 per... | 1 | 1 | 331 | 2011-03-19T13:35:17.690 | database_errors | serverfault.com | |
38,497 | how to I replace numeric values with a string in an R dataframe? | I want to replace all numeric values in a column in my data frame with a string value. The following doesn't seem to work. [CODE] Even though the df has some values as NA and others as numbers, all values are being replaced with NOTMISSING. Also tried [CODE] Any pointers highly appreciated. | From the documentation of [CODE] : The default method for is.numeric returns TRUE if its argument is of mode "numeric" (type > "double" or type "integer") and not a factor, and FALSE otherwise. So for a vector, [CODE] returns a single [CODE] , it doesn't test each element as you might expect. [CODE] That's why either a... | 1 | 1 | 7,616 | 2018-09-19T16:31:19.953 | data_quality | datascience.stackexchange.com | |
789,442 | How can you distinguish between a crash and a reboot on RHEL7? | Is there a way to determine whether a RHEL7 server was rebooted via systemctl (or reboot / shutdown aliases), or whether the server crashed? Pre-systemd this was fairly easy to determine with [CODE] , but with RHEL7 it's not so clear. | There's more than one way to do this, but I'll cover the 4 best ones I can think of. (EDIT: I published a cleaned-up version of this as a public article on redhat.com. See: How to distinguish between a crash and a graceful reboot in RHEL 7 .) (1) auditd logs auditd is amazing. You can see all the different events that ... | 11 | 6 | 9,243 | 2016-07-12T20:35:18.613 | infrastructure | serverfault.com | |
238,647 | Pure Front end JavaScript with Web API versus MVC views with ajax | This was more a discussion for what peoples thoughts are these days on how to split a web application. I am used to creating an MVC application with all its views and controllers. I would normally create a full view and pass this back to the browser on a full page request, unless there were specific areas that I did no... | I'm also somewhat skeptical that every new web app needs to be an SPA but one thing I'm 100% sold on as a generalist with the bulk of his experience on the client side is that a service-oriented architecture that hands off raw data rather than HTML to the client is the way to go whether you're loading prebuilt pages/vi... | 16 | 11 | 16,135 | 2014-05-10T17:18:56.700 | data_quality | softwareengineering.stackexchange.com | |
29,630 | considerations when using triggers on a replicated (target) database | Our SQL Sever 2008 application database is replicated from Server A to Server B (push replication). We use the copy, let's call it database_b, on Server B to create reports and run other queries so that our reports do not interfere with the application. Currently we leverage inefficient views to combine data across mul... | This sounds like a great situation to use indexed views. These are pretty much what they sound like: a view that physically stores its results in the database, and is updated automatically when the base tables are updated. A few cautions: Having a lot of these in your subscription database could slow down replication (... | 8 | 7 | 6,549 | 2012-11-30T19:40:24.770 | database_errors | dba.stackexchange.com | |
638,625 | Nginx and complex URI rewrites | I'm having problem with getting logic behind Nginx rewrites. Are they supposed to be in server or location directive? I need to rewrite one long and scary URL to another. Is there anyone who can help or at least show me resources to get this done? Example: I need to redirect this: http://www.example.com/products.asp?ca... | 1. Handling arguments Despite what Tero Kilkanen says, nginx is perfectly capable of handling arguments: this is done by using the [CODE] and [CODE] variables from the core module. 2. [CODE] context As Glueon pointed out, [CODE] is usable in [CODE] , [CODE] and [CODE] contexts, as the documentation states. [CODE] is to... | 0 | 0 | 668 | 2014-10-21T16:28:50.793 | infrastructure | serverfault.com | |
325,340 | What's the difference between /etc/cron.d and /var/spool/cron? | The crontabs on RHEL seem to be duplicated in two places, [CODE] , and [CODE] . I've checked, and neither of these are simlinks to the other, and neither are any of the crons contained in either location. I guess my most important question is this, which of these two is the authoritative location? If I were to edit a f... | [CODE] is where the individual user crontabs live. As user, [CODE] edits the corresponding file in [CODE] . [CODE] is a directory that is scanned for modular crontab files. The syntax is slightly different for files in that directory. The cron entries have an additional field for a [CODE] to run the cron entries as. Th... | 32 | 38 | 45,785 | 2011-10-27T13:58:26.500 | data_quality | serverfault.com | |
187,029 | "Unrelated" INSERT and UPDATE blocking each other | Repro scenario: [CODE] I start transaction 1: [CODE] and then execute transaction 2 in parallel: [CODE] As it turns out, transaction 1's uncommitted INSERT blocks transaction 2's UPDATE, even though they affect disjoint sets of rows ( [CODE] vs. [CODE] ). Observations: The blocking also occurs on the lowest transaction... | Lets take a look on the execution plans. 1st query - Insert [CODE] And its execution plan We see that sql server is doing Clustered Index Insert operation. Now lets take a look on update [CODE] And its execution plan SQL Server scans the Clustered Index of the table, and put U lock on it, even if it can choose another ... | 4 | 4 | 3,370 | 2017-09-27T09:40:49.150 | warehouse_errors | dba.stackexchange.com | |
757,909 | Why doesn't nginx wait until my connection during graceful shutdown? | I have an nginx web server to which I execute an [CODE] . This is supposed to be a graceful shutdown, so its supposed to wait for all its connections to finish before shutting down. To test to make sure that it is doing as advertised, I execute a curl on a 10M file served by nginx with [CODE] (per second), giving me 10... | The only obvious thing I can think of is that nginx is PID 1 inside the container, but not on your desktop. There's nothing particular to kubernetes here - it's just plain Docker in this regard. I tried to reproduce this, but it worked correctly for me. Here is the pod I used: [CODE] | 1 | 1 | 1,302 | 2016-02-17T18:53:45.470 | pipeline_ops | serverfault.com | |
120,554 | Best way to duplicate databases nightly? | We just got two new servers, that are running Windows Server 2008. The intent is to make the machines pretty much identical, copying the content of the master to the slave on a nightly basis, so that if anything fails, the second copy can stand in immediately. It doesn't need to be up-to-the-minute mirroring, though I ... | With the specification you presented, the easiest way to do this would be with a SAN / NAS snapshot every night. If your requirements are having the second DB more current than once a night, Mark C's answer would be more appropriate. There is also the possibility of log shipping, and having the second machine in a stat... | 1 | 1 | 238 | 2010-03-09T00:20:30.320 | database_errors | serverfault.com | |
633,461 | Postfix not receiving emails on fedora 20 | I am new to fedora. I have fedora 20 set up with postfix. It can send email, and receive mail sent from localhost. However, if I send it from within the local network, then the packets come in and are visible via tcpdump on port 25 but nothing is logged by postfix and the mail never arrives. I suspect a firewall issue,... | The fedora firewall was blocking port 25. Fedora 20 also requires installation of rsyslog for postfix logging. | 0 | 1 | 111 | 2014-10-03T23:26:14.157 | infrastructure | serverfault.com | |
148,753 | Shutdown in RAC | If I use [CODE] in RAC environment and issue the command [CODE] Does this shutdown the instance or all of them? How does one prove the whole edifice is shutdown? | [CODE] shuts down the current instance. To shut down all RAC instances, issue the above shutdown command in all instances, or better use srvctl, for example: [CODE] | 3 | 5 | 435 | 2016-09-03T16:59:20.960 | warehouse_errors | dba.stackexchange.com | |
527,180 | Make: *** [processor.out.c] Error 1 | CentOS PHP-FPM [CODE] Trying to install xcache but I keep getting these errors: [CODE] I did the following: [CODE] | If you're using PHP 5.5, this bug report response probably has your answer . Not sure if the cause is same, but xcache 3.0.x does not support PHP 5.5 we currently have in unstable, so it's anyway broken. This will be fixed in 3.1 release. | -3 | 0 | 876 | 2013-07-30T03:05:34.730 | infrastructure | serverfault.com | |
23,022 | Removing physical fragmentation | If I have inherited db that has grown to 400GB 1 MB chunk at at time. Is an offline defrag the only way to remove all the physical fragmentation. Another issue I have is that the data and log files are mixed and on the wrong RAID drives. Can I kill 2 birds with 1 stone by backing up the db, delete it and restore it usi... | No, backup / restore will keep all the fragmentation. Probably better to add a filegroup with files in the new location, and recreate all of your user tables on the new filegroup (by recreating the indexes with DROP_EXISTING, and as an online operation if possible). You won't be able to eliminate the original files ent... | 2 | 5 | 434 | 2012-08-23T16:12:08.323 | database_errors | dba.stackexchange.com | |
496,407 | security_error_ring_buffer_recorded in system health log - what does it mean? | Our company is running a few servers for a couple of websites. The server are running Windows Server 2012 and for databases we have MS SQL Server 2012. Today I was checking the log files located in: [CODE] and I found this strange thing in the event log called "system_health": [CODE] Clicking on it gave me additional i... | What is a ring buffer? A ring buffer is a fixed size of memory which is used for inter-thread or inter-process communication. Essentially, information is written to the ring buffer, and when the system reaches the end, it begins writing at the beginning again. There is also a shared pointer which points to the current ... | 3 | 3 | 13,443 | 2013-04-05T09:33:44.467 | database_errors | serverfault.com | |
99,697 | How to pose a non-trivial ML task for students? | As I am working in teaching, I would like to provide my students a (basic) machine learning classification challenge in the next semester. I really like the idea of giving them a challenge on an unseen dataset and awarding the team with the highest performance - similar like the challenges on Kaggle. But unfortunately,... | Actually, scikit-learn has a build in [CODE] where you can tune the amount of noise, classes etc. to create your own dataset Then it's just up to you, to wrap the data in what ever story you like. | 3 | 3 | 362 | 2021-08-04T16:19:55.577 | data_quality | datascience.stackexchange.com | |
590,966 | Trying to find bottleneck... 60k onsite visitors | I know this will be hard, but I'm willing to try the Q&A route. I have a Wordpress site that currently has 60,000 visitors on the site at once. I'm using an EC2 [CODE] , [CODE] , [CODE] , [CODE] . For caching plugin I'm using WP-Super-Cache. I'm noticing a very slow response time, lots of [CODE] errors, plus... I have ... | Some monitoring and graphing tool would be useful to pinpoint the location of bottleneck. We use http://munin-monitoring.org/ Munin grabs stats from most of known services plus system metrics and it works almost out-of-the-box on modern distros. | 0 | 1 | 859 | 2014-04-24T03:43:09.713 | infrastructure | serverfault.com | |
360,844 | Calling multiple "fail-able" code parts in a row | I have the following methods: [CODE] - turns the single user mode on in the database [CODE] - starts the edit of items in the context, locks them in the database [CODE] - saves the changes to the database [CODE] - turns the single user mode off in the database Each method returns an object which has a message and if it... | I recently went through this exact scenario! I started by creating a Result class with a few helper methods: [CODE] Next, I made sure all my validation and transactional methods returned a [CODE] or [CODE] . That way, I could chain them together using the [CODE] function from above. The resulting code would look like t... | 6 | 4 | 867 | 2017-11-16T15:31:32.513 | api_errors | softwareengineering.stackexchange.com | |
172,588 | Connecting to SQL Server 2005 using 127.0.0.1\INSTNAME stops working if SQL Server 2008 is installed on the same machine | I have an application that connects to a named SQL Server 2005 Express instance using 127.0.0.1\INSTNAME. This has always worked. However, if I install SQL Server 2008 (any edition) on the same machine, the application can no longer connect to the SQL Server 2005 instance using 127.0.0.1. I tried connecting using SQL M... | A couple things to check Make sure TCP/IP is enabled (I'm going to assume this is not the problem) Make sure the SQL Server Browser service is running on your server (this is probably the problem | 0 | 1 | 187 | 2010-08-20T01:30:22.713 | database_errors | serverfault.com | |
353,346 | restarting SSH -- "unknown instance" error | I'm trying to set up and configure SSH on a Natty Narwhal server. I've never done this before and have just been following instructions from the hosting service on how to do it. All was going well so far -- I set SSH permissions and changed the default SSH configuration. I'm now trying to set up a firewall and restart ... | As per suggestion, i am posting as an answer now. it's not an error. It is just an informational warning that your SSH startup script is also configured as upstart job under /etc/init/ Ubuntu is targeting to phase out init script in favor of upstart script. Unknown instance might be caused due the SSH daemon not runnin... | 2 | 0 | 3,170 | 2012-01-25T05:19:55.937 | infrastructure | serverfault.com | |
322,515 | Calculating the total time a device is on per day | At the moment I've got an sqlite3 database that keeps track of the state of my smart home devices. The relevant parts of the schema for the main table are [CODE] I'm trying to calculate how long each entity has been in the state "on" for each day. Currently my thought would be to use the lead window function to create ... | You need to create a list of all dates in your range of interest. You can do it with a recursive CTE (using [CODE] modifier to rewind the time to 00:00 hours): [CODE] This list can be joined with [CODE] to generate a row for every day that is covered (completely or in part) by the event [CODE] And now you can calculate... | 1 | 1 | 271 | 2023-01-24T20:46:11.063 | warehouse_errors | dba.stackexchange.com | |
898,906 | Nginx + Discourse + Letsencrypt misconfiguration: ERR_SSL_PROTOCOL_ERROR only when visting site for the first time | I have a problem with setting up Discourse forum with Letsencrypt SSL cert. For the sake of example, I will refer to my page as mypage.com. THE GOAL: I want to set up VPS where I will have wordpress blog working on blog.mypage.com, landingpage on mypage.com and Discourse forum on forum.mypage.com. I want to use nginx w... | As ThomasLewis from dicourse pointed out, all I had to do was change the line in etc/nginx/sites-enabled/discourse: [CODE] to [CODE] Now the site works as expected. | 0 | 0 | 925 | 2018-02-26T14:09:25.937 | api_errors | serverfault.com | |
274,027 | Apache root domain SSL virtual host doesnt work? | I have an apache installation at [CODE] with document root at: [CODE] There are three folders in document root: [CODE] I want the following configuration with subdomains: [CODE] The configuration has to work for plain text HTTP and for HTTPS. I've used virtual hosts to achieve this. For example: [CODE] Same configurati... | There's another [CODE] block for port 443 somewhere, either loading before your intended ones or bound to a specific address instead of [CODE] , which is getting the requests to that location; that's the only way that content would get served. Beyond that, for the config that you are aiming for, you also need to make s... | 1 | 1 | 366 | 2011-05-26T12:16:05.570 | infrastructure | serverfault.com | |
268,267 | Why does postfix mail server throw error 502 when testing email from Drobo Dashboard? | I'm configuring a Drobo on a Mac OS X 10.5 Leopard Server file server and am trying to configure email notifications. Unfortunately, when doing so, both our primary mail server and the local Mail service on the server throw a "502 5.5.2 Error: command not recognized" error when attempting to send the test message. Both... | Yes, it's STARTTLS that the SMTP server is objecting to. The fact that it doesn't advertise STARTTLS in its response to the EHLO is a good indication that it doesn't support it. This suggests that you need to tell the Drobo not to try using a SSL secured SMTP connection (but if you're not using authentication I wouldn'... | 1 | 3 | 28,113 | 2011-05-10T17:41:08.717 | bi_errors | serverfault.com | |
441,721 | Resource Specific Permissions in Microservice architecture | While building microservice-based architecture I came across a dilemma on how to approach company level permissions for given range (or ids) of resources, i.e. allowing certain users to access subset of data for the company that the person is working at. I have number of services, Invoices , Company , Orders etc. Each ... | The underlying issue here is that your business requirement describes a high level of coupling between your services yet for an unspecified reason you are trying to force the process to be de-coupled . This is sometimes an indication that your implementation is too granular. Can each of [CODE] , [CODE] and [CODE] servi... | 0 | 1 | 223 | 2022-10-18T21:22:35.290 | api_errors | softwareengineering.stackexchange.com | |
547,823 | Linux Centos 6 becomes unavailable from time to time - OS&network issue | I am encountering following problem. There is one server (DL160 G5) running Centos 6.3 with default kernel 2.6.32-220.2.1.el6.x86_64 - at this point I'd like to add that issue appeared also at older version - 6.1 and older kernel (do not remember exactly which version). There is cPanel installed and from time to time i... | It's a long shot, but I recently had a problem where at random intervals certain systems would experience very high "SYSTEM" cpu time, which was bad enough that clustering tools would assume the system was dead and issue halts and the like. During your problem try [CODE] and hit [CODE] to expand the CPUs, and have a lo... | 2 | 2 | 207 | 2013-10-22T14:32:18.000 | infrastructure | serverfault.com | |
218,174 | Strange 3-second tcp connection latencies (Linux, HTTP) | Our webservers with static content are experiencing strange 3 second latencies occasionally. Typically, an ApacheBench run (> 10000 requests, concurrency 1 or 40, no difference, but keepalive off) looks like this: Connection Times (ms) min mean[+/-sd] median max Connect: 2 10 152.8 3 3015 Processing: 2 8 34.7 3 663 Wai... | Capture this event with tcpdump/Wireshark/tshark. Then open the capture in Wireshark, go to Statistics->TCP stream graph->Time-sequence graph (Stevens). This gets you a graph of sequence numbers vs time. If you have a 3 second gap in your connections, you should be able to spot it, as there should be no dots for the 3 ... | 2 | 3 | 3,511 | 2011-01-03T13:43:54.663 | infrastructure | serverfault.com | |
1,042,090 | icmp_echo_ignore_broadcasts not working for broadcast other than 255 | In an embedded system using linux 5.3.18 it is required to ignore ICMP broadcasts. This device IP set to [CODE] , so the broadcast will be [CODE] . The flag controlling this behaviour [CODE] is correclty set to [CODE] When an ICMP echo request with source IP [CODE] is sent, I would expect this request to be ignored sin... | ICMP echoes don't have a source address as a broadcast. The source is the unicast address of the source. The destination will be a the broadcast address. | 1 | 3 | 442 | 2020-11-10T19:57:03.937 | infrastructure | serverfault.com | |
279,142 | Updating a column name to be a concatenation based on the same table | Need Help in SQL SERVER! I have two tables: Students: Student_Id, Student_Name Grades: Student_Id, Profession, Grade. I need to change the column Profession to have the value Profession + Grade only for those students who have more than one profession. Is it possible? I tried: [CODE] Results Query Error: Error: ER_UPDA... | I am not quite sure if I understand your data model from your description, so please check the data to be updated before running it. You can break the update into two separate statements with a temp table or CTE, which will give you the benefit of seeing the records you want to update. (Use a select from the temp table... | 0 | 0 | 1,856 | 2020-11-03T20:55:04.010 | database_errors | dba.stackexchange.com | |
735,747 | many graceful restarts in httpd error log? | Our server was down , and we restatred the services (nginx & httpd), and when i look at the logs, i've found these lines , there are so many [CODE] lines, whats wrong? i have 100's of lines like below [CODE] | okay, i've found the reason , these graceful restarts are happening because of log rotations (crond gracefully restart the http service after log rotation) some logs are getting rotated very frequently (because of some misconig). Thats all | 8 | 10 | 11,126 | 2015-11-12T05:05:52.957 | infrastructure | serverfault.com | |
1,106,030 | Force outbound traffic over VPN, but still Allow local connections | I have a linux VM running a VPN client and I want to make sure all new, outbound connections to the internet go over the VPN tunnel, while also allowing local network devices to connect to it. This VM connects to the internet, and it also has to talk to 2 other local VMs. If the VPN goes down, so does the VM's internet... | Sounds like you are in FUD. By default on Linux OpenVPN does NOT override LAN routes (i.e. route with prefix length > 0), even with [CODE] or equivalent. (It's more of a Linux nature than an OpenVPN nature.) So it's more or less "split-tunnel" out of the box. The only case you need solutions like policy routing is that... | 1 | 0 | 1,077 | 2022-07-19T18:29:37.383 | api_errors | serverfault.com | |
546,438 | Pure-FTPd do not login via mysql | I've got server on Ubuntu 12.04.3 LTS. I need to install Pure-FTPd with MySQL authentication. I'm installed pure-FTPd by typing "apt-get install pure-ftpd-mysql". It was installed. So, there's my "/etc/pure-ftpd/pure-ftp.conf" file: [CODE] ... and my "/etc/pure-ftpd/db/mysql.conf" file: [CODE] Everything seems to be gr... | Sorry, guys, everything is OK now. Don't now how, but in mysql.conf file MYSQLCrypt was set as cleartext... Now, when I set it to md5 back everethin seems to be grate! | 0 | 2 | 5,754 | 2013-10-16T14:44:56.343 | database_errors | serverfault.com | |
69,644 | Reduce Printer Waste and Paper Usage | We have a computer lab that we need to reduce wasted paper/ wasteful printing. This is a open use student lab for students (no user accounts). Often times students will erroneously print the same thing 2 or 3 times, or print long PowerPoint presentations 1 slide per page with a black background. Some will print chapter... | If students had individual accounts, you could have better accounting and make them responsible for their paper usage. Essentially you want to curb waste without adding the overhead of accountability, from the sounds of it. If you want people to do this anonymously you could set all the systems to print to PDF with a f... | 1 | 1 | 658 | 2009-09-29T15:26:54.390 | data_quality | serverfault.com | |
628,041 | OpenVPN Access Server connects and can browse all other ports than port HTTP and HTTPS | Hello dear Serverfault experts, I have a very frustrating issue with my recently installed OpenVPN Access Server ( https://openvpn.net/index.php/access-server/download-openvpn-as-sw/113.html?osfamily=CentOS CentOS 6.5) Everything works, except I can't browse port 80 or port 443. I can do NSLOOKUP, traceroutes, pings, v... | SOLVED: I had these in my iptables: [CODE] | 0 | 0 | 679 | 2014-09-12T10:01:43.773 | infrastructure | serverfault.com | |
245,232 | DBCC CHECKDB - Corrupted Pages | On my understanding, regular run of DBCC CHECKDB is a best practice in order to check integrity of the database. If there comes a time where a corrupted page existed, and no good back up is available, in general, what are the consequences can occur? Nothing? Corruption will spread? | [CODE] will also run [CODE] , [CODE] , and [CODE] . Running this regularly is extremely important in an effort to detect data corruption. If availability is important, you should consider running this daily. It is possible for backups to contain corrupted data as well. This can easily go unnoticed if the corrupted page... | 1 | 1 | 225 | 2019-08-13T15:06:33.167 | data_quality | dba.stackexchange.com | |
214,828 | Postgres - Revoke database acess from user, but allow replication acess | The DB have a replication server, i need to revoke the permission on the user "user_bi" but allow the acess of this same user on the replication server! [CODE] This replicate the revoke to the slave. [CODE] This returns a error "SQL Error [25006]: ERROR: cannot execute GRANT in a read-only transaction". Can i revoke th... | I denied the acess by IP on the pg_hba.conf file. | 0 | 0 | 514 | 2018-08-13T21:24:38.440 | database_errors | dba.stackexchange.com | |
1,076,158 | Upgrade GCP hosted PostgreSQL while keeping existing user passwords | I have been tasked with upgrading our GCP hosted PostgreSQL databases from version 9.6 to version 13. The instructions I found ( https://cloud.google.com/sql/docs/postgres/upgrade-db ) say that we need to create a new database and then "Make sure the target instance has... The same user accounts, with the same PostgreS... | It seems that there wasn't a way to do this at the time I asked the question, but things have moved on since then. Google Cloud SQL now provides in-place major version upgrades, which will keep the existing user passwords. https://cloud.google.com/sql/docs/postgres/upgrade-major-db-version-inplace | 1 | 0 | 223 | 2021-08-31T14:31:31.090 | database_errors | serverfault.com | |
41,248 | How to be a zero-bug programmer? | My boss has always told me that a good programmer should be able to ensure that the code he or she changes is reliable, correct, and thoroughly self-verified; that you should completely understand all the results and impacts your changes will cause. I have tried my best to be this kind of programmer—by testing again an... | Don't code at all. That's the only way you can be a zero-bug programmer. Bugs are unavoidable because programmers are human, all we can do is try our best to prevent them, react quickly when a bug occurs, learn from our mistakes and stay up to date. | 167 | 361 | 64,134 | 2011-01-29T19:42:50.443 | api_errors | softwareengineering.stackexchange.com | |
80,782 | Can we use sentence transformers to embed sentences without labels? | I was trying to use this project : https://github.com/UKPLab/sentence-transformers for embedding non english sentences, the language is not a human speaking language, its machine language (x86) but the problem is i cannot find a simple example where it shows how can i embed sentences using a custom dataset without any ... | The link you provided of Siamese Bert is an instance of a Bert or Roberta finetuned on STS or NLI data. Which can have the format [CODE] is similar 3 out of 5 to [CODE] (STS). Hence, is supervised, it does not fit your purpose. Nonetheless, do not despair, there are some that do not require training, although may not p... | 1 | 2 | 880 | 2020-08-25T14:39:45.697 | data_quality | datascience.stackexchange.com | |
529,972 | How to deal with unroutable addresses on the secondary email server (mx) with exim? | I have configured two instances of exim4 on two different Ubuntu servers. They both accept e-mail for the same three domains. The primary one acts as the final destination whereas the secondary only relays e-mails to the primary one. There is a problem however with unroutable addresses. Every once in a while the second... | I have seen thee mechanisms in use: Drop messages which are sent to non-existent addresses via the secondary server. This prevents use of the secondary server to generate back-scatter spam. Arrange to have the user database available on the secondary server. If you are using LDAP for your user database, this is relativ... | 0 | 2 | 732 | 2013-08-09T21:32:19.330 | database_errors | serverfault.com | |
487,202 | Configuring VPN on Windows Server 2008 with no DHCP | Please see the revised section at the bottom as the original question seems to have been a little convoluted I have a cloud based virtual machine from my client's hosting company. The sole purpose of the VM instance is for the clients public facing ASP.net web site. The VM instance had just a bare installation of Windo... | It's easiest if the RRAS server connection is set up as VPN with NAT. I'm not sure how much control you have over your cloud environment, but you should put all of your private servers (SQL server, etc) in a private network with the 192.168.x.x, 10.x.x.x, or 172.[16-32].x.x private IP ranges. Add a second NIC to the VP... | 3 | 1 | 5,415 | 2013-03-12T22:05:20.447 | infrastructure | serverfault.com | |
444,629 | Getting 403 on apache with php on fedora 17 | I put the projects on [CODE] and create a soft-link in [CODE] which point to [CODE] . my [CODE] is shown below [CODE] in [CODE] [CODE] in browser [CODE] I get this error. [CODE] result: [CODE] for project [CODE] I cannot figure out the problem. | I found out the problem which is regarding to my home directory. basically i just solved by using this command [CODE] The answer by +Michael Hampton may help in some way. Thanks anyway. | 1 | 0 | 1,453 | 2012-11-02T01:50:15.510 | api_errors | serverfault.com | |
66,254 | join for between multiple tables without common fields | [CODE] I want to select all objects from table E and M such that they have a connection to object in L (in table ER) and that object has value of xpos>25 (arbitrary) [CODE] I feel I'm missing the basic working of joins and am constructing a wrong query (approach here). Can it be combined in one query? Or do I have to u... | Which make of SQL are you using? I am most familiar with Microsoft SQL Server. Syntactically, you need to move the [CODE] after all of the [CODE] statements. (I appended the tablename L to its references for consistency.) [CODE] This is legal syntax. The next question is what results you want. I think possibly so, alth... | 1 | 1 | 14,714 | 2014-05-30T13:06:01.930 | warehouse_errors | dba.stackexchange.com | |
445,855 | Motorolla TeamBadge Issue | I have A setup of Motorolla EBW100 Team Badges (typical Walkie Talkie). My wifi is configured as Such that it has Multiple SSIDs For different Badges. Like in Floor A I want 10 Team Badges to work with SSID ABC and for floor B another 10 with SSID DEF . In theory it is a pretty simple setup. I am able to Communicate be... | That motorolla Solution is Correct. I have another setup where it works on a single WIFI Vlan... I Cant disable multicasting (obvious Reasons of Routing ) , I think motorola wants to give me a band aid fix..I aint buying that. | -2 | 1 | 56 | 2012-11-06T10:32:45.247 | infrastructure | serverfault.com | |
390,616 | Is it possible to throw compiler error when attempting to use an unimplemented method? | The backstory is long but the general idea is that I'm beginning an iterative refactoring process to replace a poorly designed data access layer with a new one under constraints from above. We can't fix everything at once but need to slowly phase in the new changes. The old DAL contains several classes each containing ... | Someone had posted earlier about the Obsolete attribute, which can be configured to throw an compile error when attempting to use a method that is decorated as such. I don't know why that answer got deleted but it works perfectly for my purposes. Thanks, whoever you are! [CODE] | 1 | 5 | 4,736 | 2019-04-19T02:02:32.517 | data_quality | softwareengineering.stackexchange.com | |
1,114,848 | CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server | I am building openstack (Yoga version on Ubuntu 22.04) high availability using ssl configuration. I was able to get other services to work using https (except neutron, cinder and dashboard), but Nova throws the error in /var/log/nova/nova-api.log below: CRITICAL keystonemiddleware.auth_token [-] Unable to validate toke... | Thank you for your assistance in advance. I discovered that when I use the config below, everything works fine [CODE] but when I try to simulate failure of active controller node, I get the error below: "An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-8d4979ac-c0f0-490... | 0 | 0 | 591 | 2022-11-04T17:54:57.340 | api_errors | serverfault.com | |
44,724 | Is it relevant to warn about truncating real constants to 32 bits? | I'm toying around with LLVM and looking at what it would take to make yet another strongly-typed language, and now that I'm around the syntax, I've noticed that it seems to be a pet peeve of strongly typed language to warn people that their real constants won't fit inside a [CODE] : [CODE] Why doesn't this work in Java... | If you're designing a statically-typed language, you may want to look at how Haskell handles numeric literals. Here's an example of how they are typed in Haskell: [CODE] What this means is that the literal [CODE] is of a type that is a member of the class [CODE] , the literal [CODE] is of a type that is a member of the... | 6 | 3 | 342 | 2011-02-06T16:25:53.800 | api_errors | softwareengineering.stackexchange.com | |
268,388 | Chat/conversation history, entity relationship diagram | Totally aware that there are very similar questions, went through each of them, but those are pretty simple/basic solutions from where i took some things and ideas to create below entity relationship diagram, according to my needs. What i'm up to is to create database schema ( postgresql ) for chat/conversation history... | Some loose opinions which may be useful but may be completely off: The model looks OK and should be scalable as far as I can tell. Relational model (3NF) is the king of storage size, and data consistency. It's not the king of "easy querying". See [CODE] note below. In actual long term business, maintainability is often... | 2 | 2 | 6,779 | 2020-06-02T20:12:27.727 | data_quality | dba.stackexchange.com | |
926,349 | Systemd: Tell if script was run by systemd or by user | How can I tell if a script was called from systemd or from a user? I created a service for an old school daemon. We just switched to systemd and some of my admin like to call the rc-script directly. This won't work very well in the case of machine reboot. Systemd won't honor the [CODE] because the new started daemon is... | I agree with the other posters that you should try to rewrite the service to not call the script at all (it’s fine if your admins want to keep using it, but does the systemd service need all the 36 options?) – but it’s also not hard to detect if the script was called from systemd. systemd v232 added the concept of an i... | 9 | 19 | 7,407 | 2018-08-14T15:09:52.500 | infrastructure | serverfault.com | |
123,797 | C++ and system exceptions | Why standard C++ doesn't respect system (foreign or hardware) exceptions? E.g. when null pointer dereference occurs, stack isn't unwound, destructors aren't called, and RAII doesn't work. The common advice is "to use system API". But on certain systems, specifically Win32, this doesn't work. To enable stack unwinding f... | The C++ standard doesn't respect system exceptions because it was designed to be usable on a wide range of platforms (much wider that PC-based platforms). It would be impossible to provide some sort of support for each of the platform in the standard. This is left for implementations and rightfully so. My reaction to t... | 0 | 5 | 2,634 | 2011-12-07T14:47:10.437 | api_errors | softwareengineering.stackexchange.com | |
156,341 | Is the UserHostAddress changed when using an F5 load balancer? | We are using a F5 load balancer for our servers. Our VB code is checking the UserHostAddress using HttpContext.Current.Request.UserHostAddress. My question is, will this value return the IP from the load balancer, or does it still have the client IP address? I will post this on Stack Overflow as well in case this is mo... | If an F5 is configured for Source Address Translation and you look at the client address, you will see a snat address of the f5. If you configure the BigIP virtual server with a profile that inserts the "real" client IP in the X-Forwarded-For header, you can extract that value. I placed "real" in quotes because this ma... | 0 | 4 | 772 | 2010-06-30T15:58:20.410 | infrastructure | serverfault.com | |
901,168 | setting up a wifi lan with no connection to the Internet | (apologies: I'm a beginner with networks. And I don't know if I have chosen the right stackexchange category.) Here's the situation. We are organizing an event in a big room with no Internet connection. Some of the activities will rely on web apps that we designed and will run on an Ipad that has WIFI but no GSM. I put... | I managed to make it work, here were the steps, as far as I remember them: Note: in several steps, one has to wait from seconds to minutes, for the change to take effect. Connect a computer (not necessarily the one hosting the server) to the LAN1 ethernet plug of the router with an RJ45 cable. This is how I can access ... | 0 | 1 | 1,910 | 2018-03-12T09:05:39.450 | database_errors | serverfault.com | |
259,858 | Exchange 2007 on Windows Server 2003 - Should I Disable Basic Disk Indexing? | I am adding a new basic disk partition to my Exchange 2007 Windows Server 2003 64bit server to add more storage groups. It is a RAID 1 Array. I know Exchange 2007 has it's own search indexing service, which is on by default and needed. On clients, I always disable the indexing service on the drives by either disabling ... | Disk indexing isn't related to Exchange in any way that I'm aware of so you should be able to disable it if you're so inclined. I disable disk indexing on all of my servers, for good or bad. I've never been aware of any issue with doing so. | 2 | 0 | 438 | 2011-04-14T21:08:52.993 | infrastructure | serverfault.com | |
42,576 | In Gmail Web,unable to access "Create Account" menu Options, I can't capture the menu item "Para mim" throws exception | I've tried everything !!. I need to inspect the "for me" from button "Criar Item. [CODE] Kindly refer the below for your reference | Try the below code its working for me in gmail.com(UK) [CODE] | 2 | 1 | 94 | 2020-02-17T23:08:33.660 | data_quality | sqa.stackexchange.com | |
106,189 | Why do the queries slow down after a few minutes, when trying to build a DB? | First - I am a complete newb to DBA. Please be gentle. (And I am fairly new to python as well.) Oh, and I have no idea how to change any MySQL settings or the like, so all the MySQL DB settings are just the defaults. And I am running Ubuntu 14.04 on an AMD64 with 8G of RAM. I have a huge excel (xlsx) spreadsheet (about... | The slowness you're experiencing could be because of several reasons, one or more. It is important to note that 20K rows is relatively small number of rows. You may want to check for the following: What is the structure of the tables, engine, keys (indexes), and primary keys. Output the query after certain number of it... | 1 | 2 | 1,686 | 2015-07-07T13:35:32.487 | database_errors | dba.stackexchange.com | |
176,662 | InnoDB Read and Write speed constantly spikes | I am not a dedicated mysql admin but my friend and I have been working hard to fix the badly configured mysql files. We have reduced our number of pools to 2 from 20 and increased pool size to 90GB for a 124GB ram server. I've also enabled file_per_table. What is bugging me is the constant spikes in disk read/write spe... | (Analysis of VARIABLES and STATUS) The More Important Issues Ponder why there are so many deletes/second and deletes/insert. Deletes need to eventually update indexes; this may be part of the original problem. Shrink tmp_table_size and max_heap_table_size to 1G. (3G is dangerously high for 124GB of RAM.) Running out of... | 1 | 1 | 2,097 | 2017-06-19T15:49:21.393 | data_quality | dba.stackexchange.com | |
61,478 | Powershell recursive WMI query | I'd like to start at the top of a WMI namespace, recurse through all the objects, then recurse through each object's property list, filtering out and returning to console only those properties that have mem in their names. This is what I have so far: [CODE] Notice the big |???? in the middle there. If I remove that, th... | I think this will do what you are looking for in one line. the CIMV2 namespace is there by default but if you wanted to select a different one, you can use gwmi -namesapce. The "trick" is nesting a where-object in side the foreach-object [CODE] | 6 | 7 | 2,995 | 2009-09-02T10:30:29.890 | infrastructure | serverfault.com | |
456,904 | Quantifying the effects of partition mis-alignment | I'm experiencing some significant performance issues on an NFS server. I've been reading up a bit on partition alignment, and I think I have my partitions mis-aligned. I can't find anything that tells me how to actually quantify the effects of mis-aligned partitions. Some of the general information I found suggests the... | Your partitions are misaligned and it might be difficult to asses how much you're actually losing in performance because that would depend on the type of I/O workload. It might be negligible if your I/O workload is light, compared to the performance of your disks. However, since this is a NFS server, I'm assuming it's ... | 3 | 2 | 1,414 | 2012-12-11T00:01:36.830 | infrastructure | serverfault.com | |
181,822 | SBS 2008 - GPO not being applied on Vista clients | I'm having some terrible trouble with some GPO's. There are only three items we need: Map a network drive Copy an item to the local drive Create a desktop shortcut I've created these GPO's and linked it in the OU 'SBSUsers'. On XP machines, this will apply no problems. On Vista machines, however, despite [CODE] telling... | If you are using Group Policy Preferences then you need to make sure you have the client side extensions installed on the Vista machines. | 0 | 1 | 349 | 2010-09-16T14:30:40.310 | infrastructure | serverfault.com | |
316,158 | Airflow to BigQueryt data load taking forever | Im currently working as a junior data engineer. My main job right now is to move data from a DB in MYSQL (which gets updated every few minutes via webhooks) and send it to BigQuery as frequently as posible using Airflow, as this is our main DB for later analyzing data with power BI. The problem is that the bigger table... | MySQL can quickly build a CSV file for one table. How many tables do you need to copy? Are there any [CODE] or [CODE] columns? Surely bigquery has a way to load a CSV file. I would expect the two steps to take less than 1 minute (maybe less than 1 second) per table. "as fast as possible" Make a script that loops. Do no... | 0 | 0 | 103 | 2022-08-28T23:11:30.617 | database_errors | dba.stackexchange.com | |
1,023,410 | Anti-spam whitelisting by sender IP in Exchange 2016 on-prem | I can't seem to find the way to bypass the anti-spam filter by IP address in the Exchange 2016. The goal is to allow POS tills to send automated emails to accounts when the bill is closed. The IPAllowListEntry is a part of Connection Filter Agent that is only installed on Edge Transport servers which we don't have (it'... | OK, after much research I have come to the conclusion that it is not possible. The IP-based content filter rules only work on the Exchange Edge Transport service, which excludes small-business installations from the feature. Leaving this here for people that encounter this or similar issue in future. | 0 | 0 | 1,765 | 2020-06-30T00:49:15.437 | infrastructure | serverfault.com | |
601,498 | Cookies Not Setting in Load-Balanced Environment | I have an Nginx load balancer load balancing two nginx servers serving PHP content (Moodle) up. They share the same database and use the same sessions directory using an NFS share on a separate server. I am running PHP 5.4.1 and the latest version of Moodle. Right now the load balancing works just fine, and I am able t... | You might want to explicitly forward the Set-Cookie header with a [CODE] . In general when trying to determine the impact of a load balancer I often find it useful to have it "load balance" over one worker, rather than bypassing the load balancer completely by connecting directly to the worker. Only when the load balan... | 1 | 2 | 1,663 | 2014-06-03T16:07:46.567 | database_errors | serverfault.com | |
815,926 | How to stop ssh login from prompting for password? | I was running an Ubuntu 14.04 server with SSH enabled and password login turned off. I accidentally fubared the permissions to my [CODE] directory, effectively locking me out. I managed to use a LiveUSB to mount the drive and enable password login and fix the permissions, but now it always prompts for a password, even ... | Check that the parent directory containing your private key (in this case, [CODE] ) has [CODE] permissions. On server side, check if something is logged inside [CODE] and [CODE] | -1 | 1 | 2,673 | 2016-11-19T21:58:53.407 | infrastructure | serverfault.com | |
65,406 | building a 2-layer LSTM for time series prediction using tensorflow | From Tensorflow tutorials i am experimenting time series with LSTM In the section 'multi-step prediction' using LSTM tutorial says Since the task here is a bit more complicated than the previous task, the model now consists of two LSTM layers. Finally, since 72 predictions are made, the dense layer outputs 72 predictio... | First question: How many layers? This is architectural question and one of them most important when constructing NN. Generally the more complex the task the more layers you should use to approximate (until a certain point than there is overkill, motivation for ResNet ) If you are looking for some guidelines there are s... | 2 | 1 | 1,087 | 2019-12-25T13:41:00.917 | data_quality | datascience.stackexchange.com | |
315,299 | What is MySQL wait state 'wait/synch/mutex/innodb/lock_mutex' | We have an application (on Amazon RDS MySQL 5.7; [CODE] ; 96 cores) that takes in a lot of data, in parallel processors+queues. It mostly goes to one table, with primary keys not spreading over multiple queues. Entries are batched in transactions. When we increase the amount of processors+queues, there's a tipping poin... | The sharded lock-sys was introduced in this commit . They have good commit messages, which explains what lock-sys is (which is the original question I had): WL#10314 - InnoDB: Lock-sys optimization: sharded lock_sys mutex The Lock-sys orchestrates access to tables and rows. Each table, and each row, can be thought of a... | 1 | 1 | 1,420 | 2022-08-06T08:15:23.623 | database_errors | dba.stackexchange.com | |
744,051 | Rabbitmq Won't Talk to Active Directory | I have a rabbitmq server that I need to hook up to AD. Configuration is set using puppet rabbitmq module, with some minor manual changes (log level): [CODE] The error log when I try to log in into the web console of management plugin: [CODE] This left no logs at the server side of AD, so I ran a tcpdump: [CODE] Which s... | SELinux by default will block most daemons from connecting outbound. In RHEL 7 these policies got more specific (and in some cases more restrictive). Do [CODE] to test, then if it works, use [CODE] to analyze your [CODE] file to determine what course of action to take. The CentOS wiki page on SELinux is probably the si... | 5 | 5 | 2,210 | 2015-12-18T18:16:28.750 | pipeline_ops | serverfault.com | |
966,743 | Nginx ignore loaded config and search in "/etc/nginx/html/index.html" | I update nginx to 1.16 and my website stop to work. It look for file in "/etc/nginx/html/index.html" Here is the log [CODE] This is my nginx.conf [CODE] And If I try with NGINX -T my config under sites-enabled is loaded! [CODE] And this is my configuration in sites-enabled. As I told you if I try Nginx -T the config is... | You have a complete [CODE] block for [CODE] which serves nothing but static files: [CODE] It has no document [CODE] , so the default is used: [CODE] . My guess is that you should instead have the [CODE] in the next [CODE] block, which doesn't have one, but which does have the SSL certificate configured for [CODE] . I w... | 0 | 3 | 12,206 | 2019-05-10T16:28:29.230 | infrastructure | serverfault.com | |
900,594 | I want to run a.sh on remote hosts and fetch all output files. output file with timestamp. I wrote below code and it is failing with error | I want to run a.sh on remote hosts and fetch all output files. output file with timestamp. You can see below my ansible tasks. [CODE] ansible-playbook report_task.yml --limit ERROR! conflicting action statements: shell, fetch The error appears to have been in '/home/vicheruk/report_task.yml': line 24, column 8, but may... | Your playbook is syntactically wrong. [CODE] is an module and needs to be called in its own task. Also there is not too much sense in looping and writing in the same file. Probably you want to include [CODE] in the [CODE] parameter as well. This should do the trick: [CODE] | 0 | 1 | 3,924 | 2018-03-08T07:13:36.237 | pipeline_ops | serverfault.com | |
862,473 | unable to ssh from ansible to remote host | Iam trying to run a playbook of ansible on the remote host. But the first step of logging in isnt happening. tried the following: updated the ansible/hosts file with the remote host credentials Adding host_key_checking=false In sshd_config file I have set the ChallengeResponseAuthentication =yes (and restarted the ssh)... | If it's your host, you should remove SSH fingerprint from /root/.ssh/known_hosts on line 2. You could remove it with command: [CODE] or do it manually using any text editor. This caused by reinstalling server with cause regeneration SSH fingerprint. If you don't do anything with this host, it could be security issue. | -2 | 1 | 6,776 | 2017-07-17T05:22:44.653 | api_errors | serverfault.com | |
201,439 | Plesk Migration - Email Problems | Recently did a migration from Plesk 8.x to Plesk 9.x on a different server. Before I do the DNS switch or all domains, I tried to test e-mail send/receive, and there are problems with the email accounts. There are 244 domains and each client (owner of domain/website) reads e-mails from an e-mail client (outlook,thunder... | It seems the issue with your SMTP Authentication details,please make sure that SMTP details are correct. | 0 | 1 | 286 | 2010-11-13T09:15:21.857 | infrastructure | serverfault.com | |
284,524 | (SQL Server /SSIS) Managing IS Catalog permissions on a shared server? | I'm hoping for some ideas on how you and your team manage this. I'm supporting a shared SQL Server that will have several different departments deploying their SSIS packages via the IS Catalog. I would like users to be able to have some level of access to their packages, without that colliding with/seeing the packages ... | You probably want to add Users in the [CODE] database to the [CODE] role as per the Microsoft Docs on Integration Services Roles . Under the Read and Write Actions section for the [CODE] role it says the following permissions will be applied: Enumerate own packages. Enumerate all packages. View own packages. Execute ow... | 1 | 1 | 980 | 2021-02-02T15:38:59.903 | database_errors | dba.stackexchange.com | |
337,610 | Get absolute number and percentage of NULL values for each column of each table in a given schema | I'd like to extract some basic statistics about how tables are populated in a given PostgreSQL 16 schema, such as the absolute number and percentage of null values for each column in all tables in that schema. Currently, I'm fetching/computing those values using Python/psycopg2, but I'm wondering if I can store some ki... | ... the absolute number and percentage of null values for each column in all tables Test setup [CODE] Simple, naive, repetitive & slow Basically, you want this kind of output for all columns of any give table: [CODE] column has_null pct_null col1 0 0 col2 2 40 col3 4 80 Smart, but not dynamic, yet Besides being much fa... | 0 | 1 | 97 | 2024-03-09T20:30:13.580 | database_errors | dba.stackexchange.com | |
816,249 | Jenkins, Perforce and Multibranch, how to set up automatic branch detecting? | I'm setting up Jenkins with Pipeline (former Workflow) and trying to configure Multibranch. All documentation I find is about git and svn, but I'm stuck with using Perforce. I have installed all plugins, including p4 (the new Perforce plugin). Setting up a Multibranch job, I'm provided with a dropdown list under [CODE]... | I've found the reason. It is not yet supported. There is a Jenkins JIRA issue with Major priority level. https://issues.jenkins-ci.org/browse/JENKINS-32616 You need to create a user account and be logged in to read the link above. | 1 | 1 | 1,453 | 2016-11-22T06:59:30.740 | pipeline_ops | serverfault.com | |
429,903 | Strategy & Architectural Decision: Customer data migration between two companies | Asked this originally here , and didn't receive any answer so far, hence posting here too. Let's say company A acquired company B in a certain region. This means, A and B were competitors in that region, and now A will be the only player. Resulting, customers from company B will need to be migrated to company A custome... | Great, more email for the spam folder... OK seriously now: your business' desire to merge the user accounts is not of concern for the customer. Therefore, the customer will not have any desire for your emailing them not have any interest in clicking your link eventually not even be an active customer any more who place... | 0 | 4 | 117 | 2021-07-02T06:54:32.333 | data_quality | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.