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
199,067
Hardware between my servers and the internet
I'm not sure how i'm going to do this but this is my situation, i have 4 DELL 1U rack servers, fourth will be for web, third will be for email, second will be for MySQL and i want the first to be the 'controller'. Each of the servers are on a gigabit network and the Internet connection to it will be from a ethernet con...
To do this you would need to setup DNS for mailserver.mydomain.com, mysql.mydomain.com etc so that these resolve to an IP on your 'controller' or internet facing server/router. If you have more than one public IP you can then NAT these different IP's through to the different servers behind the firewall/controller serve...
0
0
77
2010-11-07T12:04:03.880
database_errors
serverfault.com
297,392
SQL Server 2008 - Changing Identity increment of a primary key in a table
I am changing the increment (making it 2 instead of 1) in identity of a column. SQL Server giving me the following error while making change to DB. I searched on internet but some of people saying that this can be a hardware issue but I've tried the same thing on different machine but it is giving me the same error. Fo...
Do you have a good backup? It might be time to use it. I doubt this has anything to do with changing the identity increment but rather is caused by trying to copy/write data to/from a bad page. What does [CODE] yield? How about: [CODE]
0
1
542
2011-08-03T15:19:54.853
database_errors
serverfault.com
229,323
How to copy database schema in the same database for testing purposes?
I need to copy... by any means, a schema of my database in that same database, let's say, I have SC1 and I have to duplicate it as SC2 without the data contained in SC1 (in the same database). How could that process be carried out? I am using Oracle Database 11gR2.
If using Toad: Database -> Export -> Generate Schema Script You can choose to copy an entire schema (SC1, in your case) and then ensure that it has Then log in as the SC2 schema user (or as DBA/SYS) and deploy the SC2 schema objects using the "deploy all" script that comes with the export. If any of the objects use fun...
2
1
7,113
2019-02-09T23:30:17.107
database_errors
dba.stackexchange.com
330,167
High CPU load after massive delete on PostgreSQL server
I've deleted ~65 million rows from a PostgreSQL table with ~75 million rows. As soon as the deletion query completed, the CPU plummeted to 100% for about five minutes. The table from which rows were deleted has multiple indexes and was in heavy use during the deletion and after it. Unfortunately I don't have a way to r...
This sounds like an issue I've run into before (or some variation of it), but without access to your servers or the ability to reproduce it, I can't be sure. If you have a lot of queries which select the minimum/maximum value from an indexed column in that table, they will normally be satisfied instantly by consulting ...
5
5
1,251
2023-08-10T12:09:37.343
database_errors
dba.stackexchange.com
237,086
SQL Server Management Studio 18 won't open (only splash screen pops up)
I just installed SSMS 18 GA on a computer with only VS2019 installed, and when I try to open SSMS the splash screen will come up, but then the process exits. Running ssms with the [CODE] parameter reveals an error message: CreateInstance failed for package [Task Scheduler Package]Source: 'mscorlib' Description: Could n...
I just overlaid the Microsoft.VisualStudio.Shell.Interop.8.0.dll in [CODE] with the copy from [CODE] and the IDE opens. (Thanks to Mitch for discovering the offending DLL name.) This looks like a popular Q & A today, so I'm glad to know this wasn't just me.
113
131
101,587
2019-04-30T23:49:00.127
database_errors
dba.stackexchange.com
1,124,055
Nginx FastCGI cache is EXPIRED when it should not
Nginx sets the x-fastcgi-cache header to EXPIRED a few hours after the page was first cached, whereas the cache validity is 1 week. Nginx Config: [CODE] I don't understand why even with [CODE] and [CODE] I have an expired cache status. Any ideas on what I am missing here? Thanks
I may be mistaken, but it looks like you are setting the default expiration time to 1 week, but then setting it again to only 60 minutes for all php requests using cache: phpcache. You may be trying to enforce some other expiration with this second line set at 60m, but I believe that may be the source of your issue.
0
0
440
2023-03-01T17:15:39.483
infrastructure
serverfault.com
264,663
How to get people to actually do code reviews promptly?
First things first, our company has decided to do code reviews. All of the engineers agree with (or accept) this. Code reviews are required as part of our development process for all commits. The problem is that they are done... weeks (or occasionally months) after the stories are code complete. So as a developer, how ...
Getting code reviews completely promptly is a management issue, not a technical issue. That said, and I'll acknowledge this will generate howls of protest, the best way to ensure timely completion is to make timely completion a part of their performance review process. You'll need / want to have tooling support in orde...
-1
4
204
2014-12-05T14:29:07.807
api_errors
softwareengineering.stackexchange.com
145,069
Cassandra "Operation timed out - received only 0 responses." during write
I'm using Datastax PHP Cassandra Driver and Cassandra 2.2.5 on Windows 10. This is a single-node cluster, and the keyspace replication of [CODE] This is the table I'm inserting to: [CODE] When I tried to insert a row with a blob that is 16419KB large, it gave me this error message [CODE] The row is not inserted at all....
You will need to increase [CODE] to a higher value. Try [CODE] instead. It increases the size of the commit record segment. This property determines the maximum mutation size ( [CODE] ), defined as half of the segment size . By default is 32MB, which made your record were overflowing the maximum mutation size. From the...
6
5
10,272
2016-07-27T09:23:52.303
database_errors
dba.stackexchange.com
1,656
SQL Server agent Error
I am in a new shop and the below error started to show up on 2/22 repeatedly until 3/7. [CODE] Then, the server shut down unexpectedly. The shutdown stopped the events. But, my concerns are: What was happening? Does anyone know what this means? More importantly, what kind of measures do we need to take to prevent this ...
Sounds like you've got some sort of corruption problem on the disk which the SQL Agent logs get written to. I'd check the disk for corruption, as well as the C drive in case it's talking about the application log which the SQL Agent also writes to.
5
6
1,908
2011-03-09T23:32:47.213
database_errors
dba.stackexchange.com
26,816
NullPointerException while accessing WebDriverWait instance
In my test framework, I have a [CODE] class that initializes the [CODE] and [CODE] instances (instead of initializing it on every class). The page object classes extend this class to access the [CODE] . I'm getting a [CODE] exception thrown while trying to access the [CODE] instance. See [CODE] method [CODE] below: [CO...
[CODE] My guess would be that wdw is null because you never set a value to that variable. Could you try: [CODE]
0
1
1,620
2017-04-19T09:24:16.357
data_quality
sqa.stackexchange.com
338,945
Is the following method to compare source codes or work effort reliable?
I want a feasible way to compare my project with my friend's project. I first thought it was enough to compare based on the number of code lines. But for some reason, people kept saying "LOC is not a good measure". So, is the following method (I cooked up myself and I don't know if there is anything like this) good eno...
The basic idea of this method is to count the number of methods instead of the code-lines. Well here's your problem. The reason LOC counting doesn't work is because a programmer can spend days getting a one line regular expression just right or they can whip out a one line print statement in 2 seconds. If you pay them ...
-1
5
101
2016-12-27T21:53:17.087
api_errors
softwareengineering.stackexchange.com
239,867
SSAS Tabular model Date Dimension with Time possible?
I am in the process of building my first SSAS Tabular model and thought everything was going well, until trying to create a measure by DateTime. In my warehouse, I have a DIm_Time dimension, which has a DateTime column, with a row for every 5 minutes for the last 2 years. 5 Minutes is the granularity that we require. I...
Generally I keep Date and Time in separate dimensions as this reduces the overall cardinality but even with your date dimension having a time element, you should not have a problem obtaining this value. The example below was written on my own system and tested in DAX Studio: [CODE] In order to get this work within a mo...
2
1
675
2019-06-05T14:20:41.650
data_quality
dba.stackexchange.com
165,856
Connection Timeouts and Failed Database Connections on AWS RDS
Environment details - Amazon RDS running PostgreSQL 9.3.14, db.r3.xlarge, IOPS 2000, 500 GB Issue - Numerous [CODE] and [CODE] errors, rendering the app useless for our clients. The backend uses hickaricp for connection pooling. RDS logs shows that all queries take ~1 to 3 seconds, sometimes some queries do take ~10 se...
When you say "~300 devices active at any given moment" I'm wondering if you are hitting connection limits. What does "SELECT COUNT(*) FROM pg_stat_activity" return in a period where you are seeing this issue? In addition, I'd look into I/O statistics, in particular I/O wait can be interesting. You can see this when ena...
4
1
4,147
2017-03-01T15:55:51.623
database_errors
dba.stackexchange.com
288,816
Windows 7 Client gets incorrect IPv6 Prefix Length
I am currently setting up IPv6 and DHCPv6 for Server 2008 R2 on my private network for testing. I was able to get DHCPv6 to work by configuring a static, then setting up the scope. I was also able to configured my Centos box to get DHCPv6. I am having problems getting Windows 7 to get the correct prefix length. Centos ...
Provided you issue [CODE] command on Windows Client machine you would realize that something like this is present: [CODE] Notice that there is NO /64 prefix for your [CODE] this is because DHCPv6 in Windows is not issuing Prefix Lenght. Router is supposed to do that. If you have no router in IPv6 test-lab you can't eve...
3
2
2,622
2011-07-10T17:38:47.180
infrastructure
serverfault.com
928,935
NGINX IPv4 SSL23_GET_SERVER_HELLO:unknown
I have an Ubuntu 18.04 server up and running using ipv4 and ipv6. The system is reachable (ssh) via ipv4 as well as ipv6. There is a NGINX up and running with a valid and payed certificate. Clients using ipv6 have no problem at all using the setup. Clients with ipv4 on the other hand have SSL-issues and can not establi...
I'm pretty sure that this is not the complete configuration you show. Alternatively there is some misconfigured middlebox (like a load balancer) in between. While your server does not understand HTTPS at IPv4 port 443 as one would expect it actually answers to HTTP at IPv4 at the usual HTTPS port 443. And, while it den...
0
1
3,022
2018-08-31T23:45:53.350
infrastructure
serverfault.com
73,450
Suppress display in a column if the value is equal to the value in another column
I have 2 date columns that are displayed side-by-side. I have some dates that are equal. I do not want to display the "equal" dates/duplicate date values in one of the columns. Example: [CODE] I want to display: [CODE] How do I achieve that?
See the DDL, DML and SQL below, it should get you some (all?) of the way. It's taken from MySQL, but should be fairly generic. Take a look at this (MS SQL Server) and also this (more general). Check the docco of your particular server for any or all which may apply. [CODE]
0
3
1,525
2014-08-07T20:21:02.487
data_quality
dba.stackexchange.com
240,183
Data redaction with regex in Oracle
I would like to redact data with regex in oracle database. I know the procedure but I get unpredictable results. I use the following script to apply redaction to a certain column with card numbers. [CODE] Expected result would be first 6 and last 4 unmasked like 123456****1234, but I get this instead: From the document...
Thanks to @mustaccio's question got me thinking about datatype issues. NVarchar2 seems to be the issue in this problem. Creating a copy of the column in varchar2 fixed the issue. Data redaction on varchar2 is working as expected.
1
1
809
2019-06-10T09:45:08.087
database_errors
dba.stackexchange.com
191,809
MongoDB different members of cluster choosing different index
Here's behavior I can't explain at all: I have 5-replica-set sharded cluster. I have a query that on 4 of the 5 RSs, it uses one index. But on one of the 5 RSs, it uses a different index. And that index is clearly a bad index. The consequence of this bad index is that queries grind to a halt. On the 4 replica sets usin...
I never did get a clear answer on why mongo was choosing such a bad index on one of the shards, but I got enough good feedback at https://groups.google.com/forum/#!topic/mongodb-user/w8gAsyrNvKY to work around it.
1
0
88
2017-11-27T15:13:58.840
data_quality
dba.stackexchange.com
94,052
Long running DBCC CHECKDB
I am on SQL 2014 Standard doing offline DBCC CHECKDBs (so on a box other than production). For the most part, my process is going pretty quick but for some reason I have this small DB (6gbs) and its taking hours to do the DBCC. Last time it ran it took 9 hours. It seems to freeze at different %'s completion when checki...
If your CHECKDB operations are getting blocked by [CODE] , a reasonable solution would be to turn full-text search off for the database after it has been restored. After all, it's not as if you are using DBCC CHECKDB to validate that full-text search is doing the right thing, or that you are restoring this copy of the ...
4
3
1,605
2015-02-27T21:50:20.823
warehouse_errors
dba.stackexchange.com
240,854
Problem with testsaslauthd and kerberos5 ("saslauthd internal error")
The error message “saslauthd internal error” seems like a catch-all for saslauthd, so I’m not sure if it’s a red herring, but here’s the brief description of my problem: This Kerberos command works fine: [CODE] But this SASL test command fails: [CODE] saslauthd works fine with "-a sasldb", but the above is with "-a ker...
[CODE] This is the only useful bit. You do have the error code, the tricky part is turning that error into a useful message. Some google fu yields https://andromeda.rutgers.edu/~sysmail/krb5_error.html (which has since gone offline, but is available on the Internet Archive ) Decrypt Integrity check failed. Anybody can ...
2
1
2,784
2011-02-27T15:06:46.103
infrastructure
serverfault.com
575,150
What else do I need to do to satisfy Apache working as a plain old media server?
I am trying to set up an Apache VirtualHost on an Ubuntu 13.10 EC2 instance that will serve up media documents from a directory old-school-style. There is an existing VirtualHost which is handling a ProxyPass well enough, and the following: [CODE] media.ccachicago.pragmatometer.com/css/style.css is getting the followin...
I needed to replace: [CODE] with: [CODE] from https://stackoverflow.com/questions/11992466/apache-permission-denied
0
1
1,484
2014-02-12T20:16:47.853
api_errors
serverfault.com
6,569
Any tricks to using Microsoft Word to build cross-referenceable requirements statements in test plan documentation?
I'm in the process of updating document templates for a customer. Part of the documentation template stack are the usual QA items: Requirements (RS), Architecture (ADD), Test Plan (TP) and Test Report (TR). These templates are all manually written Microsoft Word documents (this is a requirement. A management system lik...
Unless I'm missing something about your situation, this is not too hard, though a bit obscure. I just created a small document that does exactly this. No macros necessary. Here's the steps I followed: Start a new MS Word document (I'm using Pro 2010, but I think 2007 had the same capability). Create a few list items, s...
8
1
1,961
2013-08-07T07:18:57.463
data_quality
sqa.stackexchange.com
233,005
Restore mongoDB by --repair and WiredTiger
We accidentally deleted the directory [CODE] which was our MongoDB path , and thanks to extundelete , we recovered it and got the directory [CODE] . Here are our files in the directory, and the files was generated under MongoDB version 3.4 . Folder [CODE] : Folder [CODE] : Step 1: try to run mongod as normal a) We ran ...
As per your screenshot of Robo3T where only showing the System database (i.e., [CODE] & [CODE] ). There is no any user defined database is available with your connected host. Eventhough the files you have generated under the mongodb version is 3.4 & the starting of MongoDB db version is sppearing as v4.0.7 . I will som...
7
0
12,718
2019-03-25T10:10:35.213
data_quality
dba.stackexchange.com
45,150
Oracle shared memory exception ORA-04031
I'm trying to establish an Oracle database connection. It throws the following exception: [CODE] I have tried connecting the database through JDBC as well as SQL Developer, however it throws the exception in both case. How can I fix this?
Oracle 10g or earlier? Probably you already restarted the database. Then you can check SQL Area: SELECT sql_text, parsing_schema_name, executions FROM v$sqlarea ORDER BY executions desc; If there are tens of thousands SQLs with 1 execution - you are having shared pool fragmentation. To avoid future exceptions either re...
0
0
2,363
2013-06-24T06:52:01.003
database_errors
dba.stackexchange.com
47,051
SQL server level permissions
I am aware of the Microsoft provided code to transfer logins between SQL servers, however this only does the account and the password. What if that particular account has various roles and permissions assigned to it at a server level, is there an equivalent piece of code to script these permissions also? Thanks
I found below script in my script repository that will help you. I have used it many times and its a life saver especially when you want to transfer database roles and object permissions from one server to another : Credit goes to the original writer : Bradley Morris [CODE] and [CODE]
6
5
5,402
2013-07-26T09:42:04.670
database_errors
dba.stackexchange.com
314,270
What is the most sensible design for making files available for download from a URL?
This is what I need to do, in a nutshell: Generate Excel spreadsheet files (programmatically). Store these .xlsx files in a location where they can be accessed by users later. These files need to be "on the Internet/in the cloud", since most legitimate downloaders are not internal users and thus are not on our company ...
While simply uploading the files to a web server and allowing access to them is an option. There are a couple of potential requirements which you should consider. 1: authentication of the user requesting the file. 2: accessing files by fields other than thier filename. This kind of thing can steer you towards the appro...
2
2
997
2016-03-30T15:33:58.073
api_errors
softwareengineering.stackexchange.com
75,486
Why aren't young programmers interested in mainframes?
A key issue with mainframes is that the cohort of supporting programmers is dwindling. While normally this wouldn't be a problem in that a falling supply of programmers would be offset by an increasing amount of salary those causing a rising supply of programmers via the law of supply and demand, I'm not sure this is r...
I'm an old programmer and I'm not interested in mainframes. My reasons will probably be similar to the reasons given by young programmers, however, albeit without the ignorance of the technology so evident in many of these answers. First, let's get the ignorance out of the way: The various claims of inability to try ou...
51
98
88,607
2011-05-11T14:12:23.387
api_errors
softwareengineering.stackexchange.com
414,713
One established server reports "Invalid SID" for a new Samba user
We have two linux samba servers authenticating against LDAP that have been working fine for some time. Recently I added a new user to LDAP. He can log in fine to one server, but the other reports an "invalid SID" id ( [CODE] ). His SID follows the same pattern as everyone elses, and it works on the other server. What c...
I'm not sure why this only affected the one person, but I was able to fix it: run [CODE] on the working server in LDAP, set the [CODE] of the [CODE] object for the misbehaving server to the value above restart samba on the naughty server Now all users can connect to both servers.
0
0
2,003
2012-08-06T14:46:29.717
infrastructure
serverfault.com
526,947
windows server - resolving TLD A entries
I have configured a windows server 2008 r2 as a DNS Server for my Windows 7 x64 Client. Resolving adresses works like a charm but with one exception: Resolving the A Entry for the TLD io. returns a Server failed error message. But using as an example Google DNS 8.8.8.8 as my DNS Server I get the following response: Nam...
I've done a little bit of lab testing, and from what I'm able to see via packet captures at the DNS server, the Windows Server 2008 R2 DNS server never attempts to contact any other servers when resolving a single-label DNS name (like [CODE] or [CODE] -- both of which do have [CODE] records assigned in the Internet DNS...
3
3
177
2013-07-29T06:50:17.210
infrastructure
serverfault.com
767,094
Change SQL Server user SID
I have SQL Server 2012 and I am using domain users (from Active Directory). By mistake users were deleted from AD, created new with identical logins and passwords (but with different SIDs), deleted and restored the original ones - in the end old users with old SID's were recreated. Almost everything seems to be fine ag...
I had a similar situation with a deleted AD user and SID mismatch. For me, the problem was local SID caching and the solution was to follow the workaround in the link below on the SQL server and client's pc. https://support.microsoft.com/en-us/help/946358/the-lsalookupsids-function-may-return-the-old-user-name-instead-...
3
2
9,179
2016-03-30T16:52:06.400
database_errors
serverfault.com
22,156
What could cause apache2 to not run index.php files through PHP FastCGI handler?
I'm trying to run PHP using FastCGI (mod-fcgid) under apache 2 with the worker MPM. I've used this blog post as a reference. It seems I've got everything working except one thing: When apache serves index.php implicitly (using mod_dir, I think), it does not use the configured handler for .php files, and just serves the...
Oh man, I've been very stupid. Apparently I just had it misconfigured at one point in time, and my browser had cached the incorrect response. http://example.com/index.php then worked, probably because I only started trying that after I had gotten FastCGI PHP working, so no incorrect response was in cache. In other word...
1
2
5,823
2009-06-08T19:45:43.737
infrastructure
serverfault.com
433,369
My yum repository able to search packages, but not able to install it in RHEL?
I set up [CODE] from dvd. Following is the containts of my [CODE] file: [CODE] I'm able to search packages. However while installation I'm getting below error: [CODE] My Yum Search output: [CODE] Please guide me on this, I want to install [CODE] on my [CODE] .
Try changing [CODE] to [CODE] . Set enable=0 in a definition file to prevent yum from using that repository. The yum utility ignores any definition file with this setting. When you enabled the repo you got the following error message file:///media/dvd/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or di...
2
3
3,132
2012-09-30T07:47:15.833
infrastructure
serverfault.com
1,059,533
Barracuda Bouncing Emails
I'm not too familiar with all the intricacies of email servers and am curious what you guys think this looks like. Is the receiving blocking it or is this something on our end? The receiving company has stated that they have whitelisted our IP and they do not route to any websitewelcome.com nameservers. (We use Bluehos...
The [CODE] has tried to send a message to the [CODE] which has rejected the message with an error described in [CODE] . The error [CODE] is most likely related to SMTP Reverse DNS Resolution which is further related to a Reverse DNS Mismatch test.
-1
1
1,513
2021-04-06T16:28:19.070
infrastructure
serverfault.com
102,294
LDF files vs. TRN files vs. Tempdb.MDF+LDF files.:
We have a dilemma… We have all of our MDF and LDF files in the same…\192.168.6.22\d$\Program Files\Microsoft SQL Server\DATA\Production...folder. We have all of our TRN and BAK files on the…\192.168.6.22\r$...drive. We have read several articles stating that our Tempdb.MDF+LDF files need to be relocated to a different ...
A few notes here: You definetely have to separate the files logically using different partitions (I recommend separate partitions for: system, data files (mdf/ndf), transaction log files (ldf) and tempdb files (mdf/ndf). Where you put the tempdb transaction log file is up to you (tempdb drive or log drive), I'd go with...
0
1
730
2015-05-22T16:09:56.680
database_errors
dba.stackexchange.com
995,320
Redirect link with query string, but only from specific page
My problem is about that I want to redirect links that contains specific phrase and specific query string after question mark. For example - redirect from: [CODE] to: [CODE] I have code in [CODE] , that redirects all links that contains [CODE] after question mark: [CODE] But as I said - [CODE] exists in links of a lot ...
[CODE] This should "work", so it is likely you have a caching issue. The earlier 301 (permanent) redirect that redirected everything based on the query string only will have been cached by the browser. However, you don't need another condition . The first argument to the [CODE] directive (ie. the pattern ) already matc...
2
1
2,579
2019-12-12T10:35:15.063
infrastructure
serverfault.com
894,898
How can you link nodes in a redis cluster via hostname instead of ip?
Redis cluster requires that all nodes can see each other to chatter; to accommodate some trivial situations (eg. docker with all nodes publicly exposed) some additional config options are available: [CODE] (see http://download.redis.io/redis-stable/redis.conf for the only available documentation on these options) Notic...
Nope, it ain't supported yet - there's an open issue on the subject though: https://github.com/antirez/redis/issues/2186
7
4
12,001
2018-01-31T04:14:50.950
pipeline_ops
serverfault.com
340,366
What is the added value of Service Discovery in SOA for this project?
We are retrofitting an architecture on a fragmented landscape of about 9 software products. These products are all related to a social/community platform. These software products, consisting of webapps, webservices and smartphone apps, were developed by students with no adherence to any architecture. The apps themselve...
If all of your software projects are internal to your organization and the interface boundaries are well-designed and fully documented, then you may not need Service Discovery at all. But if you publish a public API that other organizations depend on for the proper functioning of their software, then Service Discovery ...
0
2
218
2017-01-17T17:10:14.347
api_errors
softwareengineering.stackexchange.com
137,696
Does anyone know where the SQL Server Connection Properties are stored?
When you add a Server Instance to Central Management Servers or even your local instance of SSMS, if you click on the connection properties tab you can select the default database you'd like to connect to as well as network protocols connection and execution time-outs and even a custom color for the taskbar when you op...
The list of the servers are kept in the [CODE] database. [CODE] If you're wanting the connections and tabs to be the same, then you would need to go to Tools --> Import and Export Settings... and export the selected environment settings. The two that would work for what you're asking for is under Options --> Environmen...
1
1
469
2016-05-05T20:55:19.993
database_errors
dba.stackexchange.com
88,134
How to remove trailing spaces from SQL Server logical filename?
I'm dealing with a server running SQL Server 2000 SP1, and the logical filenames for one of the databases appear to contain trailing spaces. That is, this query: [CODE] Returns the expected names plus a long string of Xs. How can I deal with this? I've tried running ALTER DATABASE... MODIFY FILE using the name (with an...
This isn't due to the fact that the names actually have spaces, it's due to the fact that Sql Server stores this data in a field of the type nchar(128), which is a fixed-width character data type (i.e. the data stored will always be 128 characters long, padded with spaces if necessary). So, when you query for that valu...
1
1
2,582
2009-11-25T10:15:11.097
database_errors
serverfault.com
522,179
Configure autosign to automatically replace certificate of reinstalled machines?
Sometimes we have to kickstart a machine multiple times before everything is alright. It becomes quite of a hassle to manually remove the SSL certificate on the Puppetmaster first, especially since not everybody has SSH access to the Puppetmaster. How can I prevent problems with certificates? We use autosign and server...
Use cobbler to kickstart you machines. It is just a thin layer on top of the usual [CODE] + [CODE] + [CODE] + [CODE] workflow, with extra functionalities, being one of them the ability to bootstrap [CODE] on kickstarted machines. Specifically, the configuration regarding [CODE] is this: # if enabled, this setting ensur...
0
2
872
2013-07-10T08:45:12.437
api_errors
serverfault.com
334,466
postgresql replication failed with "No such file or directory" for wal file
I'm studying postgresql recently. Now I'm learning how to configure PG replication with slot. -- So I'm following this sample -- https://girders.org/postgresql/2021/11/05/setup-postgresql14-replication/ But all attempts are failed with "No such file or directory" when there's new tran raised from primary side. I can't ...
That looks very much like you have one of the [CODE] parameters set on the standby, so that recovery stops at that point. The setting was probably copied from the primary when you ran [CODE] .
0
1
123
2024-01-01T14:42:32.127
hadoop_errors
dba.stackexchange.com
821,553
Will putting 2012 R2 RD gateway server into Drainstop disconnect currently active users?
I have had a bit of a search for clarification on this, but have only found info on draining session hosts. I need to make some amendments to our 2012 R2 gateway server VMs, but due to the nature of our business, the gateway servers are in use most hours of the day. My plan is to put one of the gateway servers into dra...
Seems that the answer to this is yes, users are affected, even though they shouldn't be. Rather than behaving as I expected and allowing the connection to continue until the connection is dropped (and then directing new connections to other nodes), enabling drainstop on a host does a "converge", whereby the connection ...
2
0
402
2016-12-19T11:06:16.647
infrastructure
serverfault.com
351,955
VSFTPD Unable to set write permissions on folder
I've just set up my first FTP server with VSFTPD on cent os . I can connect to it fine using a user in the group ftp-users but I get read only access . I've tried several different CHMOD codes on the folder (even 777) all to no avail . This is the tutorial I used to set up the server http://tinyurl.com/73pyuxz hopefull...
Check that you have [CODE] in your vsftpd.conf the default is no. If you make a change don't forget to restart vsftpd. If you have [CODE] configured then please update your question with your [CODE]
3
2
12,954
2012-01-20T16:09:57.043
infrastructure
serverfault.com
670,088
Install Debian Backports kernel automatically
I've got the following pinnings set: [CODE] I get the following error: [CODE] The policies seem to be correct: [CODE] So I don't get the error. What am I doing wrong? I'm trying to use puppet to upgrade all Wheezy machines to the backports kernel (a reboot streak is planned), which is why I want to solve it correctly. ...
Check what that package depends on and what those dependencies need as well. For example I see this for my machine: [CODE] and [CODE] Check if dependencies are taken from backports as well.
8
3
9,102
2015-02-20T09:21:42.683
pipeline_ops
serverfault.com
170,357
Minimize useless tweaking of a numeric app
I'm developing a numeric application (nonlinear optimizer), with a zillion knobs to tweak and rising. It's not my first foray into this domain, but this time there are even more variables in the code and I'm on a tight schedule. Don't want to waste time fiddling. Days or even months can potentially be wasted adjusting ...
oh boy there is a lot going on in this question, and I'm not sure I understand all of what you are asking but lets try: Days or even months can potentially be wasted adjusting variables, recompiling, and reprocessing benchmark datasets at the very least I'd suggest pulling the variables out into a config file so you do...
3
5
203
2012-10-18T09:04:40.310
api_errors
softwareengineering.stackexchange.com
750,978
how to establish a connection to a certain domain using domain name
I have software that requires that I establish a connection to our server "SERVER01" which I am connecting via VPN to the domain "DOMAIN01" The license will not permit me to use the following connection strings (which all work) "SERVER01.DOMAIN01.Local" "192.168.168.168" Unfortunately, from my PC, I cannot just use the...
You need to add an entry for SERVER01 pointing to the server ip address in the local pc's hosts file as below: [CODE] In windows: [CODE] , which in most cases is: [CODE] . In linux it is: [CODE]
-2
3
52
2016-01-22T07:42:37.907
infrastructure
serverfault.com
381,434
Postfix won't start at boot
I have a server with ubuntu 10.04 and i've installed postfix. It works but when the server is restarted it doesn't start automatically. I've tried with: [CODE] But doesn't works neither it. How can i do? Thanks
Doesn't start or fails to start ? The distinction is critical. Start it by hand using [CODE] and see what is logged.
0
1
1,461
2012-04-20T07:38:08.353
infrastructure
serverfault.com
827,233
Apache 2.4 list prefork directive values from command line
I am unable to find values of MPM Prefork directives like MaxRequestWorkers / MaxSpareThreads etc in my config file. Is there a way to list these values from command line? [CODE] PS: I have posted it on SuperUser as well. I am not sure which one is the right place.
you will never find MaxSpareThreads because prefork is not threaded, so it should be [CODE] Not from the command line, you need to "cat" your main configuration file , or whereever your distro has placed them (httpd.conf or apache.conf or mpm.conf?) If you have mod_info you can " curl " your server for its information ...
1
1
1,678
2017-01-19T09:37:33.470
infrastructure
serverfault.com
302,113
Can SQL Server log a password on a failed login attempt?
I'm trying to recover a hard-coded password for SQL Server from an old VB6 application. Is there any way to get MS SQL Server to record the passwords used when a login attempt fails? I've checked the VB6 app for strings and I've found the uid but the password is eluding me. I'm hoping there's a way to record this infor...
Problem resolved with a bit of old-fashioned reversing. I used some software called API Monitor ( http://www.rohitab.com/apimonitor ) so I could watch the OLEDB API call, peek into it, and get the required credential. I had originally planned to use Frida (frida.re) but found the API Monitor approach much quicker for t...
0
1
593
2021-11-04T10:49:19.623
database_errors
dba.stackexchange.com
104,250
IIS6 cdo.message cannot send emails access denied error
Got some very basic email code on a iis 6 server to send a test email. Relay is enabled on exchange server for this server, the iis user has write permissions to the directories for mailroot and all its subfolders, and yet we still get this blasted error still. CDO.Message.1 error '80070005' Access is denied. /email.as...
Found the problem, it was permissions to the SMTP service. The IIS user nor did system have access to that. We added that and it is working now.
2
2
2,518
2010-01-19T17:51:10.793
infrastructure
serverfault.com
404,516
SSH not working through Double NAT
I am trying to setup port forwarding for ssh through 2 NATs The first Router translates my internet IP to my outer network (10.1.7.0). In the outer network there's a second Router that does NAT to my inner network (192.168.1.0). The target server is connected to both, the outer network and the inner network. I cannot c...
Such lack of behaviour can be caused by asymmetric routing and the feature of the outer router that forbids it. Server routes the ssh replies back through the other connection (using its default gateway to the internet) and the outer router drops the packet. Try monitoring the traffic with [CODE] or [CODE] and see on w...
0
1
3,414
2012-07-03T19:39:27.827
infrastructure
serverfault.com
307
Big data case study or use case example
I have read lot of blogs\article on how different type of industries are using Big Data Analytic. But most of these article fails to mention What kinda data these companies used. What was the size of the data What kinda of tools technologies they used to process the data What was the problem they were facing and how th...
News outlets tend to use "Big Data" pretty loosely. Vendors usually provide case studies surrounding their specific products. There aren't a lot out there for open source implementations, but they do get mentioned. For instance, Apache isn't going to spend a lot of time building a case study on hadoop, but vendors like...
14
14
3,573
2014-06-11T06:07:45.767
data_quality
datascience.stackexchange.com
510,469
Null bytes in a file created by 2> rotated with logrotate?
I'm using the script utility to record terminal sessions, and using logrotate (with [CODE] , script ignores HUP and keeps writing to the rotated file otherwise) to periodically upload chunks of what's happened so far to another server. This works great for the the actual screen contents. Today I'm trying to also captur...
You need to redirect stderr using [CODE] (append). This is an issue with files opened without the [CODE] flag and logrotate's copytruncate.
3
3
3,146
2013-05-24T04:36:14.417
infrastructure
serverfault.com
145,529
Mysql Refuses to Start
On HOST OS RHEL 6.5, I upgraded mysql server from 5.1 to 5.7.9. And when i try to start it refuses and give me these messages in Logs [CODE]
I have a very big heads-up for you The password field in [CODE] is no longer in existence. Passwords are now stored in the column called [CODE] . I wrote about this a while ago: [CODE] : MYSQL refuses to set password for new user [CODE] : Install MySQL for Windows from .zip and reset root password (See the heading [COD...
1
1
2,359
2016-08-01T14:48:30.077
database_errors
dba.stackexchange.com
11,721
Is "Computer Science != Software Engineering" an excuse to teach programming poorly?
We've all heard it; whenever there's a discussion about CS grads having poor development skills someone eventually says, Computer science isn't software engineering. The problem that I see is that programming and software development are taught in CS courses. They're just commonly taught poorly. If it's being taught, t...
I don't think it's a copout, but rather an assertion that computer science isn't software engineering, it isn't programming -- it's, well, the science of formalized computation. In essence, it's math (in fact, many CS programs started off as applied mathematics programs). I think the problem lies more with industry tha...
23
27
17,775
2010-10-13T15:31:16.040
api_errors
softwareengineering.stackexchange.com
773,829
wbinfo -u does not show AD users (is empty)
We have a problem on a Ubuntu Server 14.04 (fileserver) connected to AD on a Windows Server 2008 R2 using Samba (version 4.3.8)/WinBind and Kerberos. The problem is that users do not have writing permissions in their personal folders. We also noted that when using wbinfo -u, the output does not give an error but produc...
Try to add the following line to your smb.conf: [CODE] It seems as this has caused some trouble lately.
3
3
2,379
2016-04-29T12:24:37.327
infrastructure
serverfault.com
178,150
Deciding on optimal index combinations
I have a table with 8 columns, no primrary key, and many, many indexes. Now I wonder whether they're as optimal as can be. The table looks as follows: [CODE] This table is used for searches, and searches contain constant values to look for, and a specific range of two columns (i.e. [CODE] , and [CODE] ). Never together...
That one example needs [CODE] Your suggestions with [CODE] are not very useful. If you are expecting to have lots of different queries, I recommend you Study what is actually used by users. You will find that there are a few common columns or pairs of columns, and some columns that are rarely used. Then add a few index...
3
1
254
2017-07-06T11:09:03.947
warehouse_errors
dba.stackexchange.com
52,375
Large difference in disk space used by partitions
I have a partitioned table that contains about 155 million records total. It's partitioned by year and the partitions for both the current and previous years contain about 25 million records each. However, the current year partition is using over 15 GB of disk and the previous year partition is only using 2.5 GB. Each ...
What might cause the big discrepancy in disk space? Typically this is caused by rows that have been deleted. Heaps do not reclaim space for data pages emptied by [CODE] operations unless a table lock is taken at the time of the deletion. Even then, other factors like the possibility of row-overflow data, or an enabled ...
4
3
1,616
2013-10-29T01:05:13.053
warehouse_errors
dba.stackexchange.com
706,712
is wildcard a record compatible with exchange server
I am the technical lead at a small startup that provides a video library to corporate clients, with a Microsoft (.net/IIS) stack. One of our features is providing each client with its own subdomain based on their username (client.oursite.com). In the past, we were manually setting up CNAME records for each client, howe...
First, MX records are not SRV records. Second, he's absolutely right. I deal with this issue quite often with one of my clients that also hosts Exchange for their clients. Outlook needs to find autodiscover information that points to the Exchange server. The problem with having a wildcard record is that it causes [CODE...
3
4
805
2015-07-18T00:31:43.673
infrastructure
serverfault.com
405,658
svnserve accepts only local connection
I've installed svnserve in linux box konrad. On konrad I can checkout from svn: [CODE] On my local Windows pc i can ping konrad, but checkout doesn work: [CODE] My linux firewall is disabled: [CODE] and windows firewall is also off (I can't send screen shot here, so believe me). How can I fix that? Any ideas?
Run [CODE] with a [CODE] of [CODE] instead of [CODE] .
0
1
933
2012-07-07T12:05:58.363
infrastructure
serverfault.com
423,159
mysql disk io keeps increasing ... is that normal?
So I've been trying to figure out this disk IO problem I have been having with my linode VPS. Over the last day or two I've just left [CODE] running in a console window and the output looks like this: Monitoring it over the last few days, I've noticed that my problem lies with the init, searchd, and mysql processes. Se...
Disabling the query cache based on this http://mysql.rjweb.org/doc.php/memory (Query cache section) and increasing innodb_buffer_pool size to 200MB solved the problem. Disk IO is under control but my vps now uses up a lot more swap than it did before (30-40MB vs 10-20MB) ... oddly enough the swap is being used by passe...
0
0
763
2012-08-31T06:02:10.967
database_errors
serverfault.com
672,646
FIPS 140-2 on Windows 2012R2 with SQL 2014
I'm attempting to set my Microsoft SQL 2014 instance to use FIPS 140-2 complaint encryption as described in this KB article for SQL 2012 , but it does not appear to be working. I do not see "FIPS" anywhere in the SQL service error logs. I set the FIPS option using the local security policy [CODE] . As an aside, I tried...
Per the MS Article you reference, SQL Uses OS Crypto constraints (via SCHANNEL) therefore if you enabled it at the OS level, then you have enforced it at the DB Level as well. Just to prove the point, if you disable SSL3 and TLS 1.0 (for SCHANNEL) on a server running SQL 2008 R2 and reboot, SQL will not start.
0
1
1,636
2015-03-03T07:58:25.980
infrastructure
serverfault.com
130,051
What information about errors can MSSQL profiler report on?
I have a feeling a SQL client application is timing out, but because of how the application is coded, there's no way of telling. So I was hoping that running MSSQL profiler on the server would highlight something... Or am I heading toward a dead end?
When a client 'times out' what happens is that the client actively initiates a query abort when it gives up. Left on its own, SQL Server would run the query until completion. So you would see an RPC:Completed or an SQL:BatchCompleted event with Error 2=Abort. Obviously, to see these events you must add these events to ...
1
2
2,778
2010-04-07T11:07:14.727
infrastructure
serverfault.com
163,647
Why doesn't this invalid subquery raise a syntax error?
Is there any explanation so as to why SSMS did not raise any compilation error for the below delete query with a subquery that is invalid on its own? Below is the sequence of steps to reproduce the behavior: [CODE] Seed data: [CODE] Create a backup table: [CODE] Below statement should ideally not execute and, even if i...
This is the same as: [CODE] In other words, you have merely assigned a column alias to [CODE] , and there is no reference at all to a table called [CODE] . According to the ANSI standard, what SQL Server is supposed to do in this case - when it has a subquery and does not find [CODE] at that scope - is traverse to the ...
7
10
1,515
2017-02-08T21:03:07.473
database_errors
dba.stackexchange.com
828,642
RHEL7 selinux problems trying to run sshd via xinetd - sshd_net_t transition causes login failure
I'm trying to set up sshd to run under xinetd on an RHEL7 server. I run sshd on an alternate port, using xinetd to limit what IPs can connect. This works fine on RHEL6, and also on RHEL7 if I disable SELinux. However, the targeted SELinux policy on RHEL7 is preventing it. Unfortunately, it's not logging much useful in ...
It turns out that certain SELinux rules are not audited by default. Running: [CODE] enables audit logging even on "dontaudit" rules in the policy. Once I did that, it was easy to track down the missing SELinux permissions (which were [CODE] ).
0
0
1,349
2017-01-25T22:29:59.760
infrastructure
serverfault.com
241,680
How SQL Server transaction works with log records
My textbook says: Starting when you begin a transaction, your changes are isolated from other users. What you’re doing is visible to you only,and isn’t really done until you COMMIT — although it looks real to you, only you can see that result. Anyone else attempting to look, they could see the old value, or if they’re ...
Regarding visibility, SQL Server uses locking and/or row-versioning to implement isolation levels . Changes are always visible to the current session. Uncommitted changes are visible to other sessions only they are using the [CODE] ("daring they could get a dirty read"). Normally, other sessions will be blocked (due to...
0
6
293
2019-06-29T13:35:15.593
database_errors
dba.stackexchange.com
291,069
Improving indexing of jsonb data when the json structure is well defined
I have a simple table [CODE] that contains a primary key ( [CODE] ) and a jsonb field ( [CODE] ). The structure of the [CODE] is consistent across all rows. I have created a view ( [CODE] ) for this table which extracts a particular value [CODE] , which I can then run queries against. [CODE] (the data structure is not ...
If [CODE] were a regular column and not an expression, PostgreSQL would choose an index-only scan, which would be much faster if the table has been vacuumed recently. But index-only scans are not supported on expression indexes like that, see the documentation : In principle, index-only scans can be used with expressio...
1
0
571
2021-05-05T22:07:44.187
database_errors
dba.stackexchange.com
508,051
No such file or directory
I'm building an EC2 LAMP server for the first time, and so far so good. Except I can't seem to get the [CODE] working right I get this error message whenever I write that line above [CODE] I know I have those files. My path to the file is: [CODE] The files that represent my web page are in [CODE] I can verify both usin...
/home/ec2-user has only rwx------ permissions, thous webserver ( running as apache), doesn't have read rights. Do a [CODE]
1
0
2,722
2013-05-15T16:55:44.847
infrastructure
serverfault.com
7,618
Where are good places to demo + share + show off what I'm working on?
I haven't found many resources where people show-and-tell the quality and testing-related projects they're working on. I don't see the same drive to innovate in the SQA community as I do in others. Is that true or am I just missing out on cool SQA hubs? Where can I share off my stuff?
Many of the projects we work on will be either confidential or reuse of something that is already created. In cases where there are valid innovation, they can certainly be uploaded as open-source projects. I think many of the test frameworks or tools that are popular today have started as small utilities and projects t...
2
2
100
2014-01-24T17:10:20.750
data_quality
sqa.stackexchange.com
264,900
Should the async update-server be on the same physical server as the website?
I want to setup a comet/web-socket server for a forum sitting in front of a message queue i.e. rabbitmq, that will maintain client connections and update them about relevant events (i.e. new posts, topics, etc.) The popular way to go about this is to use some async server that does this in one thread and hands off the ...
You could use NodeJS and the node package module Socket.io for this. Separating the tasks of client connections and creating/returning dynamic web pages into node modules could work the way you described. Node describes their modules in their API docs . The book NodeJS in Action has some projects that perform similar f...
0
1
105
2014-12-08T17:44:23.253
api_errors
softwareengineering.stackexchange.com
212,261
How to stop entry in AppPool .config file from reappearing
I traced an issue down on one of our servers to an incorrect section in the .config file for an AppPool. If I manually remove the section from the c:\inetpub\temp\AppPools\thisAppPool.config which relates to one specific asp file (let's say site/epub/webservice.asp) then the web services work fine. However, if I then c...
You can follow the blog to enable File Level Authentication in IIS 7/7.5 using IIS Manager. Also check the entry that can be seen in the apphost.config file. I hope you are entering the setting correctly. There are few bugs in IIS 7.5 which are supposed to be fixed with the SP1 release.
0
1
890
2010-12-14T01:23:32.390
api_errors
serverfault.com
747,623
SQL Server, local instance, No process is on the other end of the pipe
On a fresh installation, on my local SQL server instance, using SQL Server Management Studio, I can login with my Windows authentication, but not with my sa user. In both cases, I'm using [CODE] as my Server name. The error is the following: [CODE] The password is correct, since I've change it. I did reboot my computer...
After double-checking the parameters I choose when reinstalling, I realized that Mixed-mode wasn't checked, only Windows authentication mode . Following the instructions to this link fixed my problem: https://msdn.microsoft.com/en-us/library/ms188670.aspx (I'm quite impressed by the clarity of the Microsoft error messa...
2
3
50,317
2016-01-08T12:33:21.937
database_errors
serverfault.com
248,355
ASA 5510 Need to filter traffic log events to my iPhone
For some reason I cannot update apps or download apps to any ios devices on my network (tried both iphone and ipads). When I'm at home on my own network everything works fine. This started about a week ago. I've configured my iphone with a static IP address and even used 4.2.2.2 as my dns to rule out that the issue is ...
Turns out the Cisco CSC SSM has HTTP scanning. It's been on for a year without any problems but it seems a recent update to the device has cause some problems with 80 and 443 traffic (noticeably on iOS devices). I turned off HTTP scanning and everything is working fine now. Cisco is aware of the problem and looking to ...
0
0
1,010
2011-03-16T23:20:09.607
infrastructure
serverfault.com
346,934
OpenBSD 5.0 pf with NAT & Port Forwarding
Port forwarding does not seem to work properly, incoming connections apparently are blocked. Is there something wrong with my pf.conf? [CODE]
I found the solution. A rdr-to must be followed with ip and port like 'rdr-to $ip port $port' [CODE]
0
0
6,560
2012-01-05T13:47:35.853
infrastructure
serverfault.com
430,400
PHP-FPM chroot with chdir
I am trying to setup a site inside of a PHP-FPM chroot. My paths are as follows: [CODE] The chroot works just fine without chdir. But when I add chdir I get this error on php-fpm startup: [CODE] Anybody know why it would append [CODE] to the chdir path? Is there a way to remove it from that path? Also, if I change the ...
Got help from phpfreaks IRC last night. It was an issue on the Apache side that I needed it to send the "/www" to PHP-FPM.
4
1
2,973
2012-09-20T21:02:35.333
infrastructure
serverfault.com
711,412
ERROR Found no accessible config files for 'fail2ban' under /etc/fail2ban
So my fail2ban wasn't working and in attempts to make it work the config files got messy. Decided to start from scratch. I ran these as sudo [CODE] In hopes I'd completely remove it as the first two commands kept the messy config files. So now when I apt-get install fail2ban it downloads and installs the package, howev...
I fix the issue with : [CODE]
8
6
21,046
2015-08-06T19:31:45.410
infrastructure
serverfault.com
640,920
Run local command after ssh session ends
I have some HP switches that I log into via ssh. The switches send a terminal command to disable line wrap ("rmam" in terminfo parlance), but then fail to reenable it, which screws up my terminal after I exit the ssh session. I can fix the terminal by running [CODE] . Is there any way to get ssh to automatically run th...
OpenSSH has an option called [CODE] that runs a command on the client side when you make an ssh connection. Unfortunately, it runs the command before the ssh session is established, not afterwards. But that gave me the idea that I might somehow be able to get that preceding process to wait for the ssh session to end. D...
11
8
5,420
2014-10-30T16:35:42.897
infrastructure
serverfault.com
992,335
O365 Emails Getting Marked as Spam when Moved to new Folder
One of our main inbound mail accounts seems to be having a strange issue where the emails are getting marked as spam, not when they arrived, but when they are moved to a folder. They are also all emails that are whitelisted in the spam policy. The SCL is -1 in the headers. I had auditing enabled, but only for a few act...
I want to confirm when you move emails to a folder manually or you configure inbox rule to do it, the issue happens? How about in OWA? If you email the user mailbox with a blank message body, and move to a new folder, the issue happens? Have you configured some rules about moving the emails with specified word to the s...
1
0
220
2019-11-18T18:41:30.377
infrastructure
serverfault.com
532,136
Server IP is detected as user IP
the server IP of mine is [CODE] . For SSL, I needed to add another IP [CODE] . This is a vps and the IP address was added by a friend. The problem is: when someone submit comments (WordPress), the user IP is detected as [CODE] , which is the server ip, not the users and thats really a problem. How this can be solved? T...
Sounds like nginx is not configured to pass client address to Apache. You will want to alter your nginx configuration file(s) to include the following: [CODE] The final step is to install mod_rpaf for Apache. This module allows you to set the value of the remote address when using a proxy. If you haven’t already got th...
0
0
314
2013-08-19T20:37:39.867
infrastructure
serverfault.com
38,890
ORA-01435: user does not exist
I am trying to run the SQL queries coded on my friend's laptop onto mine. I have imported the .sql file into SQL developer and I'm trying to run it.However, I keep getting the error: [CODE] I have listed all the users: [CODE] and I get: [CODE] among other users. My SQL query is : [CODE] I am using Oracle 11g on Win8. P...
DazzaL has highlighted the nub of the problem but to give a bit more background, on the assumption you're fairly new to Oracle... The [CODE] syntax shows that your command is trying to create a table called [CODE] in the schema [CODE] . Schema and user are essentially interchangeable in Oracle, so the error saying 'use...
5
3
34,880
2013-03-27T14:55:28.903
database_errors
dba.stackexchange.com
121,885
How to return the difference (columns) between two databases or tables
I have a database that has been updated, many columns have been added. Currently the only way of returning the differences between the two databases is by going through the database.cs class that is autogenerated and comparing it with the old database.cs file. I have both database on Sql Server Management Studio (the n...
You can use the applications listed in comments, or use SQL Server Data Tools. What I like about SSDT is it is a native SQL Server development environment, works well with source control, and has a really good set of features for database development. You should be able to install from your SQL Server 2014 media or jus...
1
3
87
2015-11-23T17:48:10.590
database_errors
dba.stackexchange.com
717,458
Not able to find /etc/nginx/sites-enabled/default
I have installed Nginx server at my cloud space checked by ip it is showing proper page. Now I have also a apache Tomcat8 on port [CODE] I want to redirect my port [CODE] traffic to [CODE] for that I am following this tutorial http://www.mkyong.com/nginx/nginx-apache-tomcat-configuration-example/ My problem is I am not...
[CODE] is the path given to the default website for Debian based systems. They are usually links to files contained [CODE] . [CODE] is a path used in most configurations including Debian derivatives like Ubuntu and other distro's like CentOS etc. [CODE] is the main configuration file that includes all conf files from o...
-2
4
26,068
2015-08-28T10:01:58.797
infrastructure
serverfault.com
915,134
Are Kerberos service tickets cached by mount.cifs or kernel?
When mounting a CIFS share using krbr5i and destroying my Kerberos tickets with [CODE] afterwards its still possible to mount other shares on the same server. How is this possible? Doesn't mount.cifs have to send the service ticket to the sharing server again? Is the ticket cached somewhere? Is this handled by the kern...
When mounting a CIFS/SMB share a session is created (if the credentials - in this case a kerberos service ticket - to the service are correct). After a session is created we don't have to authenticate ourselves anymore. Since share1 and share2 are provided by the same service (dc.domain.example.com) all requests to the...
1
2
1,971
2018-06-04T18:04:40.200
infrastructure
serverfault.com
793,277
nginx 404 handler in php ignores HTTP status
This is using nginx 1.6.3 and PHP 7.0.7 via PHP-FPM in CentOS 7.2. I have run many sites using LAMP and have been trying to switch to LEMP, but a sticking point that keeps coming up is that my page handler keeps showing 404 errors in the status, even though I have set a different status in PHP. It is as if nginx is com...
By combining the lessons I have learned through many failures, the two other answers I received (thank you Michael Hampton and Tero Kilkanen for pointing me in the right direction), and a hunch to look further into try_files, I found out that the problem was centered around how try_files is working in my installation. ...
0
0
2,970
2016-08-02T05:44:10.603
api_errors
serverfault.com
34,408
Ubuntu fails on certain DNS lookups
I have a dual boot system running Vista and Ubuntu. There are certain DNS lookups that don't work on ubuntu (chat.freenode.net, releases.mozilla.org and the YIM server to name a few). All these work correctly when I boot Vista. ATM I'm just getting someone else to find the IP address for me and adding that to my /etc/h...
In previous Ubuntu versions AVAHI http://avahi.org/wiki/AvahiAndUnicastDotLocal caused DNS problems. Click on the link and see if this may be your problem. Apparently, I can't post URLS. So here's the link http://avahi.org/wiki/AvahiAndUnicastDotLocal
2
2
846
2009-07-01T11:39:57.273
infrastructure
serverfault.com
152,782
Apache, Reverse Proxy, Rewrite, HTTPS
I am creating a Reverse Proxy box with apache and i have some questions about that: How can i load some files, say robots.txt, off the reverse proxy box instead of the actual host? Would it be wise to allow loading of .htaccess at the proxy box? What about the rewrite rules they proxy boxes have? Where should i put my ...
How can i load some files, say robots.txt, off the reverse proxy box instead of the actual host? [CODE] or [CODE] Would it be wise to allow loading of .htaccess at the proxy box? What about the rewrite rules they proxy boxes have? This actually shouldn't matter; .htaccess is just an "extended" apache configuration, so ...
0
2
3,179
2010-06-19T14:47:19.233
infrastructure
serverfault.com
88,268
RAID Controller Acting Weird with a New Hard Drive
(Not sure on the model at the moment will update once I know) So we had a a RAID 5 that had two hard drives fail at the same time. Positions 0 and and 1 are labeled as "online". Positions 2 and 3 are labeled as "failed". We had a backup drive (of course) and put it in position 2. The drive is still telling us as positi...
I think the problem is due to the fact that the new drive doesn't contain the signature/metadata for the raid volume which is failed. I would try removing the failed raid volume from the controller and create a new volume with the new drive in place.
1
1
602
2009-11-25T18:22:53.587
database_errors
serverfault.com
290,794
What should JITed bytecode do exactly?
I'm working on a VM (and a scripting language for it) that I plan to implement JITing for. I'm only working on the "plumbing" of it now, but I don't want the JIT compiler to be an afterthought. However, while I understand the fundamentals of it, I'm a bit confused on what exactly the JIT should do. There are two ways I...
You're right that method 2 won't give you a huge performance boost over a simple bytecode interpreter loop. The real gains are to be made by using method 1. That said, method 1 isn't as hard these days as it used to be, as there are libraries that can help. One interesting approach that should be relatively east and mi...
2
2
248
2015-07-25T11:00:08.880
api_errors
softwareengineering.stackexchange.com
212,889
How can a beginner develop an algorithm for this problem?
Before I'm flamed, I'm just a beginner in programming. I have been learning Python for about 1 week by myself. I have a real problem to solve: Goal: The fastest route through a pathway. Problem: Walk forward to get to the goal. The pathway is 128 steps. Walking 1 step increases the danger value by 113 If the danger val...
This is the problem as far as I can see it: Each field has a random, unknown “danger level” ℓ i that is evenly distributed across a certain interval [ℓ min , ℓ max ]. So on average, the level is ℓ = (ℓ min + ℓ max )/2. Moving to the next field has a fixed cost Δ c m . Each move increases the “danger” d by Δ d . If d > ...
6
18
827
2013-09-29T19:54:14.550
api_errors
softwareengineering.stackexchange.com
216,648
Test if login is an scp connection
I'm echo'ing various machine statistics on login, but this is problematic for SCP and SFTP, is there a shell variable I can test for?
In bash, I use [CODE] to test for that. For example in .bashrc: [CODE] This should keep the "interesting stuff" out of your scp/sftp.
4
7
1,345
2010-12-28T08:53:22.647
infrastructure
serverfault.com
971,968
Nginx equivalent of UseCanonicalName (external name/port)
I have nginx running behind a front-end proxy, so while nginx is listening on port 8080, clients must actually connect to port 80. This means that if a client requests a URL corresponding to a directory, but the final slash is missing, they receive a 301 redirection to the wrong location. Simplified configuration: [COD...
You use the [CODE] directive. [CODE]
1
1
994
2019-06-18T21:06:08.613
infrastructure
serverfault.com
451,169
Screen sharing stopped working Mac OSX 10.7.4
Yesterday, after installing Myob Account Edge accounting on my mac mini server, I lost the ability to screen share with it using the vnc protocol (Go menu > connect to server). When I try to connect, the screensharingd daemon starts on the server (I can ssh into it fine, and use the server admin tool), but it hangs on ...
Unfortunately I can't help you with this problem directly, but I can recommend Mikogo as a much more reliable alternative for screen sharing. It's a quick, free download that allows you to not only screen share, but also switch control of screens between users in the touch of a button. Check it out at http://www.mikogo...
0
1
806
2012-11-22T09:26:24.523
api_errors
serverfault.com
847,454
Generating certificate for iLO
I want to generate a proper certificate for iLO web console (iLO is a management engine for HP servers) using letsencrypt. AFAIK there's no way to install private key into iLO, so I've generated CSR from iLO. It contains the following field: [CODE] I've found no way to exclude IP Address part from CSR. I don't need it,...
Here you go: https://community.letsencrypt.org/t/how-to-automatic-certificate-install-on-an-hp-ilo4-management-processor/31038 Generate CSR Submit CSR to LE Install resulting cert
1
1
5,590
2017-04-30T14:54:02.427
infrastructure
serverfault.com
103,152
How do I feed my keras model in batches?
I am trying to feed a Sequential model in batches. To be reproducible my example, suppose my data is: [CODE] My goal is to feed the model in batches. 24 points at a time (24 x 1 vector), 432 times. I built my model as: [CODE] However, I get this error: [CODE] EDIT: [CODE] NOW RAISES: [CODE]
The main issue here is that your labels - Y values you initialize randomly at the beginning is 432 dimensional, while your final layer is 2 dimensional and you are using binary cross-entropy. Which means you are trying to predict a 432 dimensional vector as a binary classification. But that is not reason you are receiv...
0
0
205
2021-10-14T19:34:25.303
data_quality
datascience.stackexchange.com
985,555
Should I bond iSCSI network connections?
I'm setting up some iSCSI storage (Lenovo) along with a physical server running RHEL7. The server has 2 NICs for the main LAN (bonded) and 2 NICs for the iSCSI network. The Lenovo storage has 4 ports connected to 2 physical switches. The iSCSI NICs in the server go to 1 port in each of the switches. I've installed iscs...
You can LACP NICs you're planning to use with iSCSI, but only in one case - if both "sides" (target & initiator) support so-called "multiple connections per session". If they don't or this feature isn't configured properly (say # of connections = 1, which is obvious) you'll get uptime, but you won't get any performance...
7
6
1,814
2019-09-25T08:40:28.900
pipeline_ops
serverfault.com
482,035
Sendmail issue with IPv6
I have an email server configured with multiple-instance of sendmail running each on different IPv4 and IPv6 addresses. Everything is running smooth until a point where for some domains/emails (apparently random) sendmail try to send the email from the IPv6 address instead of the IPv4 and I begin to receive messages li...
Whilst the comments above seem to suggest that this isn't a v4-by-domain issue, I had cause to need to do exactly what you describe, today, and found this question whilst searching. The method I found to force v4 delivery on a domain-by-domain basis is to enable mailertable, by having [CODE] in my sendmail.mc (if it's ...
1
1
2,932
2013-02-24T19:51:34.560
infrastructure
serverfault.com
496,896
Trailing slash and tomcat http connector
I'm configuring tomcat to forward visitors to a different domain and different port using the tomcat http connector, and proxy settings in the apache site config (as explained here ). A more specific explanation: - I'm running a web app 'yasgui' on domain1.org:8080/yasgui - I'm forwarding it using a http connector to d...
Please fix your Apache configuration. Please add [CODE]
0
0
930
2013-04-04T22:20:46.543
infrastructure
serverfault.com
1,092,867
Does configuring BIOS really solve ESXi CPU Contention?
There's alert coming up on our server saying CPU Contention even if we already isolate that VMguest from another high CPU consuming VMguest: Alert Definition Name: Virtual Machine on a host with BIOS power management not set to OS controlled is facing CPU contention Alert Definition Description: Virtual Machine running...
Determine if you have a performance issue. Measure performance quantitatively: request response time for services, queries per second from databases, ESXi guests with significant %READY CPU . VMware thinks hardware power saving features are limiting maximum performance. This especially matters for latency sensitive or ...
0
0
1,190
2022-02-07T03:30:42.187
infrastructure
serverfault.com
632,006
Is it possible to use Docker to separate web sites for users?
I manage servers where users have their own websites on it that can be accessed by FTP (like an hosting company) and instead of working on isolating LAMP stack processes, I was wondering if it was possible to implement Docker and use an images per website. From what I understand, you can expose Docker instance via thei...
Yes, it is possible. What you need to do is providing several 80 ports. one for each URLs. You can do this using, e.g. Virtual Host of Apache running on Docker host server. Set DNS CNAME. Run docker instances and map their port 80 to port, say, 12345~12347 of the docker host. Run Apache server on docker host and set a ...
13
13
22,823
2014-09-29T08:49:31.073
pipeline_ops
serverfault.com
613,388
AWS - Script to create EC2 snapshots and automatically rename them
I'm currently trying to setup a script (using AWS CLI from an Ubuntu server) that will do the following: Create a snapshot of every existing volume. Those volumes already have a NAME tag (Like SERVER1, SERVER1DATA, SERVER2, SERVER2DATA etc). Rename those snapshots taken with the same tag NAMES (so then, on the AWS cons...
I'm not positive I understand your question completely, but if what you want is to be able to generate a list of your volumes, along with name tags, something like this might work: [CODE] Basically what that says is "Give me the resource id and the value of the tag "name" for every resource of type "Volume". In this ca...
4
5
12,241
2014-07-17T16:45:23.817
infrastructure
serverfault.com