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 |
|---|---|---|---|---|---|---|---|---|---|---|
240,318 | How to handle errors best addressed in a higher abstraction layer and dependent on state inferred in current layer? | I have a use-case that can be repaired, but the logic for repairing it is best done in a higher level of abstraction. Just throwing exception/failure is ugly because it's hard to pass back up through the stack the information needed for the parent-layer to know how to fix it. To explain the the specifics, I have a prog... | This sounds like a job for the observer pattern. Every device is being observed by it's connected devices. Are you sure you need the parent layer to get involved? Unless there is something else you need the parent layer to do then just handle these exceptions on the device by recovering, setting it as having changed, a... | 2 | 1 | 152 | 2014-05-17T00:25:32.453 | pipeline_ops | softwareengineering.stackexchange.com | |
228,252 | Alternative to MS Acess for in-house user database | I am a working student at a bank and my current task is to create an in-house database for customer-specific lookups which often rely on complex underlying data aggregation from different sources. I was expecting to get access to something like a SQL Server or similar in order to implement this but was left with the ch... | You can use the free SQL Server Express Edition , and use Access or many other tools as a front-end. You can take nightly backups to network storage, or even store the database files directly on the network storage device. Later the database can be migrated to a enterprise-managed SQL Server with no code changes. | 1 | 1 | 50 | 2019-01-28T14:45:39.307 | database_errors | dba.stackexchange.com | |
238,226 | Using Window Function instead of Select sub-query for counting | I have to count the number of Orders a table, per Employee, for two criteria - "Late Orders". "Total Orders" The query includes Orders table and Orders table. They are joined together via the [CODE] field. The whole schema is found here . This can be done the following way - [CODE] However I want to replace the followi... | I think that this would provide the best performance while still avoiding the sub-select. I guessed that there was a column called OrderID in the Orders table, may need to adjust. [CODE] | 1 | 1 | 1,797 | 2019-05-15T13:23:18.573 | warehouse_errors | dba.stackexchange.com | |
614,609 | No external network access to virtualbox CentOS6.5 | I have CentOS 6.5 running locally in virtualbox. I set it up and everything was working perfectly. I came back after the weekend and I noticed the computer was frozen so I had to do a hard restart. Now I am no longer able to access my virtual CentOS install remotely. I cannot ssh, ftp, or view any website I am developi... | You provided a lot of info. Unfortunately it's not the right kind of info. First make sure the link is up: [CODE] and make sure you see "UP RUNNING BROADCAST" Then make sure you can ping the gateway: [CODE] Then make sure you can ping another host on the same subnet: [CODE] or some other active host then make sure you ... | 2 | 2 | 3,405 | 2014-07-22T18:25:30.153 | infrastructure | serverfault.com | |
2,662 | Troubleshoot DBMail in Sql Server 2005 | On a SQL Server 2005 machine, I have DBMail setup and correctly configured. I am able to use "Notify Operator" and EXEC msdb.dbo.sp_send_dbmail to queue emails. But the problem is the queued mails never go through. I see 10 emails in the queue when I query [CODE] But if I restart the SQL Server service, all mails go th... | Thank you for all your comments. I found the root of the problem. Sql Agent >> Properties >> Alert System (tab) >> Enable Mail profile (check) And select appropriate mail system and add a mail profile. MSDN Link for DB Mail This took care of the problem. When I look at Sql Agent Logs it had a log entry as "Unable to st... | 8 | 5 | 455 | 2011-05-11T23:11:32.743 | database_errors | dba.stackexchange.com | |
339,285 | How to name something when the logical option is a reserved keyword? | Occasionally, the most logical name for something (e.g. a variable) is a reserved keyword in the language or environment of choice. When there is no equally appropriate synonym, how does one name it? I imagine there are best practice heuristics for this problem. These could be provided by the creators or governors of p... | For an enum option you should use title case like [CODE] . Since C# is case-sensitive it will not collide with the reserved keyword. See .net Naming Guidelines . Since all public members should be title case in .net, and all reserved names are lower case, you shouldn't really encounter this except with local variables ... | 67 | 64 | 10,245 | 2017-01-02T12:58:56.277 | api_errors | softwareengineering.stackexchange.com | |
988,493 | AWS SFTP connection closed error | WHen I try to connect with my server endpoint getting connection closed. It should be connected with server endpoint. AWS Connection Closed | Seems like it is asking for the public key as authentication, You need to make sure that the public key of the server where you are accessing from is on the authorized_keys file of your endpoint. | -2 | 1 | 1,612 | 2019-10-17T23:41:23.553 | infrastructure | serverfault.com | |
1,019,719 | Block unapproved Remote Assistance solutions | We have a cloud-only setup using Azure AD + Intune to manage our organisation's windows devices, since all are remote workers/work from home. I'm looking to remove the possibility for users to receive remote connections from anyone other than our IT team. Perhaps an unusual one, but in our small non-profit scenario its... | Group Policy is not required to implement application white listing. In particular, Microsoft Defender Application Control or AppLocker have several ways to deploy including Intune. Will be a bit of a project to implement. Especially if users are empowered to install things themselves. Or if you want to block legit Tea... | 1 | 0 | 442 | 2020-06-02T15:52:03.890 | infrastructure | serverfault.com | |
362,602 | Facing issue with cron on embedded linux | I have a SAM9 based board running embedded linux using buildroot package. I added the [CODE] and [CODE] support to busybox from [CODE] and built the rootfs and flashed it to my board. The [CODE] and [CODE] utilities were now present on the board. I executed the following : [CODE] Then added the following in the editor ... | You need to include the directories and crontab(s) in the boot image. A flash OS unpacks the OS into RAM every time the system boots; there is no persistent filesystem for storage. | 1 | 1 | 2,130 | 2012-02-22T11:24:46.800 | infrastructure | serverfault.com | |
1,024,847 | Forwarded Packets are received by namespace's veth0 but not received by application | I use libtins (It uses Pcap) to capture link layer packets and forward to a network namespace where the actual application runs on. [CODE] Now, I see that the packets are forwarded and visible on Tcpdump snapshot but I don't see they are received by the application it-self, no signs of outgoing packets either. It appea... | Talk to veth Your exact commands work on my system. Here's what I've checked: [CODE] Now on the remote client: [CODE] Talk to loopback You are saying something about loopback though. Obviously won't work for 127/8, so I've prepared routing: [CODE] Now on the remote client: [CODE] That being said, one more caveat. You s... | 1 | 1 | 1,065 | 2020-07-11T06:11:06.327 | infrastructure | serverfault.com | |
255,653 | How to resynchronize replica in Postgresql | I have a server with Centos6 and Postgresql 9.2, I have set up a replica in postgresql to another server of the same characteristics, today in the morning I have an error in the archiver process on the primary server, the replica does not configure it I, I really do not have a lot of knowledge about this topic, yesterd... | Since you deleted from pg_xlog, not from the archive, your first concern should be that you might lose the master , not just the replica. Cross your fingers, and immediately perform a checkpoint on the master. If you get into the situation again where the archive process can't keep up and is threatening to fill up all ... | 0 | 1 | 379 | 2019-12-15T16:09:29.337 | database_errors | dba.stackexchange.com | |
1,044,900 | How to save to a "virtual local drive" and have the data streamed to a remote drive? | (This is for Windows computers.) So, the reason why I need this is not really important, but generally speaking... I have a program which takes a long time to generate a huge file (like 100's of GB). I don't have enough space to save that file locally. I don't want to waste time generating the file and then waiting unt... | Networking is the way to go here. Share a folder on the destination computer, mount it on the source computer and have the program write to it. These 2 computers are not on the same local network or active directory or anything like that. They are totally separate, but on the Internet, behind firewalls. There are lots ... | -2 | 2 | 648 | 2020-12-03T22:22:52.243 | infrastructure | serverfault.com | |
314,320 | PostgreSql 8.3 and 8.4 problem | I have debian lenny with intall postgresql 8.3 and I need update it to 8.4 I have install it from repository deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free But now I have two postgre servers. Do I need to buckup DB from 8.3 and import it to 8.4? I tring it but have problem: su po... | check "man pg_wrapper". All the postgres commands (like psql) are run through this wrapper, so "psql --cluster 8.3/main templat1" would talk to your 8.3 install and "psql --cluster 8.4/main template1" would talk to your 8.4 cluster. If all your data is in the 8.3 cluster and nothing is in the 8.4 cluster, you may just ... | 0 | 0 | 338 | 2011-09-22T11:41:42.567 | database_errors | serverfault.com | |
323,163 | How to speed up SELECT query with 30 billion rows? | i have one experiment and try to find the fastest way to SELECT data from a table with 32 000 000 000 rows. Im open for any sugestions. The table looks like this: [CODE] The data inside looks like this: [CODE] When I try to: [CODE] This takes forever. Around 5 - 15 minutes. Hardware is 12 CPU/ 32RAM / 500GB Samsung 980... | Creating an appropriate index on the table and re-writing the query to be more sargable would probably help: [CODE] | -1 | 0 | 672 | 2023-02-07T12:49:22.133 | api_errors | dba.stackexchange.com | |
279,644 | PostgreSQL: pg_upgrade 9.5 to 13 failing with "connection to database failed: FATAL: database "template1" does not exist" | I'm trying to upgrade a 9.5 server to 13 but the [CODE] process is failing after the main checks. Server is running CentOS 8 on EC2 and is using the pgdg repo installs of each server. [CODE] When I run that server start command manually, the server starts. There's nothing in the log that indicates what the issue is for... | From the PostgreSQL mailing list: The problem is that [CODE] , through [CODE] , ends up being linked to two different versions of [CODE] at the same time. You can check it by doing: [CODE] If that shows up two different [CODE] libraries, then you have that same problem. In this case, uninstall the OS supplied [CODE] li... | 0 | 1 | 854 | 2020-11-13T14:15:05.120 | database_errors | dba.stackexchange.com | |
229,062 | Is java.util.prefs.Preferences appropriate for accessing changes in state that need to be immediately accessed during runtime? | In my application, I'm currently creating a single instance of a [CODE] object at startup, then passing a reference to that object to multiple other objects through their constructors. I am doing this because it's important that multiple classes have immediate access to any real-time changes the user makes to their pre... | As the documentation suggests, This class allows applications to store and retrieve user and system preference and configuration data. This data is stored persistently in an implementation-dependent backing store. ... The user of this class needn't be concerned with details of the backing store. So this class is basicl... | 0 | 0 | 579 | 2014-02-15T05:09:08.023 | api_errors | softwareengineering.stackexchange.com | |
314,582 | Failing to enable TCPS on Oracle 11 | I have added the following settings to my Oracle 11 server (Bolded text is the change)- sqlnet.ora- [CODE] listener.ora- [CODE] tnsnames.ora- [CODE] Restarted OracleService XE and OracleXETNSListener. Output of tnsping and lsnrctl status- [CODE] Why don't I see the 2484 port open despite of adding that to the ora files... | Your [CODE] output does show the port open: [CODE] Your [CODE] was against [CODE] , not [CODE] , so checked port 1521. Note: tnsping only checks that a listener is available at the target host and port. It does not validate any other connection parameters, including service_name. | 0 | 0 | 452 | 2022-07-19T02:13:37.103 | database_errors | dba.stackexchange.com | |
184,666 | Ensuring conceptual integrity in Python project with multiple programmers | One objection that I have often heard raised against Python that it is difficult to synchronize a team of many programmers on large Python project. Note: that synchronization is possible in such a project does not necessarily entail that it is practical, cheap or easy. There's still n*(n-1) communication channels betwe... | I like GlenH7's answer, and I believe there is truth there. However, my perspective is that the answer to your problems is Code Ownership. If five large teams are re-using the same model classes, and want to pile on unnecessary crap into them, then the only way out is to say "Team X owns this code, if you want to chang... | 3 | 2 | 410 | 2013-01-24T11:23:37.337 | api_errors | softwareengineering.stackexchange.com | |
8,855 | How do you add a Windows environment variable without rebooting? | I would like to add an Environment variable to a Windows machine (desktop or server) and be able to use it without rebooting that machine. Say you have a production server which hosts a variety of apps and a new app needs a particular Environment variable to run. You do not want to reboot it while users are connected t... | Changes to environment variables should take effect immediately, if you make the change via the main Properties dialog for the computer in question (go to My Computer | Properties | Advanced | Environment Variables). After the changes are saved, Explorer broadcasts a [CODE] message to all windows to inform them of the ... | 230 | 195 | 486,308 | 2009-05-16T04:09:31.063 | infrastructure | serverfault.com | |
16,193 | Good Alternatives to Blat | We use Blat on one of our servers to email log files and reports nightly. As the number of reports have increased it seems that Blat has been choking and outputting more and more errors. Does anyone else use Blat or a good, small altern to it? | You could try bmail , a free, lean command line SMTP mail sender for Win32 platforms. With the also free available utility mpack you can use bmail to send mime attachments. Usage and options: Usage: bmail [options] -s SMTP Server Name -p SMTP Port Number (optional, defaults to 25) -t To: Address -f From: Address -b Tex... | 5 | 3 | 5,464 | 2009-05-31T13:11:11.750 | infrastructure | serverfault.com | |
848,238 | OpenVPN use the Failover IP as out interface | I have a VPS Server (hosted in OVH cloud) with Failover IP configured [CODE] I follow the tuto of Digital Ocean to install OpenVpn on my server. It's work but now, I want that my out ip is not those of my server but those of my Failover IP. So, I saw this cmd [CODE] But, I didn't work, I have always my server ip The st... | Assuming you bought the failover ip from OVH, your iptables rule would allow the system to fix the source address of the packets as far as the host OS is concerned (useful if you have firewall rules blocking other IPs/etc). What do you mean when you say it doesn't work? What are you trying to accomplish? If you're tryi... | 0 | 0 | 1,381 | 2017-05-04T13:37:34.767 | database_errors | serverfault.com | |
11,603 | How to check that all paths/files on a volume conform to EXT3, FAT32, and HFS+ | I have a volume with files on it that will need to be copied between Mac, Linux, and Windows machines. I want to ensure that there are no surprises with: file size filename length filename character set number of nested directories Am I correct to assume that anything (in the above list) that is legal in FAT32 will be ... | You are correct - FAT32 and it's limitations (to do with file size and character limits) will be your biggest constraint. For reference (so as to have the information all in one place): [CODE] It's possible to go as high as 8TB with 64k size clusters. FAT32 on it's own supports 11 character file names (8.3) using ASCII... | 3 | 5 | 1,488 | 2009-05-23T15:12:26.057 | infrastructure | serverfault.com | |
111,195 | PostgreSQL doesn't use all the RAM it could | I'm having performance issues with my PostgreSQL 9.4.1 server. I have tuned the server using the usual best practices (pgtune + google). Here's the relevant config: [CODE] Yet, query performance is very bad at times of high load. At those same times, the total RAM usage on the server is 4GB (out of 16GB available). I c... | PostgreSQL relies on the operating system's disk cache for most caching. This cache is usually reported as "free" RAM by most tools, because modern operating systems use all but a little bit of the currently-free RAM for disk cache. This is normal. To confirm, use a better tool that shows buffers/cache separately from ... | 7 | 11 | 7,899 | 2015-08-16T10:03:34.370 | database_errors | dba.stackexchange.com | |
287,213 | put the result of a query into a variable and WITH statement | I need to put the result of a query into a variable. Just a query, works as successful [CODE] But if I need to use the [CODE] statement in a query, then I get a syntax error [CODE] Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword 'WITH'. Msg 319, Level 15, State 1, Line 2 Incorrect syntax near the k... | Assign the variable in the last query. [CODE] [CODE] | (No column name) | | ---------------: | | 3 | db<>fiddle here | 1 | 6 | 2,011 | 2021-03-17T19:41:26.663 | warehouse_errors | dba.stackexchange.com | |
162,587 | Version control and project management for freelancing jobs | Are there version control and project management tools which "work well" with freelancing jobs, if I want to keep my customer involved in the project at all times? What concerns me is that repository hosting providers have their fees based on the "number of users", which I feel is the number which will constantly incre... | The problem with a source control system that you use and give access to your clients is that they will often not use that SCM tool. eg. If you decide to use git, they may turn round and say "sorry, we use svn" or vice versa. In any case, do they really want to maintain your code in another repository? Chances are they... | 5 | 6 | 752 | 2012-08-28T10:30:08.040 | api_errors | softwareengineering.stackexchange.com | |
150,800 | Run query using each day of last month | I have query that returns a count of records with a matching date: [CODE] And I get a return as expected. [CODE] However, these values will be used in report builder in lists and charts. The problem is that there are gaps between the dates. Is there some way to run the query returning all dates from previous months, an... | You have 2 good options that I see. One is to use a numbers table that you put into the database. This is simply a table that has a sequential list of numbers from 1 to 1,000,000 or any upper limit that you find useful. This table will allow you to accomplish what you want here, but you will also find many other useful... | 2 | 4 | 1,088 | 2016-09-27T19:44:39.603 | bi_errors | dba.stackexchange.com | |
155,298 | Procedure "undeclared" despite execute being granted | I have created two identical procedures in two schemas. I have then granted execute on each procedure to a third schema. I call each procedure using the qualified object name. When calling the procedure in one schema there is no issue, when calling the second I get PLS-00302: component must be declared. Why? Here's the... | Closest way I can reproduce this is if there's a package in user3 with the same name as user2. It tries to find the procedure BLAH in the package user2 rather than in the schema user2. So query [CODE] | -2 | 2 | 2,964 | 2016-11-15T11:30:05.873 | warehouse_errors | dba.stackexchange.com | |
904,878 | Apache Timeout directive correct but requests never timeout (not working) | I am having trouble getting Timeout directive to work, I have reproduced the issue in the below instructions and official Docker container. The server is using the standard MPM prefork model with default configs. My understanding is that the Timeout should return a 500 error after the timeout or some sort of 4xx or 5xx... | Apache Timeout refers to TCP timeout, not script execution time. PHP timeouts are controlled via two directives located in php.ini: From php.net [CODE] And (this is probably the one you need) [CODE] | -1 | 2 | 3,919 | 2018-03-27T21:01:41.413 | pipeline_ops | serverfault.com | |
65,668 | How can I minimize the risk of accidentally modifying the wrong database? | I just learned the hard way that disconnecting from a server in the Object Explorer doesn't stop you afterwards from executing query windows that were already open on that server. My situation is like this: I have one instance of SSMS that I use to connect to our dev/staging server and to our production server. I had t... | One thing I like to do in SSMS is to use Custom Colours when connecting to database. So you choose a nice bright Red for Live databases, and a gentle blue or green for dev or test systems. I used to use the inbuilt SSMS, but these days I prefer the SSMS Tools Addon Colour coding. Or like this for SSMS Tools (A really n... | 12 | 11 | 3,466 | 2014-05-22T10:13:33.717 | database_errors | dba.stackexchange.com | |
25,388 | MANPATH in man.conf | I've installed mac-ports which puts everything under [CODE] . The corresponding man pages are in [CODE] . I added the following line to [CODE] representing the [CODE] search path for [CODE] : [CODE] However, when I invoke [CODE] on its own: [CODE] I get the following error: [CODE] Is this the correct way to add a new s... | You're very close. You should have added this: [CODE] Not with /man1 appended to it. In /private/etc/man.conf, there's a line commented that you simply have to uncomment: [CODE] The /opt/*/man is your...man. | 2 | 1 | 563 | 2009-06-14T03:29:22.873 | infrastructure | serverfault.com | |
415,428 | Logging DNS requests on a windows DNS resolver | How can i log DNS requests sent by clients to a windows DNS resolver without using the debug log file technique ? It can be a windows 2008+ only solution edit 1 - some additional background: i already have a complete infrastructure to gather and correlate my event logs, and would like to know if it would be possible to... | The debug log is exactly what you should use for this. You'd do well to explain a little more so that we can understand why don't want to use it. Having said that, you could probably install a network packet sniffer such as WireShark , set up filters and logging and analyse that some way, but honestly the debug log is ... | 1 | 2 | 2,581 | 2012-08-08T09:47:12.930 | infrastructure | serverfault.com | |
644,783 | Connecting to mysql with SUPER user when reached Too many connections | The documentation says that: mysqld actually permits max_connections+1 clients to connect. The extra connection is reserved for use by accounts that have the SUPER privilege http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html but it doesn't tell how to connect | You just connect as usual, you just need the SUPER privilege for the connecting account. | 0 | 2 | 1,627 | 2014-11-16T21:06:11.527 | database_errors | serverfault.com | |
1,057,084 | How to fix Weak TLS 1.2 Encryption | I have a requirement to disable below weak TLS ciphers in Windows Server 2016. I tried to reasearch and it says "The Microsoft SCHANNEL team does not support directly manipulating the Group Policy and Default Cipher suite locations in the registry" Please advise. Thank you in advance. TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA... | Download and use IIS Crypto from Nartac Software. You can enable and disable cipher- and hashing suites using a nice GUI. | 0 | 0 | 1,289 | 2021-03-15T01:48:22.977 | infrastructure | serverfault.com | |
46,023 | Error when running my test plan in jmeter | Hello I don't know what happened but when I'm running my test plan in jmeter the results doesn't show. the last thing that I did is adding a jmeter graph plugins error: [CODE] Thanks in advance | Caused by: java.lang.NumberFormatException: For input string: "your_proxy_port" JMeter expects the proxy port to be a number, if you copied and pasted the JMeter command-line arguments or system.properties and they contain [CODE] - either remove the relevant line(s) or update it to match your proxy server port if you'r... | 1 | 1 | 4,214 | 2020-10-23T00:31:45.000 | data_quality | sqa.stackexchange.com | |
655,425 | Ubiquiti Wireless Guest Network VLAN w/ pfSense + Cisco Switch | I'm trying to setup a guest wireless network in an environment that has been humming along nicely for quite some time. The wireless runs on Ubiquiti UniFi APs. I hope this is clear. If its not, feel free to ask questions.... I have a feeling this could be confusing. The Cisco switch in question is a SG 200 series, and ... | My initial assumption would be that the AP does not have access to VLAN 200. To verify: connect a computer to GE16 in place of the AP. Run WireShark. Look for broadcast traffic on VLAN 200. Alternately, use Hyper-V virtual switch to add a virtual NIC on VLAN 200 and ping hosts (usa a static IP for testing). Here is an ... | 9 | 1 | 4,151 | 2014-12-30T16:01:21.400 | infrastructure | serverfault.com | |
56,868 | Hosting service with WordPress auto-install | I recently started a WordPress blog on MyDomain (which offers WordPress auto-installation). Being a newbie to hosted blogging, I prefer using a host service that will have WordPress auto-installation. I'm very disappointed with MyDomain because of two key issues they failed me on: I have no access to .htaccess files so... | Eventually I chose JustHost that were quite cheap and recommended by WordPress.org. Meanwhile everything is okay, thanks for all the answers. | -1 | 0 | 253 | 2009-08-20T21:03:33.643 | infrastructure | serverfault.com | |
118,733 | permissions for schema compare and view job history | I need to grant these permissions, what would be the minimum level I could grant so that they can do their job? I am looking at SQL Server Agent Fixed Database Roles and also Database Engine Permission Basics I still could not find exactly, what would be the least permissions to be granted? | For the msdb SQL Server Agent roles, granting [CODE] allows them the ability to manage jobs which only they own, and see the job history of those jobs too. To compare schema on all table of any DB, assuming you want to also allow them to have [CODE] to all tables, the [CODE] role should be fine per DB. Otherwise, if yo... | 2 | 1 | 1,529 | 2015-10-21T11:48:57.927 | database_errors | dba.stackexchange.com | |
1,113,628 | Android application compatible with IMAP search without using local index? | I use an email account of several dozens of Giga , on computer and Smartphone. However, most applications use a local index to speed up the search of emails (this is the case of Outlook and Thunderbird on computer). However, on a cell phone, the memory/battery/performance does not allow to have a correct index when the... | A set of features useful for (mostly: bandwidth and storage) restricted environments is dubbed the "Lemonade" profile and documented in RFC 5550 . Efficient search without downloading is a major consideration, but do not be too quick to assume it is the only feature necessary to make mailing on the go a pleasant experi... | 2 | 0 | 356 | 2022-10-21T00:52:06.303 | infrastructure | serverfault.com | |
541,318 | Linux VM's connectivity dies when second network interface is brought up | I'm in the middle of doing some testing on a mobile device, and want to test it from the network. The mobile device will only connect to networks via WiFi, and doesn't support ad-hoc mode, so I've set up an old WiFi router as an AP, which is connected via ethernet to a port on my laptop. The router operates under 192.1... | I'm not as familiar with Debian, but what TheCleaner says is where I think your issue is. When you configured your eth1 interface, you added a "new" default route, which is interfering with your preexisting default route. If you remove that "default" route from eth1, you should be okay - I just don't know how to tell y... | 0 | 1 | 575 | 2013-09-24T15:03:51.270 | infrastructure | serverfault.com | |
43,454 | Performance and Utilization monitoring of Xen Dom0 | We run a mixed bag of Citrix XenServer and Gentoo/Xen virtualization platforms in our company. In general, we use XenServer where we have shared storage (SAN, iSCSI or whatever) and Gentoo/Xen where we want to use local storage. With XenServer, we can get detailed utilization statistics for both the Dom0 and the variou... | Your questions is a little unclear as to what kind of stats you are hoping to collect from the dom0, but I think what you are looking for is an understanding of how your existing hardware resources are allocated. We're having great success using libvirt's Python bindings to get this information. Here's a Python script ... | 5 | 2 | 1,950 | 2009-07-21T10:53:54.140 | pipeline_ops | serverfault.com | |
11,674 | 403 forbidden error on calling jenkins post api from python script | I am trying to build a python script that will build jobs externally but when I am executing it, throws 403 forbidden error for build jobs call other get APIs are working fine. Below is the python snippet. [CODE] Jenkins details: I am able to create & build jobs from UI successfully. My Jenkins version is 2.237. Other ... | As recommended by Jenkins (>2.2xx) you may benefit by creating an API token for the user, I did so, to trigger Jenkins job in my local Jenkins server from NODEJS code. Please refer below for further clarification: https://www.jenkins.io/doc/book/system-administration/authenticating-scripted-clients/#shell-with-curl htt... | 1 | 1 | 3,036 | 2020-05-23T02:21:45.373 | api_errors | devops.stackexchange.com | |
871,129 | nginx reverse proxy setup to handle graceful deployments of upstream servers | My current setup is nginx as a load balancer, in front of a bunch of upstream servers. I want to be able to deploy with no change in user experience. This means no 502s and no increase page times. My understanding is that when [CODE] is issued, nginx will gracefully spawn new threads to handle new connections for the n... | Yes, you are correct in thinking that nginx continues handling the current requests when reloading, and will start processing new requests with the new configuration. http://nginx.org/en/docs/beginners_guide.html#control Old worker processes, receiving a command to shut down, stop accepting new connections and continue... | 3 | 1 | 2,079 | 2017-08-29T19:57:16.147 | pipeline_ops | serverfault.com | |
205,341 | Most efficient way to call same Table-Valued Function on multiple columns in a Query | I am trying to tune a query where the same table-valued function (TVF) is called on 20 columns. The first thing I did was convert the scalar function into an inline table-valued function. Is using [CODE] the best performing way to execute the same function on multiple columns in a query? A simplistic example: [CODE] Ar... | FIRST: it should be mentioned that the absolutely fastest method of getting the desired results is to do the following: Migrate data into either new columns or even a new table: New column approach: Add new columns as [CODE] to the table with the [CODE] datatype Do a one-time migration of the data from the old [CODE] c... | 8 | 8 | 9,857 | 2018-04-30T11:51:19.390 | warehouse_errors | dba.stackexchange.com | |
412,019 | Installing PHP MySQL library to be the same as MySQL server version | Is this possible at all? I have installed the php 5.4.5 from the remi repositories on my CentOS installation, however, it seems that the PHP MySQL library isn't the same as my MySQL library. The error: [CODE] Now I was googling this, and it seems that the only way to fix this is to recompile the PHP MySQL library or do... | Most likely you have some old PHP packages hanging around from before you installed the remi repository. First, make sure everything is up to date: [CODE] This should bring your PHP version to 5.4.5 (as long as you still have remi-test enabled). | -1 | 0 | 1,776 | 2012-07-28T01:24:07.523 | database_errors | serverfault.com | |
872,702 | Using both dedicated firewall hardware plus Windows server firewall? | I'm slowly educating myself in servers for a corporate environment (still early in my IT career) I've been playing around with Windows Firewall and implemented a couple of additional inbound rules to the Windows Firewall; however i know that many companies also use dedicated hardware firewalls. Can someone give me some... | Hardware firewalls generally sit at the perimeter of the network and prevent external traffic, other than that which you've specially allowed, from entering your network. Software firewalls on the OS I would say are an additional protection which is useful to prevent traffic between nodes on the LAN rather than relying... | 0 | 0 | 230 | 2017-09-08T13:37:27.823 | infrastructure | serverfault.com | |
443,139 | Is this factory method implementation a bad choice because it tightly couples our class with its dependencies? | I had a discussion with a colleague and we don't seem to be able to agree. Can someone help me understand his arguments? Initial situation: We have an adapter in our application which queries other internal services and constructs out of those request an object for our service. Currently every time we want to use this ... | Where you went wrong was with the name. The name [CODE] makes it seem like you've found the "one true way" to construct this object. If that were true these crazy builders wouldn't even been needed. What you need is a name that represents this way of constructing it. One that allows someone to come up some other way of... | 2 | 4 | 263 | 2022-12-31T23:08:59.893 | data_quality | softwareengineering.stackexchange.com | |
478,168 | NTBackup skips files inconsistently | I've got a server that runs a full ntbackup once a week. Every week, it will log about a dozen files with the following messages: [CODE] The thing is, it's never the same files. It's always a different, seemingly entirely random group of consecutive files. And it's not new files either. I've seen documents that are fro... | Something else has those files locked. Do you have antivirus scan or is something indexing the file system (locally or over a share)? I assume chkdsk comes up clean? The error is misleading, something has the files open. Try this right before the backup kicks off. [CODE] (handle.exe is a tool from sysinternals which yo... | 1 | 1 | 1,104 | 2013-02-12T20:53:10.200 | database_errors | serverfault.com | |
479,568 | XenServer - Recovering VM | After googling all day I have had no luck, so I hope someone on here can assist me. I setup my XenServer, created a ubuntu VM, then placed my itunes library (300gb+) onto the system. After this, I then go to install another VM, after failing I restart the server although during restart we had a powercut. When the power... | First you should check your ram on your server. Next boot the server with a livecd. I like the suse install DVD bc it has good support for lvm. Boot into it and use pvscan and vgscan to look for the storage repository holding your vhd files. See here http://linuxwave.blogspot.com/2007/11/mounting-lvm-disk-using-ubuntu-... | 0 | 0 | 2,587 | 2013-02-16T21:28:22.087 | infrastructure | serverfault.com | |
204,182 | MySQL - Many UPDATEs to run after INSERT | I have a basic CRUD application where people are adding records. When they [CODE] someone new, there are many updates (about 100) that need to be done to the record after it's been added. I have tried to put the [CODE] statements in a [CODE] but it would either lock the table --OR-- give me the "can't update table in s... | Let us suppose that you have built a reference data set that has two (or more) fields. For the sake of argument lets call the table geography Area_Code City The MySQL update syntax would be [CODE] Potential pitfalls to watch out for are the data types, size and collation discrepancies between data_table.field1 and geog... | 1 | 1 | 330 | 2018-04-17T13:11:55.600 | database_errors | dba.stackexchange.com | |
301,577 | Saga's and Query model transaction ordering | I have the following Ubiquitous language defined by our domain expert: A User can find UserGroups and add himself to it. A user can query a list of UserGroups where he is member of and remove himself from it. UserGroups are created by Users, where the creator is the first member. When there is no more User in the UserG... | All fine, except how to make the last rule (When there is no more User in the UserGroup, the UserGroup should be deleted from the views.) work with this model? It's a constraint on the query executed by the read model to create the view. This may mean that you need to update the read model to support the constraint. Fo... | 1 | 1 | 273 | 2015-11-03T11:41:22.547 | api_errors | softwareengineering.stackexchange.com | |
288,575 | how to redirect from https://www.example.com to https://example.com? | I server SSL pages from https://example.com . If a user types in https://www.example.com , I want to redirect. I've the got rewrite rule working, but chrome displays an error message because the server identifies itself as example.com instead of www.example.com, so the rewrite rules don't execute. Is there any way arou... | Like given in other answers here, you have an issues with your certificate. For the time being you might want to consider using Mod_Rewrite also in this case. Have look at my answer at https://stackoverflow.com/questions/5256718/how-to-redirect-http-example-com-to-http-www-example-com/5256747#5256747 . Be aware of that... | 3 | 1 | 576 | 2011-07-09T10:35:38.357 | infrastructure | serverfault.com | |
507,495 | iptables doesn't seem to be blocking IPs I ban | As a test, I started a TorBrowser, got its IP, and banned it via this command on my VPS: [CODE] I'm still able to surf pages hosted by my server from the TorBrowser. I've even double checked the HTTP access.log to make sure the IP is what I banned, and it is. What am I missing? My iptables file that gets read in upon b... | dmourati asked for [CODE] for a reason, aka your current rules. Before testing the torbrowser, you had the posted rules (or similar). Now on the middle of it : [CODE] After that you executed [CODE] So your rule ended up AFTER you accepted all port 80 traffic, thus nothing to DROP since was already accepted. You should ... | 5 | 7 | 8,702 | 2013-05-14T02:17:09.537 | infrastructure | serverfault.com | |
531,022 | Uploading VMDK/Raw files to a local datastore in ESXi 5 Free | I have my VMDK/RAW files on a Linux server which is connected to a CIFS share, I want to get them copied up to the local datastore of my standalone host running ESXi 5 free. I mounted the CIFS share on my Win Desktop and used vSphere client to copy them to the datastore but it is going too slow | There aren't any I'm afraid, that's as quick as it'll get unless you can copy the files to an NFS server that can act as a datastore. Others have tried SCP'ing files but it's treated as such a low priority job that it's slower than the VIClient method you're using. You're doing all you can. | 1 | 1 | 426 | 2013-08-14T18:47:04.760 | infrastructure | serverfault.com | |
99,524 | IBM 3650M2 "battery status alert" | I have just installed a new 7 server cluster for a client... five servers are 3850M2 and the lasst two are 3650M2. All the servers play well together (vmotion etc) but we constantly have a battery status alert on the two 3650M2 servers. IBM sent us new batteries before xmas which we swapped out (the batteries on the ra... | I've seen the same problem with ESX4 on Dell R710's with PERC 6i Controllers - it's (somewhat) erratic but affects all the hosts regularly. Other's have reported the same issue on the VMware Communities site in a number of threads like this one . I thought it was a bug limited to the PERC6i but it may be that this is a... | 0 | 1 | 2,350 | 2010-01-05T10:28:53.450 | infrastructure | serverfault.com | |
151,759 | MariaDB Slave cause "Copying to tmp table" | DB: MariaDB 10.0.23 [CODE] After starting slave, long "Copying to tmp table" shows up: [CODE] | Not MariaDB Slave, the Query Cache. It appears that the first Profile came from a machine where the identical query had already been stored in the Query Cache. Hence, the query took only a fraction of a millisecond to simply deliver the old resultset to the client. The second server apparently has not seen the identica... | 0 | 0 | 786 | 2016-10-08T00:47:18.653 | database_errors | dba.stackexchange.com | |
886,252 | Prevent hotlinking on Nginx | I'm trying to protect my images from hotlinking. My first approach was this: [CODE] The problem here is the none tag, because if you enter a url directly there is no referer. So every website could still show my images if a user enters the url directly. So i removed the none tag and surprisingly it's still working on m... | This is well explained in the documentation for [CODE] : [CODE] the [CODE] field is missing in the request header; [CODE] the [CODE] field is present in the request header, but its value has been deleted by a firewall or proxy server; such values are strings that do not start with [CODE] or [CODE] ; [CODE] the [CODE] r... | 0 | 1 | 1,791 | 2017-12-02T09:45:51.523 | infrastructure | serverfault.com | |
84,060 | Questions about a multivariate timeseries forecasting model - keras | I have trouble understanding the model I'm trying to create. I have few questions so I'll explain my model first and what I'm trying to do: I have created sequences of data (input and ouput of the model) 7 timesteps each so the input would be the values of the days of a certain week and the output is the values of the ... | From Keras docs: https://keras.io/api/layers/core_layers/dense/ Input shape N-D tensor with shape: [CODE] . The most common situation would be a 2D input with shape [CODE] . Output shape N-D tensor with shape: [CODE] . For instance, for a 2D input with shape [CODE] , the output would have shape [CODE] . If the input to... | 2 | 1 | 166 | 2020-10-15T15:19:29.157 | data_quality | datascience.stackexchange.com | |
323,179 | Filename Case issue with over WebDav | We are accessing SAMBA shared directory from a Windows Client with WebDav client WebDrive. But we are having the issue that it is showing same contents in both the directories ( data/ & Data/ ) though they are entirely different. I know this is because of Windows Filesystem being case insensitive and Linux being Case S... | Rename the directory. Trying to force Windows to play nice with a case-sensitive filesystem might be workable in a very narrow set of circumstances, but trying to get it to work correctly in all use cases is an exercise in futility. It may be worth a shot to enable case sensitivity in the kernel, but beware - this is l... | 1 | 3 | 988 | 2011-10-20T07:34:48.370 | infrastructure | serverfault.com | |
198,121 | How to implement GROUP BY aggregation with holistic aggregation if partitions do not fit into main memory? | Let's say I want to compute the median of some data given some grouping attributes G, e.g. the median price of all product sold daily (assuming a star-schema) [CODE] Median is a holistic aggregation function , i.e. we can only compute it if we know all the records that belong to a certain day. How can this be computed ... | Median value is the value from the population where there's an equal number of values less than the median and greater than the median. To perform that calculation, you don't need to have all values in main memory . You simply need to order the values in either ascending or descending order, then pick the value that li... | -1 | 2 | 302 | 2018-02-16T15:22:46.300 | warehouse_errors | dba.stackexchange.com | |
571,785 | Community string indexing error in non-cisco switches | I am trying to retrieve CAM table information from non-cisco switches. I am using D-Link DES 3526 and Brocade fastiron sx 800 switches and installed net-snmp. When I execute the cmd: $snmpwalk -v 2c -c public@[vlanid] [ip-address] 1.3.6.1.2.1.17.4.3.1.1 I am getting TIMEOUT error . I googled for the answer and found th... | So can anyone say how to do community string indexing for non-cisco switches? This is how to poll Q-BRIDGE-MIB for mac-addresses from the only non-Cisco I have, a DLink DGS-3200. I'm not using [community@vlan] for non-Cisco switches. Indexing BRIDGE-MIB with [community@vlan] only applies to Ciscos. I expect any non-Cis... | 0 | 2 | 652 | 2014-02-03T10:08:15.383 | infrastructure | serverfault.com | |
831,887 | Resize persistent disk of Google Cloud VM: Couldn't find valid filesystem superblock | I'm trying to follow the official Google Cloud documentation on how to resize the persistent disk of a Compute Engine image. According to the instructions, after I determine the new disk size in the Web Console I need to run [CODE] to resize the filesystem to the new disk space. However, when I try to run it I get the ... | Apparently I just had to restart the instance and it was automatically resized. This behavior was mentioned in another point of the documentation: If you create or resize a root persistent disk or create a disk from an image or a snapshot, your virtual machine instance can automatically resize the partition to recogniz... | 1 | 2 | 2,094 | 2017-02-10T18:40:57.157 | infrastructure | serverfault.com | |
579,857 | Open Web Content with parameter on Domino Web Server | I have an ExtJS application in my IBM Domino HTTP Server in the WebContent directory. Since the ExtJS application interacts with Domino server application, I can't switch servers. Said application's microloader requests for app.json?1393951293124, which throws an error 400 - "Unknown Command". The timestamp should make... | Try using [CODE] if you are able to change the call. | 0 | 1 | 201 | 2014-03-04T17:03:29.203 | infrastructure | serverfault.com | |
822,516 | Use Powershell to run an elevated executable | I have an .exe that needs to run via GPO. I attempted to do it via a batch script, however it needs to run on user machines and this requires elevation as they aren't local admins. Rather than touching each machine to setup a local admin and having the GPO run off that. I'd like to set up powershell script to start an ... | You can add your admin user to local administrators with a startup script of [CODE] . I don't think that's necessary, though. I'd think that your batch script would run just fine as a startup script for computers. It would run as the computer account, so computer accounts would need access to the share. | 1 | 3 | 738 | 2016-12-23T18:40:14.950 | infrastructure | serverfault.com | |
1,105,272 | Systemd NetworkNamespacePath not working | I'm trying to launch an app inside a network namespace from a systemd service. I tried using [CODE] but when I use it all network requests fail. If I launch the app in [CODE] using [CODE] it works, but it's not very clean and I have to reset the user using [CODE] . What am I doing wrong with [CODE] ? I don't think it s... | It is likely related to DNS, or at least was for me in the same scenario. The default system resolver may not be accessible from the network namespace. As noted in the man page , [CODE] automatically creates namespace-specific configuration bind mounts which will not be reproduced by your systemd unit: For applications... | 1 | 3 | 1,638 | 2022-07-11T09:57:47.173 | infrastructure | serverfault.com | |
679,924 | giving AD users shared email account | I have a microsoft platform, with active directory and exchange. Normally, all AD users are assigned mailboxes associated to that userid. Our organization employs many transient personnel, who come for a few months, then leaves. Usually one person replaces the next. My problem is exchange email. When Assigning a user a... | I think what you're looking for is something like Shared Mailboxes . This link might do what you're looking for--it's about transitioning a mailbox to a shared mailbox when someone leaves, and back to a single mailbox when you get the next person. It's for Office365, and you didn't say which version of Exchange you wer... | 1 | 2 | 5,680 | 2015-04-01T20:17:17.133 | infrastructure | serverfault.com | |
328,271 | How to pass parameters to a Snowflake query in SSRS | Where SQL Server is a data source, one can simply, write: [CODE] in the dataset query part of an SSRS report. However, if your dataset is connected via ODBC to a snowflake data source, it behaves slightly different. I have tried to do it as above and this way: [CODE] but it doesn't seem to work. It doesn't return an er... | There are several ways you can handle this. Use "?" Snowflake + SSRS Parameters It will create a parameter "Parameter1" that you may rename and also map in the dataset properties. [CODE] Use expression in the dataset query Snowflake Forum use expression [CODE] Add fields manually | 1 | 1 | 504 | 2023-06-14T03:12:05.160 | warehouse_errors | dba.stackexchange.com | |
396,868 | Shifting from Anemic Domain Model to Rich Domain Model | I did a couple of simple projects following Anemic Domain Model . Now I am trying to do the similar type of projects in Rich Domain Model. But I am confused in implementations. Previously , I used to have a domain model, entity and all of its logic used to reside in Services and persistence was made through repository ... | To summarize A fat domain model doesn't mean putting it all in the same class. You've somewhat gone overboard on this. (Fat) domain model methods should focus on operating on the current object , and you've added some methods that effectively ignore the current object's state, which doesn't make sense. Reviewing the co... | 2 | 1 | 1,555 | 2019-09-02T19:14:36.370 | api_errors | softwareengineering.stackexchange.com | |
115,140 | How to build a model when we have three separate train, validation, and test sets? | I have a data set which should be divided into train, test, and validation sets. [CODE] I want to do variable selection so that the AUC will be maximized. If I just had train and test sets, I would do something like this: [CODE] I could use the train set to do cross-validation. However, since I have a separate validati... | The validation set would be used for the same job as the split in cross-validation, except that it's done only once: For each different assignment for the variables, train on the training set, then apply on the validation set and calculate AUC. Pick the assignment which obtained the max AUC. Optionally, train the final... | 2 | 5 | 348 | 2022-10-11T20:40:46.127 | data_quality | datascience.stackexchange.com | |
567,728 | Why can't I shutdown running kvm instance? | I have running kvm instance: [CODE] When I try to shut it down, I get: [CODE] But the instance is still running. In logs I found only: "error : virIdentityGetSystem:173 : Unable to lookup SELinux process context: Invalid argument" I am not using SELinux, so in [CODE] I changed security_driver to [CODE] . Afterwards I d... | Do you have acpid installed in the client? A shutdown simply sends a "power button pressed" event to the VM, the VM will need to catch it and actually perform the shutdown. | 1 | 3 | 2,699 | 2014-01-16T15:34:35.930 | infrastructure | serverfault.com | |
184,386 | Can I revert a transaction after a certain number of days | I have a Sql script file which does a bunch of operations. I have transaction inside the script so if something happens the whole script is rolled back. The question I have is that say the script executed successfully and while testing the application certain errors were found. Now I want to revert all the operations t... | There isn't anything built into SQL Server that will undo statements. Your options are: Restore from backup or from database snapshot Buy a third party development tool like Red Gate's SQL Compare & Data Compare - which may require creating another database, making your changes, and then comparing the differences betwe... | 4 | 7 | 907 | 2017-08-25T20:09:00.210 | warehouse_errors | dba.stackexchange.com | |
219,463 | Recurring network issues the same time every day | Something has been happening on my company's network at 9:30 every day. I'm not the sysadmin but he's not a ServerFault guy so I'm not privy to every aspect of the network but I can ask questions if follow up is needed. The symptoms are the following : Sluggish network and download speed (I don't notice it, but others ... | Download Wireshark ( http://www.wireshark.org/ ) and use it to watch the traffic across the network at the time. Look for new traffic and any large spikes in the volume of traffic. While this tool provides a lot of information for people that are not familiar with networking it can still be used to see the volume of in... | 2 | 4 | 1,016 | 2011-01-06T15:52:20.500 | infrastructure | serverfault.com | |
129,429 | Failed to attach SQL Express DB, Could not continue scan with NOLOCK | We have a remote client that had to rebuild their server and has been having trouble with their SQL Express database since. I cannot remotely connect to this client unfortunately. I had them run "DBCC CHECKDB" and it showed one of the tables to be corrupted. I had them copy and send me the .mdf and .ldf files so that I... | There have been other cases that have shown that this error can happen when trying to attach a corrupted database. Instead of detaching the database and sending MDF/LDF files, I suggest asking for a proper backup and attempt to restore it. This is a much safer way to copy a database . Also, detaching a database that is... | 1 | 0 | 1,033 | 2016-02-16T16:27:58.090 | data_quality | dba.stackexchange.com | |
368,081 | Are the latest generation Blackberry smart phones capable of arbitrary IPSec mobile VPN connections? | Googling around briefly, see references to VPN and WPA2 Enterprise (tunneling in from an untrusted WIFI connection), but unclear whether the Blackberry Bold, Torch, etc. can be used as a generic Mobile IPSec client (Cisco, pfSense, etc.) from the carrier 3G network. All the pieces seem to be there like certificate stor... | Well all connection from BB phones goes via the BB server(BB Internet Service). So I dont think there are any tools that does this. A quick search in BB app world for vpn shows only irrelevant applications. The closest I can think of is using https directly to access your web application. But this too will be proxied v... | 2 | 2 | 252 | 2012-03-09T16:05:22.687 | infrastructure | serverfault.com | |
29,244 | Why am I NOT getting a mutating table error in trigger? | It's (or at least was) known that you cannot use DML statements on a mutating table inside a trigger. An excerpt from the Oracle documentation : A mutating table is a table that is being modified by an UPDATE, DELETE, or INSERT statement, or a table that might be updated by the effects of a DELETE CASCADE constraint. T... | There is an exception. When you define a [CODE] , row-level trigger on a table and issue a single row [CODE] statement, the [CODE] error will not be raised. But if you define the same kind of trigger and issue a multi-row [CODE] statement, the error will be raised. Here is an example: [CODE] Here is a single-row [CODE]... | 11 | 12 | 6,622 | 2012-11-25T11:29:49.723 | data_quality | dba.stackexchange.com | |
888,131 | Windows 10 update | After install the big windows 10 update in December of 2017 by IIS stop to work and refuse to start. They are other services also that stopped (WAS) and also refuse to start. some one can help me please about how to resolve these issues? | After two days I found the solution: Go to Turn Windows features on or off applet Un-check Windows Process Activation Service Un-Check Internet Information Service (maybe it is good write down the actual configuration) Restart the computer Check Windows Process Activation service Check Internet Information Service (you... | -2 | 2 | 460 | 2017-12-14T13:27:35.400 | infrastructure | serverfault.com | |
31,025 | How to setup my Ubuntu PC for these Deep Learning frameworks? | I need to use both NVIDIA Digits and tensorflow Object Detection API for different deep learning purposes. I am a bit lost with the compatibility issues, especially for what concerns CUDA. So which version should I choose for DIGITS, Tensorflow-gpu, CUDA and Object Detection API in order to make everything work? | An easy way to run different versions of multiple frameworks alongside each other is to use Docker . With Docker, you can create a new "Container", kind of a light-weight virtual machine, for each project. Docker handles all hardware abstraction and separates the different Frameworks. Note : To use the GPU within a Doc... | 1 | 0 | 65 | 2018-04-30T08:16:32.680 | data_quality | datascience.stackexchange.com | |
88,816 | Is this normal binary logging behaviour - maintaining one ever growing file despite expire_logs_days? | I have a Percona MySQL DB running on a dedicated server. I have in my.cnf [CODE] My issue is that the log file mysql-bin.000001 is ever growing in size. I'm not sure if the expected behaviour is for it to start a new file each day on 7 day rotation, or to "trim from the top", but it doesn't seem to be doing either, as ... | If the file hasn't exceeded max_binlog_size or if a log flushing event hasn't occurred then it won't start a new file. expire_logs_days only removes non-active binary logs (i.e. files other than the one that shows up under a "show master status;"). | 0 | 1 | 53 | 2015-01-07T15:57:51.400 | database_errors | dba.stackexchange.com | |
139,141 | hosting website from home | If I want to host a website from my home, I buy a domain name. Then, I get a static IP from my ISP. Next, I point it to the IP address of my home system. I can even use the SQL server installed in my system and not worry about the size. I am not talking about piles of servers here. Just one server. I was wondering if i... | This is a great idea. Not only will you learn a lot about multiple topics (system administration, security, HTTP, the value of logging, detecting loss of contact with outer world, etc etc etc etc), but you will be keeping The Internet more personal, more human, more of what drew us to it in the first place. Did everyon... | 10 | 11 | 2,018 | 2012-03-10T20:49:01.193 | database_errors | softwareengineering.stackexchange.com | |
5,973 | Recommend issue tracker to be used with Basecamp | Background In my company we started to use Basecamp for managing the project (mainly assigning work to developers). But unfortunately Basecamp on it's own doesn't have sufficient tools to track the bugs (the bug reports look like fairy tales missing crucial information). I myself favor ClearQuest for bug tracking as a ... | I've used Basecamp and Jira separately, and Zapier seems to integrate both of those. They also have a free subscription here Fairly straightforward information here: Integrate Basecamp with JIRA If you find that your team is growing, or you need to integrate more issues you can always just subscribe to a higher tier. +... | 3 | 1 | 2,979 | 2013-04-24T18:25:32.717 | data_quality | sqa.stackexchange.com | |
729,961 | Azure internal DNS search suffixes | I mainly use Azure for IaaS purposes (Linux and Windows VM's). We have a strict Front-End (FE) / Back-end (BE) segregation policy. FE and BE are in the same Virtual Network, but in different Subnets/Cloud Services. I've noticed that FE and BE VM's are getting different DNS suffixes via DHCP: FE machines get frontend-so... | If you use Get-AzureVM with -Debug you can look in the XML for InternalDnsSuffix. However, if you use ARM-based deployments, all VMs in the VNET get the same suffix. Regards Gareth | 0 | 0 | 722 | 2015-10-19T13:30:42.443 | pipeline_ops | serverfault.com | |
989,899 | using regex with conflicting and overlapping path names | consider the following regex, where I'm trying to route the requests of the format [CODE] to customerproduct domain. I've put this conflicting overlapping rule first in the sequence to give it priority because location [CODE] also accepts [CODE] Can someone please help me with the following routes, i'm new to nginx. [C... | The syntax and order of evaluation of location blocks is detailed in the manual page . The first location block is intended to use a regular expression, which needs the [CODE] or [CODE] operator to indicate that. Also, a regular expression that should match the beginning of the URI should include the [CODE] anchor. For... | 2 | 2 | 779 | 2019-10-30T09:55:16.830 | infrastructure | serverfault.com | |
113,612 | What kinds of development jobs require knowledge of advanced concepts? | When I was in university, I participated in a programming contest; the problems turned out to be extremely difficult and boring, and they required previous knowledge about a particular set of problem, e.g. graph theory, algebra. Our team failed completely at that competition, without solving any problems at all. After ... | Well, I'm writing "scientific" software, so obviously I use lots of +-*/ , often functions from standard math library, and sometimes more advanced math libraries such as LAPACK. Yes, knowing some math is useful. But: still, 90+ % of the time goes to something else: trying to understand users and their needs, figuring o... | 6 | 7 | 916 | 2011-10-11T07:09:23.140 | api_errors | softwareengineering.stackexchange.com | |
593,662 | Signal Root to Execute a Program | I have a program that must be run as root, and needs to be triggered by an outside process to start (it is triggered by a build process completion). It is not on a schedule, so cron is not an option. We originally had direct ssh, but that must now be disabled, so that is not an option. Is there a way to remotely notify... | When you make it SSH, make it SSH as another user with a key and allow that automation user to execute that very specific command as root, with sudo. So you would execute the command from the build server something like [CODE] . | 0 | 2 | 126 | 2014-05-07T13:33:45.907 | infrastructure | serverfault.com | |
36,813 | How to verify hand written signature? | I trying to create a model for determining whether a questioned hand written signature matches known signature samples, and predict if the signature is genuine or forgeries . I'm guessing I'll have to use a CNN and probably some variation of PCA. How would you tackle the "signature verification" problem? Is there an al... | One of the key features in hand-write is the [CODE] of the signature, i.e. high frequencies - how "shaky" is the signature, and low frequencies - how rounded is the signature etc. For that, you would like to use [CODE] transformation on the image, and train the results on labeled data, if available. | 0 | 4 | 686 | 2018-08-12T08:44:51.753 | data_quality | datascience.stackexchange.com | |
736,205 | OpenVPN and client-connect scripts | I have an OpenVPN server (2.3.2) on Debian Wheezy operating in bridged mode. Everything's working fine in terms of the client connecting and getting access to the network(s) it needs. Im trying to add a few bells and whistles through use of the client-connect option. This is the pertinent part of the openvpn config fil... | OpenVPN is made to be very resilient to network outages (and it really excells at it), so unless you have something like [CODE] in your client's configuration, disconnecting that client will look like a network outage to the server. Then, depending on how you did configue timeouts/keepalives etc, it could be a hefly am... | 2 | 2 | 7,071 | 2015-11-13T17:52:54.063 | infrastructure | serverfault.com | |
142,930 | Can't get PostgreSQL to run in Debian Lenny | I'm trying to install PostgreSQL 8.3 on Debian Lenny (kernel 2.6.26-2-686) using the package manager: sudo apt-get install postgresql-8.3 postgresql-client-8.3 postgresql-contrib-8.3 postgresql-common When deploying the package postgresql-common, the following warning is displayed: supported_versions: WARNING: Unknown ... | I found this bug , it is solved from version 95, but you are installing the stable version(94). | 3 | 3 | 1,633 | 2010-05-18T11:39:44.150 | database_errors | serverfault.com | |
162,097 | Max function - with join | I have 3 tables SalesAlias a Field 1: SalesAliasID Field 2: Code Field 3: SellAsDescr Field 4: ProdCOTGroupID ProdCOTGroup c Field 1: ProdCOTGroupID Field 2: Code Field 3: LongDescr SalesAliasHistory g Field1: SalesAliasID Field2: EffDttm Field3: DefListPrice I am trying to pull the DefListPrice for the max EffDttm by ... | You aren't actually filtering by any form of maxDate. You need to include the maxdate in your JOIN filtering for maximum efficiency, like below: [CODE] Note that I also changed your JOINs to INNER JOINs. Since both joins have a mandatory value or comparison in the WHERE clause, this means the records must exist. If the... | -2 | 2 | 1,532 | 2017-01-24T17:19:16.100 | warehouse_errors | dba.stackexchange.com | |
162,882 | Which MTA to install on a Ubuntu hardy EC2 Instance | Which MTA should I install on a Ubuntu hardy EC2 Instance? I hear that Postfix is the default MTA on Ubuntu. I will also need installation and config instructions. This MTA will deliver mail to a SMTP server running outside of the AWS environment. | Postfix is indeed a very versatile and well documented MTA. Another one I played around with is Exim4, although this was on Debian5 and not Ubuntu. Yet I prefer Postfix over Exim. | 1 | 1 | 766 | 2010-07-22T04:49:31.580 | infrastructure | serverfault.com | |
40,444 | IIS 6.0 receives 404 error on files with a "." extension and nothing else | I have an issue where I am reverse proxying from an IIS 6.0 server to an apache server which is serving PNG files with no extension. Strangly it serves files with a "." but nothing else, for example: " http://internalserver/proxy/image ." I tried adding the MIME type "." and even ".*" to the IIS virtual directory and t... | Try adding an entry called [CODE] with [CODE] as the MIME Type. | 1 | 1 | 721 | 2009-07-14T13:19:37.907 | infrastructure | serverfault.com | |
311,248 | Very strange problem with VMDK thin/thick disks | I have some ESXi (4.1) virtual machines which were initially created using thin-provisioned disks, but where then physically moved to different datastores (all of them iSCSI); since these are stand-alone hosts, there is no vCenter Server available to manage them, so the operation was done from the ESXi command line usi... | Looks like physically copying thin-provisioned disks is a bad idea . VMFS does strange things with thin-provisioned disks, things that [CODE] or [CODE] can't cope with. Corruption ensues. Don't do it. [CODE] handles them much better (and safer). | 4 | 4 | 5,545 | 2011-09-14T11:00:32.613 | data_quality | serverfault.com | |
194,101 | Oracle Data Guard Error | [CODE] is someone has any idea about the following error and warning? | ORA-12700 to ORA-19400 ORA-16857: standby disconnected from redo source for longer than specified threshold Cause: The amount of time the standby was disconnected from the redo source database exceeded the value specified by the 'TransportDisconnectedThreshold' database property. It is caused by no network connectivity... | 0 | 1 | 5,346 | 2017-12-28T11:46:24.157 | database_errors | dba.stackexchange.com | |
960,955 | Puppet: Copy folder recursively - preserving mode? | With puppet I realize I can copy folders recursively and set permissions on individual files recursively. But I have a source folder with (many, many) files each with carefully configured permissions. How do I do the puppet equivalent of: [CODE] ? This: [CODE] Does not preserve mode. Also, Best Practices: Recursive Fil... | There is a [CODE] attribute that controls what happens when copy files without explicitly setting the mode which might do what you want. You should set it to either [CODE] or [CODE] . | 0 | 1 | 1,210 | 2019-04-01T14:18:54.767 | hadoop_errors | serverfault.com | |
887,826 | Using ansible to deploy dockerized testing environment and plain ubuntu for production | I need some help with deploying a system I have been working for a year and a half now. In order you can understand my concern, I will explain a little about our infrastructure. We have a server (let's call it TESTING_SERVER) where we have different testing environments for our system. Each of these environments is run... | I would create per "task" a role and use it in the playbook, similar as described in the best practice document. http://docs.ansible.com/ansible/latest/playbooks_best_practices.html#directory-layout for example [CODE] and in the playbook call the roles testing.yml [CODE] | 1 | 0 | 336 | 2017-12-13T03:41:06.503 | database_errors | serverfault.com | |
1,130,787 | netplan mac address matching doesn't seem to work | I have a small pc box that only have one network interface, and since I needed 2 more interfaces, I've bought two usb network cards. Both same manufacturer. I wanted to rename interfaces (since they originally have pretty complex names) to: eth1 and eth2. The box is running ubuntu 22. In theory this is pretty simple, a... | You need to run "netplan apply" otherwise the new configuration will not processed, for ecample invoking the backend network manager and systemdworkd. Also, in using for example bonds or bridges, they are not removed even if we delete from their configuration in yaml configuration file "... Known issues: netplan apply ... | 0 | 0 | 1,398 | 2023-05-09T21:54:59.187 | infrastructure | serverfault.com | |
344,259 | IPSec between OS X clients and Windows Server (native, no 3rd party) | I would like to connect Mac OS X (Lion) with Windows Server 2008 (R2) using IPSec natively. Simplest possible settings: No certificates, no tools, no specials. Just a Windows Server with IPSec "Pre-Shared Key" Authentication. Looks like an easy job, but after weeks of research I still have no success. Attached there's ... | I've setup a L2TP/IPSec server on 2008R2, and we have numerous OSX (and other OS) clients connecting to it. What kind of errors are you getting, and are other clients able to connect to that IPSec server without any issues? | 2 | 0 | 377 | 2011-12-26T21:32:17.743 | api_errors | serverfault.com | |
607,776 | Postfix: What does orig_to mean when using virtual_alias_domains? | I'm running a postfix server with the primary domain being domainA.com (configured in mydestination) There is a second domain, domainB.com configured under virtual_alias_domains I have user accounts for domainB.com mapped using virtual_alias_maps like this: [CODE] Now, when I receive mail for an account user@domainB.co... | The short answer : YES . Maillog entry indicated normal behavior of postfix. Explanation: In your [CODE] table you put [CODE] Here postfix rewriting engine works You send email to user@domainB.com Because postfix find [CODE] in your virtual_alias_maps table, postfix will rewrite email destination user@domainB.com -> us... | 1 | 0 | 8,789 | 2014-06-25T09:58:38.433 | infrastructure | serverfault.com | |
143,334 | Apache Passenger can't find gem | I'm running Ubuntu 10.04 and I've transferred over some sites built in Sinatra. I've set up Phusion passenger, but when I visit the sites I'm getting a Passenger LoadError claiming that passenger has 'no such file to load -- sinatra' yet when I run gem list or sudo gem list, I clearly see sinatra listed. Why can't pass... | Check your Passenger module configuration files. In my case content of [CODE] : [CODE] content of [CODE] : [CODE] [CODE] is telling module what ruby interpreter to use. | 2 | 2 | 4,560 | 2010-05-19T11:15:08.450 | infrastructure | serverfault.com | |
108,432 | MySQL Multi-Master Replication Topology | Disclaimer : I've never worked with replication before, but I'm doing all my research. Not really having a bunch of in-depth knowledge about MySQL makes a lot of the documentation hard to understand. We have a remote server, and many 'onsite' servers. This app is mission-critical, and because of the unreliable internet... | MULTIMASTER REPLICATION If you want to use Galera, just get Percona XtraDB Cluster. It comes right-out-of-the-box with Galera libraries wrapped up inside. Just put the wsrep options in my.cnf to to enable Galera. See the PXC Documentation for more info. If you have EC2, you can also use the PXC Setup Guide in EC2 . MUL... | 4 | 0 | 1,340 | 2015-07-29T13:13:32.893 | database_errors | dba.stackexchange.com | |
214,126 | What do you use for 3rd party monitoring? | Possible Duplicate: Can anyone recommend a website monitoring service? What do you use for website/service monitoring, and notification from a 3rd party? | If you have a more complex website (which I define as a site with more "stuff" that can break, such as Javascript, AJAX, Flash,...) , consider adding real user monitoring (RUM) to the mix. That is transaction monitoring using real web browsers like IE and Firefox. We use AlertFox . They also have a useful free plan to ... | 1 | 3 | 139 | 2010-12-18T10:56:43.687 | data_quality | serverfault.com | |
918,787 | Centreon 3.4 : host added but not monitored | I downloaded the Centreon 3.4.6 VM (OVF on https://download.centreon.com/ ) and it runs fine on VMWare. Here all the versions : A default host is present : centreon-central. I would like to monitor another local host : localvm1. The host has been added : It is based on the template [CODE] . It have a service `Ping : Pr... | It's not enough to just add the host, you also have to add services to the host (this is what's actually getting monitored) EDIT: And after you make changes to the configuration you need to generate a new config file. If you don't, the configuration won't come into effect. [CODE] | 1 | 0 | 2,010 | 2018-06-29T09:47:11.887 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.