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
327,644
How to architecture a realtime-heavy websockets-based web application?
In the process of developing a realtime Single Page Application, I have progressively adopted websockets to empower my users with up to date data. During this phase, I was sad to notice that I was destroying way too much of my app structure, and I failed to find a solution to this phenomenon. Before getting into specif...
How to structure the data that is sent from the server to the user? Use the messaging pattern . Well, you're already using a messaging protocol, but I mean structure the changes as messages... specifically events. When server side changes, that results in business events. In your scenario, your client views are interes...
24
12
20,843
2016-08-05T09:17:10.770
api_errors
softwareengineering.stackexchange.com
617,391
Compiling Openresty into a .deb package
I'm trying to compile Openresty 1.7.2.1 into a .deb package for Debian 7 using FPM. Although the FPM compilation is successful and I get a deb file, but when I install it using dpkg somehow the config files are not getting placed in /etc/nginx and obviously when I run /usr/sbin/nginx I get: [CODE] Following are the ste...
You don't need to add any [CODE] options to fpm. Just having the config files located in [CODE] is sufficient. I suspect that pointing those options at non-existing files is what is causing your problems. If you want the Debian standard Nginx config with sites-available and sites-enabled then you need to add the releva...
1
0
1,015
2014-08-02T08:53:43.497
infrastructure
serverfault.com
624,658
Multiple network interfaces, routing configuration. IP rule fails (debian based instances)
I have debian wheezy based instance with 2 network interfaces (Primary, Secondary). My setup flow: vim /etc/network/interfaces [CODE] ifup eth1 ifconfig -a [CODE] Okay, all fine in this point and both private ips (172.31.7.189, 172.31.10.172) is accessible to ping. echo "200 out" >> /etc/iproute2/rt_tables [CODE] route...
Problem solved. I tried to define ip rule for whole network 172.31.0.0/20, that's wrong. When i use private ip from secondary network interface all works fine. [CODE] where 172.31.10.172 is private ip from network interface eth1 Instead of "ip rule add from 172.31.0.0/20 table out ..." P.S. Big thanks to Tomas Nevar
2
1
7,380
2014-08-28T08:06:49.010
database_errors
serverfault.com
194,888
Two ESXi host servers connected to eachother's second NIC
Essentially I have two physical servers (Both identical, both ESXi hosts, each with 2xdual gbit nics) in a private rack in a data center. They will both be running a variety of db/web/storage server guests and each has a large redundant storage array for backing up the other's vm's for redundancy. Each machine has two ...
On each ESXi, create a new virtual switch based on the direct connect NICs. Using the 'Configuration' tab in vCenter on the ESXi, select 'Networking' and 'Add Networking...' Create new 'Virtual Machine' connections. Create a new virtual switch, and associate that switch with the proper NIC. Give the switch a meaningful...
5
8
16,413
2010-10-26T14:04:52.333
pipeline_ops
serverfault.com
845,551
htaccess directory protection in Apache 2.4
I'm trying to work out how to protect a folder in Apache 2.4. I have this part working fine: [CODE] ...but I also want to add the option of allowing me in without having to login. This is what I had on my old server: [CODE] but the new one gives an error: [CODE] Looking at https://wiki.apache.org/httpd/ClientDeniedBySe...
Do not mix 2.2 and 2.4 directives like that. Satisfy/Order/Allow/Deny are all 2.2.x Use 2.4 only and unload mod_access_compat: [CODE] Note: htaccess has nothing to do with directory protection, if you have access to the main configuration files of the apache httpd server, define these all inside a [CODE] tag Note2: For...
2
5
2,424
2017-04-20T15:34:54.547
infrastructure
serverfault.com
684,701
Apache Causing High Load
I'm having an issue with Apache 2.2.15 (CentOS 6.x x64) causing high memory load, to the point of consume 100% of an 8GB swap, and load averages >125. The VM is an Azure A2 VM (2 vCPU, 3.5GB RAM). This has worked wonderfully for quite some time, and my traffic hasn't changed much per WordPress stats. This server also h...
The fix was to follow the instructions at https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-centos-5.2 . Commenting out everything in php.conf. After that mod_fcgi took over handling php in it's own process, rather than in Apache's process.
0
0
395
2015-04-22T15:03:41.547
database_errors
serverfault.com
1,150,107
kubelet breaks CRI standards by running containers in 'k8s.io' containerd namespace?
Kubernetes pods run in the 'k8s.io' namespace of containerd. This 'runtime namespace' concept is containerd specific and not a part of CRI. If kubelet truly follows the CRI standard, then it must not be able to run containers in such containerd namespaces. crictl does not support this 'runtime namespace' thing and ther...
The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.Your container runtime must support at least v1alpha2 of the container runtime interface. crictl provides a CLI for CRI-compatible container runtimes. This allo...
0
1
154
2023-12-20T07:25:10.760
pipeline_ops
serverfault.com
30,447
Non-clustered Index Update not displayed in execution plan
Possible Duplicate: Nonclustered Index Insert I'm trying to work out the cost of having a nonclustered index on a particular table, but I don't see any maintenance cost in the execution plan for an insert. The table looks like this: [CODE] As well as a Clustered index on [SessionID] it has the following non-clustered i...
Try generating an actual plan in Plan Explorer . For a narrow plan the actual costs are not included in the XML, so you won't see those, but you at least have the ability to see that non-clustered indexes are affected. A lot more information can be found in the duplicate question: Nonclustered Index Insert As well as t...
4
3
1,578
2012-12-14T15:20:09.470
database_errors
dba.stackexchange.com
420,222
Identifying Risks/Gotchas When Using Static
I am intending to come from the perspective of development choices, code reviews, and general testing against defined environments (Development, Test, Production, etc.). I will be using C# as the primary coding reference. What I am looking for: Is there anything with the following code change that could have been recog...
When you use static initialization, you give up any explicit control over the order of initialization. If things work, it's for one of the following reasons: the static initialization only involves constant expressions. you've carefully read the language specification, and have concluded that the initialization is guar...
1
2
277
2020-12-20T20:43:44.137
api_errors
softwareengineering.stackexchange.com
1,036,695
Hyper-V memory management
I have a single 2016 Hyper-V server with 2 CPU (16 cores) and 128GB RAM. The server hosts 6 VMs all with static memory allocations. VM1 - 4GB + 2 vCPU VM2 - 4GB + 2 vCPU VM3 - 24GB + 4 vCPU VM4 - 48GB + 8 vCPU VM5 - 1GB + 1 vCPU VM6 - 8GB + 2 vCPU In total, I have allocated 89GB to VMs, leaving approx 30GB spare (less ...
Hyper-V NUMA spanning is what allows a VM's virtual NUMA nodes to span multiple physical nodes. This is bad for performance, when the guest OS is unaware of uneven memory latency. Leaving this off is better for performance, but it has operational complexities. As you discovered, if a guest cannot be placed in one node,...
0
3
436
2020-10-06T23:25:38.017
infrastructure
serverfault.com
372,522
Why isn't ipfw correctly limiting the bandwidth?
I've played around with the ipfw command on a Mac and tried to limit the bandwidth to 1MBit/s. [CODE] These are the statements I'm using. ipfw indeed limits the bandwidth drastically but according to speedtest.net only to ~7.7 Mbps on a 100 Mbps line. With a restriction to 3MBit/s the effective download is ~23.13 Mbps....
Seems like your IPFW treat [CODE] as [CODE] by first significant letters in the units :) Just lowercase to xMbits and probably you'll get what you want. man ipfw [CODE]
3
0
2,191
2012-03-22T18:49:04.700
infrastructure
serverfault.com
538,745
Why fail2ban 0.8 doesn't start properly on Debain 7 Wheezy x64?
Why fail2ban 0.8 doesn't start properly on Debain 7 Wheezy x64? Hi, I'm trying to configure fail2ban to work with APF. But first, it would be great if fail2ban can start. [CODE] /etc/fail2ban/jail.local (Same content in jail.conf) [CODE] fail2ban.conf [CODE] It's important for me to set it fast because China like my se...
Had the same problem. There a some deprecated config params in new version of fail2ban. Following steps fixed that. First uninstall with deletion of all config files: [CODE] After that do reinstall: [CODE] After this steps your config is in default settings and should be edited by your needs.
1
1
3,208
2013-09-13T15:59:14.260
infrastructure
serverfault.com
38,682
Data augmentation for the inputs of CNNs to identify flowers
I want to make a neural network to identify flowers from images like this: or similar images e.g as on https://www.pexels.com/search/flowers/ I want to use a CNN for this as in https://stackoverflow.com/questions/52463538/reducing-memory-requirements-for-convolutional-neural-network My questions are: Which will be bett...
As you've mentioned your task is classification and due to using images, it is better using convolutional neural networks. First I have a suggestion, try to find an appropriate size with the same dimensions for all the images and feed them to your network. you can keep aspect ratio or not depending on the environment y...
2
1
112
2018-09-23T16:36:46.240
data_quality
datascience.stackexchange.com
143,238
Nginx vs Apache as reverse proxy, which one to choose
this kind of question maybe has been asked here but I couldn't find any that really match my question. Heard that nginx performance is quite impressive, but Apache has more docs, community(read:expert) to get help Now what I want to know, how both web servers compare in term of performance, easiness of config, level of...
I wanted to put this in a comment since I agree with the most important point of webdestroyas answer, but it got a bit too long. You're in a VPS environment, this means you're most likely going to be low on RAM. For this reason alone you'll want Nginx as its memory footprint is smaller than Apaches. Also I do not agree...
45
41
48,774
2010-05-19T03:43:36.900
infrastructure
serverfault.com
799,079
Test Kitchen not detecting winrm and uses SSH for windows guest
I'm new to test kitchen with windows I'm testing chef recipes on a windows machine using Test Kitchen with Vagrant (virtualbox) I have [CODE] box that works fine with Vagrant (both winrm and rdp works) But, when using the same with kitchen, it tries to connect SSH instead of [CODE] Here is my [CODE] file [CODE] While r...
Try setting the [CODE] to 5985 (or whatever port you need. For example: [CODE] If this doesn't work try [CODE] and get some more info on why the machine timed out.
3
2
1,604
2016-08-25T13:21:14.743
pipeline_ops
serverfault.com
134,846
PHP Aspect Oriented Design
This is a continuation of this Code Review question . What was taken away from that post, and other aspect oriented design is it is hard to debug. To counter that, I implemented the ability to turn tracing of the design patterns on. Turning trace on works like: [CODE] In the actual log with the trace turned on, it outp...
It doesn't really seem like AOP, because you still have to copy that snippet of code everywhere. It's more encapsulated, sure, but it's still "infecting" your normal business logic. So if setAdapterTrace needs another parameter, or something else like that changes, you now have to change all the other classes using it....
5
2
793
2012-02-13T18:02:48.787
api_errors
softwareengineering.stackexchange.com
213,272
Sharepoint 2007 Document Library - lost ability to rename documents
I administer a Sharepoint 2007 site. All the following occur for any user, including the farm admin user, so I am assuming this has nothing to do with permissions. On one document library only, the Name field is missing from the Edit Properties page for each document. Folders are fine. This means that users with permis...
Is it possible somebody created a custom edit form, and then made it the default edit form for the list? I believe that if you create a new edit form in SP Designer, it doesn't include the name field by default. I would open the list with Designer, and see what the the default edit document is set to, and if there is a...
0
1
1,138
2010-12-16T12:38:59.947
infrastructure
serverfault.com
162,453
MySQL difference between wait_timeout and connect_timeout
I have a [CODE] file. In it I see [CODE] as well as [CODE] . What's the difference between these 2?
Right from the MySQL Documentation wait_timeout : The number of seconds the server waits for activity on a noninteractive connection before closing it. connect_timeout : The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake EXAMPLES If wait_timeout is 1800 (30 Minu...
15
21
52,130
2017-01-27T15:28:29.050
database_errors
dba.stackexchange.com
384,359
Windows Failover Cluster is registering as a domain controller
I have a few services that run as a Failover Cluster. At the moment, all the members of the cluster are domain controllers, but that may not always be the case in the future. The issue I have is that the failover instance has been registered as a domain controller for the domain. Which means that the domain for [CODE] ...
Per a microsoft guide at: http://technet.microsoft.com/en-us/library/cc731844(v=ws.10).aspx As a best practice, all clustered servers should have the same domain role (either member server or domain controller). The recommended role is member server. So... I think you answered your own question... either manually fix t...
2
1
630
2012-04-29T23:56:07.467
database_errors
serverfault.com
288,690
Finding IP of Network Switch
I bought a used Dell PowerConnect 3324 network switch and am trying to connect to it so I can configure it. I have been using as is for a long while not and it works fine but now it the time to get in an look to see how things work. Problem is I don't know the IP that is configured with and thus cannot log in. I have c...
You can use a serial cable to connect to the console on the switch. From there, type enable to go to privileged mode and then "show running-config" to display the current configuration, including the configured management IP.
3
7
241
2011-07-10T00:51:46.913
infrastructure
serverfault.com
765,109
FirewallD is not running in CentOS Linux 7.1.1503
I wanted to add a port 5004 for tcp connection. So I run the command: [CODE] However I got an error: [CODE] So by some research, I run the command to check the status. [CODE] It shows: [CODE] So what I need to do?
Try [CODE]
0
2
17,910
2016-03-21T14:51:56.320
api_errors
serverfault.com
922,884
Event code 3005 ID 1309 - IIS
I have problems with my application after last Windows Updates and ASP.NET 4.0.303. My application has crashed after some minutes, looking in Windows Event Viewer, I found this error log, is the same who appears in my application after ASP.NET error. Somenone, have any idea how i can resolve this? [CODE]
If your web application does not require the last .NET Framework update that got installed, please remove it and then test your application again.
-1
0
15,522
2018-07-20T18:08:00.193
infrastructure
serverfault.com
318,219
Cassandra compaction fails with "Unable to compute ceiling for max when histogram overflowed"
I have a 3 node Apache Cassandra 3.11.3 production cluster running since 2019, now suddenly it has started throwing error as below in system.log. Quick help & resolution will be appreciated. [CODE]
The [CODE] gets thrown when the compaction thread attempts to get the average ratio of droppable tombstones to cells for partitions in an SSTable. It runs into an illegal state when a partition contains more than two billion cells. Another way of putting it is that you have a very large partition (maybe more than one) ...
0
0
404
2022-10-14T06:49:28.553
database_errors
dba.stackexchange.com
4,322
Terraform AWS AZ error - manually specify AZ?
I'm fairly new to terraform and when creating AWS infrastructure I use the following to fetch the 'available' availability zones for my region (us-east-1) where I'm trying to create an EKS cluster. [CODE] However when I run a 'terraform apply', it generates the following error because us-east-1a is at capacity. [CODE] ...
If anyone else has this issue, here's how I got around it. Specify a variable with the availability zones you want to target [CODE] When creating your subnets, use this line [CODE]
6
1
1,942
2018-06-18T09:01:35.093
pipeline_ops
devops.stackexchange.com
427,723
Cross forwarding mail between two users in Postfix?
Say I want users A and B to receive each other's mail under Postfix. Is there a way to set this up as root? My first approach hasn't worked. Namely, under [CODE] , the following: [CODE] causes an understandable forwarding loop. Thanks in advance for your help.
Give user A and B a different login : C and D. Then configure A and B to be aliases for both C and D. To make it clear : A and B wont be real nor virtual users anymore, just aliases. A@example.com will redirect all mail to C@example.com and D@example.com B@example.com will redirect all mail to C@example.com and D@examp...
2
2
160
2012-09-15T14:46:07.423
infrastructure
serverfault.com
183,817
help me for writing an sql query
I want to write a query to select all the rows where the row value changes from previous row. Please see the image attached above. [CODE]
This should work: [CODE]
1
1
406
2017-08-18T09:52:21.720
warehouse_errors
dba.stackexchange.com
358,013
can we use a HP JetDirect in reverse?
I have the following situation I have an Ethernet only HP Printer which I need to connect to a parallel port PC. Could I use an External JetDirect card to connect my Ethernet printer to a Parallel port PC? --UPDATE-- There is an Ethernet port on the PC but it's being used to connect to the Domain. So I can't unplug the...
If the computer and the printer are on the same network, that's your answer; use Ethernet. I'm assuming the printer does not have a parallel port. You won't be able to use the Jetdirect "in reverse".
-3
6
277
2012-02-08T14:33:22.820
infrastructure
serverfault.com
252,019
Error when trying to start iptables
I have tried to install vsftpd and I added this line to my iptables: [CODE] However, when I start iptables. I get the following error: [CODE] And there is only the above line in the [CODE] file - what have I done wrong?
The problem you have is that the [CODE] chain isn't standard so you have to create it. Having a single line in your iptables config isn't ideal either. A fairly basic [CODE] is [CODE] You should add your rule to the above before the REJECT line.
0
2
310
2011-03-25T22:22:44.350
infrastructure
serverfault.com
853,720
DKIM=Fail OpenSSL error: data too large for key size
Below is detailed info on the error. Any help would be appreciated. Thanks [CODE]
The publickey in the DNS (default._domainkey.awp1.com) seems to be a 1024 bit long RSA key ( link to decoded key ) The length of the RSA signature in the DKIM signature (the b-tag, base64 encoded) is 2048 bit. But for RSA, the key size and the size of the signature should be the same . OpenSSL wherefore rightfully comp...
0
2
5,498
2017-06-02T19:46:56.553
infrastructure
serverfault.com
23,540
Mongo connection failing with 'Transport endpoint is not connected'
I have a 2 server installation. A web server with Apache and a DB server with MongoDB. I am load testing it, and on ~300 RPS I am getting this error: PHP Fatal error: Uncaught exception 'MongoConnectionException' with message 'Transport endpoint is not connected'. The only thing I am noticing is that right before the f...
I'd really need to see the mongod logs to be sure here, but the two most common causes are covered by doing 2 things: Check your ulimits on the client and the server (the too many open file s page is a good start) Lower your tcp_keepalive_time from the default (again client and server) For load testing you should just ...
3
2
2,689
2012-08-30T09:34:42.603
database_errors
dba.stackexchange.com
57,121
Creating a VPN Tunnel between website and the server
The machine which is connected in server LAN has the IP Camera Connected. From server the IP camera video feed can be viewable. I would like to view this IP camera from anywhere on the world through internet. So on the webpage i can embed any player like vlc to view. But the problem is the IP camera doesnt have the sta...
Typically what you do in this situation is: Sign up for a dyndns account, such taht webrsk.mine.nu goes to your dynamic IP for the camera. Setup the router to port forward port 8080 to the camera. Now you add a link from your website to http://webrsk.mine.nu:8080 Which will connect to your dynamic/home/lan camera. This...
1
1
772
2009-08-21T12:38:33.310
infrastructure
serverfault.com
414,088
mod_fcgi in virtualmin: graceful kill fail, sending SIGKILL?
Yesterday around 1am, our server ground to a crawl. This doesn't happen often, but I'm trying to get to the bottom of it. There is no unusual traffic volume, no unusual processes running, just all of the sudden the server started killing fcgid processes. [CODE] ... for as many fcgid processes as we have... CPU idle fel...
Modify this file /etc/httpd/conf.d/fcgid.conf and change, FcgidIOTimeout to [CODE] It works for me. Tkx JD
8
7
18,366
2012-08-03T18:03:11.007
infrastructure
serverfault.com
112,873
Microsoft Cluster or Oracle Fail Safe error
Trying to get Oracle Database 10g to work on Microsoft cluster (using Oracle Fail Safe, not RAC). Everything installed, but when trying to verify group or add database to group I get following error: FS-10220: Network name MSK00-NST01-1 maps to IP address 10.1.11.74 in the cluster resource but maps to IP address 10.1.1...
you added a 1 by mistake ( 10.1.1.74 versus 10.1.11.74). Check again in the cluster admin, on the properties of the ip address
0
0
1,418
2010-02-15T08:10:59.303
database_errors
serverfault.com
837,307
SSL_ERROR_NO_CYPHER_OVERLAP error with signed certifcate
My company has supplied a Tomcat/MySQL based application to a customer that by default uses http. At the request of the customer I enabled this to use https by creating a self-signed certificate. This worked subject to the expected browser error when using a self-signed cert. After a pen-test they decided we need to di...
The root cause of all problems was that the certificate was in the wrong format. By following the info here I discovered the cert was actually in DER format. I converted it as follows: [CODE]
6
1
14,409
2017-03-09T16:47:02.407
database_errors
serverfault.com
36,235
Export remote Postgres table to CSV file on local machine
I have read-only access to a database on a remote server. So, I can execute: [CODE] But on that server I don't have permissions to create/save a file, so I need to do this on my local machine. When I connect to the remote database, how can I execute a command to save the file on my local machine instead of the remote s...
Both the approaches already suggested appear to be unnecessarily complicated. Just use [CODE] 's built-in [CODE] command, which works just like server-side [CODE] but does a copy over the wire protocol to the client and uses client paths. Because it's a [CODE] backslash command you omit the trailing semicolon, eg: [COD...
22
37
55,078
2013-03-08T11:28:56.777
warehouse_errors
dba.stackexchange.com
287,557
Group policy not applying to new win7 box
I just took delivery of a new desktop from Dell with win7 pro preinstalled. I removed the preinstalled dell crapware and then installed the software I really needed, ran updates and joined my domain. To my surprise I found that the group policy settings that customized my the home page to the company intranet did not a...
You might want to try running: [CODE] from the command line, or perhaps: [CODE] to run the Resultant Set of Policy tool which will allow you to examine the GPOs that are being applied.
0
2
732
2011-07-06T16:05:44.877
infrastructure
serverfault.com
18,887
Selenium - WebElement.FindElement() Aware of changes to DOM?
Was just reading this question https://stackoverflow.com/questions/26882604/selenium-difference-between-webdriver-findelement-and-webelement-findelement trying to understand the scope of the [CODE] . I have a scenario were I am looking for a radio button on a form and sometimes it is throwing an exception that another ...
If the dom of the element changes whilst doing element.TryFindElementWait() will element be aware of the changes or will it still be looking for an element that may or may not exist in element? Selenium starts finding an element after finishing loading page, so I don't think "the dom of the element changes whilst doing...
8
1
2,360
2016-05-29T11:15:41.497
data_quality
sqa.stackexchange.com
55,832
SQL server agent job built on SSIS package not working
I transferred a job from the old SQL Server 2005 to an upgraded SQL Server 2008 R2 instance, and I scripted out everything, changed the data source and other details... "This job should copy some files automatically from stage locations to active directories" but it's not doing that like it was in the old server! So I'...
I would advice you to upgrade the package by following these steps If after your upgrade you still run in to problems, it could be that your package is using components/drivers that are not available on 64bit. In that case the "easiest" work around would be to have your package use a 32bit runtime. Open de Job properti...
3
2
9,627
2013-12-30T19:31:21.967
database_errors
dba.stackexchange.com
117,154
Fast local backup - Very slow backup via Network
Since last week, i'm having this problem. Backups are taking forever to be done if I make them via Network. If I backup the database to a local disk ( or [CODE] ) it's very fast. It's strange because even with my personal PC I can't make network backups ( there's nothing with the cluster, or configuration that we have ...
You could attempt to backup up the database using compression instead. As long as you have the CPU avaliable, It will definately reduce the time (around 15%-20%) that it takes for your backups to complete. These backups also take less time to restore as well. Good Luck, Hope this helps. Good resource: http://blogs.less...
2
1
978
2015-10-06T11:58:02.093
database_errors
dba.stackexchange.com
475,692
configuring jetty to accept connections from only certain IP addresses
I am using the jetty that is shipped with Apache Solr to run Solr. I would like to configure jetty such that it only accepts connections from certain IP addresses. I know I can bind jetty to 127.0.0.1 to only accept connections from the localhost: [CODE] But how I do set it so that it can accept connections from certai...
You can use the IPAccessHandler that is in jetty 7, 8 and 9 http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/server/handler/IPAccessHandler.html you would wire this up in the handler chain so that it is executed before anything else in the handler chains [edit] also look at the jetty-ipaccess.xml fi...
2
4
11,168
2013-02-05T16:39:28.917
infrastructure
serverfault.com
315,332
Archiving data by semester
The problem is similar to this question , but not a duplicate. What I'm looking for is a better solution than my current one. I'm building a web application for a department in my university, and due to how college works, things need to be archived every semester. By archive, I mean marked as not 'current' so that anyt...
This solution is certainly an acceptable solution, looking at your constraints, and the relatively small size of the database after 10 years. However, the frequency of your archiving shows that the data is inherently time dependent. I'd really put the year and semester or date of validity part of the data. This would a...
1
1
80
2016-04-10T22:00:34.050
api_errors
softwareengineering.stackexchange.com
499,156
High server load after upgrading to MySql5.5
Around 10 hours ago we upgraded our server from 5.0. to 5.5 and currently the load on server is 150 When I do show process list I see a lot of queries with status Waiting for query cache lock And I get following output for SHOW STATUS LIKE 'Qcache%'; +-------------------------+----------+ | Variable_name | Value | +---...
I found the answer on serverfault it self, high load was because query cache was not working and query cache was not working because there was a hyphen in the database name. When I renamed the database without hypen all went back to normal. Reference to the ticket MySQL 5.5.9 Query Cache not working when schemas have h...
0
0
54
2013-04-14T05:07:24.980
database_errors
serverfault.com
298,783
Amazon S3 Permissions
I need to have all my bucket files to be public for view. I have added view permissions to everyone at bucket properties in AWS console. But looks like after that I have to explicitly press "Make public" for the file. Why if I already have rights for it?
Adding this policy to your bucket under the bucket's main preferences will allow global read access to all files in your bucket. Replace YOURBUCKETNAME with the name of your bucket. This will only allow downloading, not listing files or anything else. [CODE] For a starting point for more information see the following l...
0
1
124
2011-08-08T09:52:17.363
infrastructure
serverfault.com
257,144
Running SQL Server Express on Amazon EC2 Windows instance
I created a Windows Server 2008 Amazon EC2 instance with IIS and SQL Server Express pre-installed (using this AMI http://aws.amazon.com/amis/Microsoft-Windows/4801904273096347 ). After logging in I fired up SQL Management Studio and attempted to log into the default instance (Database Engine) using Windows Authenticati...
Ok so to get this to work properly I ensured all of the SQL Services were running (via the Services MMC) and then had to use SQL Management Studio to connect to the .\EC2SQLEXPRESS instance. Previously I was trying to use the management studio to connect to the default instance (i.e., the machine name).
5
3
6,238
2011-04-08T01:05:01.063
database_errors
serverfault.com
222,503
Kerberos web authentication
I'v developed an internal singe-page web-app (unix, apache & postgresql) protected by a simple login page. Currently, the users have their own login role with a password. This is starting to get cumbersome for a couple reasons: Users have multiple passwords (for my web-app and Active Directory, the company-network is w...
The usual way you would go about this, is just whenever processing authentication requests in your web application, you would authenticate against Kerberos to check for valid login/password. I do not think you will find another way to check for current user's authentication details in e.g. Windows session, as that woul...
5
1
6,437
2013-12-28T00:33:46.217
api_errors
softwareengineering.stackexchange.com
488,429
HOSTS ignored when disconnected
Problem I’m seeing a strange and extremely frustrating problem. Any system that is not connect to the Internet (Windows 7 shows the no Internet access icon because it cannot constantly ping Microsoft’s servers) cannot even access locally hosted servers. Hypothesis The problem appears to be that the [CODE] file is not b...
Did you try to check if these host names are resolved correctly with ping or something? That could help in locating the problem. If they are then it is most likely to be the problem that MDMarra described.
1
1
777
2013-03-16T13:39:12.343
infrastructure
serverfault.com
775,544
Modify cookie sent from PHP in nginx
I have a cookie that I need to be read in Javascript, so I need to remove the httponly part of the cookie from it. This is the cookie I need to modify: [CODE] I just need to strip the HttpOnly string at the end of the cookie PS: I know that I'm introducing a potential security problem here.
This is possible using Lua: nginx.conf: [CODE]
1
1
2,157
2016-05-09T00:04:27.203
infrastructure
serverfault.com
104,775
Help starting ML project in pythin(novice)
I am starting a machine learning project (for fun!), but I am not sure where to start from... I am fairly new to ML so any hints are appreciated. I have a relatively large data-set where each input is a list of roughly 300 integers (mainly zeros). The output is a list of 20ish integers. The goal is to predict the outpu...
In case you have several output columns (targets), you have a limited choice of models since most models predict one output column . See the sklearn docs for a good overview. In essence you deal with a multioutput problem. The sklearn models for regression simply aim at predicting each output separately. The [CODE] try...
1
1
34
2021-12-04T18:03:34.720
data_quality
datascience.stackexchange.com
1,041,696
How to serve ONLY extensionless PHP files on nginx and add a trailing slash
I am running nginx/1.18.0 with WordPress installed on my main website, but I also have a separate directory "services" that contains PHP files that I would like to serve only in the extensionless version, and also add a trailing slash. So far I have succeeded in serving the extensionless PHP files, but the PHP version ...
Try this one instead of [CODE] and [CODE] : [CODE] Yes, it looks somewhat complicated, just like your requirements. Note that you need a separate PHP handler for that one, that's because you don't want to serve the [CODE] URIs but to redirect them. Leave the other two locations (that should serve the WordPress) unchang...
0
0
1,670
2020-11-07T23:13:06.523
infrastructure
serverfault.com
65,626
How to speed up the detection of offline machines?
I'd like to detect a shutdown machine as fast as I detect there's no service on an running machine. For instance: [CODE] So it takes 3 ms to figure out there's no service on this existing machine. But when I perform: [CODE] It takes 3 seconds to figure out this machine is shutdown. 1000 times the time of the service te...
You could use ping with a one-second timeout (-W), but that would only work if all relevant hosts would normally answer to a ping. Otherwise, on the local network you could send out arp requests, which are normally answered extremely fast, but I don't know about a program that does this with a configurable timeout (arp...
0
1
248
2009-09-15T17:59:02.320
infrastructure
serverfault.com
105,303
Attachments uploading is not working with osTicket
I'm trying to set up osTicket ( http://osticket.com/ ) on my server, and everything is fine except for uploading attachments or emailing attachments while opening a new ticket. I've set the attachments settings correctly, as I can send a reply to a ticket with an attachment through the Staff account and it appears corr...
I had a similar problem. Attachements from some senders just disappeared. I changed the email settings to fetch using POP instead of IMAP. After that, it worked OK. Hope this will help you too.
0
2
2,823
2010-01-22T07:15:07.927
infrastructure
serverfault.com
3,200
What is the best Windows Infrastructure to run Adobe After Effects like AWS Lambda?
I have an app where we allow users to create videos by choosing an AE template and modifying the text, images, etc. We run AE on a windows server which renders the final video. For other scenarios where we do not use AE, we use AWS Lambda of which we can spin off 100 instances simultaneously and they all use their own ...
In general a platform-as-a-service solution runs the application code on top of a provider-supplied sandbox infrastructure which complements your app code so that together they implement the complete app functionality. But this puts specific requirements (often quite restrictive) in front of the application code, for e...
3
1
790
2018-01-26T13:15:55.460
pipeline_ops
devops.stackexchange.com
1,116
Please Reopen This: I'm looking for a solution, not a product recommendation
How should I solve this problem with my shower? Please reopen this. I'm looking for a solution, not a product recommendation.
Voting to reopen because I could take a picture of my wye diverted dual shower head configuration (one is standard, one is a wand), type in nothing and likely get an accept. It's a solution recommendation, not a specific product. I couldn't even tell you who made them. China prob.
discussion
1
1
88
2015-12-16T23:33:22.937
other
diy.meta.stackexchange.com
380,243
Set owner of new users home folder to user instead of BUILTIN\Administrators when using ADUC (on Windows Server 2008 R2)
In our AD, we create new users by copying a default user in ADUC. For the default user we specified a home folder using the %USERNAME% variable (mapped to H:): \fileserver\homes\%USERNAME% For new users, the home folder on the server is automatically created with BUILTIN\Administrators set as owner. But we need the use...
Why? Your permissions seem odd too. Assuming you haven't changed the default server behavior for "bypass traverse checking" then all you need is: \fileserver\homes Domain Admins = Full G_Admins = Full When you create a user in ADUC and assign their home drive: \fileserver\homes\%username% it should set those permission...
1
2
7,711
2012-04-17T14:00:20.573
infrastructure
serverfault.com
197,360
Why can't I "decode" packets using Wireshark and some wireless network?
Re, I have no problem capturing packets on various wireless hotspots but there are a couple in my town that I just cannot understand why packets aren't being captured, other than those of my own. These are "open" networks (i.e., no WEP/WPA/etc. protection) where you obtain a username/password from the administrator, co...
These are beacon packets transmitted at regular intervals by an access point. They are not encrypted on any network, as none of the wifi metadata packets are encrypted (only data). Therefore, you cannot decrypt them. There are no data in these packets however. Wireshark is showing you the (mostly uninteresting) metadat...
-3
2
2,842
2010-11-02T16:55:10.283
infrastructure
serverfault.com
941,705
DNS Name Not Resolving After Transfer to Route53
I transferred a domain name from GoDaddy to Amazon Route53 but I'm not sure I performed the transfer properly, particularly regarding the nameservers. My issue is that the domain name is not resolving. The A records should be pointing it to the web server, which I can tell is responding. Browsing to the domain results ...
There are two areas in question in Route 53. You’ve referred to the “Hosted Zones” but you did not refer to the “Registered Domains” section. This can be seen in your screenshot. When you transfer a domain, the nameserver settings are typically transferred as well. This prevents an outage on your website when the trans...
3
4
2,735
2018-11-26T19:26:11.223
infrastructure
serverfault.com
311,549
SL6: Non-standard home directories, Error: `Could not chdir to home directory` upon login, but `cd $HOME` works?
I have a brand new Scientific Linux 6 instance (Similar to RHEL6 & CentOS6), running on Parallels. The home directory is in a non-standard location, which I'll call /homedir When I ssh into this box I get an error: [CODE] But then immediately afterwards I can chdir to that directory, without an error: [CODE] In additio...
It could be an SELinux issue. Check [CODE] for any related messages. See this informative post for more information, including a possible fix: [CODE]
4
5
4,554
2011-09-15T00:52:56.557
infrastructure
serverfault.com
4,955
How to extract features and classify alert emails coming from monitoring tools into proper category?
My company provides managed services to a lot of its clients. Our customers typically uses following monitoring tools to monitor their servers/webapps: OpsView Nagios Pingdom Custom shell scripts Whenever any issue is found, an alert mail comes to our Ops team so that they act upon rectifying the issue. As we manage th...
I want to try out unsupervised learning for the same. I am looking into KMeans clustering. But again the problem is, we won't know the number of clusters beforehand. So, which algorithm will be best for this use case? When you don't know the number of clusters beforehand, it is still possible to do unsupervised learnin...
8
3
1,802
2015-01-27T10:31:10.233
pipeline_ops
datascience.stackexchange.com
34,174
MySQL partitioned tables?
I have a database that supports a web application with several large tables. I'm wondering if partitioned tables will help speed up certain queries. Each of these tables has a colum called client_id. Data for each client_id is independent from every other client_id. In other words, web queries will always contain a whe...
Partitioning could quite possibly help you in this situation. By putting the data into a partition, the database will have a smaller table for each client to deal with. This could help performance a lot. Here is an example of how it would help. The data in the table would otherwise be interleaved, so different clients ...
3
1
431
2013-02-05T16:40:52.533
database_errors
dba.stackexchange.com
128,643
2 (or 3 or 4...) websites in IIS, pointing to same ASP.NET application IIS
I wish to maintain a single a single code base (ASP.NET app) setup at c:\inetpub\wwwroot\myApp, and point several IIS websites at this single code base. Will this be an issue? Will IIS see this as a conflict in resource allocation? Reasons why I want to do it: Each IIS website can then have it's own IP, SSL cert, etc. ...
From a sysadmin perspective, this is perfectly fine, and you can add multiple host headers to IIS so that it supports multiple IP addresses and domain names on the same website. It would be up to your application to handle friendly URL's etc. based on the domain name... but that's a question for stackoverflow :)
0
0
851
2010-04-02T00:12:26.310
api_errors
serverfault.com
6,114
MySQL Replication Troubleshooting
Here's what I did. On the master, change [CODE] : [CODE] Save and restart mysql, then log in. [CODE] On the slave, change [CODE] . [CODE] Save and restart mysql. Create a database on the slave (Snapshop master). Move data from master to slave. [CODE] On the master: [CODE] On the slave: [CODE] My problem is: I forget an...
Something tells me that when you run [CODE] you get [CODE] It is a connectivity issue back to the master. This is a not connectivty due to the network but with the binary logging mechanism of the master. This is definitely the case because, the error message (1236) is complaining about the first entry of the master's l...
3
2
4,790
2011-09-24T11:39:07.557
database_errors
dba.stackexchange.com
198,817
Few questions about rack servers SCSI and Server Routers
Today i have purchased some second hand Dell Poweredge servers, which i can't wait to get: Dell Poweredge 1850 server Xeon 3Ghz / 1GB RAM Dell PowerEdge 2650 Server Xeon 2.4GHz / 1GB RAM They use SCSI drives which is not a very cheap option for a file server when i had the idea of putting 5 2TB drives in the 2650. Are ...
Dave, Your questions are a bit all over the place, but I'll do my best: Are the bays the same size as normal 3.5 SATA HDD, could i add a PCI SATA card and just re wire some of the bays?: The drives themselves are definitely 3.5, but go in a carrier meant to interface with a proprietary connector, you'd have to ask Dell...
0
1
244
2010-11-06T00:21:05.607
infrastructure
serverfault.com
197,208
Using tsvectors with gin_trgm_ops
I have a table like so. [CODE] But then I noticed that fuzzy searching was not working: "Chris", would not look up "Christopher". I did a little digging and found [CODE] Naturally the first thing I tried to do was update the index via [CODE] But now I see an error relating to the fact I'm passing a [CODE] to [CODE] . (...
The [CODE] is an operator class over [CODE] . Your [CODE] column is a [CODE] , and not [CODE] . So simply that won't work. A [CODE] stores lexemes not words. That means the data you're searching for may not even be there. Observe, [CODE] That means after you convert [CODE] to a [CODE] , you lose some data in the algori...
1
3
1,912
2018-02-06T20:47:37.563
warehouse_errors
dba.stackexchange.com
277,552
Using a server as an iSCSI SAN for VMWare?
I've currently got 3 ESXi servers (free version), using direct attached storage. I want to move to shared storage, because direct storage is very limiting. There are about a dozen VMs, most are fairly low requirements (Exchange is the only one with much IO). Unfortunately, budget constraints mean I can't get a proper S...
It's quite difficult to answer your question without knowing almost anything about your workload; it will work, sure... but how it will work in your specific scenario depends entirely on how you are going to use it; you should definitely run some performance monitoring on your current storage and then try to find some ...
3
3
1,193
2011-06-06T18:36:04.763
data_quality
serverfault.com
496,158
IPX/SPX on Windows Server 2008 R2?
I have a Windows XP 32 bit system, which I used to connect to my Novell Netware 3.1x server, which is a database server. Now I am planning to migrate from Windows XP to Windows Server 2008 R2 (64 bit), but the issue is that Windows Server 2008 R2 doesn't support the IPX\SPX protocol. Is there any workaround to make IPX...
The workaround would be to configure the Netware server for TCP/IP and drop IPX/SPX. It's 2013! This will probably involve an upgrade, but that Netware 3.1 server is twenty years old now.
3
7
2,261
2013-04-04T15:17:50.783
infrastructure
serverfault.com
808,302
Execute script when new email arrives (Postfix / Dovecot)
I want to execute a backup script (.sh) when I receive a new mail on my mailserver (running on Debian with Postfix / Dovecot). I've found many posts on this topic, but no one give me a working solution. Here the last solution I have tested : https://stackoverflow.com/questions/27230324/run-script-when-postfix-dovecot-g...
If your actual question is on how to retain a backup of every message received (and sent) by your mailserver, the answer is to set the option [CODE] and specify a mailbox. Depending on your setup you can forward messages received by that mailbox (or alias) to a script for further processing. For instance in /etc/aliase...
1
2
2,479
2016-10-11T09:19:19.507
database_errors
serverfault.com
81,938
How to use 5 by 5 or 7 by 7 kernel size for a deep learning network with 3 by 3 kernels?
I am using a [CODE] architecture. The visual area of the segmentation mask is very small and after learning it is giving a lot of false positives. I am thinking of changing the kernel size of 3 by 3 to 5 by 5. What precautions/care shall I take while creating the model? I am getting issue of dimensionality mismatch if ...
The main think you need to be mindful about is the size of the output of your convolutional layer, remember that it's going to be $$ \frac{W-K+2P}{S} + 1 $$ with your K the kernel size, so if you increase your kernel size the size of your output will decrease faster. You might have to reduce the number of layers. If yo...
0
0
79
2020-09-19T06:09:43.573
data_quality
datascience.stackexchange.com
631,220
Disable Windows Share Without Administrator Access
We have a folder on a windows server shared to provide access to an important application. When the application is being updated we (DBAs) change the permissions on the share to deny all access to it and then disconnect any files open on the share. After we complete the application update (using a different share to th...
One possibility, although it requires programming, would be to write a system service (running therefore with all required privileges, and set to manual start), and give the rights to a specific group to start and stop this service (this is straightforward, see How do I grant start/stop/restart permissions on a service...
3
5
998
2014-09-25T13:03:03.740
infrastructure
serverfault.com
123,216
Oracle 11g: SQLDeveloper |status: failure-test failed: IO error. connection reset|
part 1 new / select database connection info [CODE] quest is to make new connection what to do? i trying to connect a database from sqldeveloper but im get the follow error error: [CODE] part 2 i change the port to 1521 and im get other error status failure test failed IO error the nestwork adapter could not establish ...
1158 is the default port for Enterprise Manager Database Console, not the database listener, and you can not log in there using SQL*Net or JDBC. The default port for the database listener is 1521, try connecting using that port. You can check the listener port by: [CODE]
0
4
14,537
2015-12-08T17:06:17.557
database_errors
dba.stackexchange.com
483,525
Plone installation can't connnect <ipaddress>:8080 Ubuntu
I just installed Plone using the Unified Installer. I jumped onto my browser and entered :8080 and it says it can't connect. Did the same for :8080/manage and there is nothing there either. Last night it did this as well, which is what prompted the re-installation. I'm not sure what's going on here I've seen the same p...
Make sure you actually start the Zope server. Instructions on how to do that were given to you by the installer output at the end, or you can read the included [CODE] for details.
0
1
98
2013-02-28T20:04:08.010
infrastructure
serverfault.com
583,856
Windows Server 2008 TCP connections limit
I run my own game server made in .net 4.5 on a Windows Web Server 2008 VPS. I have done some research on a problem I have. My app doesn't accept clients, if there are already 1000 clients connected. This app is basically a one process running six Socket servers (each on diffrent port) and has no limitations to connecte...
It appears to me that you might be in violation of the license agreement since you are using 2008 Web Edition: From Here : Windows Web Server 2008 is specifically designed to be used as a single-purpose Web server . It is intended only for Internet accessible, front- end Web serving of Web pages, Web sites, and Web app...
1
0
12,953
2014-03-22T14:42:51.990
infrastructure
serverfault.com
145,672
SQL Server Updated Record on Read-Only Filegroup?
I have a very large database in our data warehouse where we have implemented partitioning to manage maintenance and backups. Records of a certain age are eventually migrated to a read-only file group once a month. Occasionally our ETL process attempts to update older records that have already been migrated to the archi...
I have a confession to make. Once, when I was young, I built an ETL process started with changing read-only filegroups to read-write, doing its ETL work, and then setting them back to read-only. So just in case you have a coworker who was diabolical like I was (I was young, I needed the money), you can test by: Change ...
8
1
1,184
2016-08-02T18:49:50.317
database_errors
dba.stackexchange.com
402,260
How could I programmatically generate a chart of interservice messaging flows before runtime?
My team is currently developing an application using a microservice architecture with publish/subscribe interservice communication over a message bus. Certain types of HTTP requests and messages received as inputs to a service might cause that service to subsequently publish certain types of messages as a result in add...
Reverse engineering charts from code is hard. I had way better experience with "forward engineering": generating code from models. Especially for data flow models, this seems pretty feasible: you design your components with input and output ports using a graphical tool like Star.UML, Dia or Draw.IO which allows you to ...
2
1
139
2019-12-09T15:31:45.830
api_errors
softwareengineering.stackexchange.com
32,050
Developer - QA - customer - production branching workflow
How should one use branches to be able to test: on local environment (during development), on a branch for testing with real environment (QA-testing), testing by customers on pre-production branch, and finally merging to production? We have the following branches: prod (customer production branch), dev(pre-production b...
The flow at every company I've worked for has gone like this: local branches (branched off dev) -> dev -> test/qa -> staging -> prod Keep in mind that during this entire process, automation is running after each deploy/merge. Engineers branch off of dev, and merge that branch into dev once they have completed their ini...
0
1
292
2018-02-14T16:30:47.893
data_quality
sqa.stackexchange.com
524,650
Howto query and change network namespace on linux?
I was wondering if there is a way to Query the network namespace the current shell is in Change the current network namespace of the current shell I know I can do things like [CODE] to execute a certain command in a certain network namespace, but I was thinking of something like [CODE] Just like changerooting into into...
See the man page: [CODE] So you would do something like: [CODE]
3
4
6,278
2013-07-19T07:25:32.497
infrastructure
serverfault.com
114,654
Getting an error "ORA-00093: pga_aggregate_target must be between 10M and 4096G-1" on Oracle DB startup
My Oracle DB 12c instance was not starting up. While connected as an idle instance ( / as sysdba ) and executing [CODE] command, I was getting an error: ORA-00093: pga_aggregate_target must be between 10M and 4096G-1
Found an answer at : http://www.databaseskill.com/400704/ But the explanation is not very clear. To summarize : This property 'pga_aggregate_target' is in a file called an spfile which is present at ' [CODE] ' for example. I edited this value to one fitting the range which in my case I changed to [CODE] Further you req...
1
3
6,815
2015-09-10T08:11:23.037
database_errors
dba.stackexchange.com
14,033
Hot to fix corruption of taskbar (multiple language panels) in Terminal Services in Win2003?
Hot to fix corruption of taskbar (multiple language panels) in Terminal Services in Win2003? I know how to close many language panels and then check one. How to disable occurrence multiple language panels after log-in terminal session ?
Try this hotfix from Microsoft for "Language bar is displayed two or more times on the taskbar" You can also try disabling it with these: eggheadcafe or technet articles.
4
3
3,100
2009-05-28T18:43:29.037
data_quality
serverfault.com
661,016
Best practices for puppet module management with software development life cycle approach?
How do people organize their Puppet manifests and modules in your source code repository? I am not seeing any obvious way to implement changes in Puppet in a phased manner on a single Puppet master. How are other people managing this? One master server instance per server group/SDLC phase? I would very much like to use...
Environments is how this is solved. With environment you can define configurations for production, staging, ua testing, test, dev, training, etc. Explaining in depth how to do so is a bit extensive but here are some references you can read to get you started: Puppet Labs Docs - About Environements Dynamic Environments ...
0
1
1,085
2015-01-20T20:25:32.103
pipeline_ops
serverfault.com
1,035,303
vCenter 7.0 behind nginx reverse proxy issue
Don't judge, I need this for my lab, I'll never put that in production... The following configuration was from another guy on the internet (pigsmud) so unfortunately, I'm not understanding a lot of things here. Also his website just vanished so I'll not be able to discuss the topic with him any further (which I did for...
just need add two parameter proxy_set_header Host "fqdn.local"; and sub_filter "fqdn.local" "fqdn.extern"; It's work for vCenter 7.0 [CODE]
2
2
5,180
2020-09-25T09:56:05.233
infrastructure
serverfault.com
866,797
How can I host my public GPG key on S3?
I've been packaging some proprietary software that runs on Raspbian into .deb files and hosting them in a private S3 bucket using a program called deb-s3 . I also use a program called apt-transport-s3 which allows the individual devices to download the packages that I've published. But when I run [CODE] I see the follo...
Put the key on a static website bucket , download it, and add the file with [CODE] . A couple lines of scripting, or use the Ansible apt_key module. Or, submit the key to your favorite keyserver , and import with [CODE]
0
0
912
2017-08-03T23:24:06.737
infrastructure
serverfault.com
1,076,588
podman load executed in systemd service not taking effect on fcos system
Hi I'm new to FedoraCoreOs. But I'm trying a very simple probe of concept. I'm trying to load a .tar docker image into the fedora core os local registry at starup. I'm using systemd and a service which will perform the load, but I'm missing something, since the service is executed, but when I type podman images the ima...
Since podman is rootless. I just added this lines to the [Service] section of the unit configuration. [CODE]
0
0
265
2021-09-03T21:50:08.957
pipeline_ops
serverfault.com
271,514
Windows Server 2019 and SQL Server Backups issue?
I have an issue with SQL Server that is really driving me nuts so I wanted to ask if anyone has any suggestions. I have a program that does a daily backup of the SQL Server database. This has worked for two years. Now, today, we had to upgrade our server and along with this update (now Windows Server 2019 Essentials), ...
this is a local directory. SQL Server is on the server and is attempting to backup to a directory ON the server If SQL Server has access permissions on the directly, how can it NOT have permissions on the directory? You're backing up to a share, not a directory. When accessing a share the account must have permissions ...
0
1
522
2020-07-23T16:47:34.297
database_errors
dba.stackexchange.com
317,272
Design options: multi clusters, multi instances or multi availability groups
We have a Microsoft platform, where within it, we have two sets of databases. One set of databases for the platform services etc. and one set of databases of more custom nature with some data that is loosely connected to other databases. We would like to keep these database sets separate, as we would prefer that the pl...
We would like to keep these database sets separate, as we would prefer that the platform set of databases has more performance than the other custom databases, but it is not the most important factor – high availability, stability, best practices and little complexity/ease of use is more important. The question is hard...
0
1
94
2022-09-23T07:12:26.873
warehouse_errors
dba.stackexchange.com
599,507
problems with putty while establishing ssh connection (Ubuntu Server)
since two days I am facing a really weird problem. I have receantly installed ubuntu server 14.04 LTS on a workstation. It has a fix IP address, which I can successfully ping from other computers in the network. But when I try to establish a ssh connection from a windows computer via putty I get some strange errors, wh...
This sounds like it might be the same problem I have experienced. For me it turned out every time someone attempts to login through SSH, the SSH Daemon attempts to perform a reverse lookup. On some networks this causes trouble, and the user has to wait until the DNS lookup times out before he/she can continue. Add the ...
1
3
14,976
2014-05-29T18:14:16.347
infrastructure
serverfault.com
1,134,033
strict MIME type checking is enabled issue with PGAdmin in Azure application gateway
I am trying to install pgAdmin (image: 'dpage/pgadmin4:6.21') in Azure AKS. I am able to access the application when I use a Kubernetes LoadBalancer service, but when I use an Azure Application Gateway with Ingress, the login page is displayed without an issue. However, after login, it gets stuck on the loading page. W...
We have a similar setup where Azure Application Gateway is in front of pgadmin deployed on AKS, and updating the following config resolves the issue for us, created extra file with the name [CODE] [CODE] For detailed description of these config check below URL https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html
1
0
617
2023-06-15T20:59:27.000
pipeline_ops
serverfault.com
228,485
Failed to configure CA certificate chain
I'm trying to setup SSL on fedora with apache. In my vhost... [CODE] I had it working fine with a self signed key, but can't get it to work with the DigiCertCA crt. When I run [CODE] It fails to start. This is what I get in the logs... [CODE] Any assistance would be really appreciated!
Make sure there's no missing certificates in the chain, in the [CODE] file there should be all the certificates in order from the CA first and then down to any intermediate certificate that was used to sign your CRT, otherwise you'll get the error. If you don't have any intermediate certificates (looking at the Digicer...
8
8
34,507
2011-01-29T13:03:06.287
infrastructure
serverfault.com
72,703
MySQL Referential Integrity Issue
I'm having a lot of issues and don't really know where to look. I'm pretty sure it's a referential integrity issue and has something to do with the addition of the Professor table and the Foreign Key Constraints between it and the Section table. I've narrowed the error down to the Enrolled table. It's the one that give...
I had some changes in that table and it got executed. mainly the primary key. pl go through the same, [CODE]
0
0
69
2014-07-30T02:48:38.000
database_errors
dba.stackexchange.com
741,288
Emails are being delivered as spam to Gmail?
for the last 6 weeks (yes, that long) I've been struggling to successfully deliver emails to Gmail accounts. For some reason, every single email that is sent from our domain is flagged as spam by Gmail - it started happening when we moved from a shared host to a dedicated host. I've configured SPF Records, Domain Keys ...
With the caveat that you have obfuscated some things in your email, and have not posted the complete message: The only serious problem I see with what you have posted is that some of your headers have been RFC 2047 -encoded. [CODE] This is done when a header needs to contain non-ASCII characters. However, on decoding t...
3
1
80
2015-12-07T13:02:05.387
infrastructure
serverfault.com
679,434
Hyper-V virtualization type
Does Hyper-v Server 2012 R2 use para-virtualization or Full hardware virtualization? The server I want to virtualize has 36 cores, 32 of those cores need to be dedicated to one VM that does a lot of computations. Will I be able to use Hyper-V and use the other 4 cores without it affecting the performance of the main VM...
Hyper-V offers both full hardware virtualization and paravirtualization to its guest VMs. Which one you use depends on what you install in the guest. With Windows guests, this is either a matter of installing the Integration Services in the guest (by telling Hyper-V to insert the IC DVD-ROM image into the virtual DVD d...
0
0
484
2015-03-30T22:07:20.600
infrastructure
serverfault.com
813,388
DNS error: Missing nameservers reported by parent & NSs have same SOA serial
Newbie here. Been going back and forth between my developer and hosting to fix DNS errors. Domain name: rmsglobal.co.in Bought this domain from www.name.com Hosting site: www.hostingraja.in Recently asked a freelancer to develop the website and now this issue pops up. I tried ipconfig/flushDNS and it works Proxy site a...
Thank you for mentioning your actual domain name. The WHOIS record shows 4 different name servers configured for your domain: [CODE] When you query each of those name servers for their SOA records you see something interesting: [CODE] Rather than all four showing identical information, the behaviour you see is that of ...
0
4
927
2016-11-05T16:21:40.163
infrastructure
serverfault.com
13,908
Error attaching database after deleting NDF file
I have deleted .ndf file by mistake from a SQL Server 2008 database. While trying to attach a previous copy, SSMS raises this error: Attach database failed for Server 'MDSWIN34'. (Microsoft.SqlServer.Smo) ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServ...
Based on all of the information you've provided so far, I'd have to say that, yes, you've lost all of your data. From what it sounds like, I can only guess that something like this happened: your disk filled up you saw this big [CODE] file you tried to delete it (presumably because you didn't realize it was a secondary...
2
7
2,721
2012-02-25T05:31:42.960
database_errors
dba.stackexchange.com
594,114
SCCM - not a valid .wim file?
Am attempting to start using SCCM 2012 to image and maintain new machines. Have unpacked a win7 x64 .iso file to a network share and am trying to add it to SCCM via the [CODE] . When I navigate to the 'install.wim' file I get the message: [CODE] My connection to the file server has all privileges (in so far as I can te...
Can I ask what command switches you used to create the .wim file with? Namely, I am looking for switches like /compress because I have found -in personal experience- that trying to compress .wim files during extraction can often lead to this type of problem. If space is not too much of an issue, try re-extracting the ....
0
0
9,137
2014-05-09T11:11:14.873
infrastructure
serverfault.com
31,228
Increasing fax transmission speed in Windows Server 2003
I have a rather strange problem and it might not have a solution and this might not even be the forum for this, but here goes :-) I have a requirement for sending faxes from Word 2007 to a bunch of fax numbers in a particular user's contact list. Our corporate fax solution can't handle this. So, Ive done the following:...
Faxing is, unfortunately, slow - between 14.4kilobits/second and 33.6kilobits/second is the standard for faxing these days. And of course a complex page is going to require more data to be sent than a simple page, hence why you are seeing the difference between plain text and images. I don't think you are going to see ...
0
2
1,227
2009-06-24T20:00:43.410
infrastructure
serverfault.com
765,635
Item level targeting error
I am attempting to set up group policies which are applied to OUs containing computers. I am then trying to item level target these policies to OUs containing users. Whilst attempting to do this, when I select the OU, I am repeatedly given the following error: First error This occurs both on a console snap-in on my dom...
Finally managed to find the problem with this: our AD setup didn't like the slashes in our OU names . We had OUs called "Room 10/PCs". Take the forward slash out and the errors disappeared entirely.
2
0
127
2016-03-23T15:27:46.877
infrastructure
serverfault.com
735,996
IBM Cognos Business Intelligence 10.2.2 on WebSphere Application Server 7.0.0.29 fails to start, possibly due to a missing classpath entry
I have a server running IBM AIX 6.1.7.15 TL07 and I am trying to install Cognos Business Intelligence 10.2.2 on WebSphere Application Server Network Deployment 7.0.0.29, using a server cluster to deploy and manage my application and using an IBM DB2 10.5 server to save my content store. When I start one of my cluster's...
Problem solved, posting here for reference: The problem was that the nodeagent's configuration on my individual server was outdated respect to the one on my cluster's deployment manager, and as a result my server was apparently starting with an incorrect CLASSPATH. The solution was to stop the nodeagent and force a ful...
0
0
704
2015-11-13T01:16:27.247
bi_errors
serverfault.com
322,628
How do I configure my US Robotics 9108 router to allow HTTPS traffic?
I have successfully configured an Apache2 webserver on one of my computers. Local access through HTTPS is working ( https://localhost ). However, I cannot convince my router (a USR 9108) to allow traffic. I have tried pretty much any option that allows me to redirect / allow traffic (Virtual Server, IP Inbound Filterin...
The problem was fixed, with a little bit of luck, a little bit of trying everything related and some moderate amount of of insight. You need to have the appropriate entry in the [CODE] file for Apache to receive the https request, since the server is behind a router (or at least, that's what how I understand it). I'm s...
3
0
627
2011-10-18T16:50:44.907
infrastructure
serverfault.com
631,559
What is required to transition a puppet installation to use directory environments?
I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the puppetmaster: added [CODE] to [CODE] On the puppet master: created the necessary paths in [CODE] (e.g. [CODE] ) Added my existing ...
For posterity's sake, here is the fix I found: I had made two simple mistakes: I did not restart the puppetmaster (via passenger). This was easily accomplished with [CODE] on Debian Wheezy Upon restarting, I received a stream of new errors indicating issues with reloading puppet. The logfiles containing pertinent infor...
3
1
1,724
2014-09-26T15:00:18.400
pipeline_ops
serverfault.com
72,236
Copying a table in SQL Server database to Oracle database
I am new to database management. I need to copy a particular table "Attendance" in SQL Server database to Oracle database. There is no connection between the two databases. Also, "Attendance" is updated in real-time in the original SQL database. I have two options: To pull the data from SQL Server -> Store it -> Push t...
this can be done if you are using SQL Server Management Studio. The method is as follows:- Goto the source schema on SQL Server Right click > Export data Select source as current schema Select destination as "Oracle OLE provider" Select properties, then add the service name into the first box, then username and passwor...
1
1
15,123
2014-07-24T04:13:59.773
database_errors
dba.stackexchange.com
206,544
I screwed up, exit in .bashrc
I put "exit" in my .bashrc file. I don't have physical access to the machine so to connect to it I use ssh. I don't have root privileges. Every time I connect to the server, the connection automatically closes. So far, I've tried: Overwriting .bashrc with scp and sftp. The connection closes before I can do anything. Us...
you can try to abort (ctrl+C) before the exit part of your [CODE] is executed. I tried by adding the following at the top of a testuser's bashrc, it works, it's just a matter of timing. Very easy in my case: [CODE]
31
41
19,905
2010-11-27T08:52:41.007
infrastructure
serverfault.com
358,097
Trying to connect phpMyAdmin to remote mySQL server ( 2002: can't connect )
Trying to get phpMyAdmin to talk to a remote mySQL server. The config is below and there is already a user set up in mySQL DB to be able to log in from the specified host that PMA sits on. Hosting is provided by Rackspace (Rightscale) and both cloud servers behind the same firewall. [config.inc.php] [CODE] Please let m...
Checked it by replacing "xx.xx.xx.xx" with ip address of remote mysql server and make sure database is allowed to access through your ip address. $cfg['Servers'][$i]['host'] = 'XX.XX.XX.XX';
2
2
3,580
2012-02-08T17:39:54.010
database_errors
serverfault.com