Skip to content

Instantly share code, notes, and snippets.

@darkain
Created July 20, 2020 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkain/c55c2baae55b259e11d47e0cb4dcfc2f to your computer and use it in GitHub Desktop.
Save darkain/c55c2baae55b259e11d47e0cb4dcfc2f to your computer and use it in GitHub Desktop.
root@pinebook-pro /var/db/mysql# truss mysqld_safe
mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1076486144 (0x4029e000)
mprotect(0x4028c000,4096,PROT_READ) = 0 (0x0)
issetugid() = 0 (0x0)
sigfastblock(0x1,0x4029d940) = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=85581,size=115,blksize=32768 }) = 0 (0x0)
read(3,"# $FreeBSD: head/libexec/rtld-el"...,115) = 115 (0x73)
close(3) = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0145) ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,010015107) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M-\\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=31867,size=348,blksize=32768 }) = 0 (0x0)
pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,220,0x80) = 220 (0xdc)
close(3) = 0 (0x0)
open("/lib/libedit.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,04) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=28223,size=201448,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076199424 (0x40258000)
mmap(0x0,413696,PROT_NONE,MAP_GUARD,-1,0x0) = 1076621312 (0x402bf000)
mmap(0x402bf000,81920,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1076621312 (0x402bf000)
mmap(0x402e2000,114688,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x13000) = 1076764672 (0x402e2000)
mmap(0x4030d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2e000) = 1076940800 (0x4030d000)
mmap(0x4031e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2f000) = 1077010432 (0x4031e000)
mmap(0x40320000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1077018624 (0x40320000)
munmap(0x40258000,4096) = 0 (0x0)
close(3) = 0 (0x0)
open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,04) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=27883,size=1959328,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076199424 (0x40258000)
mmap(0x0,4382720,PROT_NONE,MAP_GUARD,-1,0x0) = 1077035008 (0x40324000)
mmap(0x40324000,499712,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1077035008 (0x40324000)
mmap(0x403ad000,1343488,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x79000) = 1077596160 (0x403ad000)
mmap(0x40504000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1c0000) = 1079001088 (0x40504000)
mmap(0x4051d000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1c9000) = 1079103488 (0x4051d000)
mmap(0x40524000,2285568,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1079132160 (0x40524000)
munmap(0x40258000,4096) = 0 (0x0)
close(3) = 0 (0x0)
open("/lib/libncursesw.so.9",O_RDONLY|O_CLOEXEC|O_VERIFY,010013030356) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=28248,size=428096,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076199424 (0x40258000)
mmap(0x0,626688,PROT_NONE,MAP_GUARD,-1,0x0) = 1081417728 (0x40752000)
mmap(0x40752000,184320,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1081417728 (0x40752000)
mmap(0x4078e000,229376,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x2c000) = 1081663488 (0x4078e000)
mmap(0x407d5000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x63000) = 1081954304 (0x407d5000)
mmap(0x407e8000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x66000) = 1082032128 (0x407e8000)
mmap(0x407ea000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1082040320 (0x407ea000)
munmap(0x40258000,4096) = 0 (0x0)
close(3) = 0 (0x0)
mprotect(0x4030d000,8192,PROT_READ) = 0 (0x0)
mprotect(0x40504000,40960,PROT_READ) = 0 (0x0)
mprotect(0x407d5000,16384,PROT_READ) = 0 (0x0)
readlink("/etc/malloc.conf",0xffffffffd3ec,1024) ERR#2 'No such file or directory'
issetugid() = 0 (0x0)
__sysctl("vm.overcommit",2,0xffffffffb984,0xffffffffb978,0x0,0) = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 1082130432 (0x40800000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 1084227584 (0x40a00000)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 1086324736 (0x40c00000)
mprotect(0x243000,4096,PROT_READ) = 0 (0x0)
getpid() = 72443 (0x11afb)
geteuid() = 0 (0x0)
getppid() = 72442 (0x11afa)
getuid() = 0 (0x0)
geteuid() = 0 (0x0)
getgid() = 0 (0x0)
getegid() = 0 (0x0)
openat(AT_FDCWD,"/usr/local/bin/mysqld_safe",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
fcntl(3,F_DUPFD_CLOEXEC,0xa) = 10 (0xa)
close(3) = 0 (0x0)
sigaction(SIGINT,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0)
sigaction(SIGINT,{ 0x230408 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGQUIT,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0)
sigaction(SIGQUIT,{ 0x230408 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGTERM,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigaction(SIGTERM,{ SIG_DFL 0x0 ss_t },0x0) = 0 (0x0)
fstatat(AT_FDCWD,".",{ mode=drwxr-xr-x ,inode=562927,size=512,blksize=32768 },0x0) = 0 (0x0)
fstatat(AT_FDCWD,"/var/db/mysql",{ mode=drwxr-xr-x ,inode=562927,size=512,blksize=32768 },0x0) = 0 (0x0)
read(10,"#!/bin/sh\n# Copyright Abandoned"...,1024) = 1024 (0x400)
sigaction(SIGHUP,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigaction(SIGHUP,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGINT,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGQUIT,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGTERM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
read(10,"t's not really a umask,\n# it's "...,1024) = 1024 (0x400)
umask(0x0) = 18 (0x12)
umask(0x12) = 0 (0x0)
umask(0x7) = 18 (0x12)
pipe2(0xffffffffe140,0) = 0 (0x0)
fork() = 72444 (0x11afc)
close(4) = 0 (0x0)
read(3,"0640\n",128) = 5 (0x5)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72444 (0x11afc)
pipe2(0xffffffffe140,0) = 0 (0x0)
fork() = 72447 (0x11aff)
close(4) = 0 (0x0)
read(3,"0\n",128) = 2 (0x2)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72447 (0x11aff)
pipe2(0xffffffffe140,0) = 0 (0x0)
fork() = 72450 (0x11b02)
close(4) = 0 (0x0)
read(3,"5\n",128) = 2 (0x2)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72450 (0x11b02)
pipe2(0xffffffffe140,0) = 0 (0x0)
fork() = 72454 (0x11b06)
close(4) = 0 (0x0)
read(3,"40\n",128) = 3 (0x3)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72454 (0x11b06)
read(10,"ft\n ;;\nesac\n\nusage () {"...,1024) = 1024 (0x400)
read(10," mysqld\n --plugin-dir=DIR "...,1024) = 1024 (0x400)
read(10,"o "$msg"\n case $logging in\n "...,1024) = 1024 (0x400)
read(10," # which means that messages "...,1024) = 1024 (0x400)
read(10,"lled."\n return 1\n fi\n\n "...,1024) = 1024 (0x400)
read(10,"\n log_error "WSREP: mktemp f"...,1024) = 1024 (0x400)
read(10," log_error "WSREP: Failed to re"...,1024) = 1024 (0x400)
read(10,"e="$val" ;;\n --plugin[-_]d"...,1024) = 1024 (0x400)
read(10,"$val"\n PLUGIN_VARIANT="...,1024) = 1024 (0x400)
read(10,"provider=*)\n if test -n "...,1024) = 1024 (0x400)
read(10," # The lib file itself h"...,1024) = 1024 (0x400)
read(10,"}LD_PRELOAD="`shell_quote_string"...,1024) = 1024 (0x400)
read(10,"set_malloc_lib() {\n malloc_lib"...,1024) = 1024 (0x400)
read(10," *)\n log_error "--malloc-l"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/sbin/dirname",0xffffffffdcb0,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/dirname",0xffffffffdcb0,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/sbin/dirname",0xffffffffdcb0,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/bin/dirname",{ mode=-r-xr-xr-x ,inode=58040,size=7848,blksize=32768 },0x0) = 0 (0x0)
pipe2(0xffffffffe078,0) = 0 (0x0)
vfork() = 72457 (0x11b09)
close(4) = 0 (0x0)
read(3,"/usr/local/bin\n",128) = 15 (0xf)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72457 (0x11b09)
pipe2(0xffffffffe140,0) = 0 (0x0)
fork() = 72458 (0x11b0a)
close(4) = 0 (0x0)
read(3,"/usr/local\n",128) = 11 (0xb)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72458 (0x11b0a)
read(10,"libexec/mysqld"\nthen\n MY_BASE"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"",0xffffffffe2e8,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/bin/mysqld",0xffffffffe318,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/libexec/mysqld",{ mode=-rwxr-xr-x ,inode=197411,size=17568632,blksize=32768 },0x0) = 0 (0x0)
eaccess("/usr/local/libexec/mysqld",X_OK) = 0 (0x0)
geteuid() = 0 (0x0)
pipe2(0xffffffffe078,0) = 0 (0x0)
fork() = 72460 (0x11b0c)
close(4) = 0 (0x0)
read(3,"/usr/local/bin/mysqld_safe_helpe"...,128) = 34 (0x22)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72460 (0x11b0c)
pipe2(0xffffffffe078,0) = 0 (0x0)
fork() = 72462 (0x11b0e)
close(4) = 0 (0x0)
read(3,"/usr/local/bin/my_print_defaults"...,128) = 33 (0x21)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72462 (0x11b0e)
fork() = 72463 (0x11b0f)
wait4(-1,{ EXITED,val=1 },0x0,0x0) = 72463 (0x11b0f)
fstatat(AT_FDCWD,"/usr/local/data/mysql",0xffffffffe318,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/var/mysql",0xffffffffe318,0x0) ERR#2 'No such file or directory'
read(10," log_error "WARNING: Found $DAT"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/var/db/mysql/etc/my.cnf",0xffffffffe268,0x0) ERR#2 'No such file or directory'
pipe2(0xffffffffe078,0) = 0 (0x0)
vfork() = 72464 (0x11b10)
close(4) = 0 (0x0)
read(3,"--port=3306\n--socket=/var/run/m"...,128) = 128 (0x80)
read(3,"l\n--net_retry_count=16384\n",128) = 26 (0x1a)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72464 (0x11b10)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72465 (0x11b11)
close(4) = 0 (0x0)
read(3,"3306\n",128) = 5 (0x5)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72465 (0x11b11)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72468 (0x11b14)
close(4) = 0 (0x0)
read(3,"/var/run/mysql/mysql.sock\n",128) = 26 (0x1a)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72468 (0x11b14)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72471 (0x11b17)
close(4) = 0 (0x0)
read(3,"mysql\n",128) = 6 (0x6)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72471 (0x11b17)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72474 (0x11b1a)
close(4) = 0 (0x0)
read(3,"127.0.0.1\n",128) = 10 (0xa)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72474 (0x11b1a)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72477 (0x11b1d)
close(4) = 0 (0x0)
read(3,"/usr/local\n",128) = 11 (0xb)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72477 (0x11b1d)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72480 (0x11b20)
close(4) = 0 (0x0)
read(3,"/var/db/mysql\n",128) = 14 (0xe)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72480 (0x11b20)
pipe2(0xffffffffdc10,0) = 0 (0x0)
fork() = 72483 (0x11b23)
close(4) = 0 (0x0)
read(3,"16384\n",128) = 6 (0x6)
read(3,0xffffffffdef0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72483 (0x11b23)
pipe2(0xffffffffe078,0) = 0 (0x0)
vfork() = 72486 (0x11b26)
close(4) = 0 (0x0)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72486 (0x11b26)
read(10,"Try to find the plugin directory"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/usr/local/lib64/mysql/plugin",0xffffffffe1b8,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/lib64/plugin",0xffffffffe1b8,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/lib/mysql/plugin",{ mode=drwxr-xr-x ,inode=444384,size=2048,blksize=32768 },0x0) = 0 (0x0)
read(10,"\nthen\n if [ -n "$err_log" ]\n"...,1024) = 1024 (0x400)
read(10,"syslog to take effect."\n wan"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/sbin/hostname",0xffffffffdc00,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/hostname",{ mode=-r-xr-xr-x ,inode=28437,size=6944,blksize=32768 },0x0) = 0 (0x0)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
vfork() = 72487 (0x11b27)
close(4) = 0 (0x0)
read(3,"pinebook-pro\n",128) = 13 (0xd)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72487 (0x11b27)
pipe2(0xffffffffdbf8,0) = 0 (0x0)
fork() = 72488 (0x11b28)
close(4) = 0 (0x0)
read(3,"--log-error=/var/db/mysql/pinebo"...,128) = 43 (0x2b)
read(3,0xffffffffdfa0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72488 (0x11b28)
fstatat(AT_FDCWD,"/sbin/date",0xffffffffd3b0,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/date",{ mode=-r-xr-xr-x ,inode=28428,size=20360,blksize=32768 },0x0) = 0 (0x0)
pipe2(0xffffffffd778,0) = 0 (0x0)
vfork() = 72491 (0x11b2b)
close(4) = 0 (0x0)
read(3,"200720 05:30:24\n",128) = 16 (0x10)
read(3,0xffffffffdb20,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72491 (0x11b2b)
200720 05:30:24 mysqld_safe Logging to '/var/db/mysql/pinebook-pro.err'.
write(1,"200720 05:30:24 mysqld_safe Logg"...,73) = 73 (0x49)
fstatat(AT_FDCWD,"/",{ mode=drwxr-xr-x ,inode=2,size=512,blksize=32768 },0x0) = 0 (0x0)
eaccess("/",W_OK) = 0 (0x0)
pipe2(0xffffffffe078,0) = 0 (0x0)
vfork() = 72492 (0x11b2c)
close(4) = 0 (0x0)
read(3,"/var/run/mysql\n",128) = 15 (0xf)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72492 (0x11b2c)
read(10,"r\n then\n log_error "Fatal "...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/var/run/mysql",{ mode=drwxr-xr-x ,inode=557921,size=512,blksize=32768 },0x0) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/libexec/mysqld",{ mode=-rwxr-xr-x ,inode=197411,size=17568632,blksize=32768 },0x0) = 0 (0x0)
eaccess("/usr/local/libexec/mysqld",X_OK) = 0 (0x0)
geteuid() = 0 (0x0)
pipe2(0xffffffffe078,0) = 0 (0x0)
vfork() = 72493 (0x11b2d)
close(4) = 0 (0x0)
read(3,"pinebook-pro\n",128) = 13 (0xd)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72493 (0x11b2d)
pipe2(0xffffffffdca8,0) = 0 (0x0)
fork() = 72494 (0x11b2e)
close(4) = 0 (0x0)
read(3,"--pid-file=pinebook-pro.pid\n",128) = 28 (0x1c)
read(3,0xffffffffe050,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72494 (0x11b2e)
pipe2(0xffffffffdca8,0) = 0 (0x0)
fork() = 72497 (0x11b31)
close(4) = 0 (0x0)
read(3,"--socket=/var/run/mysql/mysql.so"...,128) = 35 (0x23)
read(3,0xffffffffe050,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72497 (0x11b31)
pipe2(0xffffffffdca8,0) = 0 (0x0)
fork() = 72500 (0x11b34)
close(4) = 0 (0x0)
read(3,"--port=3306\n",128) = 12 (0xc)
read(3,0xffffffffe050,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72500 (0x11b34)
read(10,"p"\nelse\n NOHUP_NICENESS="nohu"...,1024) = 1024 (0x400)
read(10,"en\n # nohup increase"...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/sbin/nohup",0xffffffffe380,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/nohup",0xffffffffe380,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/sbin/nohup",0xffffffffe380,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/bin/nohup",{ mode=-r-xr-xr-x ,inode=58121,size=7408,blksize=32768 },0x0) = 0 (0x0)
fork() = 72503 (0x11b37)
wait4(-1,{ EXITED,val=1 },0x0,0x0) = 72503 (0x11b37)
fork() = 72504 (0x11b38)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72504 (0x11b38)
read(10,"contains a mysqld process\n "...,1024) = 1024 (0x400)
fstatat(AT_FDCWD,"/var/db/mysql/pinebook-pro.pid",0xffffffffe268,0x0) ERR#2 'No such file or directory'
read(10,"essage for details"\n exit 1"...,1024) = 1024 (0x400)
pipe2(0xffffffffe078,0) = 0 (0x0)
fork() = 72505 (0x11b39)
close(4) = 0 (0x0)
read(3,"\n",128) = 1 (0x1)
read(3,0xffffffffe420,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72505 (0x11b39)
read(10,"\n # Locate numactl, ensure it "...,1024) = 1024 (0x400)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72506 (0x11b3a)
close(4) = 0 (0x0)
read(3,"/usr/local/libexec/mysqld\n",128) = 26 (0x1a)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72506 (0x11b3a)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72509 (0x11b3d)
close(4) = 0 (0x0)
read(3,"\n",128) = 1 (0x1)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72509 (0x11b3d)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72512 (0x11b40)
close(4) = 0 (0x0)
read(3,"\n",128) = 1 (0x1)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72512 (0x11b40)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72515 (0x11b43)
close(4) = 0 (0x0)
read(3,"--basedir=/usr/local\n",128) = 21 (0x15)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72515 (0x11b43)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72518 (0x11b46)
close(4) = 0 (0x0)
read(3,"--datadir=/var/db/mysql\n",128) = 24 (0x18)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72518 (0x11b46)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72521 (0x11b49)
close(4) = 0 (0x0)
read(3,"--plugin-dir=/usr/local/lib/mysq"...,128) = 41 (0x29)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72521 (0x11b49)
pipe2(0xffffffffdfc8,0) = 0 (0x0)
fork() = 72524 (0x11b4c)
close(4) = 0 (0x0)
read(3,"--user=mysql\n",128) = 13 (0xd)
read(3,0xffffffffe370,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72524 (0x11b4c)
read(10,"tarting $MYSQLD daemon with data"...,1024) = 1024 (0x400)
pipe2(0xffffffffd828,0) = 0 (0x0)
vfork() = 72527 (0x11b4f)
close(4) = 0 (0x0)
read(3,"200720 05:30:24\n",128) = 16 (0x10)
read(3,0xffffffffdbd0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72527 (0x11b4f)
200720 05:30:24 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
write(1,"200720 05:30:24 mysqld_safe Star"...,85) = 85 (0x55)
fstatat(AT_FDCWD,"/sbin/expr",0xffffffffe380,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/expr",{ mode=-r-xr-xr-x ,inode=28434,size=20648,blksize=32768 },0x0) = 0 (0x0)
fork() = 72528 (0x11b50)
wait4(-1,{ EXITED,val=1 },0x0,0x0) = 72528 (0x11b50)
openat(AT_FDCWD,"/dev/null",O_WRONLY|O_CREAT|O_TRUNC,0666) = 3 (0x3)
dup2(3,1) = 1 (0x1)
close(3) = 0 (0x0)
openat(AT_FDCWD,"/dev/null",O_WRONLY|O_CREAT|O_TRUNC,0666) = 3 (0x3)
dup2(3,2) = 2 (0x2)
close(3) = 0 (0x0)
read(10,"ddress=$url"\n fi\n else\n "...,1024) = 1024 (0x400)
read(10,"but should work for the rest of "...,1024) = 1024 (0x400)
read(10,"g wsrep node automatically"\n "...,1024) = 264 (0x108)
fstatat(AT_FDCWD,"/sbin/rm",0xffffffffe2d0,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/bin/rm",{ mode=-r-xr-xr-x ,inode=28450,size=13160,blksize=32768 },0x0) = 0 (0x0)
vfork() = 72529 (0x11b51)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72529 (0x11b51)
pipe2(0xffffffffdf18,0) = 0 (0x0)
vfork() = 72530 (0x11b52)
close(4) = 0 (0x0)
read(3,"3024\n",128) = 5 (0x5)
read(3,0xffffffffe2c0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72530 (0x11b52)
fork() = 72531 (0x11b53)
wait4(-1,{ SIGNALED,sig=SIGILL },0x0,0x0) = 72531 (0x11b53)
fstatat(AT_FDCWD,"/usr/share/nls/C/libc.cat",0xffffffffd900,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/share/nls/libc/C",0xffffffffd900,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/C/libc.cat",0xffffffffd900,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C",0xffffffffd900,0x0) ERR#2 'No such file or directory'
write(2,"Illegal instruction\n",20) = 20 (0x14)
pipe2(0xffffffffdf18,0) = 0 (0x0)
vfork() = 72560 (0x11b70)
close(4) = 0 (0x0)
read(3,"3038\n",128) = 5 (0x5)
read(3,0xffffffffe2c0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72560 (0x11b70)
fstatat(AT_FDCWD,"/var/db/mysql/pinebook-pro.pid",0xffffffffe1a8,0x0) ERR#2 'No such file or directory'
pipe2(0xffffffffd828,0) = 0 (0x0)
vfork() = 72561 (0x11b71)
close(4) = 0 (0x0)
read(3,"200720 05:30:38\n",128) = 16 (0x10)
read(3,0xffffffffdbd0,128) = 0 (0x0)
close(3) = 0 (0x0)
wait4(-1,{ EXITED,val=0 },0x0,0x0) = 72561 (0x11b71)
write(1,"200720 05:30:38 mysqld_safe mysq"...,86) = 86 (0x56)
read(10,0x254394,1024) = 0 (0x0)
exit(0x0)
process exit, rval = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment