Hot answers tagged

12

Here is how I did it. Had to hack it. a) Download Oracle 11.2 XE for Linux 64 in your $HOME b) Unzip the zip file you get c) Unpack the content of the rpm file without installing it (we don't need the Oracle RDBMS to be running on the server) mkdir ~/Oracle11XE-binaries cd ~/Oracle11XE-binaries # extract all the binaries from the RPM (rather ...


10

I guess one of the better solution would be to upgrade to Subversion version 1.7+ # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # rpm -q subversion subversion-1.7.14-6.el7.x86_64 # As Subversion 1.7+, has following: svnrdump - Subversion remote repository dumper and loader And then one can use following: $ svnrdump dump ...


8

Generally: no, there is no way to Reliably kill a coredump. That being said there is a possibility (at least in linux) for commercial *NIX probably no way The possibility lies in the fact that the 3.x series of the kernel is able to interrupt file writing. One possibility is to find the thread that is doing the dumping and repeatedly send SIGKILL to it ...


8

Now pg_restore has -d option and you could set database name for importing data. on source: pg_dump -v -Fc mydb.dmp mydb on dest: createdb -T template1 mydb2 pg_restore -v -e -d mydb2 mydb.dmp


6

You can use sed to search for engine myisam and replace it with engine innodb. sed -e 's/engine myisam/engine innodb/g' file.sql > file_innodb.sql


5

Another approach, is to disable overcommitting of memory. To restore some semblance of sanity to your memory management: Disable the OOM Killer (Put vm.oom-kill = 0 in /etc/sysctl.conf) Disable memory overcommit (Put vm.overcommit_memory = 2 in /etc/sysctl.conf) These settings will make Linux behave in the traditional way (if a process ...


5

echo 1 > /proc/sys/vm/oom_dump_tasks which seems about the max that you can get the kernel to display on out-of-memory errors. https://www.kernel.org/doc/Documentation/sysctl/vm.txt Enables a system-wide task dump (excluding kernel threads) to be produced when the kernel performs an OOM-killing and includes such information as pid, uid, tgid, vm ...


5

You can use Powershell Get-GPOReport command to export all your GPO settings either to HTML or to XML file. Import-Module GroupPolicy # Export a specific GPO Get-GPOReport -Name "Default Domain Policy" -ReportType Html -Path Default.html Get-GPOReport -Name "Default Domain Policy" -ReportType Xml -Path Default.xml # Export all GPOs Get-GPOReport -All -...


4

You do NOT need to fully install an Oracle instance. Download the Oracle Client as mentioned in George3's answer Install - when it asks you to select either Instant Client, Runtime, Administrator, or Custom <-- pick Custom. Select Database Utilities. This contains the exp/imp files


4

It turns out systemd supports setting limits in the configuration files, the information is just scattered throughout various man pages. According to systemd.exec, the limit for core dump creation / file size is set with LimitCORE. Additionally, it is possible to modify a unit / service configuration without having to modify the system-provided config file. ...


4

Both procdump and WER are good for capturing user-mode crash dumps when an application crashes. The rule of thumb is that the more comprehensive the dump, the more useful it can be, because mini-dumps and hybrid-dumps and custom-dumps all omit bits of data that might have been useful in a root cause investigation for the sake of saving disk space. WER ...


3

This could be related to the ssl session cache issue that is described in this ticket for nginx, http://trac.nginx.org/nginx/ticket/235.


3

You are not "using the same account, same role, and same host", not even close. In your pg_dump call you don't supply any username (-U) or database (-d), only a hostname (-h) and schema (-n). So pg_dump uses your system user as a DB username and database to connect to. Judging by the error message, your system user seems to be "cs-rsub". In the psql call ...


3

You can use the Registry Editor (regedit.exe) to configure the dumps generated by WER when an application crashes: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps Create or modify the following Values: DumpCount (DWORD) The DumpCount value is the number of dumps WER will save and keep. Don't set this value too high ...


3

First, your nginx has to be compiled with --with-debug configure option. If you're using freebsd ports you'd do add something like CONFIGURE_ARGS+= --with-debug To the Makefile in nginx's ports directory. Then, in nginx.conf worker_rlimit_core 2048M; working_directory /path/to/cores/; in nginx.conf and in /etc/sysctl.conf kern.coredump=1 kern....


3

Mysqldump won't have any options to dump only on views.The below command will help you to take the backup of only views. mysql -uroot -pPassword INFORMATION_SCHEMA --skip-column-names -e "select table_name from tables where table_type = 'VIEW' and table_schema = 'sakila'" | xargs mysqldump -u root -pPassword sakila > only_views.sql


3

https://msdn.microsoft.com/en-us/library/windows/hardware/ff559244(v=vs.85).aspx UNEXPECTED_KERNEL_MODE_TRAP (7f) This means a trap occurred in kernel mode, and it's a trap of a kind that the kernel isn't allowed to have/catch (bound trap) or that is always instant death (double fault). The first number in the bugcheck parens is the number of the trap (...


2

Try a 3rd-party utility to trigger the BSOD like NotMyFault https://docs.microsoft.com/en-us/sysinternals/downloads/notmyfault


2

Since its windows I'm surprised no one has suggested get-content -readcount 0 | select-object -index 149350


2

Surprised no one suggested: grep -n 149351 dump.sql


2

Instant client tools provides exp / imp utilities since v12.2.0.1.0. Unrestricted download is available: https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html


2

Note that if you have PrivateTmp=true set in your /usr/lib/systemd/system/apache2.service (or whatever it's called on your system), meaning Apache actually looks for /tmp inside something like /tmp/systemd-private-c27fc5b152d546159d675e170641529b-apache2.service-IcEt0m/, Apache won't be able to write to that dir and you won't get cores dumped at all (due to ...


2

I keep coming back to this question of how to query a DB snapshot and ended up throwing together a collection of Docker calls that pull up phpmyadmin for a .sql dump file. This isn't exactly a lightweight solution, but it's quick (after bringing in the Docker images the first time, anyway) and the created databases and servers are disposable. With the (...


2

You can use '!sym noisy' to turn on verbose symbol loading messages. That should at least show which symbol(s) are not loading properly.


2

Google CoreDumper springs to mind. It makes a copy-on-write copy of the process's address space, see WriteCoreDump() (see "Notes").


2

If you are using Intel E5 CPUs check this KB Article: http://kb.vmware.com/kb/2073791 Symptoms When running a virtual machine with Windows 2008 R2, Red Hat Enterprise Linux or Solaris 10 64-bit, you may experience one of these symptoms: •Windows 2008 R2 blue screen events: 0x0000000a - IRQL_NOT_LESS_OR_EQUAL 0x0000001a - MEMORY_MANAGEMENT ...


2

If your program is running as root, then the limits.conf entries you added would not apply. "*" applies to all users except for root. If your program is running as root, add the following: root hard core unlimited root soft core unlimited Also, ensure that SELinux is not preventing the writing of the core dump. getenforce If SELinux ...


2

No. Dumps can be analyzed offline (just like you did). Yes, assuming you've got the symbol server setting correct. Yes, that is the address of the PEB of the failing process. The process name is given in your analysis. You can get the complete PEB by typing !PEB 0xffffe0018668f080 in Windbg. The image name and process name are confusing to me though. The ...


2

dump cannot dump XFS, use xfsdump


2

To dump an XFS filesystem, you should use the xfsdump utility. For example: xfsdump -l 0 - / will dump the / filesystem to stdout To dump on using another device/file as destination: xfsdump -l 0 -f /dev/otherdev / For more information, you can see here


Only top voted, non community-wiki answers of a minimum length are eligible