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 |
|---|---|---|---|---|---|---|---|---|---|---|
332,904 | Expression Engine Site hacked - Locate redirect | Possible Duplicate: My server's been hacked EMERGENCY I have an Expression Engine website I try to clean up. The database has been given many new users so it seems the database has been hacked / links added. One major issue is that the site when clicked in Google is being bypassed. All visitors are being redirected to ... | It only redirects people with a referrer from Google (possibly also other search engines.) If I take off the referrer part of curl I just get a normal page back. [CODE] The content of the response (after the headers) suggests that this is an Apache generated redirect and not a PHP generated one. Most people don't think... | 1 | 1 | 853 | 2011-11-20T10:19:07.653 | data_quality | serverfault.com | |
161,034 | Script to replace user permissions? | I am moving resources from Mac and Unix boxes onto our windows storage server. I need to replicate permissions from Mac and Unix using the users active directory equivalent. So: File A On Location A With Permissions A to File A On Location B With Permissions B Permission B is the active directory equivalent of the ldap... | I would install Samba, which understands both unix & windows permissions. The next step would be to get the owenerships/permissions syncronized to they way that you want them to be on the AD/Windows side. Next, you could then use something like robocopy or xxcopy to transfer the files via the samba share to their final... | 0 | 1 | 272 | 2010-07-16T08:53:11.440 | infrastructure | serverfault.com | |
436,724 | Why can't I select from a table named range without using backticks? | I'm facing a problem with mysql. A query [CODE] works on mysql 5.0.22 but does not work mysql 5.1.61. but it works with backtick: i.e. [CODE] Kindly help in this regard. I want mysql 5.1.61 to execute the query without backtick (`) | range is a reserved word in 5.1 http://dev.mysql.com/doc/refman/5.1/en/reserved-words.html So if you use it, you need to use the back ticks in order to tell mysql that you aren't using the reserved word. range wasn't in 5.0 | 2 | 3 | 263 | 2012-10-10T08:53:30.803 | database_errors | serverfault.com | |
280,537 | How to chroot the tftp service | I have tftp installed on Ubuntu 10.04 with the below /etc/xinetd.d/tftp file. I can connect to the tftp server using tftp 10.1.1.54 get pxelinux.0 and it retreaves the file with no issue. When I try: get /pxelinux.0 I get a Error Code 2: Access violation This is a problem because the HP PXE boot environment request the... | This could be a permissions problem, are /tftpboot and pxelinux.0 world readable? Edit: Have you tried using the -s argument to tftpd to set the directory? | 1 | 0 | 2,942 | 2011-06-15T03:38:52.830 | infrastructure | serverfault.com | |
312,746 | Can't deploy branch RODC | I am trying to deploy a branch office RODC and am getting an error about extending the domain and forest schema. I know I have already done this in the past but I went ahead and tried from the main office DC. I get an error saying its already been extended when I try to use [CODE] . History: There is a currently a sing... | Did you go through the prereqs for an RODC available here: http://technet.microsoft.com/en-us/library/cc731243%28WS.10%29.aspx You must: Run adprep /rodcprep in order to extend your schema. This is more than the typical domainprep and forestprpe Be running your forest is running at 2003 level or higher Have at least 1 ... | 2 | 1 | 245 | 2011-09-18T16:34:57.293 | database_errors | serverfault.com | |
997,061 | MAPI Service Provider Breaks in Outlook 2013+ but works if Outlook opened via Script | Have a MAPI service provider that provides custom folder view in Outlook, works fine in Outlook 2010 64-bit. In Outlook 2013 64-bit and later it fails to open the folders with error Cannot expand the folder. No description is available for this error. However if Outlook 2013+ is launched via a PowerShell script like be... | The DLL characteristics of Outlook.exe has changed between Outlook 2010 and Outlook 2013. Outlook 2010 has a value of 8040 which signifies the IMAGE_DLLCHARACTERISTICS_ DYNAMIC_BASE + IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE properties are set. However Outlook 2013 has a value of 8160 which includes the same prop... | 0 | 0 | 332 | 2019-12-30T00:58:52.963 | infrastructure | serverfault.com | |
579,985 | associating HP MSA2000 G3 to a virtual machine on windows server 2012 DC | Basically i wanted to have a Debian Squeeze associated to the SAN HP MSA200 G3 but due to lack of support i have now planned to deploy Windows Server 2012 Data-center on 2xHP Proliant DL380p G7 servers and add the role of Hyper V and create the virtual machine of Debian Squeeze. Now, i would require assistance for the ... | Your best results will probably come from using the virtual Fibre Channel feature in Hyper-V. If your HBA is recent and its firmware is fully up to date, and if the switches support NPIV and their firmware is up to date, you can give the VM itself a presence on your FC fabric, with its own World Wide Names. In order to... | 1 | 0 | 313 | 2014-03-05T13:35:31.877 | infrastructure | serverfault.com | |
986,621 | Cannot Set up HTTPS site on IIS and windows server 2012 | I seem to have a strange problem. I had an HTTPS site with an SSL certificate set up on a windows 2012 server and it ran fine but it was not on the default 443 port. So to access the site you would type https://test.site.com:1234 . The site was linked to an external IP so you could access it from outside the network us... | The issue here was due to our ISP. Our ISP manages our firewall. A request was sent to them to open port 443 for incoming and outgoing connections to the machine running the site. They had done this for port 1234 so we expected the same changes to be made. Apparently, the port was opened but also was not ??.. I'm not a... | 1 | 0 | 1,258 | 2019-10-03T09:54:27.313 | api_errors | serverfault.com | |
33,306 | Designing a Products database: One Products table or many separated by vendor? | In order to prevent the unwieldiness of managing product data spread across a number of excel spreadsheets, I have set up a Products database. My data is in spreadsheets because it was (somewhat) easy to export a tab-delimited text upload file for both the Amazon and Google e-commerce platforms. But I've realized that ... | I would go with number 1. Having a separate table for each vendor or each product type will be a nightmare when trying to run reports that need data from multiple product tables. You don't want to have to create a new table each time you add a vendor or product type. I understand your inclination coming from a spreadsh... | 3 | 6 | 23,319 | 2013-01-22T00:08:06.473 | warehouse_errors | dba.stackexchange.com | |
433,587 | SSSD installation directory is empty | When I try to install SSSD using [CODE] terminal writes that installation completed fine, but when I try to [CODE] it writes sssd: unrecognized service Then when I attemp to start it using [CODE] I get an error Starting sssd: [FAILED] Also I can see that [CODE] directory is empty (service fails to start because it miss... | [CODE] ships unconfigured. You must create at least one domain before starting the service. See the documentation for full information on using sssd. | 3 | 3 | 2,656 | 2012-10-01T10:10:18.833 | infrastructure | serverfault.com | |
178,510 | Error 403 when accessing an address to rewrite | I have the following rewrite rules: [CODE] The directory structure is as follows: [CODE] When writing the address [CODE] is directed into the [CODE] . In my virtual machine with linux (debian) in my PC works fine, but the server linux returns a 403 error. But if I switch to rewrite this rule: [CODE] and then write the ... | Same answer as on https://stackoverflow.com/questions/3652598/error-403-when-accessing-an-address-to-rewrite : You should put the .htaccess file in the docroot directory (public_html or htdocs). Example: URL: [CODE] Path: [CODE] .htaccess should be placed in [CODE] . When you get a HTTP 403 (or 500) error, you should l... | 0 | 1 | 123 | 2010-09-06T15:50:03.410 | api_errors | serverfault.com | |
121,286 | Finding the right pattern for creating indexes,redesign query structure | I'm planning to redesign the structure of a query which uses over 20 full/left joins for fetching different data from the tables. Because the logic of the initial query was to bring data based on some conditions, not all the joins were needed if a certain condition is satisfied. For example : The query has 5 different ... | Without knowing anything about the data, if we assume your JOIN's are on related data, a UNION isn't what you want. The related data will be presented disjointed on separate result rows. There are no hard-and-fast rules on index design; the right design is the one that increases performance on your queries without cons... | 0 | 1 | 102 | 2015-11-16T23:28:06.183 | warehouse_errors | dba.stackexchange.com | |
796,923 | exim4 using wrong mail server hostname | Email no longer works on my Linux box (Debian 6) since our corporate IT group changed the gateway IP address and the hostname of the corporate mail server. I have changed the gateway address on the PC but it is still trying to resolve the name of the old server, which of course fails. Here's a snippet of the output I g... | The configuration should be in [CODE] . You can edit this file directly and reload exim4. However, the recommended update procedure is to run the command [CODE] and change the host name when prompted. | 0 | 1 | 1,204 | 2016-08-15T16:23:40.710 | infrastructure | serverfault.com | |
439,531 | How can I get logrotate dateext to reflect the log date rather than the rotation date? | My Apache logrotate config looks like this: [CODE] This works great, except that the date on the rotated filename is one period later than the period actually covered by the logs, for example [CODE] covers 2012-08-01 to 2012-08-31. I realize that there are other options for Apache (eg. cronolog), but I have a bunch of ... | Added in 3.8.0 (although looking at the svn history, it looks like it was actually added in 3.7.9): http://svn.fedorahosted.org/svn/logrotate/tags/r3-8-0/CHANGES [CODE] | 8 | 17 | 16,025 | 2012-10-02T01:48:54.320 | infrastructure | serverfault.com | |
158,084 | Cisco: Route based on vlan | Is it possible in a cisco router to route based on vlan? I have in the router 2 vlans, and 2 possible ways to go out: One vlan should be routed to a certain ip One vlan should be routed to the "outside world" (the router is also an adsl modem) I currently know of no way to do this. Although it might seem simple... Many... | See adjusted question. The answer to our specific problem did not need vlan (although I left the tag) | 1 | 0 | 947 | 2010-07-07T05:25:51.337 | infrastructure | serverfault.com | |
1,144,199 | How do I prevent users from messing with their own .ssh folder? | I'm administrating a RedHat server where users log in through SSH with private/pub key based authentication. I'd like to prevent them from accidentally changing / deleting /chmoding the content of their ~/.ssh folders. Some of them have already recursively 777-chmoded their whole own home folder because "it was easier ... | Short answer is you can't. SSH is very picky about permissions and will not play with files it doesn't like the look of. Further, the users [CODE] is parsed before the system-wide config. Having said that, it may be possible to put the files somewhere else and mount the directory as a read-only filesystem under [CODE] ... | 10 | 21 | 4,284 | 2023-09-21T17:11:35.703 | api_errors | serverfault.com | |
455,594 | Permission error when folder permission is 755 | Possible Duplicate: What are the best linux permissions to use for my website? When I trying upload file with PHP to a folder that folder should have 777 permission, but this is a security risk, I want set 755 for folder permission but in this permission PHP cannot upload files. What should I do ? Server: Linux CentOS ... | You can simply change the owner of the upload folder to be apache user using: [CODE] Of course, you need to know the user your web server is running as. If you want to share the folder between multiple users, you can change the group and grant the group the appropriate permissions. | 1 | 1 | 2,636 | 2012-12-06T07:59:11.520 | data_quality | serverfault.com | |
715,905 | Why am I getting an "Invalid command 'ProxyPass'" error when I start my Apache 2.2 server? | I'm having trouble getting Proxying working in Apache 2.2 When I try to start it, I get an [CODE] error. that would be indicative of [CODE] not being loaded. However when I look at the debug, it seems to be there. e.g., [CODE] So it looks to me that proxy_http_module is loading. I don't understand why it doesn't know w... | proxy_http module requires proxy , and ProxyPass directive is defined in the latter. Make sure it's also loaded. Thanks to Milind Singh Load the module by running [CODE] | 29 | 48 | 73,996 | 2015-08-21T21:19:47.193 | infrastructure | serverfault.com | |
1,019,919 | How to properly configure access to kubernetes dashboard behind nginx ingress | I'm trying to configure nginx ingress to access several services, like this: [CODE] I've access to the grafana service without any problems, my issue is with kubernetes-dashboard. I've already configured kubernetes-dashboard to allow HTTP traffic with this configuration [CODE] I;ve also a valid token which I can use to... | TL;DR You cannot pass the verification (pressing [CODE] doing nothing) by the lack of [CODE] . As I said in the comment: Login not available If your login view displays below error, this means that you are trying to log in over HTTP and it has been disabled for the security reasons. Logging in is available only if URL ... | 3 | 4 | 12,169 | 2020-06-03T19:52:21.873 | bi_errors | serverfault.com | |
68,759 | BizTalk 2009 Visual Studio 2008 Deployment error | I'm currently trying out BizTalk 2009 for the first time. I'm by no means a BizTalk user/expert. The installation was quite a lengthy process but sticking to the Microsoft checklist, everything installed correctly without an issue on the first try. My question may appear to be more stackoverflow-oriented, but my guess ... | You need to run visual studio as administrator: Visual Studio does not let you deploy a BizTalk project on a computer with the User Access Control (UAC) feature turned on unless you run Visual Studio with administrative privileges. To run Visual Studio with administrative privileges, click Start, point to All Programs,... | 2 | 3 | 2,332 | 2009-09-25T16:25:44.153 | database_errors | serverfault.com | |
213,668 | Script language native extensions - avoiding name collisions and cluttering others' namespace | I have developed a small scripting language and I've just started writing the very first native library bindings. This is practically the first time I'm writing a native extension to a script language, so I've run into a conceptual issue. I'd like to write glue code for popular libraries so that they can be used from t... | Well realistically, it's not necessary to contain a global array of exported functions just to make them visible to your runtime environment. A good question to ask is whether your runtime environment saves the function pointer and the name associated to it? Your notion of using a global array to export functions only ... | 8 | 2 | 239 | 2013-10-07T17:47:06.590 | api_errors | softwareengineering.stackexchange.com | |
333,014 | Should i care about field names in JSON datatypes? | In DBMSes like MySQL, MariaDB, PostgreSQL and MongoDB, data is saved as BSON, JSON or JSONB for JSON columns or document. All of these data types use space for key names in JSON. Does internal data on disk also require space for every key name on every row? If yes, shouldn't a developer/admin care about it, for perform... | MySQL/MariaDB: The string is stored as a string. This takes space and slows down looking into the string. So, you should, in general, pull the useful columns out of the JSON and put them into columns -- this will usually take less space and provide more efficient indexing, searching, sorting, etc. If you still have mis... | -1 | 1 | 108 | 2023-11-12T17:43:02.203 | database_errors | dba.stackexchange.com | |
244,366 | Wireless Network Issue, Disconnecting Randomly From Network | I'm having an odd problem with my wireless network. Here is the background information: Server (Windows Server 2008) 1 to 10 end user machines connecting to the network Layer 3 Access Point (Asus WL-330 gE) connected to ethernet of Server and all machines connect to the network via the AP The end user machines get a co... | The problem is not very odd actually. You'll notice this behavior with most 802.11g consumer-based access points (specially with 5-10 users). Here are some things to check: Since the access point is 802.11g based, it’s possible you have another electronic device at that same 2.4 GHz frequency causing issues with connec... | 3 | 2 | 341 | 2011-03-07T21:23:22.883 | infrastructure | serverfault.com | |
160,739 | how to avoid the "An INSERT EXEC statement cannot be nested" exception on this situation? | when I run the following script, it runs fine: [CODE] but when I use my own sp_foreachdb procedure, the source code is on this link below: A more reliable and more flexible sp_MSforeachdb [CODE] I get an exception (please note I have added exception handling on that procedure) [CODE] | The source code for Aaron's [CODE] contains the following line: [CODE] According to your error message: An INSERT EXEC statement cannot be nested. So code like that below will not be valid as it is nesting [CODE] code. [CODE] | 3 | 2 | 33,079 | 2017-01-11T15:21:13.513 | warehouse_errors | dba.stackexchange.com | |
317,212 | Run C program in debug mode (without debugger) | If I want my program to be able to run in debug mode, is it a good idea to make it accept a flag such as [CODE] when I run the program? I currently have a [CODE] variable in a [CODE] file but that I can't change after I compile. [CODE] I'd like to be able to run my program both in debug mode and "stable" mode. Is getop... | You are better off to make a clear distinction between "compile time debug" mode (which is what you control by [CODE] ), and specific "debug features" which should be available even when you compile with [CODE] , and could be enabled or disabled at run time. Better call the latter differently, name the features (like "... | -1 | 5 | 4,821 | 2016-04-30T10:28:12.063 | api_errors | softwareengineering.stackexchange.com | |
73,315 | add a column to an existing table | I'm wanting the best way to add a column to an existing table in my database. I'm using [CODE] . I don't want the data that is in the table to be affected, I just want to add a new column that has a default value of [CODE] . The only ways I'm aware of for adding a new column is by using: [CODE] and the other way of add... | There is no "BEST" way to add a column. There is only one way - using the T-SQL command. What do you think happens when you use SSMS table design? it's just a way to simplify tasks for those who don't know the syntax. When you click OK, SSMS generates the [CODE] statement and executes it for you. | 1 | 5 | 115 | 2014-08-06T15:24:59.877 | warehouse_errors | dba.stackexchange.com | |
50,335 | Crashing HVM domain, what do I do? | My DomUs on a Xen 3.4 on an RHEL5 are crashing when too much memory is needed: [CODE] Can I disable populate-on-demand for HVM somehow? Xen 3.3 didn't exhibit such behaviour... | There's some good detail here: http://lists.xensource.com/archives/html/xen-devel/2008-12/msg01030.html Which seems to indicate this only happens when you overcommit. Of course if your domU's are linux you really should consider running in paravirt mode for the performance benefits. | 2 | 1 | 1,603 | 2009-08-05T13:19:44.840 | infrastructure | serverfault.com | |
252,712 | Develop in trunk and then branch off, or in release branch and then merge back? | Say that we've decided on following a "release-based" branching strategy, so we'll have a branch for each release, and we can add maintenance updates as sub-branches from those. Does it matter whether we: develop and stabilize a new release in the trunk and then "save" that state in a new release branch; or first creat... | That's true - if you have multiple 'trunks', each one representing a release, then you don't need a single trunk. In fact, trunk is an arbitrary name for a 'master' branch anyway (eg in the Microsoft docs for TFS they recommend using a thing called 'Main'). But there is a good reason for developing elsewhere and using ... | 2 | 1 | 2,547 | 2014-08-08T08:45:39.850 | api_errors | softwareengineering.stackexchange.com | |
25,667 | Deny access to information schema in SQL Server | I am looking for the best way to disable access to the [CODE] / [CODE] for a user / group in SQL Server. I found this thread from 2008 It shows a way how to deny access on [CODE] like so: [CODE] But no way how to disable access on the [CODE] : [CODE] This seems not to work. How can I disable access to information_schem... | You should be able to just deny permissions on the entire [CODE] and [CODE] schema as a whole: [CODE] That should basically just prevent that user from doing any selects in those two schemas. | 14 | 11 | 23,729 | 2012-10-09T04:59:35.197 | database_errors | dba.stackexchange.com | |
391,765 | yum trying to install el5 when I am on el6 | When I run the following yum command I get this error: [CODE] I read that this error is due to running an el5 rpmforge or having some el5 installed packages. How can I solve this problem? [CODE] | You can use the [CODE] to show which repos you have enabled, and hence where the package is coming from; (also [CODE] , with the [CODE] flag for really verbose description of your enabled repositories) [CODE] and also to show which repositories support the packages for your requirement; [CODE] | 3 | 5 | 3,336 | 2012-05-23T09:12:34.603 | infrastructure | serverfault.com | |
117,704 | Linux IPTables / routing issue | EDIT 1/3/10 22:00 GMT - rewrote some of it after further investigation It has been a while since I looked at IPtables and I seem to be worse than before as I can not seem to get my webserver online. Below is my firewall rules on the gateway server that is running the dhcp server accessing the net. The webserver is insi... | Please describe in detail how all your servers are physically connected including ethernet cable routing and any switch configuration. You may have issues using network address translation via your gateway, as it's daisy-chained to a router. What sort of router? What sort of Internet connection? Can you connect your ga... | 1 | 1 | 2,273 | 2010-02-28T23:10:31.067 | infrastructure | serverfault.com | |
927,262 | ADFS 2.0 -> 2016 Migration And Service Accounts | I inherited a migration of ADFS 2.0 on Windows Server 2008R2 to ADFS on Windows Server 2016. The task had been started manually, but not completed. I am using the MS scripts, and exported configuration via Export-FederationConfiguration.ps1. The warning stated that I ensure I used a specific service account on the targ... | When you say that the ADFS 2016 service account is not the same user and domain, do you mean that both ADFS farms are on different domains? If that's the case, trying to restore the ADFS2.0 farm to the 2016 farm doesn't make sense because the identity stores would not match. I would recommend you to treat each ADFS Far... | 0 | 0 | 382 | 2018-08-20T23:49:22.033 | infrastructure | serverfault.com | |
514,157 | How to set PHP include_path for php-fpm in nginx config? | I'm trying to migrate from Apache to nginx. In my Apache conf file I had [CODE] Now I got [CODE] in my nginx's fastcgi_params file, but it seems the include path is not used by php-fm as I'm getting the following error. [CODE] Whereas the file Response.php does exist in the directory [CODE] . How should I set it so tha... | You can set php values directly in your fpm-pool configuration file like this: [CODE] You don't need to set it in your nginx configuration. | 1 | 2 | 9,502 | 2013-06-07T15:36:06.203 | infrastructure | serverfault.com | |
290,808 | Define an object with the interface as a type instead of class name | I try to practice with the design patterns and explore one of the possible implementations of the Observer Design Pattern in Java. I paid attention, that in this example the object is defined with the interface type and not the class one: [CODE] As you can see, the list [CODE] is a type of [CODE] , which is an interfac... | That's exactly what interfaces are for. The programmer doesn't care what types of objects might be in the list, as long as they provide the method calls expected of any Observer. This way, your list can contain instances of MyTopicSubscriber, MyFileSystemChangeSubscriber, MyMailboxSubscriber, etc. (these are fictitious... | 2 | 3 | 592 | 2015-07-25T16:05:17.207 | data_quality | softwareengineering.stackexchange.com | |
699,556 | Load testing after 5minutes MySQL Access denied for user 'root'@' | We are running a load test using Loadrunner, for the first 5 minutes, everything was great but after 1600vus, I saw the MySQL log file contains the Access denied for user 'root'@'ip error. Anybody have any idea what could this be the caused? | You have exhausted a resource related to a connection session(?) Take a look at your file descriptors/donnection handles in use and start working your way back from there. BE aggressive in your session timeout and recovery of resources or you can start stacking up sessions in use over multiple iterations of your virtua... | 0 | 1 | 111 | 2015-06-17T04:51:31.797 | database_errors | serverfault.com | |
164,524 | VMware ESXi to VMware Server and back again? | Running a single ESXi 4.0 server with 5 clients. Due to some unfortunately drive failures and firmware bugs I've got corruption in the direct attached RAID 1+0 array that holds my VMs. HP assures me the only fix is to rebuild the array. I need to schedule an outage to: Backup/move all the VMs (I've got ghettoVCB workin... | Consider that the native format of vSphere VM could not be compatible with vmware server 2.0 and you could pass trough a vmware Converter conversion to make it compatible (granted that could be done). I would suggest a scheduled downtime and a backup/restore without any other processing/conversion. | 0 | 1 | 813 | 2010-07-27T16:34:34.663 | database_errors | serverfault.com | |
824,785 | Default self-signed certificate is used instead of custom certificate in apache | I've configured three sites (SITE1, SITE2, SITE3) on my server and secured all of them with the help of let's encrypt. Two of them works fine. But one of them (SITE1) shows "This Connection is Untrusted" error when connecting via HTTPS (self-signed cert). Probably, the issue is that hostname of the server is equal to S... | Remove any Listen or Virtualhost declarations you might have in /etc/httpd/conf.d/ssl.conf. Also, make sure that /etc/httpd/sites-enabled/SITE1.conf has the correct ServerName/ServerAlias. | 0 | 0 | 1,169 | 2017-01-07T09:20:41.673 | pipeline_ops | serverfault.com | |
593,736 | VMware Esxi 5.5 automate VM creation from ISO | Basically we want to automate virtual machine creation from ISO. As in one of our project we get custom ISO (appliances with application pre-installed in OS) released from time to time. So we need to use these ISO for further testing or setting up development environments. So we are looking for an automated deployment ... | 'scuse me but that doesn't make sense. You say that your software provider can't deliver an OVF/OVA "as every new ISO will have some new changes". Every new OVF/OVA they deliver to you would have this changes, too. If you really want to accept ISOs and create new VMs every time there's a lot of ways. You want to automa... | 0 | 1 | 1,695 | 2014-05-07T18:37:39.230 | hadoop_errors | serverfault.com | |
320,350 | Assigning values to multiple @variables using SELECT | I've encountered some T-SQL code which seems to rely on behaviour I found unexpected. When assigning values to multiple @variables in one SELECT statement, when one @variable is dependent on another, the order in which the @variables appear in the statement changes the outcome. For example:- [CODE] Test Value Of @a Val... | Microsoft say:- "For assigning variables, we recommend that you use SET @local_variable instead of SELECT @local_variable." But this doesn't mention why, or whether this behaviour is one of the reasons behind that recommendation. Yes, it is. The following is mentioned in the docs on variables : If there are multiple as... | 4 | 4 | 2,989 | 2022-11-29T18:22:40.710 | warehouse_errors | dba.stackexchange.com | |
389,720 | CQRS - Business Logic in Query Side | I am working on handling authorization for an application. I need some way for a command handler to ask the Authorization bounded context "Is this user allowed to perform this action?". User account creation, deletions, locks, etc. as well as permission and roll management will generate the appropriate events. The best... | If you are not in the Identity and Access Management context, "Is this user allowed to perform this action?" should not be a part of your business. The role of deciding whether the user can do something (i.e. authorisation ) should belong to the application layer instead of domain layer. Your application should check t... | 2 | 1 | 1,147 | 2019-04-03T20:06:15.413 | api_errors | softwareengineering.stackexchange.com | |
78,002 | xinetd won't start | Silly question... I can't get xinetd to start on my linux box (CENTOS 4.8). I've got so far as to remove it and reinstall it via yum. When I try to start it, stop it, etc. I get no error at all. [CODE] I would expect to see some standard status from the system (e.g. "Service Started - [OK]" I also don't see any log ent... | Use "strace" command to debug xinetd, example: [CODE] Then examine log.txt to see what's going wrong with your configuration. I would recommend you to backup your configurations, uninstall xinedt, remove /etc/xinetd.conf and /etc/xinetd.d/ and then install it again using yum. When you'll be able to start it you can add... | 3 | 2 | 44,264 | 2009-10-25T00:28:30.303 | infrastructure | serverfault.com | |
93,138 | Applying an algorithm on it's own training data for descriptive purposes? | Good Day, I am newer to data science so I am not confident in this. To set up the question I will describe my data and approach. Data I don't want to share specific data examples as I want to try and keep some anonymity. I have data for events between 2016 and 2019. Each event has ~14 features (categorical and numerica... | can you apply a trained algorithm / model on its own training data if my interest is not in predicting forward but evaluating success vs likelihood of success (and still yield useful information)? Yes, absolutely. There are quite a few cases where applying a model on the training data is useful. The most common is prob... | 1 | 1 | 39 | 2021-04-16T13:15:24.323 | data_quality | datascience.stackexchange.com | |
1,100,430 | awk $1 and $2 variables coming up empty | GOAL : compare the size of our directory structure day over day. The data folder has over 990tb in it, so I had to run a bunch of parallel du's in order for it to finish in a reasonable amount of time. Occassionally we see large data growth very quickly, and currently don't have a good way of seeing where the data was ... | You are deep in quoting hell there. Your [CODE] command passes to [CODE] an argument like [CODE] Now [CODE] parses this, removing one quoting level. It expands the [CODE] to [CODE] , and the variables [CODE] and [CODE] in the [CODE] to empty strings (since it didn't receive any positional parameters), giving [CODE] (I ... | 1 | 1 | 356 | 2022-05-08T06:18:12.023 | pipeline_ops | serverfault.com | |
396,377 | Enforce invariants spanning multiple aggregates | Good day, Please help me solve the dilemma. I am trying to write an e-commerce engine relying on DDD. Problems associated with two aggregates, ProductType, and Product. Product is a classic product like in any other system with the exception that it can have a different set of additional properties. Features and compos... | Flip the problem. The [CODE] aggregate knows the details of [CODE] aggregate since the product's structure is governed by it. Instead of trying to create a product with a [CODE] parameter, invoke a method on [CODE] to create a new product instance. In other words, the factory method to create a new product will be part... | 0 | 1 | 547 | 2019-08-22T19:57:42.233 | data_quality | softwareengineering.stackexchange.com | |
224,929 | How can I justify making changes to my redo logs? | I don't spend a lot of time with my Oracle environment. I'm more of a SQL Server guy. I need to look into the alert logs to check for correlation of an application error. What I found instead was collections of this: [CODE] These are happening, in my test environment, rather frequently. At least once every 20 minutes f... | You don't necessarily need to duplex online redo. But if you have the disk space it should not hurt anything. You should probably add additional log groups. That will give your database more time to archive each online redo log before Oracle needs to use it again. Try adding 3 additional online redo log groups. | 3 | 1 | 148 | 2018-12-13T20:19:38.270 | hadoop_errors | dba.stackexchange.com | |
780,209 | scp to Windows2012Server running Microsoft's OpenSSH-server port, fails with `Broken pipe` | Just installed Microsoft-blessed's OpenSSH Window port and it works great for ssh sessions from Linux clients: [CODE] However, if I want to send a file using scp, it fails with: [CODE] Any idea what's wrong? | It seems you're using Windows paths correctly, so that is not your problem. However there appears to be currently issues when porting scp subsystem. Quoting from this issue : As for SCP I believe that there have been issues with porting it that have lead to it being removed for the last few releases until they can fix ... | 0 | 0 | 1,188 | 2016-06-01T08:43:35.997 | infrastructure | serverfault.com | |
826,048 | strongSwan: multiple rightsubnet using IKEv1 | https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection According to strongSwan documentation [CODE] with multiple network addresses only works with IKEv2. There is a common (?) workaround, to set up multiple connections, all using the same SA. Our scenario is that we use a Vigor 2860 as the company VPN gatewa... | If you only need resources behind Vigor available for VPN access from dial-in clients, you should use NAT on the client side when connecting to the gateway, and likely use L2TP/IPsec in transport mode to set up connections. This way your home offices' gateways would connect to the central hub, get IP addresses from the... | 0 | 0 | 1,341 | 2017-01-13T08:30:17.507 | infrastructure | serverfault.com | |
702,126 | How to have multiple AuthUserFile directive in proftpd.conf | In my CentOS where CPanel is installed in proftpd.conf, I can see directive [CODE] I wanted to add one more [CODE] directive, so Profptd uses one more file to lookup users beside [CODE] so I added one more line below [CODE] [CODE] but it seems it is not using my new AuthUserFile directive Can anyone help me to how to m... | According to the documentation you can have multiple [CODE] -directives if you have them in different VirtualHosts. It doesn't appear to me that what you're doing is supported. There are other ways to achieve what you are trying to: merge the two files (manually or automatically by cron for example) use another authent... | 3 | 3 | 1,108 | 2015-06-28T07:39:04.747 | infrastructure | serverfault.com | |
961,595 | fsync failed on Samba share, cannot write to anything | I have several Samba shares running on my Synology RackStation NAS server. Lets just call these Samba shares: [CODE] Each of the newtons is pointing towards a different RAID volume. [CODE] and [CODE] are working smoothly and accepting files in a timely way, as you would expect a Samba share to. But today I noticed that... | The solution ended up being a Rack Station web interface option that wasn't immediately apparent. The Shared Folder Quota was enabled at a quota size much less than what was already on this disk. Any incoming data which would exceeded the quota gave a write error because no more data was allowed to be written to that d... | 1 | 0 | 1,462 | 2019-04-04T22:11:46.617 | infrastructure | serverfault.com | |
73,317 | How can I use Postfix as a spam filter frontend for a Google Apps domain? | I have a domain that has its email hosted by Google Apps. This domain is similar (it's the .com while the real ISP is a .net) to an old major ISP and the count in "Spam" folder for the catch-all account is constantly almost a million emails per 30 days. Not only does the domain receive misaddressed emails, it receives ... | Sure that is possible. I don't know the exact details you would need for Postfix, but Google describes this basic setup on this page . | 0 | 2 | 257 | 2009-10-11T01:04:40.497 | pipeline_ops | serverfault.com | |
16,918 | Improving initial Cross Entropy in CNN | I have a Convolutional Neural Network, that is structured as binary classifier. I have two relatively standard convolutional/relu/pooling layers followed by 2 layer fully connected network outputting to a softmax with loss layer for the binary classification. However I observed something unusual: In Version 1 of the ne... | By increasing number of features in convolutional layers, you are actually increasing the number of learnable parameters which were initialized to random values. So, randomness increases and that's why the cross entropy loss increases.Hope this is satisfiable justification to your question. Ex, Suppose convolution laye... | 1 | 1 | 496 | 2017-02-13T01:57:18.537 | data_quality | datascience.stackexchange.com | |
102,838 | Best Approach to Migrating Oracle to MySQL - Run on EC2 in AWS | I'm trying to migrate an Oracle schema as well as all of the data within the DB to a MySQL database. I want to then make an EC2 app on AWS to kick off whatever I've written for this. Are there any approaches that one might say is better than another (for instance, use Ruby/Rails instead of Perl)? Is there a tool that I... | There are two tasks here. The migration to MySQL and setting up AWS. Setting up AWS is off topic here - try Superuser or Stackoverflow. You are in for a tough job. MySQL is a much simpler database and does not have as many features as Oracle. Also many things in Oracle are non-standard making it difficult to migrate to... | 0 | 1 | 1,619 | 2015-05-29T22:10:07.433 | database_errors | dba.stackexchange.com | |
833,723 | DNS (NSD) zone transfer not working | I'm trying to create a master/slave setup using NSD. I have NSD installed on two servers. The servers are running great; when I perform normal DNS queries they return the information from the zone files. However, when I try to [CODE] on the master, the slave doesn't seem to pick up the new zone configuration. The nsd.c... | The zone's serial number needs to be incremented after any changes A slave will first check if it has the most current zone before attempting a transfer, otherwise the notify is ignored. The common practice is to use the form YYYYMMDDxx where xx is a minor revision number (if accidentally set too large, there is a proc... | 2 | 2 | 4,598 | 2017-02-20T15:25:49.753 | infrastructure | serverfault.com | |
3,882 | Verify text present in jquery dialog box | I need to verfiy the dialog box displayed on clicking a 'Save' button for below conditions. Whether the dialog box is displayed? Text present in the dialog box? I have tried using all locators and finally using css selector as below. [CODE] //to verfiy whether dilaog box is displayed and i got exception as below org.op... | Hi guys i got it working when i changed the code as below new WebDriverWait(driver, 100).until(ExpectedConditions.presenceOfAllElementsLocatedBy(By.id("AdminMainContent_AlertBoxMER1_lblMsg"))); //waiting for the alert box to get displayed System.out.println(driver.findElement(By.id("AdminMainContent_AlertBoxMER1_lblMsg... | 3 | 1 | 2,574 | 2012-09-26T05:14:13.057 | data_quality | sqa.stackexchange.com | |
263,251 | Switch Redundancy for iSCSI | I am about to implement an iSCSI solution on our network. The thing that is bothering me though is that we are only using 1 switch from the SAN to node connections. Since each node has 2 NICs, is anyone able to give me some tips on how to set up a second switch and use the second NIC in such a way that if the first swi... | set up a second switch and use the second NIC in such a way that if the first switch were to die, then the second switch would take over Simply. You do not. You keep both lines separate. One dies, who ares. The trick is to use MPIO (Multi Path IO) which is part of the ISCSI implementation / Standard. Your server and th... | 1 | 4 | 526 | 2011-04-25T19:55:02.577 | database_errors | serverfault.com | |
33,162 | How can I change collation for all tables and columns in MySQL database? | I have a problem with MySQL collation. It turns out that MySQL uses [CODE] by default. Collation setup step has been missed on MySQL database instantiation for some reason. Thus, application setup wizard has created tables in MySQL database without regard to the required collation. As a result, all tables and columns h... | Just found out that I can use groovy for scripting purposes: [CODE] | 0 | 1 | 7,182 | 2013-01-18T13:54:35.033 | database_errors | dba.stackexchange.com | |
213,653 | Enterprise manager failed to start in oracle 10g | I am using oracle 10g with 4 instance with same server but one of them has failed to start Oracle Enterprise Manager and rest of three are working fine. [CODE] Here I posted error log file -> emagent.log [CODE] and when i am going to start agent is says agent is already running but while checking status it shows the ag... | To fix this issue: Find out which Time Zone the agent is currently configured with. Reset the Time Zone according to Oracle Documentation. Step 1) ============ [CODE] Step 2) ============= Oracle documentation has described steps for checking and setting EMs' TimeZone: http://docs.oracle.com/cd/E11857_01/em.111/e16790/... | 0 | 0 | 592 | 2018-07-31T13:06:08.617 | database_errors | dba.stackexchange.com | |
297,016 | how to add iptables rules for two NICs on CentOS(act as a gateway) | I have a machine C with two NICs, namely [CODE] and [CODE] , with CentOS 4.9 installed on it. Also I have a machine A connecting to C through [CODE] and a machine B connecting to C through [CODE] . Now I want machine A to be in a subnet (e.g. 192.168.3.0/24) and machine B to be in another subnet (e.g. 192.168.4.0/24) a... | A quick test: Control Panel -> Windows Firewall (under System and Security, if you do that sort of thing). In the left pane, click 'Turn Windows Firewall On/Off', then turn off the Firewall in the right pane. If you can ping it then, great... you can turn it back on, and allow ping by using the directions at http://www... | 3 | 1 | 1,603 | 2011-08-03T09:05:30.477 | infrastructure | serverfault.com | |
72,823 | Creating more than one worker nodes for local windows machine | I am using windows laptop. And I installed apache spark for my laptop. And I try to measure spark performance by changing spark components. because of that I want to create more than one worker nodes for my local windows machine. first of all I want know is possible to add more worker nodes in my windows machine?? Next... | There is no value in this. local[*] master will already use all cores and you can use as much local memory as you like already. Starting a worker just adds overhead. | 0 | 1 | 74 | 2020-04-23T02:22:15.940 | spark_errors | datascience.stackexchange.com | |
30,465 | Tips to improve Linear Regression model | I have just run a Linear regression model on the Dataset having 7 independent variable and 1 target variable. Below is the R squared and MSE values. Mean squared error for training set : 36530921.0123 $R^2$ value for training set : 0.7477 Can anybody please give me some tips to increase the efficiency of this model. Ed... | You can build more complex models to try to capture the remaining variance. Here are several options: Add interaction terms to model how two or more independent variables together impact the target variable Add polynomial terms to model the nonlinear relationship between an independent variable and the target variable ... | 3 | 6 | 35,532 | 2018-04-18T07:04:30.120 | data_quality | datascience.stackexchange.com | |
107,148 | Very low table cache hit rates | I have been trying to tune my MysSQL databases, but always having a very low cache hit rate. I suspect partially because I run a sitemap crawler that is crawling 1.3 million pages. But, besides that, the most site traffic is on a dozen of those pages. While I have a large [CODE] , only a small number of tables ever see... | since nobody answered, i had to test and test and find my own solution, my auto repair and optimize cron job was closing all the tables causing the low hit rates, after removing --autorepair the open tables has been climbing, and the hit rate slowly increasing is there a cron command that would only optimize tables tha... | 2 | 1 | 1,171 | 2015-07-16T05:58:34.463 | database_errors | dba.stackexchange.com | |
227,745 | 32bit vs 64bit on low-end server | Possible Duplicate: Which OS should I choose for my VPS ? On a low-end server (one virtualize 64bit core at 2.5Ghz and 512MB memory), does it make more sense to install 32bit or 64bit Linux? The 64bit installation will use up more resources on disk and memory, but how would they compare on performance? | Choose 32-bit if you're constrained by memory. In most cases, there is very little difference in performance. This especially applies to virtual machines. However, with only 512 MB of RAM allocated, you'll be bumping up against the memory limit right away. Using a 32-bit OS with 32-bit apps will help this slightly. | 0 | 5 | 376 | 2011-01-27T18:36:37.670 | data_quality | serverfault.com | |
267,233 | See file access records if not super user | Is it possible to see who has accessed a file (not necessarily modified) if you don't have admin rights on linux? For e.g., user [CODE] has permission [CODE] on a folder [CODE] and user [CODE] reads a file [CODE] from folder [CODE] . Will it be possible for [CODE] to see that [CODE] accessed [CODE] ? | No, even for root, Linux doesn't do that level of auditing out of the box. You have to install and configure auditd for your distro to see those events. User A would also need to have permission to read the log files so the real answer is likely to be no. | 1 | 2 | 58 | 2011-05-07T06:26:15.430 | infrastructure | serverfault.com | |
38,926 | SQL Server Performance counters | I have a SQL Server 2005 instance that is experiencing some slow times. This link shows the perfmon details. Since I don't analyze this type of data daily, I was wondering if there a some real problems with the I/O system. The server is using a SAN and the DB files and Tempdb files are on the same drive(E:). Not the be... | Based on the data provided you've got something going on. Your disk queues are seconds per read and seconds per write counters are a lot higher then you want them. Now the catch here is that this doesn't mean its a disk problem, just that the disks are getting slammed. You could have an indexing problem, or a statistic... | 1 | 1 | 515 | 2009-07-10T14:15:03.630 | database_errors | serverfault.com | |
72,340 | Splunk: How Do I Extract Fields from W3C Extended Format | I'm trying to configure Splunk to properly parse the fields of the W3C log format. Now, I'm running into configuration confusion: where and how do I specify how to split up the log format? My Inputs.conf looks like this: [CODE] I tried adding this to my sourcetypes.conf: [CODE] But using ths as a sourcetype failed to e... | You can filter the lines beginning with a # using a transform. In props.conf (you can just add the extra line below your existing setup): [CODE] In transforms.conf: [CODE] | 0 | 1 | 4,184 | 2009-10-07T22:51:11.930 | infrastructure | serverfault.com | |
507,576 | Mongodb production server too slow compared to staging | We have two sets of db and app servers running on Rackspace VPS. Production and Staging. The app is on Rails and db is MongoDB. While staging(with as many documents as prod, 55k) works just fine, production server is terribly slow. By a factor of 20 or more. Even simple queries take close to 18 secs! Here's what I did ... | Turns out the culprit was something else all together. Ubuntu's error reporting package called Whoopsie. Here's how it was tracked. Mongostat showed unusually high number of faults which meant the data wasn't available in RAM and was mongo was probably hitting the disk for every query. Then I issued the Linux free comm... | 3 | 3 | 666 | 2013-05-14T09:09:33.740 | database_errors | serverfault.com | |
1,014,554 | VM client doesn't route packages correctly anymore (to specific networks) | I have kind of a strange problem. After rebooting a server a few days ago, it doesn't route its packages correctly. It basically doesn't answer (pings for example) if these packages come from specific networks. It's a virtual machine (Qemu, KVM, Debian 10). On the same host there is another virtual machine, nearly iden... | Solved it. Deleted the arp table entry for this interface on the gateway. It created a new entry and now it works again. | 0 | 1 | 43 | 2020-04-28T08:42:33.673 | infrastructure | serverfault.com | |
443,828 | How to link many large strings in a maintainable way | I'm developing an app that will work as a troubleshooter. In this, I want to ask the customers only relevant questions instead of giving them an exhaustive list. Every option they choose will have to be linked to a new question with only a few answers, so I can distill the issue they are having effectively and without ... | Hi and welcome to the board :) I'm not exactly sure if I understand your question correctly, so let me rephrase it in my own words: I want to help customers to troubleshoot their problems on their own. To help them to get to the right answers, I'm creating a drill-down menu where each question leads to a more detailed ... | 1 | 1 | 150 | 2023-02-07T07:47:30.287 | api_errors | softwareengineering.stackexchange.com | |
879,868 | SaltStack | How to assign the shell output from cmd.run to Jinja variable? | Problem Unable to assign the output from [CODE] in my Salt State. The condition always return true even if the [CODE] in the minion is not really equal or beyond the [CODE] . I also included in the configuration the things I have tried. Configuration [CODE] Running [CODE] in CLI [CODE] Salt and OS Version [CODE] | I think the main problem is that [CODE] from [CODE] is not a number but a string and you have to convert it. Using [CODE] (or even [CODE] ) like this works: [CODE] Output: [CODE] With [CODE] : [CODE] EDIT: You can get the load average using directly the salt module [CODE] : [CODE] In jinja: [CODE] | 8 | 11 | 23,225 | 2017-10-23T17:18:11.513 | infrastructure | serverfault.com | |
297,378 | Is there any user-friendly version of the RUN AS feature | Background I have some Windows XP virtual machines that are used to run some low-trust software. Domain accounts assigned to be used on these machines are forbidden from accessing files shares or logging into any other computer. However, with domain accounts (unlike local accounts), a user will not be prompted to log-i... | I think you are seeking a [CODE] equivalent on windows. Not sure if it is good but you could try to have a look at sudo for windows It doesn't change the user and profile and you don't need to type the new group/username. | 2 | 2 | 169 | 2011-08-04T00:51:07.027 | infrastructure | serverfault.com | |
219,388 | Execute UNION and after LEFT JOIN in MySQL | I have 3 tables cdc_vw_Marbetes_Catalogo_Exis tblMarbetesAdicionales tblMarbetesCongeladas First I make a [CODE] of the tables [CODE] with [CODE] . [CODE] Result of the union: Column(CLAVE) [CODE] In table [CODE] have: [CODE] But from the result of that union I want to make a [CODE] to get the records that are not in [... | You are on the right way but just messed up with the syntax. [CODE] | 0 | 2 | 18,773 | 2018-10-05T16:56:41.460 | database_errors | dba.stackexchange.com | |
93,087 | Perform clustering from a similarity matrix | I have a list of songs for each of which I have extracted a feature vector. I calculated a similarity score between each vector and stored this in a similarity matrix. I would like to cluster the songs based on this similarity matrix to attempt to identify clusters or sort of genres. I have used the [CODE] package to c... | I am not sure that the positions of the force-directed graph perform better than direct clustering on the original data. A typical clustering approach when you have a distance matrix is to apply hierarchical clustering . With scikit-learn, you can use a type of hierarchical clustering called agglomerative clustering, e... | 2 | 2 | 5,324 | 2021-04-15T11:08:59.843 | data_quality | datascience.stackexchange.com | |
135,244 | Generate backup script of SQL Agent Jobs using c# | I am using C# code to read all the SQL Agent Jobs: [CODE] How can I generate a script out of it, so that I can run it on any server? When I run the program, it should read all jobs from the server and generate a script. Is there any built-in method? Will SQL Server Development Tools help? | You can use the Script method of the Scripter object in SMO to achieve that. An example can be found here . | 0 | 0 | 954 | 2016-04-14T05:05:55.467 | database_errors | dba.stackexchange.com | |
6,923 | AWS lambda: works locally but fails in deplyment | I have a node.js lambda function that adds a database entry and then calls another lambda function. The code works fine when I test locally via [CODE] but it fails when I invoke the deployment [CODE] here is the relevant lambda code: [CODE] The command shows [CODE] and in out.txt, I get [CODE] Any tips on how to debug ... | I've resolved the issue now. First of all, console.log(e) should be used to log the result. Then the error will appear in CloudWatch. The problem was that the role that was used by the lambda did not permit invoking other lambdas. This can be fixed by granting the missing InvokeFunction permission for the role. | 0 | 1 | 1,334 | 2019-04-22T06:36:12.887 | pipeline_ops | devops.stackexchange.com | |
822,361 | openssl secure renegotiation (not supported) | I'm running a web service implemented on Ubuntu 14.04 LTS server. I'm debugging [CODE] connection breaking after some time between a client using [CODE] and a server using [CODE] . I don't have access to the client side myself, only to the server and the router. When I run [CODE] in place of the server I see the messag... | There are four types of renegotiation possible: Client-initiated secure renegotiation Client-initiated insecure renegotiation Server-initiated secure renegotiation Server-initiated insecure renegotiation Since the discovery of the possibility to perform renegotiation attacks ( CVE-2009-3555 ), a vulnerability that exis... | 6 | 6 | 22,470 | 2016-12-22T22:17:40.017 | infrastructure | serverfault.com | |
364,411 | MongoDB not replicating properly | I am using mongoDB for my application hosted on 3 amazon instances. I have a got a Primary Node with highest priority (100) and 2 Secondaries with priority 99 and 98. A few days ago I started getting MongoCursorExceptions while accessing primary node. I thought it had something to do with my primary server running out ... | I managed to resolve this issue by restarting mongod on secondary nodes. I think the nodes had gone into a stale state. | 1 | 2 | 344 | 2012-02-28T10:53:11.060 | database_errors | serverfault.com | |
615,048 | Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM) | Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows what to do about it. I got Munin up and running but Munin dynamic graph zoom (dynazoom) is not working it seems like a pr... | You have wrong [CODE] parameter, it should pass requests to spawn-fcgi just as munin's wiki says not to php-fpm. For Ubuntu/Debian: [CODE] And dont forget to fix nginx location and restart it afterwards: [CODE] | 6 | 8 | 8,762 | 2014-07-24T05:50:20.433 | pipeline_ops | serverfault.com | |
573,063 | Root user is not able to access | I had a ubuntu user which has root level privileges but I haven't created password for it, there are other user also on the machine but none of them have sudo permissions, unfortunately permissions on .ssh directory in the ubuntu home directory has been changed and now I cannot login using ubuntu user credentials and t... | I recommend booting into command line mode. Then you can boot as root and then you can reset your users's password using the passwd command. You can pay a look at: http://ubuntuforums.org/showthread.php?t=1904347 Someone seems to have the same problem than you do. Greetings PS: It might also be a good idea to set a pri... | 2 | 0 | 205 | 2014-02-04T11:55:51.813 | infrastructure | serverfault.com | |
118,141 | Linux server halting every few days | Our Linux Server keeps getting the following message every few days. Where would I go to track down this issue? Broadcast message from root (Mon Mar 1 20:13:57 2010): The system is going down for system halt NOW! Edit: /var/log/messages looks like this Mar 1 18:10:05 CFMC2 sshd(pam_unix)[3326]: session closed for user ... | The last time I saw this it turned out to be a bad motherboard sensor. The sensor was convinced the server was overheating and the OS would just shut down. Check your BIOS or built-in management for hardware event logs that might describe what is happening. | 3 | 3 | 1,059 | 2010-03-02T03:24:11.010 | infrastructure | serverfault.com | |
368,780 | PHP on command line displays "Out of Memory", no file name, line number or memory value | I originally posted this at https://stackoverflow.com/questions/9665189/php-on-command-line-displays-out-of-memory but was advised to post here instead. This is not the normal fatal error when you run out of memory in a script, as it doesn't give a file name, a line number or the amount of memory used. It simply says "... | After re-reading your comments above and your original post - you ran [CODE] as [CODE] - but you said that [CODE] is unaffected. Your issue here is [CODE] , but at a user level. Log in as your [CODE] user and run [CODE] and you will probably find your memory is limited. | 8 | 8 | 2,006 | 2012-03-12T11:19:26.903 | infrastructure | serverfault.com | |
297,961 | restarting master and slave machines without breaking master slave MySQL replication | We need to resize the size (CPU and RAM) of two database servers having MySQL server 8: master and slave , but this operation implies that those machines will be restarted , And I think a restart of those machines might cause a problem in replication ! Is there a proper way to restart our machines without breaking the ... | You can stop and start master and slave in any order you want. It doesn't matter, master first or slave first - for both stop and start. The only requirement is master's [CODE] config option should be bigger than maintenance duration. Otherwise master on start will rotate its binlogs faster than slave get a sync. Keep ... | 1 | 3 | 944 | 2021-08-12T15:51:40.520 | database_errors | dba.stackexchange.com | |
879,248 | Does a copied user get the same folder permissions on a share? | This should hopefully be an easy question: Let's say User#1 has explicit Modify permissions to a specific shared folder. We make a copy of User#1 and call it User#2. Will User#2 also have explicit permissions on the same share? | No, permissions are based on the SID (unique identifier assigned to every users, groups, etc... ) The newly created user will have a new SID. You should put your users into groups, and then give permissions on the group instead of users. | 0 | 2 | 153 | 2017-10-19T11:25:56.867 | infrastructure | serverfault.com | |
311,799 | How to test calculations that are only passed down into the stack rather than returned upward | This is a problem I have been trying to wrap my head around a couple months now. It has shown up again in a learning project I was working on last night, so I will use that as an example. I am building an entity-component system, and have a Movement system that controls the movement of each entity on each turn. [CODE] ... | First, your option 2 is not so bad is it might look to you. Having two separate, decoupled components A and B with a data flow from A -> B through a public interface allows you to test them each individually, or to "plug" some kind of monitor component M between them "A->M->B" for testing or logging purposes. However, ... | 7 | 7 | 204 | 2016-03-04T15:58:02.237 | api_errors | softwareengineering.stackexchange.com | |
436,156 | Direct Access on Server 2012 | Scenario : Windows Server 2012 with the Remote Access role installed. IP set to static, registered DNS. 3 domain controllers, all running Server 2003 ( I suspect this may be the issue ) Done so far: DNS registered, firewall turned off after IPsec was applied. Able to ping all 3 DC's with no issues Problem: Going throug... | DirectAccess requires at least one Server 2008 or above Active Directory DC with IPv6 enabled. See http://technet.microsoft.com/en-us/library/ee382305(v=ws.10).aspx for all requirements. Keep in mind, without a 6to4 NAT Device (Forefront UAG, etc...), DirectAccess only allows access to IPv6 resources. 2003 and XP have ... | 1 | 1 | 1,931 | 2012-10-08T21:14:45.540 | infrastructure | serverfault.com | |
785,103 | ADFS claim rule to get all users in a group | I am trying to create a claim rule to return all usernames in a group when I authenticate to the ADFS server. Currently I have claim rules setup to return the username of the person who logged in, but I am trying to get all usernames in a specific group. Eventually I would like to get usernames and emails, but for now ... | You want "member". Refer AD FS 2.0: Using RegEx in the Claims Rule Language where there is a similar example using "memberOf". So have a static rule to set the group into a claim e.g. http://company.com/group as an "add" and use that as input into the "member" claim. | 1 | 0 | 1,196 | 2016-06-20T19:31:20.973 | infrastructure | serverfault.com | |
131,888 | nginx won't respond to monit | Although EngineX is running, monit can't seem to figure it out. Here's my monit log: [CODE] The monitrc file contains the following configuration: [CODE] I can access the file through lynx http://localhost:80/ping.txt without any problems. Why would monit have trouble requesting the file when nginx is running just fine... | The issue turned out be the cause of version discrepancy. My original monitrc file was intended for v5+, but the box it was running on used Monit 4.1 | 0 | 0 | 761 | 2010-04-13T09:27:47.370 | infrastructure | serverfault.com | |
846,938 | Azure RM VM - The VM agent is either unavailable, or not installed, which may prevent VMAccess from running | I have created a new Azure RM VM in a new resource group.This resource group also contains a new storage account, into which I have copied a VHD for the new VM. This VHD is a copy of one that works well on a different VM in a different resource group and location. If I go to Boot diagnostics from the portal, I can see ... | This VHD is a copy of one that works well on a different VM in a different resource group and location. According to your description, you don't execute sysprep before your copy your VM. You could not start two VMs at the same time if you don't execute [CODE] . More information about [CODE] please refer to this link . ... | 4 | 2 | 27,660 | 2017-04-27T15:51:24.040 | infrastructure | serverfault.com | |
294,124 | Operations Job Queue Strategy | I am working on an application that requires manual approval of requests put in by customers. Now lets say there are 10 people involved in this operation and each of them has a webpage in front of them that serves one request after the other. The problem I am trying to solve is that the same customer request should not... | I think your solution is fine in general. It's an example of pessimistic locking and invaluable if you want to spare resources or process high-contention data. In your case, as the purpose of these operators is solely to process your customer requests, contention seems likely. So, you're locking the record ensuring tha... | 2 | 3 | 108 | 2015-08-20T06:34:33.997 | database_errors | softwareengineering.stackexchange.com | |
76,566 | What is a Windows Azure Compute Hour? | Possible Duplicate: Can you help me with my software licensing issue? According to pricing details on the Microsoft Windows Azure website, compute hours cost 12 cents each, but what are they? | This is the time that your process (Hosted by Azure) is loaded and executing. Your charges are calculated by a combination of Compute Hour and bandwidth used. I see that someone is trying to close this Question. I think this is a fair question for stackoverflow, it's on the edge of being a programming question (Azure c... | 7 | 2 | 6,033 | 2009-10-21T00:24:08.233 | data_quality | serverfault.com | |
286,295 | IIS7.5 redirect IP to domain | But stuck on this one, looked on google but couldnt find anything. The deployment of the site went slightly wrong and some pages were being saved as: http://73.34.12.../page.aspx Where the IP was the underlying IP address for the domain (so the pages served fine). Now however, lots of crawlers are indexing the IP site,... | When site is accessed by IP the HTTP_HOST will be an IP address (or maybe just blank -- I have tested this on my PC and is was an IP address). If so -- then you can use simple URL Rewrite rule to do a 301 redirect to a proper domain name. Here is an example of such web.config (when HTTP_HOST is an IP). You need URL Rew... | 5 | 10 | 22,322 | 2011-07-01T22:01:33.853 | data_quality | serverfault.com | |
1,050,990 | Samba installation fails, missing directories | I tried installing samba on my debian server, and the installation failed with [CODE] While I would like to ignore the error as instructed ( [CODE] ), it leaves me with not fully installed package. Never mind that, I believe this can be fixed somehow. The problem is that the package is not working. By googling and manu... | Reinstalling samba (with [CODE] and [CODE] ) didn't work, but what worked was to reinstall samba-common and samba-common-bin [CODE] | 0 | 1 | 3,985 | 2021-01-24T14:35:17.507 | infrastructure | serverfault.com | |
229,272 | What is the best type of account to use for SQL services? | We run stand alone instances all virtual. SQL 2012 - SQL 2017 Backups are performed by a third party tool so the server has no need to access anything on the network. Agent jobs are all run via proxy accounts. I've started to use virtual service accounts since i don't see the need to setup AD accounts and also Microsof... | I generally start with AD accounts because someday, someone's going to want to join this server into an Availability Group. Then, they're going to wonder why they have problems with Kerberos authentication. Books Online states: All server instances that host an availability replica for the availability group must use t... | 3 | 3 | 246 | 2019-02-08T19:35:32.617 | database_errors | dba.stackexchange.com | |
416,537 | Why does a valid set of iptables rules slow my server to a crawl? | So I implemented some a different set of iptables rules and now if i enable them, then lighttpd simply takes forever to load php enabled pages(like wp). There is no load on the server, processor usage stays low. Here is my config, what could be the cause of this ? *filter :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :fai... | You're missing a rule to accept traffic based on existing traffic (the rule that makes iptables stateful). This should be your very first rule: [CODE] | 2 | 10 | 7,080 | 2012-08-11T11:42:06.427 | infrastructure | serverfault.com | |
307,658 | How does breaking up a big method into smaller methods improve unit testability when the methods are all private? | I'm presently reading Building Maintainable Software by Joost Visser and some of the maintenance guidelines they recommend include: A) each unit/method should be short (less than 15 lines per method) and B) methods should have a low cyclomatic complexity . It suggests that both these guideline helps with testing. The e... | After having written lots of test, I am strongly in favour of splitting up large methods, and of testing private methods. Splitting up functionality into smaller steps has two great advantages: By introducing a name for an operation, the code becomes more self-documenting. By using smaller methods, the code is simpler ... | 11 | 11 | 2,808 | 2016-01-17T23:11:39.027 | api_errors | softwareengineering.stackexchange.com | |
631,262 | SASL authentication failure: Password verification failed (postfix + cyrus + saslauthd) | We're having difficulties authenticating over smtp, running postfix + cyrus on centos 7. When I try to telnet to port 25 (or 587) locally and auth plain, I get the following errors in the mail log: Sep 25 10:25:00 blabla postfix/smtpd[3858]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2:... | The error message unable to open Berkeley db /etc/sasldb2: Permission denied was generic message that postfix can't open that directory because permission issue. Use chmod and/or chown to grant access on [CODE] to postfix [CODE] or [CODE] For security reason, I would suggest the first option. Reference: blog.penumbra.b... | 3 | 2 | 15,911 | 2014-09-25T14:39:19.987 | api_errors | serverfault.com | |
293,979 | Tool to troubleshoot wireless connections | Having a lot of issues with a wireless network with multiple APs sharing the same SSID. I have a tool I use on my android phone ( wifianalyzer ) that is helpful, but I need a more comprehensive set of diagnostics that would run (preferably) from a windows laptop. Are there any useful open source or free tools for this?... | FYI, multiple APs are supposed to share the same SSID, provided they are connected to the same physical network. What you don't want is them on overlapping channels near each other. Remember, there are only 3 channels that don't overlap, (1, 6, 11), so you should do your best to keep the channels from conflicting. They... | 2 | 4 | 164 | 2011-07-25T20:38:33.727 | infrastructure | serverfault.com | |
87,138 | Enterprise Linux: VLAN bridges | How do you properly configure vlan bridges on RHEL5 or OEL5? I've tried the following network-scripts, but no packets are recieved on the bridge. If I add an ip address to vlan60 I'm unable to reach the gateway for that subnet. If I add the same address to eth0.60 it works fine. I also notice that vlan60 has hardware a... | The output from brctl lists the bridge, but not the vlan interface (eth0.60) Turns out the Bridge=vlan60 statement should have BRIDGE in all caps, while the TYPE=Bridge statement should be mixed case. Since I had the first one wrong, the vlan interface was simply never added to the bridge. Solution: Change Bridge=vlan6... | 1 | 2 | 1,021 | 2009-11-22T17:19:19.643 | infrastructure | serverfault.com | |
667,158 | ejabberd 14.12 xml rpc enable | I've got problem with my new ejabberd installation. I need to enable mod xml_rpc, so what I do: [CODE] So it's look now like this [CODE] But in my logs i got these errors and ejabberd won't work. [CODE] Can someone help me how i can enable it? | Remove the spaces before each uncommented line, it worked for me. | -1 | 0 | 385 | 2015-02-12T16:34:50.180 | infrastructure | serverfault.com | |
46,218 | Standalone Trac (tracd) woes | I have installed and configured trac and it runs fine using the standalone tracd command. The problem is this: when I exit the terminal it suddenly terminates. I have tried: CTRL+Z, bg : now tracd runs but does not respond after I exit the terminal. the process is still there. I have tried setsid tracd ... . Same thing... | run tracd either in screen, or run [CODE] And it'll continue to run after you close the terminal. In the long run, you'll probably want to add it to your init scripts or something however. | 3 | 5 | 604 | 2009-07-26T18:01:13.733 | infrastructure | serverfault.com | |
850,510 | Router Wi-Fi not working after power failure | I know this sounds lame, but it's the second consumer router in as many months which has Wi-Fi issues after power failures. My electric utility company sent notices this morning that they were working on the power grid, and that we'll have outages today (this is my home). I unplugged the NAS and the computer, but didn'... | The router is surely dead for the WiFi, please try another's one. Maybe use a UPS to protect your network gear. | 0 | 1 | 135 | 2017-05-16T18:58:39.333 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.