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 |
|---|---|---|---|---|---|---|---|---|---|---|
47,592 | Message file not found when starting SQLPlus | I've installed Oracle XE 11.2 on Fedora 18 but have trouble starting SQLPlus. It quits with the following error: [CODE] All of the environment variables are properly set (copied from installation guide) [CODE] [CODE] is [CODE] . As far as I understand Oracle ignores system language related variables but here they are a... | This error usually occurs if you are executing sqlplus as a different user (other than the one which installed Oracle software), due to permission issues Check Oracle Note: 356850.1 | 5 | 3 | 60,447 | 2013-08-05T21:01:34.640 | database_errors | dba.stackexchange.com | |
63,032 | Making a recursive CTE like query, but for many records | I have a table with a hierarchy ( with a recursive parentID column), for one record, I know how to get the last parent record, with the following code : [CODE] It works as long as I'm working with one id, here @Id. But I can't find a way to do the same but for a list of Ids, without using cursors, as CTE seems to be OK... | Assuming the original table design is somewhat like this: [CODE] Sample data: [CODE] The following recursive CTE query finds roots for the [CODE] list given in the anchor: [CODE] The output shows each supplied [CODE] and the root for that group: | 4 | 5 | 5,282 | 2014-04-11T16:30:35.967 | database_errors | dba.stackexchange.com | |
1,149,670 | Site down after VM restart | I have a standard WordPress installation on GCP. I needed to edit the php.ini file, which I did. And, then restarted my VM, so that all services such as PHP, Apache etc. also get restarted. However, the site is now no longer accessible. Neither from the domain name, nor using the external IP address. Any ideas on how t... | Is the VM's IP address ephemeral or reserved? The IP address in your screenshot [CODE] does not match the DNS resource record [CODE] for the domain [CODE] . Consult this guide, reserve an IP address and update your DNS server. Reserve a static external IP address After updating DNS with the correct IP address you will ... | 0 | 1 | 30 | 2023-12-12T16:45:44.283 | pipeline_ops | serverfault.com | |
265,183 | How to enforce strict handling of GROUP BY with non-aggregate / bare columns or UPDATE with multiple-row SELECT in SQLite | Unlike some other RDBMS, SQLite does allow for bare columns in [CODE] querys with [CODE] , i.e. not all selected columns need to be part of the group by or aggregate functions otherwise. In this case, the first value in the result set will be selected for the grouped output row, regardless of whether this value is cons... | SQLite implicitly adds a "LIMIT 1" to all scalar subqueries . There is no built-in mechanism to change this; you would have to modify SQLite's source code. | 0 | 1 | 316 | 2020-04-16T15:25:36.210 | warehouse_errors | dba.stackexchange.com | |
371,356 | Best method to protect software PBX system from disaster | I have been put in charge of maintaining an old PBX system which is running Windows Server 2003 and TeleAdvantage PBX software. The big concern is that the company that originally built this PBX box is out of business and we have no way to simply re-install this software. I'm looking for the best method to back up this... | I would look at Symantec System Recovery . We have used this to create an image of a running system with specialized software installed and then restore to different hardware. It can also convert to a VMware virtual machine or HyperV virtual machine which has also worked for disaster recovery for such systems. There is... | 1 | 3 | 101 | 2012-03-20T00:03:39.233 | database_errors | serverfault.com | |
285,836 | Mysql MYISAM table keeps crashing | I have a Mysql server where the same big table keeps crashing now and then, usully during high load. The table in phpmyadmin gets marked as crashed and need to be repaired. Usually i have to do a myisamchk -r table.MYI to repair it which takes quite a while. That table is about 6.4 GB with 23.500.000 rows in it and run... | If OOM triggers the "crashes", then there is too much running on that machine and/or the processes are using too much ram. It sounds like you have a mixture of MyISAM and InnoDB tables: [CODE] That might decrease the frequency of OOMs. Yes, moving to InnoDB is a good idea for many reasons, including avoiding the need t... | 0 | 0 | 227 | 2021-02-22T19:14:31.557 | api_errors | dba.stackexchange.com | |
1,075,223 | How do I forward all traffic arriving at a given port to another port? | How do I forward all traffic arriving at a given port to another port? Define the layout and the problem The layout Here is the layout of what I am trying to do... [CODE] I want to transparently forward all traffic arriving on port 6789 to port 4567. The client on the WAN and the service on the host should know nothing... | Thanks for the various comments. There were two things I was missing... [CODE] in [CODE] needed to be changed from the default [CODE] to [CODE] The [CODE] command needed to be changed from listening on the loopback to listening on all addresses. The updated command is looks like this: [CODE] (Notice the 0.0.0.0: that w... | 0 | 0 | 1,838 | 2021-08-20T21:07:51.887 | infrastructure | serverfault.com | |
1,010,788 | 30day archive to S3 bucket with aws cli | I'm trying to automate an archiving function where if a file is older then 30 days and is encrypted it will be moved to S3 to free up disk space on the server. The issue I'm having now is the the aws cli does not include the the directory path. [CODE] Is it possible to upload the file to the bucket with the full path? ... | This appears to work, using the {} to pass the directory and file to the s3 path [CODE] | 0 | 0 | 92 | 2020-04-03T18:01:20.840 | hadoop_errors | serverfault.com | |
404,922 | Are universal apps any less efficient than platform-specific apps? | I have once seen a universal download for an app. It was said to work on Windows, MacOS, and Linux. If the exact same app is designed to work on three different without changing any code. For example, Java can be made to run cross platform. Are there performance benefits to creating platform specific apps rather than c... | There are no apps that natively run on Windows, Linux and MacOS as a single binary. There are a couple approaches to multiplatform applications: Use a runtime that runs on multiple platforms, for example Java. If you target Java instead of an operating system, it will run as long as the user has Java installed. However... | 1 | 1 | 119 | 2020-02-09T20:08:27.733 | api_errors | softwareengineering.stackexchange.com | |
222,397 | Does number of backup tables hinder performance | Our main database (MySQL) has about 50 tables with about 2 million records each, many of the columns are indexed. Before doing any major change, we either copy the entire DB under a new name like "DB_MAIN_Nov112018" and just leave it there as an online backup/copy or we copy individual tables and use the same principle... | As long as the database and its tables and many indexes are just sitting there, there is essentially no harm: The extra db and tables have no impact on your ordinary queries. Some meta operation involving the [CODE] will notice them. The copy takes disk space. (So would a dump.) An advantage over a dump: You can quickl... | 0 | 0 | 26 | 2018-11-13T06:09:47.650 | database_errors | dba.stackexchange.com | |
388,422 | Windows DFSR - Changed replicated directory permissions and now have a 350,000 backlog for more than a week | Question: Is there a way to make this 350,000 file backlog complete faster? For nearly every file the only change was a change to the ACL for each affected file. Some files have changed content, but that is not the common case in this situation. This might be fixed. I'll edit this text to confirm success/fail after a p... | Very strange problem, especially after reviewing the edit. I would inspect the DFSR debug log, which is located here: %systemroot%\debug By default there should be 9 previous log files that have been GZ archived, and one that is currently being written to. Open that up in a text file, and do a search for the text "warn... | 11 | 3 | 10,661 | 2012-05-12T03:07:55.237 | database_errors | serverfault.com | |
458,018 | Getting error while trying to install Hyperic server | I am trying to install the latest version of Hyperic (4.6.6) on centos machine and getting this error. [CODE] I have already looked for the DB connection and everything is fine. I tried to google search, but didn't find any help anywhere. I know you might need more info, so feel free to comment and I will update whatev... | The problem was with the Mysql Version. I was using mysql version 5.5 and Hyperic somehow wasn't supporting it. I tried the installation with the Mysql Version 5.1, and it worked like charm. Hope this post will help someone who is trying to get a solution for this. | 2 | 1 | 705 | 2012-12-14T07:27:14.347 | infrastructure | serverfault.com | |
161,694 | How can I multiprocess my program? | I wrote a program which scrape internet sites. It is pretty straigtforward because it process link one by one. With the limiting factor of the internet speed, the process is rather slow. I wonder, how can I make it multiprocess? The modules of python is confusing. I don't know the difference between subprocess and mult... | First of all: the GIL doesn't apply to multi-processing, only to threading, and isn't as big a problem as people seem to make out it is. For one, when using any network or file I/O the lock is released, so anything that scrapes websites is not likely to see any performance bottlenecks on account of the GIL. The [CODE] ... | 2 | 9 | 4,262 | 2012-08-21T09:24:01.527 | api_errors | softwareengineering.stackexchange.com | |
431,873 | SSRS Errors "Use Local", even though I am | I am at a loss. I posted this on SO, but think this is probably a better place. I have searched high and low and don't know what to do. I am running SQL Server Web Edition on Server 2008, which only supports local databases. I am trying to connect to localhost, but when I test my connection, I get this error. The featu... | This is the goofiest thing I've ever seen. It turns out that it maybe working after all. I was finally able to view a report. Unfortunately I spent all time with the Data Source and assumed the error I was seeing would mean it doesn't work. Here's the things that threw me off in the Data Source screen If I made any cha... | 1 | 0 | 918 | 2012-09-25T19:03:41.430 | bi_errors | serverfault.com | |
433,785 | Nginx phpmyadmin redirecting to / instead of /phpmyadmin upon login | I am having issues with my phpmyadmin on my nginx install. When I enter [CODE] and logs in, I get redirected to [CODE] instead of [CODE] Nginx config file: [CODE] Default.conf: [CODE] (Any general tips on tidying op those config files are accepted too) | This doesn't sound like an nginx issue. This sounds like phpMyAdmin wasn't installed correctly and thinks that it is at [CODE] instead of [CODE] . Check your phpMyAdmin configuration. | 9 | 2 | 23,848 | 2012-10-01T19:54:44.030 | infrastructure | serverfault.com | |
1,000,684 | Docker failed to start | Today I have an issue with docker, It stopped and I cannot start it [CODE] I see that I have [CODE] I remember that 3 day ago I changed [CODE] configs [CODE] [CODE] I increased fd to 1 million , after undo changes docker started successfully What is problem here exactly?? | [CODE] mean one of these limit hits [CODE] I am not sure about your OS version but giving one example for Ubuntu 16 create this file [CODE] if doesn't exists with below content. [CODE] Do reload [CODE] The docker package set a limit higher than our new limit, so the process was failing to start. So you can try below if... | 0 | 0 | 2,497 | 2020-01-28T07:45:18.750 | pipeline_ops | serverfault.com | |
462,148 | Logging into mail server works through telnet but fails though imap(s) (Dovecot+MySQL) | I have followed the ISPMail tutorial on how to set up a Debian mail server. I can log into the dovecot server through telnet like this: [CODE] (Sidenote) should not these 2 commands be identical? [CODE] But when I try to access the server with a mailprogram (mutt) like this: [CODE] Here is /var/log/mail.log: [CODE] Thu... | Num-Lock / Num-Pad the number pad or num-lock maybe causing problem in password and maybe difficult to spot. Use number keys on top of keyboard. Telnet [CODE] (IMAP4) port is 143. Traffic is in plain text. That why you can connect with telnet. [CODE] (IMAP4 over SSL) port is 993. A SSL channel has to be established fir... | 1 | 0 | 3,495 | 2013-01-01T22:59:25.973 | database_errors | serverfault.com | |
15,920 | Designing a database for a site that stores content from multiple services? | I'm building a site that implements David Allen's Getting Things Done that pulls in your email, Facebook newsfeed, tweets from those you follow on Twitter, and more services are planned. The problem is that I'm not a DBA, and I'm not sure how to design the database so that as I add features to the site, I won't have to... | Is there a reason why you have no unique constraints in your database? What happens if somehow you get two rows with configuration data for the same email address? How do you determine which one to use? I think the one piece of real advice I can give you is look at keys/functional dependencies and add as many unique co... | 6 | 2 | 1,666 | 2012-04-01T13:41:39.043 | api_errors | dba.stackexchange.com | |
176,854 | RST ACK over SSL in FireFox POST request | The original question is here . In short, for few users several POST requests hangs and are aborted after couple of minutes, when working over SSL (http is OK). What I'm asking here is an explanation of the WireShark log: [CODE] Sometimes, the request finally works, instead of being aborted. Also, this happens only for... | It looks like the server is still waiting for data. Maybe there's a buffer in the SSL path which isn't being flushed? Maybe Firefox is screwing up and only sending a partial record (I can't tell without seeing the TLS frames). Giving details of the server would help. | 0 | 1 | 1,682 | 2010-09-01T09:32:43.373 | infrastructure | serverfault.com | |
464,026 | Running a script containing find with a regexp fails in cron but works in a shell | I have the following script in my /etc/cron.d: [CODE] The clean-nexus-release-repo.sh script looks like this: [CODE] When I run the clean-nexus-release-repo.sh script from my shell everything works fine. When it is run through cron I get the following output: [CODE] This is the same error I get when I move the hyphen i... | I'm not sure I can give the perfect technical explanation here. maybe someone else can improve the answer. basically I remember range expressions being locale dependent, so [a-Z] does not necessarily mean the same thing as [a-zA-Z] I think the relevant documentation is: http://www.gnu.org/software/grep/manual/grep.html... | 2 | 2 | 3,159 | 2013-01-08T14:42:34.283 | infrastructure | serverfault.com | |
181,557 | Advice: Developing two projects where one is an extension of the other | The Two Projects I work at a pretty small software company, and I'm currently in a situation where I'm at the end of development for "Project A", about to start development for "Project B". Project B is supposed to be an "extension" of Project A (both are primarily web apps). In Project B, the plan is to not only add b... | Regardless of the used SCM, Branch-based method is faster in implementing, simpler in management and just better , especially if you'll follow "Branch per task" workflow "Project A" is long-term branch "Project B" is long-term branch also, created at some moment from "Project A" Each task (feature or bugfix or ...) is ... | 7 | 5 | 242 | 2013-01-04T18:47:05.513 | api_errors | softwareengineering.stackexchange.com | |
334,193 | Recover Formatted My Book data? | I have a 1 Terra My Book Western Digital external hard disk ... Its USB socket got broken so I kept connecting and disconnecting it several times to make it work ... sometimes it worked and other times it told me "This disk should be formatted", anyways ... I disassembled the hard disk away from the rack. I connected i... | You're fscked. The very first thing you should ALWAYS do when trying to recover data off a drive is to make a block-level copy into another location. By doing a quick format you may have overwritten critical parts of the filesystem. That said, there are commercial firms who specialize in data recovery. Engage their ser... | -1 | 5 | 162 | 2011-11-23T19:22:02.230 | infrastructure | serverfault.com | |
972,501 | Google Cloud Platform (GCP) Can't Load Balance HTTPS Across Zones | Google's HTTP(S) load balancer has cross-region load balancing. But that's not a useful case for me (and tons of people I'd argue) because I have servers in unmanaged groups that need low latency communication among them. So I need to load balance unmanaged instance groups across ZONES e.g. zone-a unmanaged group, zone... | Add instances from a single region to the instance groups of this HTTPS load balancer. The cross region example's backend service spans regions, yours does not have to. Whether regional, zonal, or unmanaged instance groups are practical depends on what these "slightly different configurations" are. For an equal number ... | 0 | 0 | 281 | 2019-06-22T16:14:03.193 | infrastructure | serverfault.com | |
247,103 | Using logical operators in lighttpd.conf | I have two sub-domains which I want to redirect to the same directory: [CODE] Naturally, I've tried: [CODE] But got: [CODE] This failed with [CODE] (upper case), [CODE] and even c-style [CODE] . Any idea how to avoid the awkward code repetition? This question is a copy of an unanswered post I've published in the lightt... | Why not just...? [CODE] | 3 | 3 | 1,476 | 2011-03-14T11:33:20.850 | infrastructure | serverfault.com | |
610,475 | How do I import into ADAM / AD LDS - The specified instance type is invalid | I'm having a hard time importing an LDIF file into ADAM/ AD LDS, and the error is below (instance type is invalid). I've tested and recovered from errors that relate to The import file is ASCII, UTF8, ANSI Invalid properties in the import file (MS Internal objects for replication) In AD the name of the users container ... | I was able to fix the import file by removing the line: [CODE] | 2 | 0 | 6,543 | 2014-07-06T18:16:28.787 | api_errors | serverfault.com | |
585,924 | iptables blocking local connection to mongodb | I have a VM (Ubuntu 12.04.4 LTS) with mongodb (2.0.4) that I want to restrict with iptables to only accepting SSH (in/out) and nothing else. This is how my setup script looks like to setup the rules: [CODE] But with these rules activated, I can't connect to mongodb locally. [CODE] Without them, it works fine. Is there ... | A connection consists of a source IP:Port and a destination IP:Port. Packets from the source IP:Port have to traverse the OUTPUT chain. This happens even when you are connecting to the loopback interface so as you have discovered you need to allow outgoing connections to 127.0.0.1. It is normal not to block the loopbac... | 2 | 2 | 1,503 | 2014-04-01T14:48:16.757 | database_errors | serverfault.com | |
1,070,631 | MySQL 8 - connecting to server with different port | I have MySQL 8 on Debian 9 vps, and my problem that I can connect to server from php Adminer (web) with any port I've chosen: localhost:3307, 33650, any port. And php Adminer showing - MySQL » localhost:33899. And I can manage databases, but this instance is from 3306, which is default. Why such thing is happen? Am I m... | It looks like I probably found an answer. This is because if you specify "-h localhost" - it will connect you to MySQL socket, and --port will be ignored (no TCP/IP will be used, and hence the --port option has no meaning). To connect to a different port, simply use an address which is not "localhost", but 127.0.0.1: C... | 0 | 1 | 1,010 | 2021-07-26T02:56:46.060 | database_errors | serverfault.com | |
223,681 | How can I restructure a table of points with repeating lengthy text ids? | I have a dataset that looks like this: [CODE] Multiple tracks of cars of a car-sharing service. The first entry is a random ID that marks one rental. (I guess something like hash(user, car, RNG) ). Every row consists of [CODE] , [CODE] , [CODE] , [CODE] , [CODE] (deg), [CODE] ...but the [CODE] column takes up at least ... | First, you shouldn't use those IDs in the database. To start off they're clearly a compound ID, with bigint (hex encoded) uuid The [CODE] is a text-token. That means right off the bat you can make your table substantially smaller very easy. [CODE] Now you need to populate it. (essentially we make sure you have 16 chara... | 3 | 4 | 168 | 2018-11-28T17:31:56.043 | database_errors | dba.stackexchange.com | |
47,265 | Set up a forwarding mailbox in qmail? | setting up a simple mailserver to forward all messages sent to one address to gmail. So far I have a file /var/qmail/mailnames/myserver.com/username/.qmail with a single line: &recepient@gmail.com I also have file /var/qmail/users/assign with: =username:localuser:2525:48:/var/qmail/mailnames/servername.com/username::: ... | Did you run qmail-newu ? Did you include the "." as the last line of the file? Is /var/qmail/mailnames/myserver.com/username/ owned by localuser? It might be simpler for you to just use the alias directory. Messages that don't match a user on the system get passed to the alias user (/var/qmail/alias) where they are han... | 2 | 1 | 11,916 | 2009-07-28T21:45:20.917 | infrastructure | serverfault.com | |
992,208 | How can I find which one of 2 HDDs is newer? | I have 2 hard drives and I really need to find which one was used latest. (they're both broken but I only want to repair newer). Can I somehow figure out which one is newer? labels does not state date of manufacture. LABELS: HDD1 HDD2 | If they're mechanically broken, but electronics is OK, diagnostic tools may still be used to determine which one is the least used. This has nothing to do with the production date, though. You can read the production date on the HGST drive: January 2015 (JAN-15). The Toshiba MK6465GSX was introduced in 2009 (see here )... | -3 | 2 | 87 | 2019-11-17T19:06:49.913 | infrastructure | serverfault.com | |
968,832 | issue with pacemaker ipaddr2 and IPsrcaddr | I'm having trouble with setting up a cluster which contains two nodes. I want to setup a cluster with two centos nodes with a floating ip address and all packet which sends out from my active cluster node be from Virtual_IP not from the IP that is registered directly onto the NIC. For this purpose I create two resource... | it's probably a bug in NetworkManager . first restart NetworkManager service if it dosent resolve issue you probably should config your nic with network script in [CODE] and disable NetworkManager. | 1 | 0 | 1,182 | 2019-05-25T14:51:40.910 | data_quality | serverfault.com | |
95,548 | Oracle grant select on a table | I want to grant select permission on a specific table to a remote ip address I had done it before in Mysql with this: [CODE] but I can't do it in Oracle 11G | You can't restrict by IP address. All you can really do is create a new user and only grant them [CODE] on that one table. [CODE] It is actually possible to check the IP address a user is logging in from using a login trigger, and deny the login if the IP address is "wrong", but that is a different question. | 0 | 3 | 2,912 | 2015-03-18T08:55:47.223 | database_errors | dba.stackexchange.com | |
25,549 | Implementing a CNN with one convolution layer | I am trying to implement a 1 channel CNN by slightly changing this article: this article . The problem is that I am new to keras and deep learning and I don't know this far why I am getting this error: [CODE] Obviously, it's a mismatch in the dimensions. I am using this code code: [CODE] Edit1: I updated as mentionned ... | I guess you should change the following line to solve the problem: [CODE] instead use this code: [CODE] this will keep the dimension of your input. If it does not work, let me know to help you more. | 3 | 2 | 1,906 | 2017-12-11T06:26:43.883 | data_quality | datascience.stackexchange.com | |
898,757 | IPv6 /48 subnetting on KVM guests | I have a dedicated server that has been assigned a /48 IPv6 address block. That server is running several Linux guests with macvtap networking. I want each guest to have a /64 block, but I can't seem to pin down the right configuration. I can assign the whole /48 to a guest and it works fine, but anything else and I ge... | Your upstream provider has gone outside the normal v6 addressing scheme, each while they assigned you a 48 your network connection should be a 64 and a route added for the 48 to your v6/64 address, others may use a /126 for P2P links. Then each container you add with a /64 address will be locally connected and routed. ... | 0 | 2 | 323 | 2018-02-25T02:43:09.067 | infrastructure | serverfault.com | |
121,824 | nginx 502 bad gateway - fastcgi not listening? (Debian 5) | I have experience with nginx but it's always been pre-installed for me (via VPS.net pre-configured image). I really like what it does for me, and now I'm trying to install it on my own server with apt-get. This is a fairly fresh Debian 5 install. I have few extra packages installed but they're all .deb's, no manual com... | On my server I use nginx+fcgi as well. My solution isn't foolproof but at least works. I have this script which uses spawn-fcgi and php5-cgi under /etc/init.d/ [CODE] and the related nginx conf is this: [CODE] and the fastcgi.conf contains the following [CODE] Hope this helps :) PS: With this setup I had an issue where... | 4 | 1 | 12,414 | 2010-03-12T09:21:33.503 | infrastructure | serverfault.com | |
683,314 | WDS PXE client boot getting error: 'Windows Deployement Services: PXE Boot Aborted' | Created a new WDS (VM) server, installed WDS role, added boot/install image from Win7 Pro SP1 x64 volume license disc. Client I am booting is 64-bit but then I get this: [CODE] Client PC is Optiplex 3020 Intel Core i5-4590 Realtek RTL8151GD (per Dell; Hardware ID: PCI\VEN_10EC&DEV_8168) | --- EDIT: Default WDS settings (Properties, Boot) dictate you have to hit F12 (quickly) to continue booting, otherwise you will get PXE Boot Aborted. I am sure this is designed so that a boot order with NIC/PXE 1st will still boot to local devices without user intervention WDS log (Source Deployment-Services-Diagnostic... | 4 | 3 | 41,693 | 2015-04-16T20:02:48.280 | infrastructure | serverfault.com | |
184,646 | A secure, standard iptables rule-set for a basic HTTP(s) webserver | I have been trying to put together a basic server iptables script that will work for most sites just running a basic webserver using HTTP(S) and SSH (ports 80, 443, & 22). After all, most VPS only need these starting ports rules and can add mail or game ports later as need. So far I have the following ruleset and I was... | The most secure way to work with iptables is close everything and only open what you need. I'm kind of distracted, so I always try to be as lazy as possible, so I do not make mistakes which can lead the server to be unsecure. I use this one, only a little bit of varible assignment must be done in order to make it work.... | 16 | 14 | 29,881 | 2010-09-25T17:35:18.623 | infrastructure | serverfault.com | |
948,158 | Unable to connect to port 993 for IMAP on Ubuntu server with Postfix/Dovecot/MySQL | Ubuntu 16.04.5 Apache2 MySQL Postfix w/MySQL Dovecot SASL2 UFW I am trying to install a working mail server and client on this machine. I followed this tutorial which allows authentication through MySQL. I have all DB entries set correctly, I have set up the domain/mailbox in PostfixAdmin. All was going well until the ... | So after some debugging I found that: Mistake 1 : Assuming [CODE] was the correct port. Dovecot is running on [CODE] . The correct setting for server in Roundcube is [CODE] . Mistake 2 : In [CODE] [CODE] and [CODE] must be on seperate lines. Possibly due to copy/pasting from tutorials. Right: [CODE] Wrong [CODE] Recomm... | 1 | 0 | 4,108 | 2019-01-08T22:55:25.350 | database_errors | serverfault.com | |
16,807 | Why mini batch size is better than one single "batch" with all training data? | I often read that in case of Deep Learning models the usual practice is to apply mini batches (generally a small one, 32/64) over several training epochs. I cannot really fathom the reason behind this. Unless I'm mistaken, the batch size is the number of training instances let seen by the model during a training iterat... | The key advantage of using minibatch as opposed to the full dataset goes back to the fundamental idea of stochastic gradient descent 1 . In batch gradient descent, you compute the gradient over the entire dataset, averaging over potentially a vast amount of information. It takes lots of memory to do that. But the real ... | 67 | 73 | 76,669 | 2017-02-07T12:40:25.200 | data_quality | datascience.stackexchange.com | |
1,090,058 | iscsid broken mount after recovery | I am playing with [CODE] and came across some troubles. When the network link between my initiator and the target fails, [CODE] will recover the connection, which is good. But my mount is broken and yields [CODE] until it is remounted. Is there a clean solution to remount the lun automatically? Something like a hook on... | In short, no, there isn't a magically clean solution. The cleanest recovery is reboot. The problem is that when the connection is down for more than iscsid's [CODE] , the filesystem starts getting I/O errors. Unless you have a very special application, there's typically no coming back from an I/O error. It wreaks all s... | 1 | 0 | 772 | 2022-01-14T19:32:37.727 | infrastructure | serverfault.com | |
1,297 | Home Sales question in Home Improvement SE | I'm new to home Improvement and have a rather specific question I need answered. I am not sure, however, if it is off topic. In summary, I'm looking for some advice on selling my house during the off/slower season for home sales. I need to know what kinds of things people look for during the off season, and what kinds ... | This is not the place for that type of question, and I don't know of any SE sites where that question would be on topic. You should contact a local real estate agent, as they'll have more detailed information based on your specific location. | discussion,scope,questions | 2 | 5 | 48 | 2017-06-28T15:26:18.470 | other | diy.meta.stackexchange.com |
866,830 | UDP traffic not forwarded from Docker containers -> Docker host | I have a docker container and I am unable to run DNS lookups from inside containers, although it works fine from the docker host. The configuration management code that builds the Docker host is known to work on a standard RHEL 7 image from the marketplace, therefore the problem is known to be something inside the SOE ... | I figured it out. We had a Trend Micro (anti-virus) agent running in the SOE which I didn't know about. Fixing it was as simple as: [CODE] Not exactly sure at this point why it is blocking UDP from containers or how to stop it. | 13 | 4 | 20,390 | 2017-08-04T07:47:15.903 | api_errors | serverfault.com | |
16,999 | printing theano.tensor without having any idea about the shape and type of the tensor | I am debugging a code which I haven't written. I want to print out [CODE] variable which is calculated as following: [CODE] When I use [CODE] , I get MissingInputError: ("An input of the graph, used to compute Reshape{1}(y_sampler, TensorConstant{(1,) of -1}), was not provided and not given a value.Use the Theano flag ... | For evaluating and tensor, you have to pass the value of the input tensors as shown in the below code snippet. [CODE] | 1 | 1 | 471 | 2017-02-15T09:35:14.283 | data_quality | datascience.stackexchange.com | |
173,048 | dividing quatity INT value into unique separate rows for each item | I am working on a project where we are selling tickets. How do I create multiple rows from a quantity value. Currently it looks like this [CODE] I wish for my end result to look like this into a separate table [CODE] I am using a stored procedure but every time I call it it does what I want but it also duplicates the p... | To prevent all existing [CODE] rows for being added to [CODE] , you have to exclude rows that have already been processed from the cursor. There are several ways to do this; the best option depends on things we don't know, at this point. You could pass [CODE] into the procedure, so you're only processing the [CODE] fro... | 0 | 0 | 38 | 2017-05-09T00:05:25.293 | data_quality | dba.stackexchange.com | |
198,484 | SQL Server 2017 CU3 will not add read-scale replica. Thinks there is a cluster | Using SQL Server 2017, CU3. I successfully create a 2 node cluster=NONE availability group. Both replicas are VMs local to the site. When attempting to add another replica that is off-site, I get sql error 19417, which basically says my replica add failed because the operation is not supported when the AG is running un... | I finally found Creating a clusterless availability group using windows server 2016 and sql server vNext CTP 1.4 on Stack Overflow, which got me on the correct path. I had been using the wizard to create the AG, when that failed I used the wizard to script out the t-sql and run step by step. What I failed to notice is ... | 1 | 2 | 521 | 2018-02-21T16:18:18.950 | database_errors | dba.stackexchange.com | |
409,650 | Restarting a VM from a different VHD file (but a copy of the old one) | I am wondering if anyone else has done this and has subsequently ran into any problems or if based on what I describe, anyone could suggest types of problems I may run into: I have Windows 2008 R2 Datacenter as my Hyper-v host and a Windows 2008 R2 Ent guest VM running on it. Prior to a major update,I had saved a copy ... | First of all, some basic concepts about Windows machines/domains you need to know (and may or may not already know): Computers are security principals just like users Names are just human-friendly references to an underlying SID Computers authenticate to the domain on startup Computers accounts have password too (that ... | 1 | 1 | 1,962 | 2012-07-20T14:48:56.560 | database_errors | serverfault.com | |
27,254 | Need help in understanding the below Requirement? | Identify minimum number of users to test requirement? Below you will find the requirements to identify the Account Diversity Grade of a user. Read the requirements carefully and identify what test users you need to setup in order to completely test and make sure all the below requirements are covered. (Note: you should... | Easy, 1 user with different/multiple loanAccountTypes. Now, all snarkyness aside, you should not expect this to be a forum to get your work done by other people. We can help with it, give pointers, feedback to something you have done, but not do it for you completely. Consider this an exercise, come back with your own ... | -4 | 1 | 5,247 | 2017-05-15T06:39:27.980 | data_quality | sqa.stackexchange.com | |
908,310 | How are user specific Sieve files created? | My Dovecot's protocol_lda is as follows: [CODE] } I touched the [CODE] to create the file, created the directory [CODE] , and created [CODE] with the contents: [CODE] However, mail comming from a gmail account is being filed in INBOX instead of XXX. EDIT: In a nutshell, the use case I am interested is: As an admin of a... | Sieve has a concept of active sieve script. The [CODE] is not a directory, but should be symbolic link to the active sieve script. In other words: ~/sieve may contain several scripts ~/.dovecot.sieve should be a symlink to one of these scripts With this setup, dovecot will be able to use the per-user configuration base... | 1 | 4 | 2,270 | 2018-04-18T16:35:54.463 | infrastructure | serverfault.com | |
11,832 | Executing Stored Procedure that accesses another SQL instance | I apologize if this question repeats another already asked. I have searched for hours and have not found one that fits my situation. Desired Outcome A user using SQL authentication has execute permissions to Database1 on Server1 (default instance) and that is it. The user executes a stored procedure that, as part of it... | After reading extensively on the topic and doing a number of experiments, I believe I have come to a conclusion on this matter. The EXECUTE AS statement is not designed to work cross-instance without major security implications. What I was hoping for was a way to tell my procedure what Windows identity I wanted to run ... | 8 | 2 | 16,366 | 2012-01-28T03:47:18.220 | database_errors | dba.stackexchange.com | |
211,273 | can't connect to free ec2 instance | I created a new ec2 ubuntu instance. I can't connect to the instance, all I get is connection timed out when I try to connect. I can't ping the instance either. If I try to add new security rules in the amazon ec2 dashboard I cannot save them (the save button will not become active). I may be using an ami that doesn't ... | The reason you cannot reach the instance is because the Firewall (controlled by the Security Groups) is not open to you. The reason you cannot save is because you need to include an IP address AND a CIDR mask. In plain english, you need to format your rules like this. xx.xx.xx.xx/# The /# is something in the range /0 t... | 0 | 1 | 1,216 | 2010-12-10T13:14:52.413 | bi_errors | serverfault.com | |
12,171 | Secure RDS (private endpoint) and allow connecting from local machine for specific predefined users | I'm looking for some way to allow access to RDS (Private endpoint) instances from local machine for a specific set of people (for the internal team.) ways I know: Create Bastion EC2 and through SSH tunneling connect from local. as I'm already using k8s from where the instances are reachable. is there any way to do some... | I am not sure it will be helped. I have similar design in my office. I have some Kubernetes Cluster. all node and master running on local ip from a PVC. And my rds too, only have local ip run on same PVC. Kubernetes Cluster already connect to RDS using local ip. Then, I build VPN server on bastion server. Have local ip... | 0 | 1 | 69 | 2020-08-07T12:23:48.157 | pipeline_ops | devops.stackexchange.com | |
892,495 | Cannot Install mac80211(_hwsim) module on GCP Ubuntu 16.04 instance | I am new to GCP services and try to deploy mininet-wifi script to the cloud. On physical machines the installation described in the link and the SDN python script work pretty fine. However, for some reason on GCP Ubuntu instance this does not happen. When I run the python script I get this error: [CODE] During the inst... | Today I found out what has happened. For some reason linux-image-extra was somehow "partially" installed i.e. some of its modules did not install of course the ones I needed. After simple [CODE] they are available and everything is working as it should. | 1 | 2 | 1,142 | 2018-01-16T17:26:00.500 | infrastructure | serverfault.com | |
309,585 | Splitting coding progress into meaningful commits without too much overhead | When working on a fix or a feature, I sometimes stumble over other tiny issues that can be improved on the fly in a matter of seconds. When I do them immediatly and then commit the finished feature/fix, the commit includes more than one thing. For example [CODE] or [CODE] . It would be better to split this into two com... | I think that you have to be very pragmatic when programming. Even if it might be possible to formulate the perfect scheme, workflow, or implementation, sometimes you just need to get work done. Here's what I do: I use git's ability to stage/commit individual hunks and lines, whenever possible, to separate unrelated cha... | 23 | 11 | 1,032 | 2016-02-08T14:54:55.200 | api_errors | softwareengineering.stackexchange.com | |
693,904 | Add a custom header to Postfix with the relayed domain | I've got a Postfix setup that allows relays only from certain domains. I accomplish this using the [CODE] flag in main.cf and it queries mysql to find the list of allowed domains. [CODE] I would like to add a [CODE] instruction to insert a custom header based on the result of the mysql check for [CODE] which would show... | Perhaps, you can use [CODE] from postfix. [CODE] File [CODE] has content like this [CODE] In access table, PREPEND action will add header in your email. In this case, this map will add domain parts of your recipient. | 6 | 6 | 10,060 | 2015-05-22T18:55:34.960 | database_errors | serverfault.com | |
273,070 | md3000i : recover data from healthy unplugged hard disk but with deleted configuration on the array | I have a question for an MD3000i SAN expert : We had a RAID with 2 disks on a MD3000i DELL SAN. We deleted the configuration on the storage array without the disks of this RAID configuration plugged inside. Now we put back the disks inside the array and we are trying to read the data on them. Unfortunately, the array d... | the SAN should detect a foreign logical disk (array), and provide the option to import it. If it doesn't detect a foreign config, you might have to re-tag. For the exact procedure, you need to talk to Dell techsupport | 1 | 2 | 573 | 2011-05-24T08:44:54.770 | infrastructure | serverfault.com | |
4,070 | Kubectl: the server doesn't have a resource type "cronjobs" | I ran minikube with: [CODE] status: [CODE] However, running [CODE] returns this error: [CODE] Anyone have any idea what could be the reason for this? | The answer is appearently that there's a bug in Minikube 0.26. Downgrading the Minikube installation is solving it. | 1 | 0 | 4,672 | 2018-05-08T10:31:30.513 | pipeline_ops | devops.stackexchange.com | |
982,100 | Server Hot Swap Hard Drives | We have a HP Proliant DL380 G9 server. We have a separate data drive which consists of 4 x 1TB 7.2k 6Gb hot-swappable SAS drives RAID 5'd to provide a 3GB logical drive. We've noticed the performance of the server is quite slow and after running various tests I've noticed disk IO on the SQL database isn't very good. I ... | You absolutely can do such a "rolling" update, but it's going to ... a) ... take lots of time! b) ... provide really bad performance as your array will stay in "degraded" state during the whole rebuild process. c) ... be dangerous as during rebuilds chances for second concurrent fault are high due to extra load put on ... | 5 | 7 | 1,409 | 2019-09-05T14:40:19.233 | infrastructure | serverfault.com | |
1,117,866 | Weird Printing Issue: Windows Shared Printers accessible/visible via Hostname but not via IP Address | Since about 8-10 months ago we've been facing weird printer issues which culminated this month to a massive amount of errors that got most of the company involved, and that allowed us to identify the core issues: on some machines (~7-8%) sometimes after reboot something happens with the Print Spooler that makes it so t... | If someone else has the issue, here is the answer from Microsoft: The Cause (back story) is multi-tiered. This is the basic rundown. Service Startup There have been many changes in WIndows to improve service startup times at boot. This allows some services to start earlier than they did in the past. A service may fail ... | 2 | 0 | 439 | 2022-12-12T22:16:48.507 | api_errors | serverfault.com | |
145,979 | Querying the Username in a Share Data source (SSRS) | I am running a project to go over all logins of all our SSRS 2012 datasources and I need a complete list of all datasources, INCLUDING the loginname used to connect. I couldn't find it anywhere. I am convinced the datasource loginnames must be stored somewhere inside the database, or the RDL's themselves. Does anyone h... | I did some further digging and came across this forum thread: http://www.sqlservercentral.com/Forums/Topic1312030-150-1.aspx I created an RSS file with the content as explained in that thread (I removed some unnecessary columns). I ran an in SSRS CLI : [CODE] The generated text file included all the data sources inform... | 1 | 0 | 8,183 | 2016-08-05T09:24:45.093 | api_errors | dba.stackexchange.com | |
694,316 | suexec AP_DOC_ROOT Path on gentoo | after a few years running php as mod_php I want to move to fcgi. On my server I run currently gentoo linux. I allready set up php als fcgi and everything is working. But there is one problem. I have to change the path of the AP_DOC_ROOT from /var/www to /home/www. On ubuntu there is something like apache2-suexec-custom... | Ok, I just found the solution. There is an Option / Env Variable, that can be set: [CODE] | 0 | 0 | 368 | 2015-05-25T18:38:28.060 | infrastructure | serverfault.com | |
132,761 | HW RAID 1 different disk sizes? | I was told by an HP support guy that I should not replace a failed drive in a mirror with a bigger size drive, since it could crash my array. I am puzzled why is this so and how to hell am I suppose to support this array once the specific hdd model is not available any more? | There's a big difference between "It should work" and "It will work" and if I was that HP guy I'd have gone with the first statement too, if he'd gone with the second and you'd lost data he could have been in trouble. That said 'it should work' :) | 5 | 5 | 10,774 | 2010-04-15T15:44:13.170 | infrastructure | serverfault.com | |
47,332 | SQL Server 2005 x64, configuring maximum server memory | I'm a bit of a newbie to configuring SQL server, and have just had to set up a new Server 2008 x64 machine with SQL 2005 x64. Everything seems to be running well, however I have a question regarding the 'Maximum server memory' option. Should this option be configured right out of the box? The server in question has 16G... | we prefer to set the max and min memory settings on our database servers, reserving some memory for the OS of course. For a 16Gb box we would probably also set the max and the min to be 12Gb, but we have dedicated database servers and that is not always the case for everyone. i believe it is best practice to set your m... | 2 | 1 | 1,675 | 2009-07-28T23:57:45.177 | database_errors | serverfault.com | |
89,296 | Outbound mail issue during Exchange 2003 migration | I am having an outbound email issue during the Exch 03 migration. Basically, we are migrating Exch03 to new hardware, both servers are Server 03 based. Everything runs smooth while setting up and installing Exch 03 on the new box. Public folders are all replicated. My issues are shown below.... 1) After starting to mov... | You need to elaborate about what these "bounces" are that you're receiving. Bounce messages are there to tell you things and should be read! It sounds like you're probably not NAT'ting outbound SMTP from the new Exchange Server machine the same way you were for the old machine. In the very short term, you can probably ... | 1 | 0 | 264 | 2009-11-30T05:07:47.977 | infrastructure | serverfault.com | |
523,405 | Cannot find a valid baseurl for any repo in centos 6.4 | when I want to install any repo I found this error [CODE] I'm using centos 6.4 I tried to check other packages I found the same error ... so it's not on specific pacakge .. (i.e PostgreSQL) yum install postgresql postgresql-server postgresql-libs here is my rpmfusion-free.repo [CODE] | You need to paste the rpmfusion.repo (or whatever) file from your /etc/yum.repos.d directory. That being said that error either means the file is incomplete or the mirrorurl that is configured is broken (i.e. not returning any values) or no longer exists (assuming yum wouldn't give a different error for either of those... | -2 | 1 | 5,231 | 2013-07-15T14:54:27.603 | database_errors | serverfault.com | |
1,113,065 | Will a web server get blacklisted for port scanning? | As I understand it, port scanning is an activity that can be a precursor to malicious activity, as one of the things it is used for is to scan for open ports that one can attack. In that train of thought, why do sites like the following exist? Won't they get blacklisted by some web servers as a result? https://www.what... | why do sites offering portscans exist? ... I am asking because I am building a port scanner on my own website Why do YOU want to offer that on your website? There are several scenario's that can happen in response to a portscan: fairly often: nothing at all. Either it isn't detected at all, or simply deemed not suffici... | 0 | 1 | 279 | 2022-10-14T10:36:01.867 | database_errors | serverfault.com | |
623,202 | IBM memory, whats wrong, bought wrong type? | I have this server IBM System x3250 M3 Intel(R) Xeon(R) CPU X3450 @ 2.67GHz (8 CPUs), ~2.7GHz 2 GB PC3-10600 ECC DDR3 SDRAM HDD 500 TB Hotplug Windows server 2008 this is screenshot the default memory, micron PC3-10600R 2gb, its working well to entering windows http://freakimage.com/images/113memory_ram_micron_PC3_.jpg... | I have found that not all memory plays "nicely" well together....especially when using different vendors. I'd suggest returning the memory and try a different vendor. You should be sure you are installing memory in appropriate matching slots. Each manufacturer is a bit different in how more memory should be added and w... | 0 | 0 | 109 | 2014-08-22T01:47:17.420 | api_errors | serverfault.com | |
927,406 | Elasticsearch on Google Compute - Network issues | I just moved my cluster from AWS EC2 to Google Compute, and looking at the logs it seems there are constant network issues. This happens with 2 specific nodes, several times a day. It starts with the error: [CODE] Checking the logs it doesn't seem like they are restarting (running with docker), just disconnecting and r... | Just in case anyone runs into this, we eventually solved this. (1) Apparently, in Google Compute connections get disconnected after 10 minutes, which is pretty low (the default for ubuntu is 2 hours keep alive pings). The source for this is here . They even recommend in this link which values to actually use, which are... | 0 | 0 | 42 | 2018-08-21T21:18:43.263 | pipeline_ops | serverfault.com | |
555,512 | Can't setup nginx + php5-fpm in a fresh installation getting 404 | I just've downloaded nginx 1.4 and right away I see the "Welcome to nginx!" message, then I've installed php5-fpm from the repositories so I create a php file at /usr/share/nginx/html/demo.php just with [CODE] inside. (I'm trying under ElementaryOS Ubuntu 12.04 based) and followed this manual: http://wiki.nginx.org/PHP... | The config line: [CODE] Is directing nginx to forward the request to a process listening on localhost port 9000. Do you have anything listening? | 1 | 0 | 172 | 2013-11-17T03:00:57.270 | infrastructure | serverfault.com | |
504,395 | file sharing solution for a small company network | So we have a team of 9 people that need a file share on a linux server. Every person has its own laptop. Most have a linux distribution on it and some have a windows OS. For security reasons the solution needs to support ACL. On top of that it should be easy to implement and maintain. Ideas that came up up are Samba3 f... | For a team of 9 people, and with security in mind, if you can dedicate a small machine, I would suggest freeIPA . You will be able to setup an identity manager automount samba/CIFS shares NFS quite a lot more things related to security (SELinux mappings, [CODE] control,...) It is all managed in a kerberized LDAP direct... | 0 | 1 | 72 | 2013-05-02T09:53:47.010 | infrastructure | serverfault.com | |
57,343 | values passed to user-defined distance function by KNeighborsClassifier is wrong | I have a data-set in which all features are binary and the class of each data-point is also binary. I am trying to use KNearestClassifier with a user-defined distance function as follows: [CODE] and my custom metric function is as follows: [CODE] the metric function expects two ndarrays of binary values of 0s and 1s. W... | Neighbors-based methods are known as non-generalizing machine learning methods, since they simply “remember” all of its training data (possibly transformed into a fast indexing structure such as a Ball Tree or KD Tree) . (emphasis mine. Source: https://scikit-learn.org/stable/modules/neighbors.html#nearest-neighbors ) ... | 2 | 1 | 654 | 2019-08-10T08:33:00.330 | data_quality | datascience.stackexchange.com | |
255,716 | Is remounting same file system with different options disruptive for current operations? | I want to remount a file system with optimized options (noatime,nobarrier,etc.) on SLES11. I was going to do it by updating [CODE] first and then do something like [CODE] . The problem is that there are images of several active virtual machines on this file system exported via NFS and I was thinking if [CODE] can be do... | I just did something similar and it had no discernible effect on the remote host. I say: go for it. What I did: hostA (client) mounts hostB (server) via NFS: [CODE] on hostA the following command was run: [CODE] hostB the following command was run: [CODE] I saw no problems, no log messages. | 9 | 6 | 4,895 | 2011-04-05T02:42:26.537 | infrastructure | serverfault.com | |
103,344 | How does T5 model work on input and target data while transfer learning? | I am working on a project where I want the model to generate job description based on [CODE] . I have trained my data and got the resultant output. I am aware that the [CODE] was trained on C4 data in an unsupervised manner. The various different techniques applied including denoising, corrupted span, etc. But I am not... | T5 is in fact a sequence-to-sequence model, it has an encoder that generates some hidden states representing the input and a decoder that generates the output. When you fine-tune the model you can happily ignore how the model was pre-trained and only train for your specific task as schematically shown in the original G... | 0 | 2 | 646 | 2021-10-21T03:41:11.560 | data_quality | datascience.stackexchange.com | |
252,912 | Mdadm resize not mounting at correct new size | Before, I had four 1TB drives on a RAID array. I added two more 1TB drives to the array, let it do its rebuild and it is not showing the size increase when I mount it. [CODE] And mdadm says the size is 5TB (in the array size section) [CODE] What am I doing wrong? Also, here is mdadm.conf [CODE] | You'll need to expand the filesystem to fit the new size of the array. Depends which file system is in use, but for ext2/3 you'll unmount the disk then use [CODE] - with no other arguments it will automatically resize to fill the available space. | 1 | 1 | 1,298 | 2011-03-28T21:36:09.003 | infrastructure | serverfault.com | |
823,515 | SSH port filtered on machine only from within local network when using explicit ip address | To describe the situation, I need to define three machines. On the local network I have a machine (LAPTOP) and a machine (SERVER) connected over WAN and LAN to the router, respectively. The third machine is an external vps (VPS). I am trying to SSH into the SERVER from the LAPTOP using an explicit IP address. To accomp... | Your problem comes from the fact that your router probably applies the port forwarding rules ( [CODE] chain in iptables) before the NAT ( [CODE] chain in iptables). This stackexchange post explains the problem in details and shows you how to confirm it using [CODE] . Basically you should see that you send your [CODE] p... | 2 | 1 | 7,198 | 2016-12-31T10:55:49.533 | infrastructure | serverfault.com | |
890,495 | Joining a Ubuntu server as additional domain controller | I am trying to join a new Ubuntu 16.04 LTS server as an additional domain controller, but I am experiencing some issues. The existing Primary Domain Controller is another Ubuntu 16.04 LTS Server and the Samba version is the same on both servers: [CODE] The DNS seems to be correctly working on [CODE] : [CODE] The Kerber... | The following command on the existing Primary Domain Controller server-z1 solved my problem: [CODE] After that I was able to join the additional domain controller server-z2 with no errors. Thanks! | 0 | 1 | 829 | 2018-01-03T10:45:53.143 | infrastructure | serverfault.com | |
260,049 | Move a Windows Server domain into an existing forest | I'm a developer who occasionally needs to do server stuff just to get the environment he needs for working. I have an AD domain (all servers are 2008 R2) with, presumably, a default forest. Works fine. Built a second domain elsewhere, in which I created a SharePoint farm. Now I want to move that domain (which uses a Se... | I don't think this has anything to do with multi domain, permissions or anything else. I would verify the remote desktop settings are right, that the network connectivity is solid and the Win7 box has a healthy network connection. Maybe try another remote access tool (like VNC) to prove that the domain is not involved.... | -1 | 0 | 1,436 | 2011-04-15T11:10:27.737 | database_errors | serverfault.com | |
829,909 | Cisco 4400 Series Initializing Hardware loop | I am experiencing an issue with our Cisco 4400 router. Upon booting it gives a flashing STAT light along with a green PWR, TEMP, FAN, PSU0. It then restarts and the fan comes on briefly, and the router outputs "Initializing Hardware . . ." This process repeats over and over. No other errors are displayed. Any insight t... | You appear to have a hardware problem. If you have a maintenance contract with Cisco, you should give them a call. If you don't, now would be the time to get one. | 1 | 0 | 1,575 | 2017-02-01T14:46:07.343 | infrastructure | serverfault.com | |
632,214 | Preserving existing destination symlinks with rsync | I am using rsync(1) to keep a local debian repository updated. Recently, the disk I am using to store it started running low on space, so I decided to use symlinks to allow me to move some of the directories to another similar sized disk. Unfortunately, it seems that rsync is deleting the symlinks and refilling the nea... | The [CODE] and [CODE] options interfere with your plan, as they notice that the symlink is not there on the source and thus delete it. This only happens when you tell [CODE] to copy the whole directory with the [CODE] notation (the trailing slash after the source). If you use [CODE] instead, the shell will expand the l... | 14 | 8 | 6,832 | 2014-09-22T21:10:32.843 | infrastructure | serverfault.com | |
943,069 | Something looks wrong in this Linux RAID | This Ubuntu Server 16.04 machine has these disks: [CODE] So, I have two physical 1.8TB drives with three partitions each and two raids (/dev/md0 and /dev/md1). If I do a [CODE] I get: [CODE] And, if I look inside each RAID I have: [CODE] And [CODE] It looks like /dev/sdb1 is not part of /dev/md0. How can I safely add i... | Your drive was taken offline from the RAID because it is faulty and throwing errors. Have the drive replaced. You can then create new partitions on the new drive and add them back to the arrays. | 1 | 0 | 242 | 2018-12-05T22:44:04.367 | infrastructure | serverfault.com | |
38,139 | How to bestly setup a ssh tunnel for access to a remote network (Linux) | My situation: I want to remotely debug my c++ application with gdbserver and eclipse. Eclipse is running on my local workstation (in the 192.168.0.0 network) and gdbserver is running on a clustermachine in the 10.0.0.0 network. I have ssh access to the clustermachine via a machine that is in both networks. How can I se... | I trust you can already SSH to a system on the remote private network (10.0.0.0). If your local system is running openssh, add to your [CODE] : [CODE] Where 'remote_ip' is the IP address of the remote clustermachine system where gdbserver runs, and portnum is the port that it listens on. SSH to gatewaymachine, then con... | 6 | 8 | 4,669 | 2009-07-09T07:43:12.553 | infrastructure | serverfault.com | |
309,292 | Apache won't start after installing mod_ssl on CentOS | I need to run both http and https on the same hostnames on my server. I had everything running without SSL with hosts configured in the /etc/httpd/conf.d directory. [CODE] I was following the instructions here: http://shapeshed.com/journal/setting_up_mod_ssl_on_apache_centos_52/ But now: [CODE] Responds with: [CODE] At... | Solved: Prior to installing mod_ssl, httpd.conf contained: [CODE] And the mod_ssl installer had added this to the automatically created ssl.conf (in conf.d) [CODE] The duplication was naturally causing a conflict. I removed the line from httpd.conf and now it starts normally. | 3 | 5 | 7,160 | 2011-09-08T09:22:43.500 | infrastructure | serverfault.com | |
324,947 | A WebSocket API, reply message | I am writing a Web application for copying files between servers . I decided to write a WebSocket server which will receive and send relevant messages (that is communicate with a browser), start and stop copying processes. Accordingly my design decision, there is at most one copying process for a given user. A user doe... | If we receive an immediate reply [CODE] from the server on a browser's request to start copying, the workflow may go as follows: Show "Sending data..." widget and disable the UI on the page. Send copying request to the server. After we receive the "immediate reply", show "Copying files..." dialog with "Interrupt" butto... | 0 | 0 | 637 | 2016-07-15T15:47:55.717 | api_errors | softwareengineering.stackexchange.com | |
895,720 | auditctl: Error - nested rule files not supported | I'm trying to list the rules in a rules file using [CODE] , whenever I do: [CODE] ; I receive the error [CODE] . I've gone so far as to empty the rules file I'm trying to load, but I still get this! Is it loading from somewhere else? When I do [CODE] I get: [CODE] . | I figured it out. [CODE] is meant to be run by itself to load the auditctl rules in. Then you can [CODE] and that will list all the rules you just defined. | 1 | 1 | 382 | 2018-02-05T15:31:37.643 | infrastructure | serverfault.com | |
870,173 | DNS static work but DNS dynamic from dhcp pool doesn't work | So we have 2 dns servers, [CODE] : 20.20.33.82 (normal dns server which I don't have access to it) [CODE] : 172.30.11.254 (palo alto with dns proxy) Core Switch DHCP pool configuration: [CODE] [CODE] | 20.20.33.82 entry: [CODE] [CODE] | 172.30.11.254 (Palo Alto with DNS Proxy configuration): [CODE] When I use dynamic/d... | Two problems I see. First, look at your [CODE] output. You indicate that your two DNS servers are [CODE] and [CODE] yet ipconfig shows it received the two addresses [CODE] and [CODE] . So either you aren't giving us the true and accurate information and made a typo, or your computer isn't receiving the proper DHCP info... | -1 | 0 | 385 | 2017-08-24T01:00:23.803 | infrastructure | serverfault.com | |
394,655 | How do I test a method which interacts with a database? | So I have a database class which has methods dedicated to specific actions. For example I have below method which accesses and writes to a table in the database: [CODE] The method trackUserPerformance(...) is a method inside my database class. How do you for example rollback the query of the method trackUserPerformance... | Is [CODE] within the data access layer? If no , then you should consider adding the layer. A common—although not the only one—approach is to separate applications into following layers: presentation layer , which handles all the UI logic business layer , which contains the actual logic of the application data access la... | 1 | 4 | 226 | 2019-07-14T12:32:55.983 | api_errors | softwareengineering.stackexchange.com | |
23,412 | How To dump data from Oracle to Vertica | I want to transfer data from Oracle to Vertica and I want to know what is best way to do it? I s there a tool for it? I tried to dump the Oracle data and load it to Vertica using ' [CODE] ' command but I fount lots of problems specially in the data and timestamps columns. | Try to export the data into [CODE] format, and recreate the table in Vertica using the DDL from Oracle. Check the types as they differ from Oracle to Vertica. Example: assuming the following table structure on Oracle: [CODE] Assuming a compatible table structure on Vertica: [CODE] Load the table content using the copy ... | 3 | 3 | 3,628 | 2012-08-28T10:45:21.827 | database_errors | dba.stackexchange.com | |
320,442 | PostgreSQL claims my query has violated unique key constraint on id | I'm struggling with an error, and I think it has to do with PostgreSQL. I'm trying to insert values in a database created 3-4years ago. The java program use Hibernate and lombok. The original program written 3-4years ago takes an entire list of everything in de db, gives an id value to new items, and them performs a sa... | Postgresql was out of sync. Query inside the table: [CODE] reset the table, now it works fine. | -1 | 1 | 1,376 | 2022-12-01T12:51:12.847 | data_quality | dba.stackexchange.com | |
341,618 | Recommend a nice managed Top Of Rack switch for Linux Computer Cluster (but it has to be cheap!) | I work at an industrial research lab, and we have a research group that's building up a Linux-based compute cluster. The have about 46 nodes so far, with more to come. They came to us a few months ago looking for a suggestion for a 48-port managed gigabit switch to network the nodes together. We are a Cisco shop for th... | You're unlikely to find anything with the feature set you want around the price that you're willing to pay. You'd be best off with the Cisco, as the HPs tend to screw up with blocking, and need rate limiting to get decent performance (I've found this very recently with some HP 2910 48s we've got here in the office Othe... | 0 | 3 | 884 | 2011-12-16T13:57:21.677 | api_errors | serverfault.com | |
516,645 | Setting an alarm until acknowledgment (Nagios\Icinga) | I am SNMP polling a router and checking the amount of errors on an interface. Since SNMP counters can not be cleared on the device I am storing the last value received in a temp file. If there is an increase in the current polled value from the last I would like to set an alarm. Obviously after the second iteration of ... | There are existing scripts that do exactly what you need. check_snmp_int.pl , for example, can do it. You may also be able to use any of a handful of other SNMP-based variants in this category . There might also be something specifically written for the type of hardware you're using. | 2 | 0 | 228 | 2013-06-18T13:51:38.077 | infrastructure | serverfault.com | |
118,290 | SSIS - Fixed width flat file mapping tool/technique | I am wondering if there is a tool (or a special technique) that anyone has used to map fixed width flat files in SSIS Flat file connection managers? Usually I just use the Flat File Connection Manager Editor (Advanced tab) and start adding the column info (name, width, datatype etc.) for all the columns 1 by 1. This ha... | Two options come to mind, both are features of the can't-say-enough-good-things-about-this-free-tool BIDS Helper . Create Fixed Width Columns The first is the Create Fixed Width Columns feature. It's as simple as Create a Flat File Manager pointing at the correct file and define 1 column. Once that's done, then you rig... | 7 | 11 | 8,981 | 2015-10-16T18:16:18.883 | database_errors | dba.stackexchange.com | |
20,081 | How to verify placeholder text using selenium webdriver and javascript? | How can I verify this type of error message that uses placeholder text, put there by javascript? | A Message like this will probably create a new div so, if there is really no other way to identify it, you could use something along the lines of [CODE] This iterates through every div on your site gets the displayed text and sets the Boolean true if it finds an element with the desired text. This solution is exception... | 0 | 1 | 20,811 | 2016-06-13T07:13:46.490 | data_quality | sqa.stackexchange.com | |
257,827 | Placing UPS in front of STS; Connecting Dual PSU to same PDU | The site has 2 x 16A @ 230V, each server/SAN has dual PSU set up. Options: 1) [2 x 16A] ---> [1 x STS or ATS]----> [1 xUPS]---->[2 x PDU]----->[DUAL PSU] As can be seen the server is actually connected to the same UPS in the end even though via different PDU, however, the STS ensures that the UPS has dual connections t... | Option 1: If the UPS fails, your power goes out altogether, unless it's a UPS with a builtin bypass. Option 2: If the power goes out, the UPS will suddenly be providing (nearly) twice the power. If you're talking about a UPS that does have a bypass (this is going to be a system directly wired to mains power, not connec... | 1 | 2 | 566 | 2011-04-10T01:45:44.233 | infrastructure | serverfault.com | |
751,795 | proxypass https from one servet to another as https | I have serverA which act as a reverse proxy for serverB. What i wish to accomplish is to porxypass an https connection from serverA to serverB. In other words: [CODE] ServerA runs apache2 and ServerB runs nginx. Is this possible? | Using the [CODE] will do the trick. What i actually did was set the vhost file on ServerA as per bellow: [CODE] | 0 | 0 | 49 | 2016-01-26T11:33:59.500 | infrastructure | serverfault.com | |
520,930 | Is this a sign of dying hard drive? | Today I wasn't able to access one of my hard drives, after reboot it seems to work now, but i'm worried it's going to die soon. /var/log/messages [CODE] | Yes that seems to be the case. I'd use SMART to verify (if your drive/BIOS supports it) There are some self tests etc which you may preform. ie something like: [CODE] You can check the man page . I'd make sure everything was backed up though before running any tests just in case. I'd also consider mounting the disk rea... | 5 | 5 | 13,485 | 2013-07-04T18:58:59.373 | infrastructure | serverfault.com | |
300,062 | Is there a way to customize SQL Server Performance Dashboard? | The report in SQL Server Management Studio presents System CPU Utilization broken out by a minute. Is there a way to specify the interval - perhaps by 10 seconds? | Unfortunately not. This information comes from the sys.dm_os_ring_buffers DMV, where it uses the RING_BUFFER_SCHEDULER_MONITOR record type. This information is produced every minute, and that is not customizable. I.e., it isn't the reports "fault", it is the information that is lacking in the first place. Below is the ... | 0 | 4 | 159 | 2021-09-23T16:41:49.670 | database_errors | dba.stackexchange.com | |
950,628 | Server 2012 R2 Essentials IIS DefaultTSGateway variable | So I want to use RDP externally so have a forwarded domain so /remote then downlaoding RDP file works. However, I get gateway errors (Your computer can't connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable.) and have read that I need to change the variable [CODE] under RD... | Inside IIS, expand Sites, Default Web Site, RDWeb, Pages. While on "Pages", click the Application settings icon in the middle. You see the DefaultTSGateway there, most probably with unassigned value. | 1 | 0 | 267 | 2019-01-24T18:40:04.447 | infrastructure | serverfault.com | |
183,286 | Extracting registry information from files in c:\windows\system32\Config* and profile ntuser.dat | I have an old windows disk that got winrot under Win Pro XP/32. I installed a new disk and did a fresh install of Win 7/64. After that successfully completed, I reattached the old windows disk. I'd like to retrieve certain registry settings from the older Win Pro XP/32 system for possible integration into my new Win 7/... | From within Windows it is pretty easy to do with the Registry editor. Just load the file as a hive . Open up regedit. Click onto the HKEY_USERS hive. Click File and Load Hive . You will be asked for a name, use something that is not used like 'TempReg'. Once the hive is loaded you can browse into HKEY_USERS\TempReg (or... | 0 | 2 | 1,485 | 2010-09-21T18:42:13.017 | infrastructure | serverfault.com | |
98,834 | Launching SQL Agent Job from stored procedure not on [msdb] database, or, How Necessary is SET TRUSTWORTHY ON? | (With apologies in advance since I've been asked to pick up a project written by someone with more skills than me but who I can no longer ping for questions. If it sounds like I may be using terminology inelegantly, it's because I probably don't know any better. This is all taking place in SQL Server 2008+.) I have a s... | Starting an Agent job from a user database is common, and the best way to accomplish it is to use code signing. Books Online describes the concept here . In your application database: Create a certificate Use [CODE] to sign the stored procedure you wish to call [CODE] Use [CODE] to remove the private key from the certi... | 4 | 1 | 876 | 2015-04-24T21:46:21.847 | database_errors | dba.stackexchange.com | |
527,554 | sfdisk given size exceeds max allowable | Hello i have a failed driver in a raid so i had to replace it with a new hard disk. The problem is that although both hard disk are Seagate 1TB they differ slightly in size [CODE] and when i try to use sfdisk to copy the partition table i get: [CODE] I searched google but didn't find a complete solution. Any insight on... | You can't. Either you'll have to get a disk that's at least as large as the other one or you'll have to resize the RAID, which is a somewhat involved process. What I would do is to just start over, create a new RAID with one missing disk on the new, smaller drive, copy the data over and then add the old drive to that a... | 2 | 2 | 3,159 | 2013-07-31T09:58:25.257 | infrastructure | serverfault.com | |
285,682 | Composite Primary Key drawbacks | For website that I maintain (eCommerce) I now need to make a table that seems to require Composite Primary Key of 5 columns. I never used 5 column as primary key before, only 2 and rarely 3. I wonder whether there are any drawbacks to it, especially with regards to performance because this particular table is expected ... | There should not be any significant performance impact A clustered index is basically free - why not use it? Insert check for unique is an index seek It is very very fast for single or composite key Even if there performance implication for me data integrity wins every time If the data has a natural composite key then ... | 4 | 0 | 3,637 | 2015-06-03T07:50:14.590 | database_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.