Jump to content

[SOLVED] emhttp segmentation fault - unRAID 5.0b7 and Slackware 13.37


Recommended Posts

Ok, so I'm taking another stab at this with Slackware 13.37.  Since unRAID 5.0b7 and Slackware 13.37 use the same kernel version, I thought this could potentially simplify my attempt.  Everything seemed to be working fine with emhttp -p 88 until I got to the very last step in the wiki article where you reconnect all of your drives.  On the next reboot with all of the unRAID drives attached, emhttp would no longer work and was giving me a segmentation fault.  I will attach the strace, since I could not make any sense of it.  If any savvy users out there have any input, please let me know!

 

Part 1 of strace output:

 

root@unraid2:~# strace emhttp -p 88
execve("/usr/local/sbin/emhttp", ["emhttp", "-p", "88"], [/* 34 vars */]) = 0
brk(0)                                  = 0x8075000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=166203, ...}) = 0
mmap2(NULL, 166203, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7854000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360J\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=117363, ...}) = 0
mmap2(NULL, 98816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb783b000
mmap2(0xb7850000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7850000
mmap2(0xb7852000, 4608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7852000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \7\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=46390, ...}) = 0
mmap2(NULL, 201052, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7809000
mmap2(0xb7812000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb7812000
mmap2(0xb7814000, 155996, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7814000
close(3)                                = 0
open("/lib/libcrypto.so.0", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300w\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=1321704, ...}) = 0
mmap2(NULL, 1332812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76c3000
mmap2(0xb77f0000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0xb77f0000
mmap2(0xb7806000, 9804, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7806000
mprotect(0xbff1a000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20o\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1651695, ...}) = 0
mmap2(NULL, 1452456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7560000
mprotect(0xb76bc000, 4096, PROT_NONE)   = 0
mmap2(0xb76bd000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb76bd000
mmap2(0xb76c0000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76c0000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13140, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb755f000
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb755b000
mmap2(0xb755d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb755d000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb755a000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb755a6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb755d000, 4096, PROT_READ)   = 0
mprotect(0xb76bd000, 8192, PROT_READ)   = 0
mprotect(0xb7812000, 4096, PROT_READ)   = 0
mprotect(0xb7850000, 4096, PROT_READ)   = 0
mprotect(0xb789b000, 4096, PROT_READ)   = 0
munmap(0xb7854000, 166203)              = 0
set_tid_address(0xb755a728)             = 5793
set_robust_list(0xb755a730, 0xc)        = 0
futex(0xbff1a100, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbff1a100, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bff1a110) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb783f520, [], SA_SIGINFO}, NULL,  = 0
rt_sigaction(SIGRT_1, {0xb783f5a0, [], SA_RESTART|SA_SIGINFO}, NULL,  = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL,  = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="unraid2", ...}) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0},  = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
brk(0)                                  = 0x8075000
brk(0x8096000)                          = 0x8096000
open("/etc/unraid-version", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=18, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(4, "version=5.0-beta7\n", 4096)    = 18
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb787c000, 4096)                = 0
time(NULL)                              = 1310074730
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2819
_llseek(4, -24, [2795], SEEK_CUR)       = 0
read(4, "\nPST8PDT,M3.2.0,M11.1.0\n", 4096) = 24
close(4)                                = 0
munmap(0xb787c000, 4096)                = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
send(4, "<14>Jul  7 14:38:50 emhttp: unRA"..., 78, MSG_NOSIGNAL) = 78
time(NULL)                              = 1310074730
send(4, "<14>Jul  7 14:38:50 emhttp: Copy"..., 73, MSG_NOSIGNAL) = 73
readlink("/dev/disk/by-label/UNRAID", "../../sdd1", 255) = 10
readlink("/sys/block/sdd", "../devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/host11/target11:0:0/11:0:0:0/block/sdd"..., 255) = 90
pipe2([5, 6], O_CLOEXEC)                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5794
close(6)                                = 0
fcntl64(5, F_SETFD, 0)                  = 0
fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "ID_VENDOR=Lexar\nID_VENDOR_ENC=Le"..., 4096) = 369
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, "", 4096)                       = 0
close(5)                                = 0
waitpid(5794, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 5794
munmap(0xb787c000, 4096)                = 0
open("/boot/config", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
fcntl64(5, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents64(5, /* 18 entries */, 32768)  = 560
open("/boot/config/Pro1.key", O_RDONLY|O_LARGEFILE) = 6
close(5)                                = 0
fstat64(6, {st_mode=S_IFREG|0777, st_size=256, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(6, "UR\366\t\345Y\335\270\234\277\0339\241\213\352\224\22\2677\242\304K\257\214Fq\370\331U\214Cg"..., 4096) = 256
close(6)                                = 0
munmap(0xb787c000, 4096)                = 0
time(NULL)                              = 1310074730
send(4, "<14>Jul  7 14:38:50 emhttp: Pro "..., 79, MSG_NOSIGNAL) = 79
open("/boot/config/ident.cfg", O_RDONLY|O_LARGEFILE) = 5
flock(5, LOCK_EX)                       = 0
fstat64(5, {st_mode=S_IFREG|0777, st_size=258, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated settings:\r\nNAME=Unra"..., 4096) = 258
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
open("/boot/config/network.cfg", O_RDONLY|O_LARGEFILE) = 5
flock(5, LOCK_EX)                       = 0
fstat64(5, {st_mode=S_IFREG|0777, st_size=156, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated settings:\nUSE_DHCP=y"..., 4096) = 156
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
open("/boot/config/flash.cfg", O_RDONLY|O_LARGEFILE) = 5
flock(5, LOCK_EX)                       = 0
fstat64(5, {st_mode=S_IFREG|0777, st_size=106, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated settings:\r\nflashExpo"..., 4096) = 106
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
stat64("/boot/config/shares", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/boot/config/share.cfg", O_RDONLY|O_LARGEFILE) = 5
flock(5, LOCK_EX)                       = 0
fstat64(5, {st_mode=S_IFREG|0777, st_size=264, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated settings:\r\nshareFlas"..., 4096) = 264
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
open("/etc/passwd", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1004, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
_llseek(5, 0, [0], SEEK_CUR)            = 0
read(5, "root:x:0:0::/root:/bin/bash\nbin:"..., 4096) = 1004
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
open("/boot/config/disk.cfg", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0777, st_size=6734, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated settings:\r\nspindownD"..., 4096) = 4096
read(5, "tNFS.13=\"-\"\r\ndiskSecurityNFS.13="..., 4096) = 2638
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
stat64("/boot/config/extra.cfg", 0xbff19fe0) = -1 ENOENT (No such file or directory)
stat64("/proc/mdcmd", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/proc/mdcmd", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "sbName=/boot/config/super.dat\nsb"..., 1024) = 1024
read(5, "vNumber.2=2\nrdevStatus.2=DISK_OK"..., 1024) = 1024
read(5, "5=1310073891\nrdevSpinupGroup.5=0"..., 1024) = 1024
read(5, "rdevNumber.9=9\nrdevStatus.9=DISK"..., 1024) = 1024
read(5, "vSize.13=0\nrdevId.13=\nrdevNumErr"..., 1024) = 1024
read(5, "e.18=0\nrdevId.18=\nrdevNumErrors."..., 1024) = 482
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
ioctl(3, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.0.102")}}) = 0
ioctl(3, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.255.0")}}) = 0
open("/proc/net/route", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "Iface\tDestination\tGateway \tFlags"..., 1024) = 512
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="eth0", ifr_hwaddr=00:1b:21:a5:ec:79}) = 0
open("/etc/resolv.conf", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=162, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "# Generated by dhcpcd from eth0\n"..., 4096) = 162
read(5, "", 4096)                       = 0
close(5)                                = 0

 

Link to comment

part 2 of strace output:

 

munmap(0xb787c000, 4096)                = 0
time(NULL)                              = 1310074730
pipe2([5, 6], O_CLOEXEC)                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5795
close(6)                                = 0
fcntl64(5, F_SETFD, 0)                  = 0
pipe2([6, 7], O_CLOEXEC)                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5796
close(7)                                = 0
fcntl64(6, F_SETFD, 0)                  = 0
pipe2([7, 8], O_CLOEXEC)                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5797
close(                                = 0
fcntl64(7, F_SETFD, 0)                  = 0
pipe2([8, 9], O_CLOEXEC)                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5798
close(9)                                = 0
fcntl64(8, F_SETFD, 0)                  = 0
pipe2([9, 10], O_CLOEXEC)               = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5799
close(10)                               = 0
fcntl64(9, F_SETFD, 0)                  = 0
pipe2([10, 11], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5800
close(11)                               = 0
fcntl64(10, F_SETFD, 0)                 = 0
pipe2([11, 12], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5801
close(12)                               = 0
fcntl64(11, F_SETFD, 0)                 = 0
pipe2([12, 13], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5802
close(13)                               = 0
fcntl64(12, F_SETFD, 0)                 = 0
pipe2([13, 14], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5803
close(14)                               = 0
fcntl64(13, F_SETFD, 0)                 = 0
pipe2([14, 15], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5804
close(15)                               = 0
fcntl64(14, F_SETFD, 0)                 = 0
pipe2([15, 16], O_CLOEXEC)              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb755a728) = 5805
close(16)                               = 0
fcntl64(15, F_SETFD, 0)                 = 0
fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "\n/dev/sdb:\n drive state is:  act"..., 4096) = 41
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, "", 4096)                       = 0
close(5)                                = 0
waitpid(5795, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 5795
--- SIGCHLD (Child exited) @ 0 (0) ---
munmap(0xb787c000, 4096)                = 0
open("/sys/block/sdb/stat", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787c000
read(5, "     349       36     3080     1"..., 4096) = 99
close(5)                                = 0
munmap(0xb787c000, 4096)                = 0
time(NULL)                              = 1310074730
send(4, "<14>Jul  7 14:38:50 emhttp: disk"..., 59, MSG_NOSIGNAL) = 59
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Link to comment

First of all, did you try unplugging the drives and rebooting with them removed again to verify they are the cause? And what is YOUR opinion on your strace. Do YOU see anything wrong there? Did you do basic things like make sure all your libraries are up to at least the versions that emhttp requires?

 

You are not giving much information on what you have done.

Link to comment

First of all, did you try unplugging the drives and rebooting with them removed again to verify they are the cause? And what is YOUR opinion on your strace. Do YOU see anything wrong there? Did you do basic things like make sure all your libraries are up to at least the versions that emhttp requires?

 

You are not giving much information on what you have done.

 

Without the parity, cache, or other unraid drives installed, emhttp works and I can get to the unRAID web menu.  The only error I see in the strace is "access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)"

 

As far as I can tell, this is a non-issue since the error is referring to a file that doesn't exist in the unRAID distro and the error pops up whether or not I had the drives installed.

 

How do I know which libraries that emhttp requires?  Is there a way to check?

 

Thanks!

Link to comment

First of all, did you try unplugging the drives and rebooting with them removed again to verify they are the cause? And what is YOUR opinion on your strace. Do YOU see anything wrong there? Did you do basic things like make sure all your libraries are up to at least the versions that emhttp requires?

 

You are not giving much information on what you have done.

 

Without the parity, cache, or other unraid drives installed, emhttp works and I can get to the unRAID web menu.  The only error I see in the strace is "access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)"

 

As far as I can tell, this is a non-issue since the error is referring to a file that doesn't exist in the unRAID distro and the error pops up whether or not I had the drives installed.

 

How do I know which libraries that emhttp requires?   Is there a way to check?

 

Thanks!

A missing shared library is usually not something that can be ignored.

 

you can see all the shared libraries needed by any program by typing:

 

ldd /path/to/program

 

root@Tower2:/boot# ldd /usr/local/sbin/emhttp

      linux-gate.so.1 =>  (0xb76e5000)

        libpthread.so.0 => /lib/libpthread.so.0 (0xb76c7000)

        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7694000)

        libcrypto.so.0 => /lib/libcrypto.so.0 (0xb754c000)

        libc.so.6 => /lib/libc.so.6 (0xb73e9000)

        /lib/ld-linux.so.2 (0xb76e6000)

        libdl.so.2 => /lib/libdl.so.2 (0xb73e4000)

Link to comment

A missing shared library is usually not something that can be ignored.

 

you can see all the shared libraries needed by any program by typing:

 

ldd /path/to/program

 

root@Tower2:/boot# ldd /usr/local/sbin/emhttp

      linux-gate.so.1 =>  (0xb76e5000)

       libpthread.so.0 => /lib/libpthread.so.0 (0xb76c7000)

       libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7694000)

       libcrypto.so.0 => /lib/libcrypto.so.0 (0xb754c000)

       libc.so.6 => /lib/libc.so.6 (0xb73e9000)

       /lib/ld-linux.so.2 (0xb76e6000)

       libdl.so.2 => /lib/libdl.so.2 (0xb73e4000)

 

This is the output I get from the ldd command.

 

root@unraid2:/usr/local/sbin# ldd emhttp

       linux-gate.so.1 =>  (0xffffe000)

       libpthread.so.0 => /lib/libpthread.so.0 (0xb77f4000)

       libcrypt.so.1 => /lib/libcrypt.so.1 (0xb77c2000)

       libcrypto.so.0 => /lib/libcrypto.so.0 (0xb767c000)

       libc.so.6 => /lib/libc.so.6 (0xb7519000)

       /lib/ld-linux.so.2 (0xb7837000)

       libdl.so.2 => /lib/libdl.so.2 (0xb7514000)

 

So I started checking for the differences between my install and the unRAID distribution.  Learned that linux-gate.so.1 doesn't really exist anywhere on the file system.  lol

 

My install:

 

/lib/libpthread-2.13.so

/lib/libcrypt-2.13.so

/usr/lib/libcrypto.so.0.9.8

/lib/libc-2.13.so

/lib/ld-2.13.so

/lib/libdl-2.13.so

 

unRAID distribution

 

 

/lib/libpthread-2.11.1.so

/lib/libcrypt-2.11.1.so

/lib/libcrypto.so.0.9.8

/lib/libc-2.11.1.so

/lib/ld-2.11.1.so

/lib/libdl-2.11.1.so

 

So it looks like I have newer version of libpthread, libcrypt, libc, ld, and libdl.  Should I downgrade these, or is that asking for trouble?

 

Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...