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
471,847
How can I bypass modules in apache web server?
I have an apache server running on an embedded device that serves webpages to clients using a bunch of custom modules. I'm now trying to load some webpages from the device using [CODE] These pages don't need any of the custom modules since they don't use any of their processing. The problem is apache still runs through...
Answer found: Someone on the apache forum suggesting running a seperate instance of apache on a different port and only loading the modules needed. I've tried that approach and it gets me the behavior I want. Just wanted to update with an answer if anyone else is having the same issue.
1
0
240
2013-01-23T20:15:01.980
infrastructure
serverfault.com
382,518
Timekeeping between various Windows computers on network (but not all)
I have a situation where I have the following setup: [CODE] Essentially, the bridging server acts as a firewall and only point of access between two other networks. None of the machines on the secondary network have access to the wider network, and it is desired that they are all kept closely in sync in terms of time. ...
If there is a (Windows) time server available in the primary network, you can configure all clients to use that by issuing: [CODE] Followed by [CODE] On each client. NTP is perfectly routable, you just have to allow it over the bridge.
0
2
123
2012-04-24T08:26:30.087
infrastructure
serverfault.com
738,986
What failover does Sql azure support automatically?
I am a bit confused about how failover actually works with SQL Azure and what we need to implement vs what is out of the box. I read this article https://azure.microsoft.com/en-us/blog/fault-tolerance-in-windows-azure-sql-database/ which goes on about automatic failover, no intervention required. It seems to imply that...
The first article covers how it will failover within a single data center, stating "Other than the loss of an entire data center all other failures are mitigated by the service." This is covering you if the hardware or storage fails for your database(s). The second article covers how to use geo-replication to handle th...
2
4
1,052
2015-11-25T18:32:32.973
database_errors
serverfault.com
311,959
php mysql aggregating/ combining queries to reduce db connections
I have a use case where a large number of clients are reporting their operational states every minute using an HTTP connection to a php script. For each client, I have a row in a mysql table with unique clientID. PHP script first checks if the client is valid, and update the timestamp so I know when was the last time t...
There are multiple places where there might be a bottleneck. HTTP The client process that then talks to MySQL Connecting to MySQL (for a single action) Competing with other actions to do the Update (or IODKU) Plan A: Scrape the web server's log to see that someone made a request. (The web service may not let you do thi...
0
0
64
2022-05-10T16:44:00.243
database_errors
dba.stackexchange.com
157,279
Database Mirroring in SQL Server 2008
I have the Principal server and mirrored server placed on one VLAN and the witness server on another vlan. The port assigend to all these servers is 5022. The problem we are facing is that the witness server though successfully being configured for database mirroring is not doing the automatic failover. In the view Mir...
There's a troubleshooting guide here . I would try and telnet on port 5022 to see if you can connect to the mirror and primary from the witness.
-1
1
194
2010-07-03T07:54:41.677
database_errors
serverfault.com
925,098
Can't remove tombstones cells in Cassandra
we are using a cassandra single node cluster for experimenting and one problem we are hitting now is tombstones cells. Each row contain 2 tombstone cells and we are stuck in trying to remove them. They are causing abortion of our queries as tombstones threshold is reached quite quickly. This is the tracing output when ...
Tombstone were correctly garbage collected but gc was respecting the gc_grace_seconds value set for the column family (default 10 days). After altered the table with the following cqlsh command: [CODE] tombstones were dropped completely. Just to be sure, but maybe wasn't needed, I run again nodetool garbagecollector an...
0
3
1,559
2018-08-06T12:32:40.383
database_errors
serverfault.com
912,563
How can I recover a corrupt persistent disk (additional disks)?
I attached, formatted, and mounted a persistent storage disk to my google cloud compute VM last week. Saved some work to it, and left for a week. When I returned the disk had been unmounted, and now seems corrupt, how can I recover the data on this corrupt disk? Some hopefully relevant information: Machine type: n1-sta...
For anyone running into this later, if you want an older version of Ubuntu, Gcloud may change your additional storage underneath you, in which case, spin up the latest version of OS, recover your data with fsck.ext4 (assuming it is ext4) and get it into google cloud... or out of the system altogether.
0
1
690
2018-05-16T18:49:00.060
data_quality
serverfault.com
289,761
While testing our workload on SQL Server 2019 we experience much higher CPU utilization compare to the same test on SQL Server 2014
We are getting ready to upgrade our SQL Server 2014 systems to SQL Server 2019. As part of our due diligence we created a workload which we are testing against both systems. What we have observed was the following: The query performance on average is about 50% faster on SQL Server 2019 - good! The reads are about 40% l...
Firstly: Is the CPU use really more for the same amount of work? As performance is 50% faster 33% more work is being done on average in any given period of time, so using 30% more CPU resource cancels down to using the same amount of CPU for the same amount of work, just over a shorter period of time. The fewer page ac...
0
3
484
2021-04-13T18:18:38.910
database_errors
dba.stackexchange.com
154,552
pglogical for OLAP queries
I am looking to setup a replica for OLAP queries. Currently in my prod I have a master (OLTP node) replicating to a slave via streaming replica. I don't want to use streaming replica for OLAP queries because I would probably need different set of indexes and permissions on OLAP db. So I am planning to setup a pglogical...
Yes, there's some performance impact on the master because of logical decoding. It's not usually too bad. You can have both streaming physical replication for HA/failover and pglogical in use at the same time. However, currently if you have to fail over, pglogical can't switch to reading from the promoted replica so yo...
0
1
387
2016-11-08T05:50:40.033
warehouse_errors
dba.stackexchange.com
82,184
moving to MySQL 6.0 is a good move?
what is most important issues and cautious we have to do before upgrade to MySQL 6.0? How do you do the upgrade? setting up a new slave and do yum upgrade? what is the best way to upgrade with minimal downtime?
Moving to MySQL 6.0 is highly regarded as a bad move by most people, as it only briefly existed on the control version system of MySQL A.B. plus some very unstable alpha releases. MySQL 6 promised too many features to be able to be delivered, although some of its features were later ported to 5.5 and 5.6. Others, like ...
0
1
152
2014-11-07T19:31:24.783
database_errors
dba.stackexchange.com
228,538
Good NFS multipath solution
I have a couple of servers serving exactly the same content through NFS to several webfarms, all the servers involved are running CentOS 5 The content between both NFS servers is replicated using Unison (tried drbd in the past, killed the performance badly) To distribute load I'm mounting a different NFS server from ea...
Have a look at the RedHat Cluster Suite NFS Cookbook , subtitled "Setting up a Load­Balanced NFS Cluster with Failover Capabilities". I think this may have some good suggestions, if it's not exactly what you're looking for. You can take the ideas presented in that document and implement them using Pacemaker/Corosync, w...
3
2
7,221
2011-01-29T16:11:51.253
database_errors
serverfault.com
403,601
User stories about one and the same functionality for two different roles
My team is building a solution where a mobile app communicates with a backend. I need to describe functionality where the communication between the app and the backend is optimized according to some rules that work for both the client (mobile app) and the server (backend). This optimization will be mostly developed on ...
You can make these valid user stories, but your need to keep them focused on benefits for the end user. For reducing the size of the payload sent to the server focus on the metrics of reducing data size tied to a metric. In order to stay within the limits of my 2 GB wireless data plan As a user on a mobile device while...
3
4
212
2020-01-09T22:03:39.203
api_errors
softwareengineering.stackexchange.com
198,076
screen behind rate limited iptables and connection disconnects
Take this scenario if I have rate limited the connections to 4.(i.e if you attempt 4th connection you wont be able to login for some time.) If in a minute I get disconnected 3 times while I was already logged in on the server with a screen session, will I be able to login or I need to keep quite for a minute? [CODE]
If you try to make a new SSH connection a fourth time within the time limit, that connection is dropped whether you're using screen or not. Only new connections would be affected, so if you're actually still connected on an old connection, that connection would still be good.
0
0
81
2010-11-04T09:47:22.187
api_errors
serverfault.com
783,355
Need to regain trust with domain controller
Long-time Unix sysadmin, just getting started in the Windows world, here: I have a Windows 7 Enterprise machine. A recent system update must have gone pear-shaped, because now when I try to log in as DOMAIN\user, I get "Trust relationship has been lost with domain controller". I gather that this means that the workstat...
The trust issues usually happen with laptops that have not contacted a domain controller for longer than 30 days (the machine password is not renewed). Your best option now would be to reset the local administrator password with something like ntpasswd or the trinity rescue kit, and then rejoining the machine to the do...
0
1
619
2016-06-11T04:43:04.877
database_errors
serverfault.com
555,446
Getting "Local Security Authority cannot be contacted" error message when logonHours restricted
I'm trying to define logonHours for Remote Desktop users on Windows Server 2012; Network Level Authentication is required for remote connections. When an account with restricted logonHours (defined in ActiveDirectory) tries to connect at a denied time, the client (Remote Desktop Connection) responds with: [CODE] If the...
The RDP client will display a nice, usable error message if you run it from a machine that is joined to a trusting domain, and the RDP client must be able to resolve the hostname of the RDP server (session host). The RDP client must be joined to a domain that trusts the domain that the RDP server is in Date and time mu...
9
3
72,300
2013-11-16T16:12:36.930
api_errors
serverfault.com
41,896
Built-in XML functions
I am trying to use built-in XML functions, but I'm getting an [CODE] error. Selects works fine without the XML functions. Any ideas where is the mistake? [CODE]
@elimerv, Are you sure you are not having something else in place of "single-quote" that is expected there? Also, you don't tell what kind of data does the "pm" table has in the pm_id column (BTW, your latest SQL doesn't appear to be correct as your sample_data subquery has an "id" column whereas your main query refers...
0
2
317
2013-05-10T08:05:06.187
warehouse_errors
dba.stackexchange.com
276,029
Use of validators for simple validations
I've been working in Liferay code, and I've come across this construct a few times: [CODE] The source code for [CODE] looks like this: [CODE] So my question: what are the benefits of calling Validator to do this function rather than simply writing [CODE] ? Do these function calls add a significant enough overhead that ...
Look at the implementation of [CODE] for different types. Such as [CODE] : [CODE] This is not the same as [CODE] , because if [CODE] has a value of "\t ", the null comparison will return [CODE] . On the other hand, [CODE] will return [CODE] because of the [CODE] followed by [CODE] . If you've used .NET Framework, the [...
2
1
422
2015-03-11T23:06:14.583
data_quality
softwareengineering.stackexchange.com
832,297
Default charset on every pare including error pages
I would like to produce a 404 error intentionally for some pages on my server, and I am currently working on the headers. The problem is, for the scripts that exists (and I give a 404 error in the script), the [CODE] header field shows [CODE] , while for the real 404 pages the same field shows [CODE] , which defeats my...
Figured it out: Use [CODE] for the desired error code (in this case 404), make it point to a script under the web root, then setting whatever I like in the [CODE] .
0
0
535
2017-02-13T15:41:12.463
infrastructure
serverfault.com
558,412
DNS client not getting hosts resolved. Configuration is correct
I have a machine that was working fine, after some attempts to configure a link redundancy on my network the machine with the following configuration stopped resolving DNS names. [CODE] The machine that I'm in right now has the same configuration, apart form the IP, and is working fine. The problematic machine is a Win...
1) are you sure ip information is correct? most home devices have 1.1 as the default gateway not 1.254 2) 8.8.8.8 is google. you should use your isp provided nameservers, as the first time you go out to the internet, they may rewrite dns to take you to a terms of service page. then, once you accect, they allow outcgoin...
0
0
873
2013-11-30T19:45:38.653
infrastructure
serverfault.com
212,643
It is possible to take incremental backup in mongoDB Shard cluster? without opsmanager
Shard MongoDB Cluster: 3-router 3-config 2-shard (3-replica's per shard) We are tring to take incremental backup for every one hour. We gone through few google links, but no luck. As per our above setup, to achive incremental backup we need to take mongodump with oplogs seperatly from config, shard1 and shard2 secondar...
Consider using Percona tool if you are using MongoDB version above 3.6. Taking dump of individual shards and trying to stitch it together while restoring is not advisable.
1
1
657
2018-07-19T11:49:37.103
database_errors
dba.stackexchange.com
397,396
php.ini date.timezone usefulness?
I'm not sure if this is a question for serverfault or stackoverflow but it seems like it has a lot to do with server config. We have a server in chicago and the server's clock is on chicago time. But since the business is located in California, it would seem to make sense to use pacific time. What happens when server t...
PHP scripts and PHP itself will use Pacific Time, but everything else (including Apache and MySQL) will use the system defined timezone.
1
0
754
2012-06-10T21:21:00.443
database_errors
serverfault.com
385,058
good practice: error message and error code
I'm currently testing a web service and I have noticed that there is only one error code ever return: 400. However, the error message return isn't always the same. Here are some examples of the error messages I got: XXX must contain only digits. YYY: This value is not valid. XXX: This value should not be blank. Etc... ...
The key here is not looking at the 400 as a business message' code. This code (the HTTP Status) is specially directed to the HTTP client. By choosing the HTTP status we can make the HTTP Client (sometimes the browser, most of the time the XHR) behave in one way or another. These are codes that operate at a different le...
0
2
2,185
2019-01-07T09:27:19.403
api_errors
softwareengineering.stackexchange.com
744,367
Limit allowed envelope senders for Postfix's sendmail
I have a Linux server with local accounts (they are used by PHP-FPM processes) that are using Postfix's sendmail binary to send e-mails. All e-mails are sent through local Postfix to a central mailhub that considers e-mails from hosting server as trustworthy, to some degree (they are trusted more then e-mails from the ...
The answer to my own question is create a shell wrapper around sendmail binary to do all the necessary checks and use this wrapper in the PHP-FPM's configuration instead of sendmail binary. AFAIK there is no other solution.
3
1
215
2015-12-20T22:54:19.897
infrastructure
serverfault.com
365,051
Cisco ASA Config for PCI Compliant Office
We have a small business office, but due to PCI compliance we need to segment this into two internet networks (one 'compliant' and one for any other devices to use). We currently have a Draytek modem/wan load balancer which also has firewalling but this is very basic and doesn't support seperate security policies on ea...
When it comes to PCI compliance, the number one thing you want to do is find every way you can to limit your scope. You're already making good headway with your network segmentation by actually thinking about what systems are not involved and moving them somewhere else. In a perfect world, your PCI environment would be...
6
2
2,404
2012-02-29T21:36:31.153
infrastructure
serverfault.com
900,356
Traceroute not returning result whereas ssh is working fine
Maybe it's a dumb question, so please bear with me as I am novice to networking. While trying to debug a connection problem to a server today I observed the following two things - I am able to ssh (port 22) on the target server successfully However, when I run tracert , then I am getting 'request timed out' result. Doe...
I am able to ssh (port 22) on the target server successfully However, when I run tracert , then I am getting 'request timed out' result. Does it makes sense? I mean, if I am able to ssh using a FQDN I should be able to tracert (trace route version of windows) as well, is that right? What am I missing here? It makes per...
0
2
8,049
2018-03-06T23:13:59.573
infrastructure
serverfault.com
43,351
Error installing SQL Server 2008 - all componets installed successfully except database engine
Below is the error I copied, please someone help me, I have tried at least 10 times in the last 3 days. It is SQL Server 2008 R2 and I wanted to install it on Windows 7. Microsoft SQL Server 2008 Setup The following error has occurred: Wait on the Database Engine recovery handle failed. Check the SQL Server error log f...
Make sure the account doing the installation is a member of the following groups in local security policy: Adjust Memory quotas for a process Bypass Traverse checking Log on as a batch job Log on as a service Replace a process level token Backup files and directories Debug programs Manage auditing and security log Addi...
0
1
4,132
2013-05-29T18:26:46.723
database_errors
dba.stackexchange.com
96,115
Inserts/updates are extremely slow with Merge Replication in SQL Server 2008
I got hired into a new company and they had merge replication already in place. They have had issues with it to the point I have to evaluate whether to keep it or replace it. The main issue is it takes many hours (over 12 hours in some cases) to insert or update a record. Honestly that is just unacceptable. As an examp...
I had a very similar sounding problem. We replicated a table with millions of rows. One of the subscribers would take up to 2 minutes to insert 100 new rows. I solved the issue by adding an index to the rowguid column of the table it was inserting to. I know this sounds like it should degrade performance but it looked ...
2
1
1,285
2015-03-24T19:55:06.303
database_errors
dba.stackexchange.com
132,729
Setting up PostgreSQL Connection with DBVisualiser
Apologies for the rudimentary question, I'm new to setting up databases. Am aiming to create a new Postgres connection and load some CSV files into a table using DBVisualiser. Working on a Mac running El Capitan 10.11.3 I enter all the details in the Connection Wizard as follows: But get the following 5432 error when I...
Did you checked your postgresql configuration, mainly the pg_hba.conf? Can you login to your server with psql? http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
0
1
243
2016-03-19T09:54:47.080
database_errors
dba.stackexchange.com
323,741
cisco asa reloading
After having both memory and code upgrades, we have a significant number of our asa 5520's (in active/standby pairs) develop problems. The problem manifests itself as losing connectivity to the other 1/2 of the pair on the failover interface, and is usually accompanied by a reload of the standby device. Since both the ...
Ok I'm not going to pretend I have de facto answer, but have you considered... Are you using a dedicated interface for failover such as the Management port, as other traffic may delay 'hello' packets triggering a failover condition? Have you tried adjusting the hold-down timer like so : [CODE] Maybe extending the timer...
4
1
1,853
2011-10-21T18:27:40.050
database_errors
serverfault.com
229,565
Is there any monitoring software able to do almost continued pull and save the average to the DataBase?
Good Day. Like all of you know, (and me) there are a lot of Monitoring software (Open Source or not), I'm talking about Nagios, Hyperic, OpenNMs, Tivoly, Microsoft... Like all of you know, best way to extract info of a Tomcat server is by a correctly secured JMX bean. Well, My problem is double: First: The default poll...
First, I think your misunderstand the use of a monitoring system. Detecting every small peak is overkill in most situations, and for detecting restarts of your server, reading logfiles and maybe logging/graphing uptime informations is a better way to go. That said, many graphing systems like MRTG, Munin or Cacti use th...
0
1
624
2011-02-01T10:49:05.587
api_errors
serverfault.com
418,907
windows server 2008 r2 remote desktop issue with roaming clients
I have the following situation : a Dell windows server 2008 R2 computer, with remote desktop services installed. I have installed a java application making use of a PostgreSql database, and made this application available for clients using RDP. Clients are standard Win XP pc's and Psion Neo handheld devices running Win...
Roaming only works if something is actively managing the roaming. Do you have a wireless controller? This line of motorola ap's supports controllerless roaming, but you have to configure one of them as a master. Have you configured one of the ap's to manage roaming?
2
1
1,689
2012-08-18T12:30:13.867
warehouse_errors
serverfault.com
1,127,509
Low cost TCP listener for Azure
We've been going through the process of migrating VMs from our data centres into Azure. When migrating, one of the gotchas is networking rules; i.e. there are NSGs, hardware firewalls, OS firewalls, VPN routing rules, etc in various places, each managed by different teams, so saying what needs to be updated & ensuring ...
Azure Network Interfaces can only be attached to VM's, so you would need to use a VM.
0
1
127
2023-03-30T10:35:36.757
infrastructure
serverfault.com
338,115
How to make a \\NAME share?
Ok so I would like to create a share so if someone writes [CODE] they will reach a certain part of our fileshares. Let's take for example [CODE] When this is written right now, nothing happens. So how do we fix this, how do we make sure [CODE] goes to our fileserver which would be [CODE]
You can't. SMB connections are addressed in a [CODE] pattern. Even with DFS, you still use a namespace in place of the node name. The closest you could get is making a DFS Namespace at [CODE] .
-2
6
123
2011-12-06T12:36:06.433
infrastructure
serverfault.com
8,138
Identifying templates with parameters in text fragments
I have a data set with text fragments having a fixed structure that can contain parameters. Examples are: [CODE] or [CODE] The first example show a template with one numerical parameter. The second one is a template with two factor parameters. The number of templates and the number of parameter is not know. The problem...
The basic rationale behind the following suggestion is to associate "eigenvectors" and "templates". In particular one could use LSA on the whole corpus based on a a bag-of-words. The resulting eigenvectors would serve as surrogate templates; these eigenvectors should not be directly affected by the number of words in e...
7
3
373
2015-09-20T12:40:10.170
data_quality
datascience.stackexchange.com
255,037
Decorating a class that calls its own public methods
I've written a system that calculates discounts for a shopping cart based on a set of rules. Each rule is implemented with the following interface (C#): [CODE] A concrete implementation might look something like this: [CODE] Now I'm trying to introduce some logging to the system. To keep things clean, I don't want to j...
Can a [CODE] be active but not apply to a shopping cart? Yes, right? Can a [CODE] apply to a shopping cart and not be active? Again, yes. So as I see it, [CODE] method is (or at least should be thought of as ) its own property independent of [CODE] . If [CODE] calls [CODE] , fine, though as a general rule, if it is pub...
1
0
344
2014-09-01T13:15:33.590
api_errors
softwareengineering.stackexchange.com
55,615
Mysql replication dump without down time? empty sql file
I try to create dump as replication master data and use followed command to create dump, but sql file only contains paramters and there is no data and structure. The command is : [CODE] Why does this problem occur?
I found the problem. The problem is [CODE] option. I don't know why this causes the problem, but [CODE] works correctly after I remove the option.
0
0
251
2013-12-26T12:24:39.290
database_errors
dba.stackexchange.com
654,163
Folder Redirection DFS Slowness
Currently performing a project to migrate all users from mapped drive home folders to redirected folders (Documents). Having a strange issue at the moment whereby users redirected folder Documents is really slow (locally) even browsing through folders can take several seconds just to populate the list of files. I have ...
I have also had the similar issue in my setup and seems to due to below issue http://support.microsoft.com/kb/2610379 During low network latency, we have faced slowness, we didn't observe it clearly at first. But when we look at the logs, we have found that the problem is the latency. Also if the slowness is observed o...
7
1
3,793
2014-12-22T11:06:40.230
database_errors
serverfault.com
806,904
Nginx HTTP/2 performance worse than HTTP/1.1 with TLS
I'm trying to configure nginx to serve a small, completely static site. Without HTTP/2 enabled, I get this graph in Chrome developer tools: Here, we see very good TTFB and good throughput on the files. Starting from the seventh request though, we get some queueing on the browser's part because of its 6-connection limit...
An HTTP/2 server can behave differently than a plain HTTP/1.1 server. For one thing, the HTTP/2 server can see all the requests originating from the same client, and prioritize some of them differently.
0
0
1,402
2016-10-04T06:36:24.560
infrastructure
serverfault.com
128,749
How to prove an application is built on a bad codebase?
I'm currently reviewing a system built by some developers that previously worked at my job. The system works pretty well from a user's point of view, but when delving into code review it's a utter mess. I'm more than convinced that the way the application is built won't hold up for future updates, let alone high increa...
'But it works now' is the standard management response to the legitimate frustrations of software engineers. The first thing I would do would be to compile the documentation (if any) and use that to demonstrate contradictions between the code and the documentation. If you can, put together a comprehensive suite of unit...
23
22
3,380
2012-01-06T07:52:10.673
api_errors
softwareengineering.stackexchange.com
305,697
MySQL 8.0 timestamp CURRENT_TIMESTAMP sets date to '0000-00-00 00:00:00' (was ok in 5.7)
The table T has this field [CODE] In MySQL 5.7, doing an update of a record and setting [CODE] was automatically setting [CODE] to the current date-time [CODE] But doing the same in MySQL 8.0, gives [CODE] How can I fix that, is this a MySQL bug, or a new setting (or a change in behavior)?
Probably late, but you were on the right track with [CODE] . The key fact is that this variable defaults to [CODE] in version 8.0 , but it defaulted to OFF in v.5.7 .
0
2
3,786
2022-01-06T04:23:03.813
database_errors
dba.stackexchange.com
493,238
clever way to update iptables firewall without clearing the counters
can I somehow reload firewall rules using iptables-save definition, without clearing the current runtime version counters? I want some way to only add and remove different rules and keep the old ones in place with counters intact. iptables-restore -n is not clever enough. has anyone solved this issue before? my monitor...
There are many options, you just need to change how to manage the firewall. A couple ideas Don't 'reload' the firewall. Issue commands to add/insert/remove rules as required. Re factor your firewall so the counters are in a separate chain from the filtering rules. Don't flush/update that particular chain. Use iptables-...
0
1
782
2013-03-28T15:29:41.840
database_errors
serverfault.com
165,644
Is there a way to publish IOS app from windows/Linux?
I have been using Linux (especially, Ubuntu) and Windows 7 for a long time. I want to publish iOS apps, but I don't have a Mac or an iPhone. I don't have anyone near me who will lend me a Mac, and I don't actually want to buy them either. So my question is: how do I publish my iOS app from Windows or Linux? I am not re...
Basically, Apple's policy is that in order to develop for iOS, you need a Mac. They have all sorts of reasons for doing it that way: increased sales on the desktop market (which isn't exactly Apple's cash cow), controlling the development platform, better brand exposure, you name it. Now, there may be tools to develop ...
8
16
16,315
2012-09-21T09:18:59.490
api_errors
softwareengineering.stackexchange.com
175,136
Database free space not being reused
At the company I work for, we have encountered a problem where it seems that SQL Server 2008 R2 is not correctly calculating the free space in databases. As such databases on that server are growing rapidly in disk space usage when they should not be. We have two database servers running SQL Server 2008 R2 10.50.1600.1...
Rebooting the server has fixed the issue After rebooting Server A the correct amount of free space was showing on the affected databases on Server A. e.g. for the example in the question the affected database that was showing 9% free on Server A and 75% free on Server Z is now also showing 75% free on Server A after re...
2
0
338
2017-06-01T11:22:20.360
database_errors
dba.stackexchange.com
963,377
Windows server 2016 Administrator account has no permissions
I was changing settings around so that users can only use specific applications; however, I didn't realize that it was going to affect admin rights in the same way. The error I'm receiving is this: This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator...
Try this: Press Control-Alt-Delete and select Task Manager. In the File menu, select Run New Task and enter [CODE] as the name of the program to run. Make sure you select the "Create this task with administrative privileges" checkbox. You should then be able to disable the "Run only specified Windows applications" sett...
1
1
3,037
2019-04-16T20:59:50.710
infrastructure
serverfault.com
275,992
why my union index not working in MySQL 5.7
I create a union index in my table like this: [CODE] this is the created result: then I using this to see, but not using the index: [CODE] this is the explain result: why the index not working? what should I do to fix it? created a single [CODE] index? the a,b,c index will work with the left match rule a.This is my tab...
If more than about 20% of the table is being extracted, the index is a waste of time. To see this, try a smaller range. The explain 585K of 705K rows will be extracted. The bouncing back and forth between the index's BTree and the data's BTree is not worth the effort. It is much faster to simply scan the data, ignoring...
-1
1
194
2020-09-24T02:22:56.987
database_errors
dba.stackexchange.com
274,593
Seperate value of a specific column with "," delimiter in Oracle using "Regular Expression"
I have a table with below structure: [CODE] Example Data : [CODE] I want to have this output: [CODE] what I've written so far is this : [CODE] I want to know if there is better way of writing this query and Will this solution produce false result ? Thanks in advance
Such an approach makes sure you don't get too many duplicates as your query does (so you removed them with a [CODE] in line #4; without it, you'd get 12 rows as a result): [CODE] However, as you want to have only one [CODE] combination, [CODE] in line #6 has to be uncommented.
0
2
128
2020-08-29T09:36:56.477
database_errors
dba.stackexchange.com
385,206
Database Schema for a multiplayer quiz game
I'm trying to accomplish this scenario : There are 2 types of users, let's say [CODE] and [CODE] , and there have different roles. Admin can do a [CODE] of questions, and also can create a room where the users can join to play together (this is just a name) but maybe is a good idea to create more attributes inside of i...
Your question is not clear. You are making many general questions, which makes any answer very difficult. I propose to atack the problem in small pieces, and solve each. A few remarks that came to my mind: your user collection should have a field with the type of user so you know what rights each user has. you can have...
-3
0
891
2019-01-09T17:47:54.963
api_errors
softwareengineering.stackexchange.com
391,978
Hyperic is causing performance problems
Currently we are using vFabric Hyperic 4.5.2.2 to monitor a number of systems. The alerts and such were setup prior to my joining this team, but I have been looking at ways to improve them, namely minimize the impact of the monitoring on the production servers without compromising sufficient coverage. I've noticed that...
I had a similar issue with hyperic 4.1.1. After running fine for 2+ years, we started seeing high cpu use. We isolated the issue to the agent. In our case, we were using the agent with the embedded jre. We installed the v6 build 35 jre, and set HQ_JAVA_HOME : (Note: Do not set this var to the java bin dir. Rather set i...
0
0
392
2012-05-23T18:31:55.493
pipeline_ops
serverfault.com
149,394
How to catch erroneous SQL operator
We have 3-rd party application. In one of the reports it gives us error message: Microsoft OLE DB Provider for SQL Server: Subquery returned more than 1 value. This is not permitted... I need to find which statement causes this error. The report duration is quite long - about several hours. I want to setup extended eve...
In this instance, if you wanted to use XE you can grab it through "sqlserver.error_reported". The error number for a subquery returning more than one value is 512 - so we can filter on ONLY error numbers of 512. XE Session Code: [CODE]
2
1
98
2016-09-12T10:13:36.420
database_errors
dba.stackexchange.com
1,000,782
Setup local network to bypass device limit and other annoyances
I've prepared a little illustration to visualize my current situation: I have no admin access to the router which provides the internet access (I can't change any of its settings) Every time I connect a new device, which wasn't connected within the last 30 minutes, I have to login via a hotspot login mask with my crede...
This is all in theory since it depends how the wifi-hotspot manufacturer works: 1) set up a Wifi-ethernet bridge using a Ras Pi https://pimylifeup.com/raspberry-pi-wifi-bridge/ This would connect to the wi-fi hotspot router as a static device. A troubleshooting pain point would be validating that the client authenticat...
-1
1
1,822
2020-01-28T16:08:07.270
infrastructure
serverfault.com
25,316
What should a Software Tester do to become more valuable and helpful for the Development Team?
When I write detailed defect descriptions or bug reports, then my team's Development manager feels satisfied. What are few things a blackbox tester can do to help the Developers become more productive and fix the defects easily? One thing I observed that made my Development team concerned was when I reported important ...
It is very admirable for you to consider a tester's role from this perspective. The hard cold fact: No one is happy when there is a bug found in their code. Imagine yourself as a developer, you have done coding, you have done unit testing and you feel pretty good when you check in your code. How would you feel when som...
27
26
4,529
2017-02-05T09:49:19.247
data_quality
sqa.stackexchange.com
84,730
Cannot open TUN/TAP dev
Can someone please help me with this? I have a linux 2.6.9 server (I know it's outdated, but it has some special modules and so kernel cannot be updated/recompiled/etc), and I need to have a tun/tap interface on it for openvpn to work. Anyway I get an error Cannot open TUN/TAP dev. I tried running mknod command and it ...
depending on your kernel you might need to [CODE] if it turns out you do not have such module available - you'll need to upgrade / recompile your kernel [ it's good idea to do anyway 2.6.9 is quite ancient and probably vulnerable ]. the easiest way is by taking appropriate package from the distribution you are using.
0
1
8,136
2009-11-14T16:42:27.707
infrastructure
serverfault.com
342,757
Sharing parts of a monorepo
We currently have a complex and inefficient build system consisting of many SVN and Git repos (about 50% each), including one which is a git submodules repo. We also have homemade scripts that manage more or less well the whole thing. A major point of our (closed-source) codebase is that it is tightly coupled, and ever...
From your description, I think you have a couple options here: Use git submodules - with a service like GitHub (or anything else), you can manage permissions per-project and decouple your deployment process. However, I've heard that git submodules end up being a huge pain over time. Automated scripts for cleanly reinit...
13
3
1,237
2017-02-22T15:19:29.380
api_errors
softwareengineering.stackexchange.com
361,450
Use of optional parameter for execute in try block?
I observed a dubious design pattern in some C# code today used in several methods: [CODE] I am wondering if this design pattern should be discouraged, and if so for what specific reasons. My own intuition tells me that these are possible concerns: Masking errors without taking meaningful action Encouraging the use of e...
The aspect of this that I'd say is the pattern to avoid, is the use of a flag argument . The [CODE] completely changes what the method does, so make it two methods: [CODE]
1
7
292
2017-11-29T00:20:22.140
api_errors
softwareengineering.stackexchange.com
245,739
SQL Server - Log file not shrinking in AlwaysOn group
We have three-node AO setup in SQL Server. Primary node, one secondary node in Sync mode and another secondary node in Async mode. Main Database on Primary node, log file-size is 434GB, Used 99.91%. Log backups is happening every hour only on Primary node. Ran following query on Primary and Secondary servers. [CODE] Re...
The issue is resolved. Apparently one of programs connecting to same large DB had been running for more than 24-hours, seemed it was in "hung" state, had several open connections to secondary replica-DB caused blocking. I guess that was causing not completing log replication from primary to secondary, because when I en...
0
1
3,820
2019-08-20T05:46:14.870
database_errors
dba.stackexchange.com
408,915
Linux Opteron system appears to be UMA but should be NUMA
According to numactl, this dual CPU Opteron box is UMA rather than the expected NUMA: [CODE] I think it should be NUMA because there are four 4-core CPUs*. As I understand it, each CPU has its own memory channel; if a CPU needs to access memory in a non-local node, it must use hypertransport, which costs more time than...
The BIOS is hiding the NUMA reality behind the [CODE] setting. Setting that to Disabled will give you a true NUMA system as far as the OS is concerned. Not many systems really use NUMA effectively, which is why motherboard manufacturers default to make everything equally slow rather than, let the OS figure out what nee...
2
1
1,189
2012-07-18T17:14:17.963
infrastructure
serverfault.com
761,182
How does the Profile Manager send Clear Passcode command get to the iDevice?
We use Apple's Profile Manager MDM. Occasionally a user will forget the passcode to unlock their iPad. We should be able to user Profile Manager to clear their passcode. However, I've noticed that "Class Passcode" tasks never seem to complete even though the iPad has a WiFi connection. So what I'd like to know is how t...
All MDM traffic goes over the Apple Push Notification Service. In particular, to get iOS devices (and Macs!) to be able to receive from APN, they must be able to make outgoing connections to TCP port 5223. You can allow outgoing traffic for this destination port to pass without being redirected to the captive portal, a...
1
2
539
2016-03-03T02:02:54.423
api_errors
serverfault.com
1,155,484
GitHub action runner with containerd - /var/run/docker.sock not found error
I'm running a GitHub self hosted action runner which uses the [CODE] cli but the host I am running it on is using [CODE] as the runtime. [CODE] is installed, except there is no active [CODE] . How can I fix this so GitHub action runners work? [CODE] [CODE] [CODE]
Indeed, when [CODE] was installed and upgraded the [CODE] systemd service was disabled. Simply doing [CODE] fixed the issue.
0
0
209
2024-02-29T18:23:39.523
pipeline_ops
serverfault.com
83,455
Moving a SQL Server TempDB of AlwaysOn members
We have two SQL Server instances on Azure Windows virtual machines. Always on availability group is configured between them. We need to move TempDB on both instances, is there a risk that something can get corrupted regrading data and availability group listener or we can simply execute instructions from MSDN instructi...
is there a risk that something can get corrupted regrading data and availability group listener No, tempdb is recreated when SQL server restarts. If your tempdb is large, Make sure to enable instant file initialization for data files only. The instructions are fine and follow the comment that I put in.(will add it in a...
2
1
1,422
2014-11-24T10:28:56.740
database_errors
dba.stackexchange.com
476,348
Distributed image storing/serving on a budget
I'm unsure of how to provide a fault-tolerant solution when serving uploaded files. I have a single load balancer, with two servers (webserver1, webserver2) as nodes, both running Apache2, and a database that is accessible by both nodes, but not the WAN. The webservers shall eventually be scaled, and the database shall...
In this situation, I like to use dedicated NFS servers... Concerns about single-points-of-failure can be offset with certain design decisions... What are you trying to protect against? Component failure? Server failure? Network outages? Where is this setup hosted? A data center facility? An office? The cloud? Will ther...
2
0
205
2013-02-07T09:39:30.463
database_errors
serverfault.com
49,999
Including a GPL-license library in a commercial Java program
I am in the process of helping develop a commercial Java program. We want to use a certain third-party LookAndFeel in the GUI. The problem is that the LookAndFeel library is GPL licensed. Since we are planning to sell our product, would it be legal to use that GPL LookAndFeel in our product? The LookAndFeel in question...
If you're willing to abide by the terms of the GPL, then yes it's legal. But chances are if you're selling a commercial app, releasing the source to any Tom, Dick and Harry who buys a copy is a non-starter. If you're not willing to release your source code to anyone who uses it, no you can't license the library under t...
8
18
7,019
2011-02-21T03:43:47.567
api_errors
softwareengineering.stackexchange.com
1,105,472
Installing Windows 10 on Hetzner Cloud (but not Dedicated) server
I am looking for a tricky way to install Windows 10 on Hetzner Cloud (but not Dedicated) server. Hetzner don't provide any ISO images for consumer-grade OS, including business desktop editions. Even though Microsoft allows VM/Cloud usage of Windows 10 (licensed per user or for development purposes), Hetzner refuses lin...
someone on Reddit posted this: https://docs.hetzner.com/cloud/servers/windows-on-cloud/#example-instructions However, the only Windows OSes officially supported are:
3
0
5,563
2022-07-13T11:41:57.397
infrastructure
serverfault.com
471,596
How To Get Rid of Lotus Domino/Notes (8.5.2) Execution Security Alerts
Usually after bugfixes on my Notes applications, we would often receive complaints that the applications were not sending notifications, not updating as expected, not able to access certain modules of the applications, etc... Eventually, we found out that they were caused by the users clicking through when the Executio...
You should setup a special user account whose sole purpose is sign code with the rights to run. You then lock that in the policies so it can only run ny default. Details here. http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.help.domino.admin.doc%2FDOC%2FH_DYNAMICALLY_PUSHING_ADMIN_ECLS_...
1
2
1,909
2013-01-23T03:42:59.287
infrastructure
serverfault.com
517,202
"From:" e-mail header spoofing - how to verify such mail?
I'm facing a problem of verifying a "From:" message field in e-mail messages, in terms of e-mail spoofing. I am currently using SPF and DKIM to verify the origin and integrity of messages, but as far as I can work out, SPF only validates the "Return-Path" header, which is not displayed to the end user in any way (via r...
There can be quite legitimate reasons for the From:-header to not match the Return-Path:-header. One example is mailing lists - the return path should be to the list server (which will manage bounces, to the point of possibly removing bad addresses from the list), while the From:-header should be from the person actual...
3
1
1,671
2013-06-20T09:39:33.950
infrastructure
serverfault.com
72,865
reduction of sample from videos sample
Well, I post the same question in the main stack before finding the right place, sorry. A friend of mine is working with more than a 100 videos as sample for his neural network. Each video last more than a couple of minutes with around 24 frames per second. The objective, using deep learning, is to detect movement thro...
Reduce the size e.g. using [CODE] Compress the image (it is not lossless) e.g. [CODE] Lower the frame rate Use lower precision - images are [CODE] when loaded, but the deep learning frameworks use [CODE] by default. You could try [CODE] or mixed precision. Using JPEG compression has been shown to be fairly good in term...
1
1
97
2020-04-23T14:18:19.083
data_quality
datascience.stackexchange.com
1,036,764
Ghostscript stopped working
Any gs command will return: WARNING: PID lock file exists /tmp/php-system-call-queue-gs-lock/pid but is empty! And will just close the connection, I guess that it's stuck on a queue job, is there any way to fix this or restart Ghostscript service ?
If there's no PID in the file, then just delete it.
0
1
192
2020-10-07T12:11:55.520
infrastructure
serverfault.com
396,495
Node app crashes after a while on micro EC2 instance even with supervisor
I'm using supervisor to start my node.js application on a micro EC2 instance. However, the app only stays running for some time until it eventually shuts down. Not exactly sure how long the app stays running but I'm guessing for about a few hours or so. Sometimes less. My question is where on the remote server should I...
You can try to get node log using this supervisord configuration. After a crash, you will get what really happened. Provably the error might be because node crash for some unexpected error. Try to use console.logs [CODE]
1
1
1,720
2012-06-07T14:49:24.713
infrastructure
serverfault.com
121,683
Schema Migration: SQL Server Data Tools vs Liquibase and Flyway
This might seem like a stupid question, but I've been looking into open source solutions for schema migration, namely Liquibase and Flyway. However, my boss told me that SQL Server Data Tools (SSDT) achieves the same job. I'm not sure if agree, but I can find very little on the Internet that directly compares it to Liq...
SSDT is comparable to Liquibase/Flyway as it does what they do but by taking a different approach. With SSDT you have the development environment so you get things like go to definition, find references and intelli-sense as well as the ability to compile a project into a dacpac and then deploy that dacpac to a database...
11
19
11,868
2015-11-20T13:21:59.250
database_errors
dba.stackexchange.com
95,619
Unable to make the session state request to the session state server
For about 4-5 months now, I seem to be having this sporadic issue--mainly during our busiest time of the day between 10:30-11:45AM, where all my Windows 2003 web servers in a Microsoft NLB cluster start throwing session state server errors. A sample error is below. [CODE] Now I'm using ASP.NET State service on a centra...
We started having issues with .net apps communicating to a remote .Net State Server when MS patch KB967723 was applied. You might look and see if you have that patch applied to the web server and try backing it out.
0
1
3,405
2009-12-18T06:16:59.520
database_errors
serverfault.com
540,353
SCCM Global Condition WQL Query Type Mismatch (wbemErrTypeMismatch - 0x80041005)
We have been handling all of our targeting logic for Packages (and now Applications) with Collections. Now that we have moved from SCCM 2007 to SCCM 2012 SP1 it was recommended that we move that logic to the Application-Program model and implement it using Global Conditions and Requirements. This has a number of positi...
The Global Condition dialog is probably the most unintuitive part of SCCM I've seen so far. Give this a try: recreate your Firefox 2 Global Condition the same way, but this time in the WQL Query Where Clause field at the bottom, put: [CODE] In the Requirements tab of your Application's Deployment Type, use the Firefox ...
8
1
11,186
2013-09-20T01:20:00.630
pipeline_ops
serverfault.com
323,778
haproxy failover with process monitoring?
I know some people are using keepalived and heartbeat for active/standby but what action is taken if the haproxy process were to die? What would be nice is if the virtual IP would switch servers if the haproxy process were to die and/or a networking issue were to occur. We are currently investigating heartbeat and coro...
Thank you Kvisle and Kyle! We ended up going with keepalived since, as Kyle mentioned, it is the haproxy creators recommended solution. Keepalived includes the ability to run a user-space script of your choice and determine resource availability based on exit status. So you can very easily accomplish failover with proc...
1
0
1,772
2011-10-21T20:50:41.400
pipeline_ops
serverfault.com
288,503
Containing the GPL inside an external service?
Not asking for legal advice, just educated intuition. Lets say a programmer creates a program to provide a service, for instance (hypothetically) face recognition. User logs in, uploads pictures and the program informs their friends that a picture of them was uploaded (or whatever). Now the programmer finds another GPL...
The intention of the GPL is to ensure the maximal possible freedom for the (end-)users of GPLed code. Therefore: you may freely use GPLed software, even in closed source applications. The GPL does not require that you open-source your code. when you re-distribute/convey GPLed software, you must use the GPL license so t...
4
4
229
2015-07-02T11:21:24.167
api_errors
softwareengineering.stackexchange.com
536,709
Why can't cron access a CIFS share using Kerberos authentication?
I'm on CentOS 6.4. Using kstart I have a TGT kept active using the machine account (ie computername$) from Active Directory. The ticket cache is assigned to root and is located at /tmp/krb5cc_0. I mount.cifs as root using sec=krb5. This works and I can browse the share. The problem is that while a user can browse the s...
Cron isn't using the ticket cache, either because it doesn't know to ( [CODE] isn't set or passed to the job) or it can't read the cache (permissions on the cache prevent the user the job is running as from reading it).
1
1
2,912
2013-09-05T18:16:49.867
api_errors
serverfault.com
171,847
MySQL failed to start after killed a long running "LOAD DATA INFILE" process
I killed a MySQL process which is running a [CODE] command to load a 9GB .csv file into a table in a InnoDB database. Now, when I run [CODE] , it just stopped and showed [CODE] What can I do now? I guess it's doing some repair and cleanning work caused by the interrupted [CODE] command. Solution: I tried [CODE] but I d...
Reading table information can be an intensive process depending on the size or load on the database. While you killed the system process running the MySQL command, you likely did not have the MySQL connection terminate. Run [CODE] or just [CODE] , look at the process list with [CODE] and if you want the connection to t...
1
1
2,321
2010-08-18T14:00:36.727
database_errors
serverfault.com
1,042,472
Jenkins Github Branch Source Plugin Failing with Github Token after today's Github auth changes
I am currently facing an issue with Jenkins <> Github integration due to today's Github auth changes deprecating user/pass auth and the current Github branch source plugin. Deprecation info: https://developer.github.com/changes/2020-02-14-deprecating-password-auth/#removal Plugin: https://github.com/jenkinsci/github-br...
Exactly same story here. Your post inspired me to dig deeper and I found a solution. Go to the "System Configuration" (sorry, my Browser is set to german and I don't know the exact wording) and create new credentials for the GitHub server in "Secret Text" format. Use the Personal Access Token as secret and give it a de...
1
3
1,004
2020-11-13T19:55:49.307
api_errors
serverfault.com
122,391
alter authorization in SQL Server
I will to made a database diagram in my SQL Server Management Studio. But I have this warning that said: Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the [CODE] statement to set the ...
I have found it whit a hint from @JeffersonB.Elias. I've execute this code: [CODE]
0
2
10,387
2015-11-29T14:34:18.947
database_errors
dba.stackexchange.com
229,857
SQL Server 2016 still uses mixed_extent_allocation in TempDB
Today I was troubleshooting a problem on TempDB on SQL Server 2016 SP2 using extended events and added the mixed_extent_allocation and transaction_log event to my trace. I expected mixed_extent_allocation wouldn't show up in my results because following query returned 0 as result: [CODE] But to my suprise this event sh...
According to this post , IAM pages are still allocated from mixed extents, even in SQL Server 2016. So this will be the mixed_extent_allocation I saw in my trace. The blog post by Paul Randal provides some more internals explanation. Thanks to Scott Hodgin for pointing me to the article. I did soms more research about ...
4
2
476
2019-02-15T14:37:14.007
database_errors
dba.stackexchange.com
302,920
Why backup db is of more size than restore db which was restored from backup?
I got a 42 MB .bak file, when restored, the database size is about 2048.00 MB. When I do backup for this DB .bak file size becomes 277 MB . Why .bak file size increases? I do it immediately after restore for test. Please find RESTORE SCRIPT : [CODE] BACKUP SCRIPT [CODE] General Info
By default backups are uncompressed. So it would be expected that if you restored a compressed backup and then took an uncompressed backup of the restored database the new backup would be bigger. Like a few other defaults in SQL Server, it's the default not becuase it's optimal, but to match the behavior of older versi...
0
5
794
2021-11-20T16:29:19.120
database_errors
dba.stackexchange.com
748,746
ASA 5505 blocks users
I have recently installed an ASA 5505. But now i have users that are being blocked/kicked from the internet. What can i do to prevent this? Here is the running config: Result of the command: "sh run" [CODE]
under the policy-map "global policy" enable http inspection also. HTTP in basic operation, i dont think require any inspection via Firewalls, though, in my personal experience I have seen this and thought that might be the case for you even. Try to make that enable and let me know the results.
1
1
48
2016-01-13T09:56:48.840
infrastructure
serverfault.com
498,327
Update nagios from 3.3 to 3.5 on a fedora server
I am currently using a Fedora 15 server and I have Nagios 3.3.1 installed already. I want to update it to 3.5.0. How can I do that? Tried to do fresh installation using the steps of http://www.linux4beginners.info/?q=node/nagiosfedora . But it gives me an error when I [CODE] [CODE] How can I update Nagios or fix the ab...
I suspect this isn't the answer you want to hear, but you should upgrade the underlying OS as a matter of urgency; Nagios will then follow suit. Fedora 15 is end-of-life, isn't supported any more, and hasn't been for the best part of a year. F16 is also now end-of-life and unsupported. F17 is currently still supported,...
0
2
257
2013-04-11T09:16:20.767
infrastructure
serverfault.com
45,856
Execute a Jmeter process as a Azure service?
I there anyone who has configured a jmeter task (which will run for more than 20 -30 hours) as an azure service. The issue I'm facing is at the moment I'm running Jmeter tests on an Azure VM. Some time it's hard to use that VM due to high resource utilization and the cost of the VM. So is there any other way to run my ...
I ran into an issue where the Cloud Agent would timeout after an hour and so I just spun up a VM on Azure and used Windows Task Scheduler to run the tests each night and upload the results (via Git). The results viewer (under Test Plans > Runs) in Azure was setup to pull those results from git. To add those results I s...
1
1
42
2020-09-30T05:42:55.303
pipeline_ops
sqa.stackexchange.com
336,211
Trying to grasp the logic behind a complete DNS resolution and respective sequence of actions
Say we have a domain "example.org" and it has an authoritative name server with name "ns1.example.org" with a glued IP as delegated by domain registrars (delegative?) name servers. Someone types example.org into their browser: Request is passed onto the ISP's DNS server. When the ISP's caching name server(s)/local cach...
Glue records are in-zone A records for the NS records of the zone. Hence, they are only required when the NS records lie in-zone. If the NS record points to an out-of-zone hostname, no glue is permitted , since the NS record points to a hostname not under the purview of that zone. Always start with the fundamental fact...
2
2
301
2011-11-30T13:55:27.623
infrastructure
serverfault.com
76,111
Forwarded Emails replace attachment with winmail.dat
Were having a problem where sending emails with attachments from Outlook (connected to exchange) works fine, receiving these emails works fine, however if someone then forwards these on to someone else, then the attachment is replaced by winmail.dat. This happens when forwarding to both internal users and external.
Make sure that your clients are not using Rich Text for the email format. This is the default if you use Word as your email editor, but it can be switched to HTML format instead. Here is the Microsoft explanation for this. Here is the search on Microsoft support if you have other environments not covered in the first o...
1
0
2,159
2009-10-19T20:56:37.430
infrastructure
serverfault.com
1,008,693
Prometheus node_exporter metrics - huge spikes in Grafana
Our setup includes: a few Debian 9.12 nodes with Prometheus node_exporter v. 0.18.1 installed as service Prometheus server v. 2.14.0 (on Windows Server 2016) scraping the metrics from nodes Grafana visualizing metrics Basically, our load could be volatile so we'd like to capture details so currently we are scraping met...
[CODE] The values are going backwards, which is treated as a counter reset. This would usually indicate a kernel bug, however given that the values are only one millisecond apart I'm going to guess that what's happening is that you've failed to mention the key detail that this is in fact the merged data from two differ...
5
2
1,282
2020-03-27T14:20:33.977
data_quality
serverfault.com
300,958
MySQL is hogging my server resources
Does anyone have any idea of what can cause this weird behaviour and how I go about fixing it? This is all coming from MySQL only (both RAM and CPU usage), for about 10 minutes after I reboot my Java game server (that has a pool of 256 connections). There are not that many queries and I think it may be more of a MySQL ...
A few things you can try to narrow down the issue: Check all system logs for relevant messages. I'm not familiar with Windows servers but at least the event log and MySQL's log file. You can also try outputting warnings to the log with [CODE] . Check the MySQL process list with [CODE] during the startup to get a better...
1
2
553
2011-08-14T11:06:24.287
api_errors
serverfault.com
317,869
Why can't be "real" custom exceptions be created?
By "real" I mean Exceptions that would work as the ones predefined by the system. I mean for a custom exception you have to use the reserved word throw CustomException once you have checked the condition that might cause the Exception, but if you have done that there's not that big o f a need to throw the Exception, yo...
The predefined exception does not work as you describe. When a predefined exception is thrown, it is just because there is a [CODE] -statement somewhere indside the framework library, which is called as part of the regular execution path. If I understand you suggestion correctly, you propose that a exception class shou...
-3
6
207
2016-05-08T12:06:14.843
api_errors
softwareengineering.stackexchange.com
683,613
Can mailman/exim reject nonmember postings at connection time?
I am using Mailman with Exim. When a nonmember posts to a mailing list, Mailman can be configured in any of the following ways, each of which has a problem: Accept it -- this distributes spam to all the list members. Discard it silently -- this is frustrating and confusing to people who send mail from a secondary addre...
This is certainly possible. Just to give you a hint: You may use $run and $runrc in the ACL at rcpt stage. See the section 5. after "${run..." under http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html . You do have to write a script though, which invokes "list_members mailinglist " or you...
2
1
103
2015-04-17T17:37:33.990
infrastructure
serverfault.com
328,714
MySQL 5.7 to MariaDB 11 migration index problems
I'm having a problem with one big SQL. We're migrating a MySQL 5.7 database to a MariaDB 11, and the majority of queries are running faster, but i've problems with this one, and I don't know how to solve it. I can't show the very big query to you, but I've found the part of the query is running bad, maybe with this you...
This is as naughty as [CODE] , but it may help: [CODE]
0
0
126
2023-06-28T08:13:31.770
database_errors
dba.stackexchange.com
282,945
MySQL count rows from other table AND get most recent title
I have a situation which can be boiled down to the following: TABLE students COLUMNS id, name, email TABLE attendances COLUMNS id, student_id, event_id TABLE events COLUMNS id, name, date_of_event I want to be able to see all the students, and how many events they've attended, so I have: [CODE] RESULT Jane Doe | jane@u...
You could do something like this (see fiddle here - it shows development of all stages of the query). There is a small possible flaw in your design - see discussion and (slightly changed) DDL and DML in an alternative schema available here (with slightly changed SQL also!). In future, could you please provide us with s...
0
1
417
2021-01-10T14:42:00.773
database_errors
dba.stackexchange.com
684,491
binding issues with multiple web services
We are running a continuous integration server with the following software: Windows Server 2012 (AWS EC2 Instance) TeamCity 9.0.3 Youtrack 6.0 Collabnet Subversion Edge 4.0.14-4110.144 Octopus Deploy 2.6.5.1010 All software is up-to-date version wise. Appropriate firewall exceptions are in place. When we installed Octo...
Reading this post in Octopus Deploy Support made us go back over all of our port/address/permissions everywhere (again). The hole is correctly punched in the external firewall, but after checking Windows Firewall we found that the external port had not been opened up for inbound traffic. After adding the inbound rule, ...
0
0
405
2015-04-21T22:42:35.723
infrastructure
serverfault.com
338,723
Is there a way to see how many operations a function, block of code or a statement costs?
Let's say I have a phone that can process 1 million operations per second and a micro controller that can perform 1000. Is there a way to tell how many operations a performed by a function or block of code is performing? I have a function and I can write it a few different ways, an example doesn't matter because I'm ta...
You can kind-of put a bound on the number of CPU cycles a certain instruction takes by looking at the manual for the specific CPU you are interested in. E.g. Intel publishes instruction manuals for every single CPU they make. However, this obviously only works with instructions the CPU understands, i.e. (in the case of...
0
7
2,028
2016-12-22T21:12:24.757
data_quality
softwareengineering.stackexchange.com
159,242
How can I host 2 websites from 1 server? (IIS 6.0)
I have an IIS 6.0 webserver from which I have to host 2 websites. The websites need to be https enabled. I am considering the below 2 options. Order 2 virtual IP address for the server and host the website in each IP (Don't know if this is possible) Assign different ports to the websites (say 443, 444) Can you suggest ...
Ok, 2: seriously? ;) You mean everyone entering "https" for the site gets the wrong one? For anything public using the stadard ports is basically the ONLY real option. 1: yes, exactly. Possible? Well, do not ask here (noone here knows). Ask you HOST. it is TECHNICALLY possible (heck, I have half a C network on one comp...
0
3
185
2010-07-10T18:37:06.140
infrastructure
serverfault.com
300,229
To god (class) or not to god?
I'm working on a project that requires several different users in the system, all of which have overlapping responsibilities; we've isolated two possible ways of tackling this problem, but we're unsure which of them are the most correct way of going about it. Option 1: Create a virtual super-class for all the user-clas...
Option 3 : Create individual objects corresponding to specific responsibilities, and then have each user hold a collection of these. The collection of responsibilities for a user will contain only the responsibilities assigned to the user, i.e. you don't need an object to indicate the lack of a responsibility. You worr...
1
3
333
2015-10-19T08:41:54.597
api_errors
softwareengineering.stackexchange.com
822,134
Is attaching a WD MyCloudEx4100 to a HP Proliant DL380 a good storage solution for Exchange data?
We are having a HP Proliant DL380 Gen7 and the all the bays are loaded with drives. The storage is full now and we need to extend the server storage. There is budget issues and we cant afford large storage solution. This storage will be used to save the Exchange related files and we are planning to go with WD MyCloudEx...
Presuming the devices supports iSCSI, then it would be fine as a short term measure. I have run worse. Make sure that you are using gigabit LAN, ideally with a dedicated NIC and switch for iSCSI. You will need to have the Exchange binaries on the local drive - look at only putting the databases on this device.
0
0
56
2016-12-21T20:42:03.827
infrastructure
serverfault.com
302,266
Debugging flaky SSH tunnel
We have a dedicated SSH tunnel server, which supports a few dozen remotely located hosts. The hosts each create a reverse tunnel into the server with assigned port numbers, using autossh to keep the connections persistent. This gives us access to the remote hosts via the server. This has all worked great until recently...
A useful tool here (for debugging network connectivity) is mtr, which is a combination of traceroute and ping. Say you were on your workstation, you would do "mtr {remote-server-ip}". The output is matrix like (rows and columns) and will display the latency and packet loss at each hop between your machine and the remot...
0
1
1,521
2011-08-17T20:42:44.923
infrastructure
serverfault.com
303,546
Does this code solve the square/rectangle Liskov Substitution Principle example?
I just wanted to check that I understand the LSP correctly and can solve it. I am taking the classic rectangle/square problem and attempting a solution: [CODE] If you had some code like: [CODE] Then obviously rectangles and squares are not interchangeable, as square introduces a constraint to the parent class. Therefor...
I'm going to assume you are trying to solve the " Typical Violation " section of the LSP Wikipedia article. If that's the case, you haven't solved it and the section states clearly why. Specifically, start with the setup: "Square class that derives from a Rectangle class, assuming getter and setter methods exist for bo...
6
22
5,346
2015-11-25T13:10:04.587
data_quality
softwareengineering.stackexchange.com
320,197
Lucene index queries suddenly stop working
We are using Cassandra 4.0 version and their lucen jar plugin have used in the lib folder of Cassandra to run the Lucene index queries but internment the Lucene queries are not working. suddenly stop working then we just drop the index and recreate the index on the same table then it works fine. not able find the root ...
Dropping then recreating the index is probably not the right approach since it will only hide the real issue. Unfortunately, your post is not very descriptive and you haven't provided enough information for anyone to be able to help in a meaningful way. A friendly note to let you know that describing the issue as "Luce...
-1
1
55
2022-11-25T13:51:37.090
database_errors
dba.stackexchange.com
51,666
SQL Server 2008R2 Cluster: Spread tempdb over several files AND shrink original single file
On my SQL 2008 R2 active/passive cluster, I've received an error message regarding I/O requests on tempdb.mdf taking longer than 15seconds. Googled that and it as suggested I spread tempdb over several files. I have 2 4-core CPUs and figured I'd spreaad tempdb over 8 files. The current tempdb.mdf is 8GB in size, most o...
Don't know if anyone will read this, but... I performed the rollover this weekend without problems. All 8 tempdb-files are now 512MB. "Case closed"
1
1
295
2013-10-17T10:33:14.007
database_errors
dba.stackexchange.com
318,665
Can I run a second server on a Virtual Machine on my original physical server, or do I need to run 2 Virtual Machines to have 2 servers?
The company I work for has a File Share server running on an server that is running Windows Server 2022. Its a simple setup that just uses Workgroups rather than a domain controller. They use a CAD software called Microvellum that requires an SQL server to host all of their data. The Microvellum website recommends havi...
But, am I able to keep the file share server on the original install of Windows Server, and run the SQL server on a Virtual Machine? I don't see why not, but I also don't know what the CAD software requires. I've never seen anyone just run a single virtual machine, so I'm unsure how it affects performance. It's all dep...
0
1
41
2022-10-24T22:19:25.270
database_errors
dba.stackexchange.com
33,561
Replace the broken file copying UI in Windows 2008 Server 64-bit Explorer
Does anyone know a good GUI alternative for file copying on a Windows 2008 Server 64 bit edition. The built-in GUI has a hopeless interface and is bug-riddled which really hinders the ability to get things done safely. For example, often when moving a directory with subfolders, the directory and its subfolders will sti...
If you open a directory and move all the files and folders from that directory, that directory will remain. That is by design. For truly improved performance of moving data around, don't use the GUI at all. Use robocopy (which is included with Windows 2008) to copy/move data around the system. It's very powerful, and q...
0
1
321
2009-06-30T00:50:26.087
infrastructure
serverfault.com