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
700,011
Certain PC's on vlan using link local 169.254.x even though communication present to DHCP Server?
I would really appreciate thoughts and opinions on this strange issue experienced recently. Consistent behaviour noted from problem clients: Up to a certain time in the morning user PC's were requesting the use of 169.254.x APIPA addresses Not accepting the legitimate addresses offered by the DHCP server within this ti...
Are you out of addresses in the lease pool? Maybe that's why it can no longer hand out additional IP addresses. Can you ping the DHCP server from the affected machines once you are into Windows? Can you hard code the NIC to a unused IP from the DHCP range and does that get you onto the network for testing? If needed to...
1
0
750
2015-06-18T15:47:28.290
infrastructure
serverfault.com
482,556
Windows logoff script to modify registry under HKCU
I'm trying to modify registry entries within HKCU at logoff. The corresponding script works okay when invoked manually. I was afraid there might be issues with a loopback policy kicking in, but according to rsop.msc this is not the case, i.e. the script should be executed. However, the desired effect in the registry is...
There were actually two problems. Firstly, in the presence of loopback policy one must be careful with rsop.msc because just using the default (i.e. ticking "jump to the last page of the wizard without collecting more data" right after selecting user and computer containers) may not reflect the true policy results. One...
3
0
4,148
2013-02-26T11:07:54.247
infrastructure
serverfault.com
700,763
Host key verification failed even though known_hosts is correct
I am running a Debian 7 Wheezy server and are having problems with connecting to other servers over SSH. This problem only occurs while running SSH through crontab, and not otherwise (logged in as the same user of course). While running a ssh command as this user through crontab, I get the following problem: [CODE] I h...
You cannot connect with passphrase protected key from script without an agent (or at least a way to provide passphrase), ssh daemon is waiting for an input that you cannot provide without tty. see: https://unix.stackexchange.com/questions/90853/how-can-i-run-ssh-add-automatically-without-password-prompt
2
2
4,568
2015-06-22T17:48:43.050
infrastructure
serverfault.com
398,812
Recipients Auto Rejecting Emails Sent With Exchange 2010 - Certificate Error
A strange problem recently developed with one of my Exchange 2010 servers. I have an exchange server setup as part of a Windows Small Business Server 2011 installation. The email for the domain was working perfectly for 4 or 5 months, and now with no change in configuration is having problems. The inbound email still w...
Have you tested to see if you mail domain has been blacklisted? Another reason could be because the recipient is looking for a SPF dns entry for you domain. Have you created a SPF account?
0
0
2,571
2012-06-14T16:04:14.793
infrastructure
serverfault.com
1,147,135
Why doesn't Google Chrome on Mac pick up local Certificate Authority as the other browsers?
I have generated local CA and Cert on my Mac, from this walkthrough: https://blog.arrogantrabbit.com/ssl/Root-CA-macOS/ I then provide the certificate/key to nginx local server, that I visit with my local browser, using a domain included in the cert. It works in Safari and Firefox, that both display a valid certificate...
I did not find the issue and ended up regenerating a new CA and Cert
0
0
619
2023-11-03T10:27:33.123
infrastructure
serverfault.com
545,176
Cannot generate cluster reports in OpsCenter.
I cannot generate a cluster report in OpsCenter. The server and clients are running on CentOS 5.9, 64bit. Software versions: opscenter-3.2.2-1 opscenter-agent-3.2.2-1 Here is the error reported in the web browser: There was an error generating the cluster report: u'/dev/mapper/Staging3SSTables_vol1' That is the file sy...
What's happening here is opscenterd is looping over partitions containing any configured data directories from cassandra.yaml, and comparing those to the output of [CODE] . OpsCenter seems to think that [CODE] is one of those partitions, which is obviously wrong. We do some escaping of special characters in partition n...
2
2
172
2013-10-10T15:59:17.953
database_errors
serverfault.com
25,466
ORDER BY on aggregate field on a closure table giving unexpected results
I am updating my companies product database and I'm looking into different ways to do design our faceted navigation "selector" tables. The idea of faceted navigation might look like this: It's hierarchical data. I have been reading through Bill Karwin's slides on different design patterns for hierarchical data . I'm tr...
Your sortpath isn't technically being "changed" by the ORDER BY. The correct values are all there, just not coming up in the order you anticipated. In SQL, if you don't explicitly sort a set of data, the order in which it comes back to you is undefined... and the fact that it originally appeared to be in the anticipate...
1
2
1,471
2012-10-04T22:11:23.020
warehouse_errors
dba.stackexchange.com
142,005
How to configure Java Network Proxy Settings for domain computers
I need to set the Network Proxy Settings to Direct Connection, for computers on our domain. I have looked at the unattended setup configurations, as well as the deployment.properties file, and didn't see an option to set it to Direct Connection. Are there any alternate means to set this? ex...logon script, vbscript, po...
check out Deployment Configuration File and Properties part of jdk documentation. they mention there properties that can be used to enforce proxied access.
0
1
4,267
2010-05-14T19:05:17.497
pipeline_ops
serverfault.com
233,701
create trigger mysql
why this is not work?? i want if i'm insert to this table the table in before i'm insert get decrement.... [CODE]
why this is not work?? Wrong [CODE] in UPDATE section, comma needed; The trigger contains single statement, so BEGIN-END block is excess. [CODE]
0
0
22
2019-04-02T02:10:43.620
database_errors
dba.stackexchange.com
526,882
LVM system space is not consistent
I have found some problem in my server, here it is: [CODE] Does someone know why my [CODE] consume 59G space, but [CODE] have used 177G space, it does not make sense, right?
difference between [CODE] and [CODE] [CODE] compute only what they can see, based on filesystem entries... [CODE] inquire filesytem meta datas Deleted but not closed entries There could be deleted entries that stay owned by running process. [CODE] While file is removed , used space stay at [CODE] , and return to [CODE]...
0
1
144
2013-07-28T16:19:29.043
infrastructure
serverfault.com
331,866
Problem accessing MySQL in Xampp
I installed Xampp on my Ubuntu 22.04 box. In its [CODE] , I set [CODE] I saved this and restarted MySQL. When I try Ubuntu's mysql client: [CODE] it asked for a password where I gave the configured password but it said [CODE] What do I need to make this work?
@danblack, your quoted question Recovering MySQL root password (XAMPP) included an sql system command [CODE] which I invoked in PhPMyAdmin. I had to restart the MySQL server and then [CODE] worked.
-1
0
54
2023-10-05T11:30:59.970
database_errors
dba.stackexchange.com
928,620
Iptables udp blocking issue
If I had to block port 144 for udp on eth1 in an active way, for packets with source port 8080, but block it actively so not silently ignore, but to send active signal to the sender of this packet that this port is blocked, how would I do it under linux?
Your iptables rule should REJECT with an ICMP port unreachable, e.g.: [CODE] or for IPV6: [CODE]
0
3
470
2018-08-29T21:11:10.807
infrastructure
serverfault.com
4,409
Windows networking performance (SMB/CIFS)
Are there registry settings or other settings available to tune Windows networking (SMB/CIFS) performance? I'm trying to get maximum throughput for large file copy operations but any settings would be interesting. So far: TCP Settings Adjust MTU Enable TCP Window Scaling (RFC 1323). Details here . Allow ports above 500...
What is the OS of your client and server? One thing that can make a difference is to update your servers to windows 2008 and your clients to Vista. When you do this you get to take advantage of SMB2 which is less chatty, has larger buffers, and can do multiple things in a single request making it less sensitive to late...
5
5
56,647
2009-05-04T23:54:12.760
api_errors
serverfault.com
122,678
Very low Neural Network Accuracy for Titanic Survival Problem
I am new to neural networks and have done a few projects but have got very low accuracy for all of them. I have included the code for titanic NN code here. Am I missing something or what? Can you help me with this? ''' [CODE] '''
Your model will always give output of Class 0 since you are using softmax activation function and 1 output node for binary classification. The output of a Softmax is a vector with probabilities of each possible outcome. So, the softmax layer should have the same number of nodes as the number of classes. You need to cha...
0
0
56
2023-07-11T06:35:06.293
data_quality
datascience.stackexchange.com
432,465
Term for a map of constants
Considering there's a map of string constants, most commonly with a key and a value being equal, e.g. in TypeScript: [CODE] They are supposed to be used with a specified domain (item type) and can benefit from being referred as keys on [CODE] , for both compilation and runtime type safety. I failed to search for specif...
The terminology you're looking for is " enumerated type " or simply " enum " in most programming languages. To directly quote the Wikipedia article on the term: In computer programming, an enumerated type (also called enumeration, enum, or factor in the R programming language, and a categorical variable in statistics) ...
1
3
80
2021-10-05T21:41:09.203
api_errors
softwareengineering.stackexchange.com
15,140
From inside a Docker container, how can I consume an API that is on the machine's localhost?
First of all, please forgive me if any information is missing or if my question does not meet the standards required by the site. I have very basic knowledge of docker, linux and networking and I am lost. I use Ubuntu version 20.2 and I have docker version 20.10.10. I have a system (CakePHP) running in a docker contain...
I'm not sure I can help you, but this might : https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach tldr (bridge mode): to get the ip of the container (in container CLI) : [CODE] to get the ip of the host's docker interface (host CLI) : [CODE]
4
4
12,132
2021-12-18T22:41:12.210
pipeline_ops
devops.stackexchange.com
64,458
Oracle / windows hardware recommendation
I'm specifying a Windows server to run Oracle for (time based) performance tests of our application. Although the total data volume & number of users will be low, we would like the performance to be comparable to a high-powered server which is hosting many users & much more data; in other words the type of machine a la...
I've just setup some HP DL380 G6 servers for a departmental level Oracle database. 8 cores, i7, 12+ GB of RAM. 8 15k rpm disks in a 2u rack mount. We got ours for about $AUD 15,000 Not sure what your budget is though... ideas vary about what is 'enterprise' level.
0
1
182
2009-09-11T11:45:32.437
database_errors
serverfault.com
872,966
nginx error_page is not working with nodejs server
I want to redirect the 502 error of a nodejs server to maintenance page. Here is my nginx config: [CODE] but no luck, it still returns [CODE] . What is wrong and how can i fix it?
Is the '/var/www/html/maintenance.html' in 'location /50x.html' context a directory or just a html file? You are supposed to put a 50x.html in /var/www/html/ if you want the server to locate the 50x.html. and change the configuration as follows: location /50x.html { root /var/www/html; }
1
0
415
2017-09-11T04:10:05.133
infrastructure
serverfault.com
484,788
Monit check log file content
I am having a issue with Monits content check. I know I can check the log file like this [CODE] But the log file has so many variables and its growing really fast so it alerts me on every line. The problem I am having is that I need to ignore everything else. I know I can do it with ignore variable in monit check conte...
The partial fix for this is to anchor your search. [CODE] Or maybe polish your Regex or search a better or more representative string. Can you add application logs that can present fault conditions more clearly? You're basically searching for something of this frequency with "If it doesn't happen for 5 cycles (5 minute...
2
2
10,661
2013-03-05T11:07:38.723
infrastructure
serverfault.com
967,685
Can't install phpMyAdmin due to package dependency issue
When I run the command [CODE] it returns the following package dependency error: [CODE] What do I need to install to make myphpadmin able to download properly? My php version is 5.4.16 (obviously) and if i run [CODE] it says that the package is not installed.
EPEL is not compatible with Amazon Linux, despite Amazon's bizarre insistence on advising people to add it to their Amazon Linux instances. It cannot be made compatible, and even if by some miracle you managed to install a package from EPEL, it would be very likely to not function. If you require packages from EPEL, yo...
-1
3
480
2019-05-16T21:27:49.520
infrastructure
serverfault.com
280,938
High CPU usage, low memory usage on Mariadb 10.5.8 -- SQL tuner complaining about memory, performance seems fine
I'm hoping to get some friendly advice how to proceed with optimizing this server. VM: 8vCPU - 2.6GHz 32GB mem Disk speed ~3Gbps (380MBps) Application is Librenms my.cnf.d/server.cnf -- Built from template somewhere on github mysqltuner.pl output The server currently idles at around 500% cpu with Mariadb being the culp...
Increase [CODE] to be about 70% of available RAM. High CPU implies poor indexing and/or poor query formulation. Let's see some queries and the matching [CODE] . [CODE] Add [CODE] Shrink [CODE] to some smaller datatype. Saving space speeds up the query a little. Invert the query -- Find the 50 rows, then do the [CODE] :...
1
3
12,218
2020-12-04T21:07:00.233
api_errors
dba.stackexchange.com
482,901
How to get server (VPS) memory usage history?
I am using a 512MB Ubuntu 12 VPS. I'd like to get a daily (maximum) memory consumption log, as a reference to add more memory or not. Is there a tool for this?
I recommend Munin for trending your system statistics. [CODE] This will install two packages, [CODE] for aggregating data and [CODE] for collection of data from your system. When munin has been running for a while, you can take a look at the visualized data from it and consider if you need more memory or not. By defaul...
2
2
353
2013-02-27T07:05:51.063
infrastructure
serverfault.com
778,902
ibping error: “can't serve class 50 on this port”
I try to run an ibping server on a machine with an infiniband card: [CODE] I get this error message: [CODE] Any idea to solve the problem? For information, the infiniband cable is apparently broken ( [CODE] shows that all ports are in physical state [CODE] ), but I do not think it should make the previous command fail.
I finally restarted the computer, now [CODE] seems to work. Still no idea on why it was broken.
1
1
374
2016-05-25T08:35:41.937
infrastructure
serverfault.com
532,578
Risks to have 777 on uploads directory
I have set the permission on my uploads directory(in which end user can upload their documents) to 777. I understand this is not a good idea, but the files wont get uploaded with any other permission. I want to understand the security risks attached to it and what i can do to prevent them. Additionally, i will be setti...
If you have a shared hosting, then each user might be able to read the content of this folder (if a path through that directory exists with the appropriate [CODE] flag). If you have a dedicated server, then each system user (ie each server) would also be able to access this folder. Be it your webserver, or FTP server. ...
-1
0
282
2013-08-21T10:26:38.223
infrastructure
serverfault.com
176,918
Powershell and dbo.sysjobsteps.Command field being truncated - not a length issue
On the accepted answer to Export SQL Agent jobs with steps and scripts , there is a comment: Command is unlikely to get pulled into Excel very nicely. – Aaron Bertrand ♦ Feb 2 '15 at 21:27 This seems very true. I am trying to pull the [CODE] field into a csv file using Powershell Export-Csv. The data seems to be trunca...
Using the script Powershell export query to csv , I was able to run it under Powershell and successfully export the job commands without encountering any truncation. Are you doing something different? Here is the script I ran: [CODE]
2
1
335
2017-06-21T17:20:54.127
warehouse_errors
dba.stackexchange.com
236,768
Can SQL Server create collisions in system generated constraint names?
I have an application which creates millions of tables in a SQL Server 2008 database (non clustered). I am looking to upgrade to SQL Server 2014 (clustered), but am hitting an error message when under load: “There is already an object named ‘PK__tablenameprefix__179E2ED8F259C33B’ in the database” This is a system gener...
Can SQL Server create collisions in system generated constraint names? This depends on the type of constraint and version of SQL Server. [CODE] Example Results 2008 [CODE] Example Results 2017 [CODE] For default constraints, check constraints and foreign key constraints the last 4 bytes of the auto generated name are a...
14
16
1,177
2019-04-26T10:08:30.180
data_quality
dba.stackexchange.com
11,896
In a trigger, how to check if no fields have changed?
If we receive an update statement that does not check if the value has changed in the where clause, what are the different ways to ignore that update inside a trigger? I know we can do a comparison of each individual field (handling the ISNULL side as well), but where it's a table that has 50+ fields, is there a faster...
To bring back rows where at least one value has changed you can use [CODE]
5
5
11,278
2012-01-30T12:46:08.173
warehouse_errors
dba.stackexchange.com
90,927
Lifetime of IIS worker process or AppDomain
I have an ASP.NET app hosted in IIS, and I have automatic worker process recycling/shutdown disabled. I'd like to have a rough idea of how long the app has been running continuously without being re-loaded. My thinking is that one source from which this can be gleaned is information about when the worker process was la...
I'm not aware of any counter information for the AppDomain, but in perfmon, you can get the Process -> Elapsed Time which shows how long the app pool has been running.
2
2
2,796
2009-12-04T01:37:06.990
infrastructure
serverfault.com
126,003
Index performance for CHAR vs VARCHAR (Postgres)
In this answer ( https://stackoverflow.com/questions/517579/strings-as-primary-keys-in-sql-database ) a single remark caught my eye: Also keep in mind that there's often a very big difference between a CHAR and a VARCHAR when doing index comparisons Does this apply / still apply for Postgres? I found pages on Oracle cl...
[CODE] and [CODE] are implemented exactly the same in Postgres (and Oracle). There is no difference in speed when using those data types. However, there is one difference that can make a difference in performance: a [CODE] column is always padded to the defined length. So if you define a column as [CODE] and one as [CO...
29
40
33,632
2016-01-12T15:32:24.453
database_errors
dba.stackexchange.com
224,822
How can I speed up this 2m5s query that has indices?
How can I speed up this 2m5s query that has indices? [CODE] It doesn't seem to be using the hit_date index or url_id index. I tried using a sub-select [CODE] and it was faster and took 24s. Is there a way to make it less than 5s? The limit for the entire request is 30s. MySQL Server version: 5.6.35-log MySQL Community ...
Your query is equal to [CODE] except in your query output there are only records which "pairs" exists in [CODE] table. But the constraint [CODE] do not allow those records. So my query is absolutely equal to your one, and you can use it instead. To increase this query speed you may create covering index [CODE] And the ...
0
3
69
2018-12-12T19:40:19.933
database_errors
dba.stackexchange.com
78,844
What's the correct approach for passing data from several models into a service?
I have an [CODE] and a page where the user can upload a file. What I would like to have happen is when the user uploads the file. The [CODE] does something like the following. this is a quick attempt just written in the question to illustrate my question. [CODE] Wouldn't this approach be in bad practice? Since I'm maki...
Couple of angles here. First, you could probably pass the account model into your service as a constructor dependency if it is in fact used everywhere there. Using any IoC framework you can pretty easily fob off these dependencies on the framework presuming it knows how to hydrate them. Second, I would typically avoid ...
5
1
399
2011-05-24T16:30:37.060
api_errors
softwareengineering.stackexchange.com
956,098
What security weekness(es) does my vino VNC server have?
I installed vino VNC server on Lubuntu 18.04, and configured and started my vino server according to https://askubuntu.com/a/530196/1471 : [CODE] https://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html says that VNC uses a random challenge-response system to provide the basic authentication that allows you to ...
"I could connect to the server at port 5900" That would explain why also other systems could , there is no software firewall restriction on the server itself that prevents connections to that port/service. To explain how remote clients can connect, that depends on your networking setup. If the Ubuntu server does not ha...
-1
3
1,020
2019-02-28T06:43:25.000
hadoop_errors
serverfault.com
888,764
mariaDB master to master replication
I have just started using mariaDB. I wanted to make a master to master replication. Tried a few tutorials but all failed. I have followed a newer tutorial in do https://www.digitalocean.com/community/tutorials/how-to-configure-mysql-group-replication-on-ubuntu-16-04 I know that it's saying mysql group but I did heard m...
MySQL and MariaDB have compatible API, which means the clients and programs should work with either MySQL or MariaDB without any changes. However on the server side they are more and more diverging and not all MySQL config options are available in MariaDB and vice versa. In particular MariaDB and MySQL have different G...
1
4
887
2017-12-18T22:58:07.023
database_errors
serverfault.com
323,775
Real Time Analytics: Which database?
We are currently using MongoDB, and it is performing well for our needs. However, we are looking to support better real-time analytics and aggregations, which MongoDB doesn't handle effectively. Therefore, we are exploring other possibilities. The biggest problem is my data is so much flexible. We store: contacts event...
Since different attributes have input types, we could create two tables...attribute_string_1, attribute_string_2, attribute_string_3 What do you think might be the best choice for such a problem? Well that would defeat the purpose of using a NoSQL database like MongoDB, and you could just use a regular RDBMS at that po...
-1
0
96
2023-02-19T12:12:09.127
database_errors
dba.stackexchange.com
248,489
How to exclude tempdb from sp_MSforeachdb?
Below I have a code to get info about t-log backups for each database in the server. I want to exclude tempdb from this list. [CODE] I tried writing 'IF ''?'' NOT IN (''tempdb'') SELECT.......' but all results were identical for only one database. Then I tried writing AND sysdb.name <> ''tempdb'''' but it gave an error...
A possibility would be to check for DB_Name = 'Tempdb', and if it's tempdb just end the script. This is a quick test I did, and it seems to works : [CODE] That will run the code on each db, but if it's tempdb it wont execute a thing, cause it'll return. It's also known that using sp_msforeachdb is not always the best t...
0
6
2,187
2019-09-11T06:37:38.230
database_errors
dba.stackexchange.com
391,359
Debug sudden load peaks
I need to debug sudden load peaks automatically. We already monitor with nagios like check scripts, but the load peaks are seldom and short. I search for a daemon which checks the load every N seconds and if there is trouble, reports something like [CODE] (and iotop --batch) Graphs created with e.g. munin don't help he...
Amongst many possibilities for local process monitoring ( choose your poison ) is monit , I do something like this in [CODE] on centos machines; [CODE] I imagine that you might want to be more aggressive with the checks, hence you might want to set the daemon to run checks more often, maybe every 30 seconds until you h...
2
1
1,299
2012-05-22T09:30:01.433
infrastructure
serverfault.com
1,005,456
Openldap re-hashes already hashed password
I have an openldap with ppolicy on SSHA-512. When clear text password is sent from client, the password will be stored as SSHA-512, fine. My problem appears, once already hashed password is send e.g SHA, SSHA, or even SSHA-512, the hashed value is hashed again, on SSHA-512. I have configured my ppolicy with: olcPPolicy...
Long story short, as long as you use PasswordModifyExtendedRequest for updating the password with: ppolicy configured and olcPPolicyHashCleartext: TRUE the password value sent, hashed or not, will always be hashed again according to ppolicy. To store the password without triggering ppolicy, simply avoid using PasswordM...
0
0
645
2020-03-03T15:33:29.423
infrastructure
serverfault.com
876,240
Paths of files on Google Nearline changed
While I was recovering files by CloudBerry, I realized that the paths of nearly all files on the Google Cloud are altered. It should be G:\2014\Photo Video Source Files\UTS construction video\GOPR2856 UTS Construction.MP4 but it is saved on Google Nearline like this G:\2014\Photo Video Source Files\UTS construction vid...
You are probably doing incremental backups . The [CODE] suggests there might be several modified versions of the same file backed up. Such backups are ment to be recovered using the same tool that created them, not by copying the files back.
0
2
27
2017-09-30T03:34:00.350
infrastructure
serverfault.com
998,368
HTTPS to Windows VM: Finding/generating certificate on VM?
I am testing a REST service against a Windows VM that is provided by the service owner. I have Admin level access to the VM via RDP. The test setup is to modify the hosts file on the machine that runs the test to point the service.location.net to the IP of the VM, and then do a POST to https://service.location.net/endp...
You can generate a certificate on the VM with Powershell: New-SelfSignedCertificate This first command will create a SelfSigned Certificate, stored in the machine's personal store. [CODE] Then, this command will export the certificate in c:\temp (protected by a password) Export-PfxCertificate [CODE] Finally, you have t...
3
2
247
2020-01-09T23:06:26.840
data_quality
serverfault.com
569,866
Jenkins won't serve with CA signed certificate
tl;dr Fixed I've been running a Jenkins instance for a while with a self signed certificate, which works fine except the hassle of having to create certificate validation exceptions in browsers. So today I got a free tier 1 certificate from StartSSL , changed the path in [CODE] , and restarted the service, but it doesn...
I believe you will need a PrivateKeyEntry. You may have generated the CSR with open SSL instead of keytool. You can try: [CODE] See this for a reference as well: https://stackoverflow.com/questions/6252045/creating-a-keystore-from-private-key-and-a-public-key If you look at your old keystore, the entry is Private versu...
9
9
18,395
2014-01-25T17:43:43.950
pipeline_ops
serverfault.com
125,943
How to change Blackberry initial message download limit
BES 4.1.6 Blackberry 8300 (curve) Hi guys, I've noticed that handhelds will typically only retrieve the first few KB and then prompt the user to manually retrieve more (or auto-retrieve if they scroll down). The problem is that I have a BB app that needs to see the entire message all at once on the first initial time i...
You can amend the packet size sent to the device in the MDS settings on the BES. You want to goto general and Maximum KB/Connection. I think the max is 1024, we moved this to 512 to handle more data. not my knowledge i just googled your questions and got this from the blackberry forums hopefully it works Blackberry Sup...
1
1
1,970
2010-03-24T19:22:28.043
infrastructure
serverfault.com
261,005
Can a single field reference two PRIMARY KEY (or UNIQUE) fields of two different tables?
These are my tables: [CODE] [CODE] [CODE] Can an email field refer to two different [CODE] (or [CODE] ) fields at a time? Under this schema, only one user or one domain can ask a given question?
You can do it in both SQL Server (see fiddle here ) and IBM DB2 ( fiddle ): I adapted your table create syntax slightly because it fails on SQL Server 2019 on the fiddle otherwise (I imagine it would fail on all versions of SQL Server). Your syntax works on IBM DB2. The first table: I had to change (SQL Server) the [CO...
0
2
306
2020-03-02T16:07:43.493
warehouse_errors
dba.stackexchange.com
1,122,667
how to SSH to Wireguard server from Windows client with active VPN connection?
I have Wireguard server on Rocky 8.7, when I connect to the server I route all client traffic through Wireguard this is quotes from setup script, of course all variables is set (and all works good) config for Wireguard server: [CODE] config for Wireguard client: [CODE] server settings for traffic redirection and firewa...
currently I have one working solution, which seems not optimal on client config instead [CODE] i put other line, where I subtract from 0.0.0.0/0 IP address of Wireguard server why solution seems not optimal? because after IP subtraction I get a very long line that is inconvenient to read for example my server IP addres...
0
0
684
2023-02-12T13:07:49.597
infrastructure
serverfault.com
301,853
Understanding the difference between Webservices and Service Layer
My understanding of a webservice and service layer is as follows - Service Layer : An abstraction layer which exposes a set of common operations which can be used by multiple consumers. For instance , I have a database containing customer data. Multiple applications may want to add / update / delete data in this data s...
A service layer is a layer in an application that hides away specific implementation details for a system and provides a uniform and consistent interface to the operations in that system. A webservice is a communication pattern between devices. The service layer defines a boundary for your system where external systems...
8
13
12,256
2015-11-05T21:07:17.470
data_quality
softwareengineering.stackexchange.com
723,830
Azure blob storage custom domain verification - Azure telling me to create CNAME for non-existent address
I want to assign a custom domain name to my Azure blob storage account. In the custom domain setup page it says: You can map a custom subdomain name to your Blob service endpoint. Windows Azure must verify that you are authorized to modify DNS records for the domain. To verify authorization, create a CNAME resource rec...
It doesn't need to resolve to anything. Microsoft will check your domain's DNS for that record. If it exists, you've proved you at least have control of the domain's DNS records, and as such have proven enough control of the domain for Microsoft's comfort level. No one other than Microsoft's "does Howiecamp own [CODE] ...
1
2
1,854
2015-09-21T20:06:09.093
infrastructure
serverfault.com
95,620
Why does this plan cost even though there are no rows?
I execute a Batch-Operation. The whole execution needs about 60s. The following statement needs 75.6% of the whole Batch-Operation: [CODE] But there are no rows in WW_Pos for this where-condition. As you can see in the execution-plan, the Update-Operation of the clustered index would take 99% of the costs of the plan: ...
The following statement needs 75.6% of the whole Batch-Operation This is an estimate. The percentage costs are always estimates, even in a post-execution ('actual') execution plan. The 75.6% figure represents the estimated cost of this plan as a proportion of the estimated cost of the entire batch. Given the disparity ...
2
4
99
2015-03-18T18:52:48.277
database_errors
dba.stackexchange.com
1,032,329
Federated Azure users can't log in to Windows 10 Pro
We've just set up Azure AD and federated it with our G Suite system. I see the provisioned users from G Suite and can log in to Azure and Office with them, no problem. I also have a Windows 10 Pro PC and have joined it to Azure. Users on our [CODE] domain can log in to the computer without a problem. Federated users on...
The log above only shows that the device is indeed joined to Azure AD, it does not show what is happening during the user authentication process. From the description of your setup/error, it seems like the SAML federation with Google is not correctly enabled, reference: https://docs.microsoft.com/en-us/azure/active-dir...
0
0
1,084
2020-09-01T20:23:35.190
infrastructure
serverfault.com
229,250
How to modify values on INSERT based on referenced table, even if foreign key doesn't exist yet?
Summary I want to add rows to a (projected) very huge table, but switch 2 values for references in other tables. The catch is that the referenced tables should be updated automatically when new values arrive. I have a hunch about how to do it, but don't know how to execute. There's a lengthy explanation below, but feel...
This is the most common use for [CODE] triggers, creating updatable views. Essentially you would: Create your base tables Create the view referencing those tables, presenting them as a single table Create [CODE] triggers for insert/update/delete operations - these cause the default action (an error, because you can't u...
2
1
661
2019-02-08T16:33:04.197
database_errors
dba.stackexchange.com
247,131
Mysql Config Suggestions - CPU too high
My server (64GB,16CPUs) has mariadb 5.5.60. The queries are around 500 selects /second and 300 inserts/seconds. The queries are simple select of auth token and user details. Both are properly indexed. The insert query is also very simple. However, the CPU usage is still high %cpu usage is >600%. The following is the my...
[CODE] Is the old name for [CODE] . They limit the number of entries. 10G is unreasonable . [CODE] is high, but probably OK. [CODE] are dangerously high. If just a few threads decide to build a big temp table, you could run out of RAM, possibly out of swap space. Set them to no more than 1% of RAM. These are OK as you ...
1
1
345
2019-09-06T06:48:15.843
api_errors
dba.stackexchange.com
93,431
Ubuntu rm not deleting files
My colleague and I have been struggling with deleting a directory and its contents. We are working on a new version of our websites source code on Ubuntu 8.04 (dir: /var/www/websites), what we want to do is delete the websites directory and recreate it from a .tar backup we created a couple weeks ago. The purpose of th...
The problem was a sym-link that none of use were intelligent enough to spot. Not to worry :-)
0
0
2,327
2009-12-11T15:52:24.350
pipeline_ops
serverfault.com
155,259
Super slow MariaDB 5.5 count(*) on large simple table
I'm doing some testing on a dedicated mediocre server (Core 2 2G ram). Before I upgrade to 8G ram, I am concerned something is very wrong here. Simple queries have normal performance: [CODE] However count(*) and count(domain) are ridiculously slow: [CODE] Explain claims it is using INDEX, yet it still shows full table ...
It's reading the entire 12M rows in the index. Yes, it is doing an index scan, not a table scan, but that is really the table (only 2 columns), then the index is as big as the data. Do not use [CODE] unless the data is constant length. I suspect the average length for a "domain" is somewhere around 20. Changing to [COD...
2
1
4,588
2016-11-15T03:07:57.090
database_errors
dba.stackexchange.com
57,434
Too many connections to SQL 2005
I have a situation where an application is over time opening a cumulative 6000 + connections to a 32 bit SQL2005 SP2 backend from a couple of app servers eventually causing internal memory pressure (dll unload from mem2leave area messages in log whilst simultaneously crashing app). I assume that the application is at f...
A .NET app should clean it self up when the garbage collector runs on the app server. This should be automatically running every few minutes. Can you query the SQL Server and see that these connections are still open on the SQL Server? If you run netstat on the app server can you see all the socket connections open? (E...
2
1
3,546
2009-08-22T12:52:24.697
database_errors
serverfault.com
193,631
SSH into a box with a frequently changed IP
I have some cloud boxes that change their IP frequently. I ssh using the hostname but have to edit the known_hosts file every time the server launches because of this error message: [CODE] Aside from any security risks and such that are associated with what I want to do, is there a way to either ignore this error or ov...
Edit your [CODE] file and add a config for this server: [CODE] CheckHostIP defaults to 'yes'. What this does is to do just the kind of check you're failing. Turning it off means it just trusts that the IP is variable, and will to key-checking against the hostname.
38
29
22,129
2010-10-21T22:13:14.233
infrastructure
serverfault.com
323,914
Duplicate Software and Add Functionality or Keep One with Versatile Functions
I was recently hired, and I found two exact applications with a single extra service in the duplicated version, and of course each application points to separate databases. However, the original version had some vulnerabilities that I need to duplicate again on the copied version. Thus, the raised question is: should w...
You should never duplicate complex code. Period. The main reason is exactly the situation you're in: Complex software will require modification (whether to correct defects or to extend functionality doesn't matter), and making the same change twice is more effort and more error-prone. Therefore the right thing to do is...
1
2
52
2016-07-04T05:43:51.063
data_quality
softwareengineering.stackexchange.com
839,842
php-fpm php_network_getaddresses calls randomly start failing with bad udp cksum
We're running a number of web servers (nginx, php5.6-fpm) on ubuntu instances on AWS. They've been running fine for a number of months, but in the past few days we've started getting issues where after an instance spins up everything is fine, but after 12 hours or so, network calls start to fail (specifically in this i...
You have a defective security fix installed -- this sounds like the issue from USN-3239-2 . A security update for GNU libc that addressed (among other things)... an unbounded stack allocation in the [CODE] function of the GNU C Library. ....contained a regression -- an unintended ABI change -- that seems to have caused...
4
7
1,358
2017-03-22T08:50:59.227
database_errors
serverfault.com
424,478
Exchange 2010 SP1 Auto Discover Service
I have a test exchange 2010 SP1 server also running as a domain controller. We are going to use it as a development exchange server to test our own Exchange related developments against. The domain works fine, as does exchange. It can route emails etc between accounts without issue. Connecting Outlook 2010 / 2003 and u...
Resolved. One of my colleagues while trying to resolve the issue has created an additional SSL port in IIS under the default website. (i didn't know this / realize this can cause an issue) Combing the event logs, I found this entry. [CODE] Removing the additional SSL binding from the website resolved the issue. Auto di...
1
1
11,657
2012-09-05T10:30:03.893
api_errors
serverfault.com
130,917
Oracle. How to copy BLOB, LONG RAW and BFILE column between tables
I have a table name mytable in Oracle 9i. columns of mytable are [CODE] when I try to do this: [CODE] I get this: [CODE] I guess the rest of columns that are of some kind of binary data (BLOB, AND BFILE, besides LONG RAW) will yield errors also. Would someone please shed some light on how to do this?
What Oracle says about your error? You try to select distinct values from a long column, create a table using as select with a long column, insert into a table by selecting the long column from another table and an ORA-00997: illegal use of LONG datatype ... occurs It is a restriction of the long columns that they cann...
2
3
5,812
2016-03-01T15:01:49.503
database_errors
dba.stackexchange.com
809,097
Having issues with DHCP classes
I'm having issues with DHCP classes matching mac addresses. We have a lot of one type of machine and I want to get the IPMI cards in the same pool. I've tried the following; [CODE] For some reason nothing is getting matched and the machines aren't picking up reservations. [CODE] Any ideas?
From [CODE] : [CODE] So you likely either need to add the type of network to the search: [CODE] Or to blindly assume ethernet and start the search not at the first position: [CODE] In testing, the "type of network" as a leading [CODE] or [CODE] did not pan out, while the following did: [CODE]
0
1
316
2016-10-14T16:33:32.933
infrastructure
serverfault.com
320,974
Making a query to sum up all records of a subgroup excluding a specific instance
I'm struggling to make a query that looks at a series of finance records for an individual and gets the amount owing on one record and also (separately) the amount owing on any previous records Here is the query (cut down from the actual example, and with declared parameters that in the real world are passed to a netwo...
nope You can't do what you want with the way you've written the query, but there is a workaround. The reason why is due to the way queries are logically processed . In particular the point at which, [CODE] portions are projected, etc. I'm going to use local examples to make things simpler. You can do this: [CODE] But y...
0
2
523
2022-12-14T15:18:00.157
warehouse_errors
dba.stackexchange.com
133,312
Optimizing an Intersect query between two huge spatial tables
I am having a hard time trying to improve an intersect between two spatial tables and I would like to receive any tips about the table designs, queries or dba configs. Tables: Table [CODE] has 1,655,569 rows right now, but this a sub sample made for this test of a 9 million rows table. [CODE] Table [CODE] has 177,888 r...
Update: Since this was published, the problem evolve and now we deal with 140kk+ rows. However, Postgis also evolved and it is now possible to "fix" the the feature table. No more need of [CODE] from ArcMap. I did it using a ST_VoronoiPolygons approach. I created a working gist with a function that breaks features on t...
5
2
1,663
2016-03-24T17:40:37.603
database_errors
dba.stackexchange.com
373,246
Postfix, saslauthd, mysql, smtp authentication problems
Trying to get authentication on my mail server (ubuntu 10.04) running but am having trouble. I have a server with postfix for smtp setup, imap server with courier setup. My postfix authentication is using cyrus (I haven't tried dovecot really) saslauth. The user name and password is stored in a MySql database. Logging ...
Looking for someone to walk me through getting this working. Im new to the mail server, and have never got one fully working. Welcome to E-mail hell, my friend. You're in good company. First, if you are really serious about running an email server, you'll want to study up. E-mail is like most utility services - taken f...
4
5
4,897
2012-03-25T20:43:33.733
api_errors
serverfault.com
49,325
What is MSrepl_tran_version? (MS SQL Server)
So, I'm an "enterprise software developer" (welcome to hell, here's your accordion), meaning I'm not a DBA and I'm inheriting something that's been around for years and very few people have a crisp explanation for much at all. My question: what, exactly, is msrepl_tran_version? We have it in all our tables (a rather la...
what, exactly, is msrepl_tran_version? We have it in all our tables (a rather large number), but I don't believe we're using replication. I guess we did at some point in the past, maybe. when you have configured Transactional replication with updatable subscriptions, replication adds the column msrepl_tran_version to e...
5
4
7,302
2013-09-05T15:12:51.410
database_errors
dba.stackexchange.com
1,076,230
Can tone ethernet cable into patch panel but it's not working
So we recently had to two major issues happen at a location. We had a lightning strike hit the building We updated switches after this lightning strike Now one thing that was 'hit' was a SOHO router. After upgrading the server room, we realized that the port for this SOHO router no longer works. I toned the cable out f...
You can use a Fluke to test the pairs. That will tell you if the cable is bad; all the tone does is confirm that the two ends have electrical connectivity.
5
10
1,764
2021-09-01T02:16:32.220
infrastructure
serverfault.com
248,587
How to remove a secondary database from an availability group and rejoin it
I have an availability group (AG) with multiple databases (DB-A, DB-B, DB-C), and multiple secondaries (SEC-B, SEC-C) and one of the databases will not resume synchronization on just one of the secondaries. For this example, DB-C is not synchronizing on SEC-C and no amount of restarting SQL Server or resuming HADR will...
This can be done by simply removing the secondary database from the availability group (AG), restoring backups to get it back in sync, and then adding it back to the AG. SQL Server Management Studio has support for removing a secondary database from an AG and adding it back, but it doesn't have a wizard (as of this wri...
6
8
6,691
2019-09-12T02:14:50.850
database_errors
dba.stackexchange.com
185,520
Index manteinance: does the order of processing make a difference?
I have an 800GB SQL Server Enterprise database with very bad performance. So, based on a few scripts I found online I'm creating a job on my SQL database to maintain our indexes. Most of my tables have a clustered index and 3 or 4 non-clustered. Does it make any difference the order in which the indexes are being rebui...
Does it make any difference the order in which the indexes are being rebuild/reorganized? As commented by @Dan Guzman it does not matter. But if your rebuilding and free disk space is limited I suggest you start from small to bigger ones (among the one qualify based on whatever criteria you are using). Reason explained...
2
1
367
2017-09-10T05:05:13.067
database_errors
dba.stackexchange.com
215,891
Loose typing not applied to objects
I have very little experience working with classes and object. I work in a loosely typed language, PHP. I was working with a SimpleXML object and ran into a problem where I was trying to do math with an element of that object like [CODE] If I echoed that value, I'd get [CODE] but when I tried to do math with it, it was...
[CODE] That will output a string variable. [CODE] That will convert the string [CODE] to integer. PHP does not round up. So it becomes [CODE] and [CODE] . [CODE] That works because you're telling PHP to cast to a float. PHP will then auto convert the [CODE] from an int to float. Alternatively, you can also do this. [CO...
1
2
262
2013-10-29T16:53:36.937
api_errors
softwareengineering.stackexchange.com
331,320
Unknown Apache2 + PHP5 FastCGI 500 error .. caused by search engine bots?
My Ubuntu server is configured with Apache 2.2.8 and PHP 5.2.4-2ubuntu5.18 in FastCGI mode. Everything works well, except I am seeing 500 errors that only seem to come from bots accessing the server.. for example (access.log): x.125.71.104 - - [16/Nov/2011:10:27:39 +1100] "GET / HTTP/1.1" 500 41377 "-" "Mozilla/5.0 (co...
Do you want bots indexing your site? If not I wouldn't worry about it. If you do, check PHP error logs ( [CODE] is usually a good default place to look) and see what's causing PHP to trip up for bots. They may be providing no GET params or POST data to a script which requires it to function properly. In this case I wou...
2
1
1,442
2011-11-16T00:27:15.643
pipeline_ops
serverfault.com
60,866
Split tuples with labeled samples in training, validation and test sets
I was reading through all the internet and i can't find nothing similar what i am looking for, i only saw this topic for pd.DataFrame, np.ndarray and list datasets but i didn't find nothing explaining about the technique for tuples of (sample, target), in my real project i collected some text values from a sensor data,...
I would suggest using the well-known and tested [CODE] function from [CODE] . Here is the documentation . You start with arrays in your example, so no need to use tuples. Because you want train, test and validation sets, you will need to split the data twice though. Here is an example, where I split the into [CODE] and...
0
0
1,871
2019-09-27T07:03:55.937
airflow_errors
datascience.stackexchange.com
103,478
Server routing issue
Whenever I do [CODE] from my Windows XP PC I always get "request timed out" for this particular destination server. But others are working fine. Only our server which is located in Dubai that is not tracing properly always all the time. I am able to access the site (via IP notation) sometimes but more often I am not ab...
Dubai is one of many countries that has active internet filtering so you may be seeing a side effect of that even if there is no specific reason for the Dubai authorities to block the traffic to\from your target system. I've no idea how their internet controls work but it is quite likely that the decision making part o...
1
1
84
2010-01-17T07:56:29.127
infrastructure
serverfault.com
399,558
Windows Shares / NTFS permissions on folder redirection in Active Directory
A client has folder redirection in AD setup on each user's Home Folder set to the Z:\ drive as \server\share\username. A Group Policy redirects the user's Documents to the user's Home Folder with the option 'Grant the user to exclusive rights to Documents' selected. The share on the server has permissions for the relev...
On one of the folders, Security tab > Advanced button, you can use the Effective Permissions tool to determine exactly what permissions are conferred to a particular security principal. I would suspect that a user may have elevated permissions or rights that you are not aware of. This may occur due to inadvertent or in...
1
0
988
2012-06-17T17:32:00.603
infrastructure
serverfault.com
624
Developers have code kata to practice skills. What test equivalents are there?
Deliberate practice is the key to developing mastery of a skill. If you want to practice your programming skills, there are a wealth of resources like code kata. What are the equivalents for test design? Edited to add a bit more detail about deliberate practice: In order for deliberate practice to be effective, it need...
testerab, Great question. I'm a huge believer in these kinds of activities. You Would Enjoy Spending Time with Markus Gärtner When I think of the software testing community's response to code katas, I think of the prolific testing blogger Markus Gartner and his involvement in promoting Testing Dojos. They are collabora...
37
17
2,076
2011-05-16T22:37:14.963
data_quality
sqa.stackexchange.com
56,038
Capturing Table Changes without killing the server
I have an Application that uses Oracle. Among many things, this application has timesheet entry. Supervisors enter their employee's hours, allocating to charge codes, under the appropriate rate (straight or overtime) - and save it. We need to report (upload) hour data each day to a third party. If hours are changed aft...
Just from a logical standpoint you're going to have to have 2 copies of the data, or a log of each change (including the deletes/inserts). You can use the tables/triggers like you said, use flashback query (and that will work on 11g by the way, assuming that all the archive logs for the day are still online-- and, in m...
1
1
1,499
2014-01-03T01:27:42.403
data_quality
dba.stackexchange.com
6,080
metric learning and information retrieval
I am interested in parsing semi-structured text. Assume that I have a text with labels of the kind: year_field, year_value, identity_field, identity_value, ..., address_field, address_value, and so on. These fields and their associated values can be everywhere in the text, but usually they are near to each other, and m...
Conditional Random Fields (CRFs) can be used for segmenting/labeling sequential problems. Try CRF++: Yet Another CRF toolkit, a simple, customizable, and open source implementation of Conditional Random Fields (CRFs) You can label and create a tagged training corpus and use CRF++ You also need to create a feature templ...
4
1
111
2015-06-11T07:53:26.120
data_quality
datascience.stackexchange.com
354,869
Persistent web cache?
I'm building nginx cache on a development machine and try to copy the files to a server that has the same nginx cache settings. But nginx is not picking up my copied caches and overwrite my caches. Update #1: Testing the persistent cache in Varnish. Update #2: Persistent cache in Varnish is experimental and crashes. =(
Try using [CODE] in Nginx instead of [CODE] . While [CODE] is under control of Nginx (so that your own files may interfere in some way), [CODE] is used to create mirrors. It's probably better fit for your needs.
1
0
722
2012-01-30T02:04:41.413
infrastructure
serverfault.com
36,602
NullPointerException in RequestSpecification
Getting Null pointer exception whenever running, unable to resolve. Below is my code [CODE] Uses of setFormParam method [CODE]
Now take a look at [CODE] method: [CODE] and then at [CODE] that calls [CODE] : [CODE] In the code you listed you never initialize original [CODE] . Then how would you expect it to have non-null value?
0
2
362
2018-11-28T16:08:06.207
data_quality
sqa.stackexchange.com
197,222
SQL Server Installation Error: Object reference not set to an instance of an object
I am trying to install Microsoft SQL Server, but whenever I try to do so, the Database Engine Services feature fails and I get the following error: Object reference not set to an instance of an object This has happened on Enterprise & Developer editions, both 2016 and 2017. The summary log isn't particularly helpful (a...
The Details.txt log shows an error of: [CODE] As the first error that occurs, when it initially attempts to connect to the database engine. This might be the better error to chase down, since it seems to indicate something interfering with the connection. A quick search shows some similar with people running Lavasoft (...
0
0
1,463
2018-02-07T02:12:18.243
database_errors
dba.stackexchange.com
745,248
Socket IO combined with apache ssl server
I'm trying to run a NodeJS server on port 8000 along with my Apache server which has a ssl certificate. I'm using virtual hosts and proxypass to link from my apache website through the /node path to my NodeJS server. The problem I'm having right is that I'm able to load the pages served with the Express plugin but the ...
I've finally figured it out. Server side I run the following code on my nodeJS app: [CODE] Client side I serve a page using my Apache server which simply uses the following to establish the connection. [CODE] I never realized you could run ssl over a port like 8000 in this way.
1
1
8,089
2015-12-25T11:59:46.377
api_errors
serverfault.com
665,085
How do I know if Postfix has MySQL/PostgreSQL support?
I'm not sure if my Postfix installation has MySQL or PostgreSQL support. How do I find out?
The solution is identical to How do i know what postfix is compiled with? , but I guessed you asked in order for the question to be more easily googleable. Clever you! Run [CODE] : [CODE] If you don't have the packages, on Ubuntu, you can install [CODE] and [CODE] .
2
8
1,029
2015-02-04T22:18:10.717
database_errors
serverfault.com
567,130
How to use Calling-Station-Id on a per user basis in freeRADIUS?
I am trying to limit every user to a small set of Mac-IDs in RADIUS, by directly including the appropriate information in the [CODE] file. It would be acceptable even if every user was limited to one mac. The server is running FreeRADIUS version 2.1.12 from the Ubuntu 13.10 repos. The authentication used is PEAP and MS...
You've not fed through the attributes in the outer request to the inner server. Set [CODE] in [CODE] (in eap.conf or mods-available/eap). https://github.com/FreeRADIUS/freeradius-server/blob/master/raddb/mods-available/eap#L594 The files call in the inner server does not have access to the Calling-Station-ID attribute ...
2
4
15,890
2014-01-14T12:28:44.380
api_errors
serverfault.com
955,607
Time is going too fast on FreeBSD 12 on compute engine
I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: [CODE] But date is in the future, the time goes too fast on the server. [CODE] UTC now is: Mon Feb 25 10:31:21 UTC 2019 I've tried to restart the ntpd service: [CODE] without any luck. I found a discussion he...
Put this line into the rc.conf. Time will be synced when you start the system and/or when you (re)start ntpd . [CODE] This parameter causes "ntpd" to start with option " -g " (see /etc/rc.d/ntpd), (see man ntpd) -g, --panicgate. Allow the first adjustment to be Big. This option may appear an unlimited number of times. ...
0
3
735
2019-02-25T10:33:35.540
infrastructure
serverfault.com
82,716
Update table using SELECT in WHERE clause
[CODE] If I execute these query it give me error "#1093 - You can't specify target table 'table1' for update in FROM clause " It's my Stored Procedure query Please tell me what wrong in the query
this should be your solution. https://stackoverflow.com/questions/17032465/error-1093-you-cant-specify-target-table-relproductsprices-for-update-in-f just use a nested table after [CODE]
-1
0
2,939
2014-11-15T06:18:55.660
database_errors
dba.stackexchange.com
37,219
How to plot High Dimensional supervised K-means on a 2D plot chart
I'm Having a ML problem where my data set contains 80 features labelled into 3 groups (0, 1, -1). I want to plot the data on a 2D surface to see how "close" (similar) data with [CODE] is to data with [CODE] , how the data spreads, are the labels separable, etc. I was thinking about using PCA and transform the data from...
What you are looking to do is perform some projection or feature compression (both of those terms mean the same thing in this context) onto a 2D plane while maintaining relative similarity. Many of these techniques exist each optimizing a different aspect of relative "closeness". The following code will show you 4 diff...
-1
1
395
2018-08-21T06:42:21.637
data_quality
datascience.stackexchange.com
219,941
Should I worry about my static IPs?
We currently have a range of 12 static IP addresses through our ISP that I believe are leased. Now that the IPv4 space is almost gone, should I be worried that our ISP (it's a Time Warner fiber connection) will want to pull these back or in some other way charge us a lot of money to keep them? If so, what I can do righ...
I don't believe this is going to be a problem for end users for a while, yet. As I understand it, IANA will run out of /8s in a few months' time, but it'll be a while yet before this filters down through the RIRs to the end users and If any recovery measures are instigated, then I expect the first targets will be the e...
2
3
275
2011-01-07T18:16:22.833
infrastructure
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
database_errors
serverfault.com
846,667
Storage Spaces Direct MTBF
I'm testing S2D now and I would like to calculate MTBF for the whole system. It seems very fragile to me: Let's have 4 nodes (x) with 12 drives (y) in each. MTBF for one node is [CODE] of single drive value. For three-copy mirror we can tolerate 2 node failures (equals two failed disks in different nodes). That gives m...
Microsoft recommends % of usable capacity, "2 disks" is too bold statement for say 90 disk JBOD.
7
7
204
2017-04-26T14:10:53.020
pipeline_ops
serverfault.com
352,097
Request Executing leak in IIS 6.0 till Server Busy
I've got an application running on IIS 6 that's being hit by hundreds of remote clients doing all kinds of requests, some that are long running and some that are not. On some deployments, one in particular at the moment, the ASP .NET Applications - Requests Executing counter just keeps climbing until it hits the limit ...
"On some deployments" - what does this mean? Short answer: Because your worker threads are getting tied up and hanging, and not timing out. If it's ASP.Net, threads in retail mode should time out after 120 seconds. As they're not, either there's something very serious going wrong, or you're running in debug mode, i.e. ...
0
1
745
2012-01-20T22:05:39.243
pipeline_ops
serverfault.com
127,271
Reach the same svn repository from a LAN connection and from a external connection
I usually work with a svn repository located in my local office network. Sometimes, when I'm home, I need to connect to my office svn repository. The problem is that, when I'm in office, to reach the svn repo I use an internal LAN IP (like 192.168.1.200), but when I'm home the IP is different, because I reach the serve...
Assuming the external access is already set up, you can use ' svn switch --relocate ' to switch back and forth between internal and external urls. Doc: http://svnbook.red-bean.com/en/1.0/re27.html (see the last part about --relocate) If you're using TortoiseSVN, it has a 'relocate' feature. Here's a command-line exampl...
1
1
2,290
2010-03-28T21:27:43.067
infrastructure
serverfault.com
889,554
pkg_add can't install anything on openbsd 6.1
When I attempt to pkg_add screen or any other pkg, I see: [CODE] /etc/pkg.conf contains: [CODE]
Probably you have defined [CODE] somewhere. Try this as root: [CODE]
2
3
1,165
2017-12-25T02:34:20.490
infrastructure
serverfault.com
302,537
SQL Server 2019 upgrade from Enterprise Evaluation > Developer
Someone installed Enterprise Evaluation on our development server which is about to expire. I wanted to do edition upgrade through the Installation Center but I got an error: Rule "SQL Server 2019 edition upgrade" failed. The selected Sql Server instance does not meet upgrade matrix reuqirements. The source Enterprise ...
Your error message doesn't match the title of your question. Your error message refers to upgrading Enterprise Edition to Developer Edition. And that's not listed as a valid upgrade/conversion path in the linked page. The allowed path you seem to be looking at is Enterprise Evaluation --> Developer. Based on the error ...
1
1
2,460
2021-11-12T10:12:36.680
api_errors
dba.stackexchange.com
224,169
SSMS can't connect to Azure database
I got a new Windows 10 machine and installed the latest version of SQLEXPRESS and then the latest version of SSMS (17.9.1). When trying to connect to my Azure database, I'm getting the following error. Error connecting to 'mydb.database.windows.net'. ------------------------------ ADDITIONAL INFORMATION: Failed to retr...
Update : I found that connecting to AWS failed too which led me to yet another Google search which led me here: https://www.sqlservercentral.com/Forums/1891503/Unable-to-connect-to-SQL-2008-Servers-from-SSMS-2017 Following the instructions from the last post in the referenced site, I downloaded IISCrypto and enabled al...
5
3
2,110
2018-12-05T05:01:33.730
database_errors
dba.stackexchange.com
441,247
GitFlow merge conflicts between release and develop
I've been using Git and GitFlow for quite a few years now, but this is still confusing me. Let's say I open branch [CODE] to let the stakeholders test their application. While they're testing devs complete 2 new features and merge them on [CODE] . Meanwhile stakeholders ask for 2 small fixes on [CODE] , devs fix them a...
Option 1 is probably more consistent with GitFlow, but I've tended to use a variation on Option 2, but the variation comes from a need to have checks prior to merging into a controlled (release or [CODE] ) branch - I'd create a branch for the change, merge into the release branch, and then merge the release branch into...
3
3
2,227
2022-09-25T14:26:26.777
api_errors
softwareengineering.stackexchange.com
108,792
Why is the k-fold cross-validation needed?
I am using k-fold cross-validation but do not understand it's aim. Before splitting the data set in training and test data set, one usually randomizes the entries of the data set. Given the training data set, the k-fold cross validation is done with the purpose of estimating beforehand how well the model would perform....
Given the randomization, it is unlikely that there will be a dramatic change from one run into the next one in the loop of the cross-validation. This assumption is wrong, it's true only if the training data is large and representative enough with respect to the features, the target class and the complexity of the model...
10
11
3,408
2022-03-05T18:26:59.113
data_quality
datascience.stackexchange.com
584,309
powershell and using get-eventlog
I am trying to create a script that pulls failed log on attempts for certain events in the past 24 hours but I cant figure out how to pull the account information out. User is Null all the time so info is blank BUT when I look in the general tab I can see "Account Information". I would like to pull and add what it show...
Try the following, it will extract TargetUserName from the event's message and add it as new column to original event. You will now be able to export it to c:\temp\yourlog.csv or wherever you need to. [CODE]
2
1
8,878
2014-03-25T01:32:14.303
infrastructure
serverfault.com
584,859
Hostname aliases in LDAP and phpLDAPadmin
What is the best method of storing multiple hostname aliases in LDAP? Currently, the hosts file I wish to migrate has many entries such as [CODE] From my testing, using [CODE] and [CODE] classes works fine, using the [CODE] attribute and multiple [CODE] attributes for the different hostnames. However, using the canonic...
It is indeed a problem with phpLDAPadmin, and there is nothing wrong with having multiple [CODE] attributes - we switched to Apache Directory Studio instead which has no problems in maintaining this structure.
0
0
575
2014-03-27T09:44:58.150
infrastructure
serverfault.com
1,024,312
Sending email for many domains using IIS SMTP - TLS?
We're selling a web application that customers install on-premise or in different cloud environments. The default email setup sends email via a web service we created 15 years ago to one of our servers. The web service on our central server create emails in the IIS SMTP pickup directory for delivery. We have always war...
Yes, your mail server should have one canonical name e.g. [CODE] . Ideally you'd use that name everywhere: in [CODE] hostname & SMTP banner in reverse DNS [CODE] record (with a matching [CODE] ) as the common name of the certificate. This domain doesn't have to (and technically can't) match every domain the server is u...
0
1
452
2020-07-07T08:00:22.923
infrastructure
serverfault.com
450,584
What does tracert make NETBIOS work on Win7?
This is really strange - I have a workaround for this (read on), but I'd love to know why it works. I had a VPN setup working fine with a WinServer2003 server and a Vista client. Then I setup a new Win7 box to access the same server. The server is running WINS. Both clients could get into the VPN fine, and ping machine...
I suspect that a side-effect of the tracert command is that it is populating the NetBIOS name cache. Run the command: [CODE] Both before and after the tracert command. My guess is you'll see the entry for "henshaw" show up. I forget the exact mechanism, it's something about being in an ad hoc NetBIOS network, there's n...
8
0
878
2012-11-20T18:31:59.303
infrastructure
serverfault.com
150,804
Do I have to (sometimes) sacrifice normalization for data integrity?
I often come up against the following challenge, and end up de-normalizing my table design in order to enforce data integrity. I would be interested to hear if there is a different way of modelling the data that is both normalized and enforces integrity. Here is a typical (simplified) example: [CODE] Here's what I am t...
I often come up against the following challenge, and end up de-normalizing my table design in order to enforce data integrity. This sounds like a contradiction. It's normalizing that usually enforces integrity. And in my opinion, you have a misunderstanding. You did not de-normalize your design. It is normalized just f...
4
4
889
2016-09-27T20:50:28.310
data_quality
dba.stackexchange.com
297,875
How to keep documentation up to date and accessible
The problem: Documentation is in code in the form of docs, its in wiki websites, its written down on notes, in diagrams and issue management systems. When documentation is so spread out, how does one manage to keep it up to date and relevant?
What you need to do is develop a single source of information . Depending on the tools and processes that you use, you probably don't need it in all of those places. I'm not sure what your requirements for documentation are, but that will likely drive what tool you use as the single point of reference. Minimally, you s...
1
5
4,195
2015-09-22T00:08:09.650
api_errors
softwareengineering.stackexchange.com
1,001,817
NSClient++ rejects connection or fails to send info
I'm trying to get to work some active checks on Windows endpoint machines, NSClient++ works just fine with my Windows servers but when it comes to checking any endpoint the only response I get is either [CODE] or [CODE] . I've checked my firewall, the endpoints' firewall and AV protection, the config files on the Nagio...
Is the [CODE] value correct for the NSClient listener? This is a common mistake as you need to "whitelist" who is allowed to call it up and run commands.
0
1
1,438
2020-02-04T23:53:52.817
infrastructure
serverfault.com
1,044,708
Debugging my NAT setup
I'm trying to get a raspberry Pi3 to forward traffic coming in to [CODE] further upstream via [CODE] , but it is failing for some reason I cannot see. Hopefully someone else can spot the issues. Pi3 state: [CODE] To check what was going wrong, I ran [CODE] on the downstream host ( [CODE] ) to try and trace the packets....
The problem was that I had not enabled the [CODE] configuration for the kernel: [CODE] With this, everything above worked as expected.
-2
2
87
2020-12-02T16:06:17.387
infrastructure
serverfault.com