[GE users] SGE-6.0: Segmentation Fault: "inst_sge -m -x -auto inst.conf"

Erik Soyez soyez at science-computing.de
Wed Jul 14 13:50:29 BST 2004


Hi there,

"inst_sge -m -x -auto" does not work:  As "root", I run into an infinite
loop.  As a user, I get a segmentation fault.  Interactive installation
works fine.  Whats wrong?  (RedHat-9.0; Kernel 2.4.20; SGE-6.0, self
compiled.)  Thanks, :-)Erik.

------------------------------------------------------------------------
+ '[' false = false ']'
+ :
+ ./utilbin/lx24-x86/infotext -u '\nChoosing a Grid Engine admin user name'
+ ./utilbin/lx24-x86/infotext -n '\nPlease enter a valid user name >> '
++ Enter ''
++ '[' true = true ']'
++ /bin/echo -e
+ INP=
+ '[' '' '!=' '' ']'
+ '[' false = false ']'
+ :
+ ./utilbin/lx24-x86/infotext -u '\nChoosing a Grid Engine admin user name'
+ ./utilbin/lx24-x86/infotext -n '\nPlease enter a valid user name >> '
++ Enter ''
++ '[' true = true ']'
++ /bin/echo -e
+ INP=
+ '[' '' '!=' '' ']'
+ '[' false = false ']'
+ :
+ ./utilbin/lx24-x86/infotext -u '\nChoosing a Grid Engine admin user name'
+ ./utilbin/lx24-x86/infotext -n '\nPlease enter a valid user name >> '
++ Enter ''
++ '[' true = true ']'
++ /bin/echo -e
+ INP=
+ '[' '' '!=' '' ']'
------------------------------------------------------------------------

------------------------------------------------------------------------
sh-2.05$ ./utilbin/lx24-x86/adminrun erik ./utilbin/lx24-x86/spooldefaults configuration /tmp/configuration
Segmentation fault
------------------------------------------------------------------------

------------------------------------------------------------------------
sh-2.05$  strace ./utilbin/lx24-x86/spooldefaults configuration /tmp/configuration
execve("./utilbin/lx24-x86/spooldefaults",
["./utilbin/lx24-x86/spooldefaults", "configuration",
"/tmp/configuration"], [/* 54 vars */]) = 0
uname({sys="Linux", node="plumbum", ...}) = 0
brk(0)                                  = 0x805ab5c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/tls/i686/mmx/libspoolc.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/tls/i686/mmx", 0xbfffdd10) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/tls/i686/libspoolc.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/tls/i686", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/tls/mmx/libspoolc.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/tls/mmx", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/tls/libspoolc.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/tls", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/i686/mmx/libspoolc.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/i686/mmx", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/i686/libspoolc.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/i686", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/mmx/libspoolc.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/mmx", 0xbfffdd10) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libspoolc.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/local/gridengine/lib/lx24-x86/tls/i686/mmx/libspoolc.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/tls/i686/mmx", 0xbfffdd10) = -1
ENOENT (No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/tls/i686/libspoolc.so", O_RDONLY)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/tls/i686", 0xbfffdd10) = -1
ENOENT (No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/tls/mmx/libspoolc.so", O_RDONLY)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/tls/mmx", 0xbfffdd10) = -1
ENOENT (No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/tls/libspoolc.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/tls", 0xbfffdd10) = -1 ENOENT
(No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/i686/mmx/libspoolc.so", O_RDONLY)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/i686/mmx", 0xbfffdd10) = -1
ENOENT (No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/i686/libspoolc.so", O_RDONLY) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/i686", 0xbfffdd10) = -1 ENOENT
(No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/mmx/libspoolc.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/gridengine/lib/lx24-x86/mmx", 0xbfffdd10) = -1 ENOENT
(No such file or directory)
open("/usr/local/gridengine/lib/lx24-x86/libspoolc.so", 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\2\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1183993, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
old_mmap(NULL, 1084876, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40017000
old_mmap(0x4010f000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0xf7000) = 0x4010f000
old_mmap(0x4011a000, 24012, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4011a000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/gridengine/lib/lx24-x86/libdl.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61829, ...}) = 0
old_mmap(NULL, 61829, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40120000
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\340\30"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15900, ...}) = 0
old_mmap(NULL, 13176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40130000
old_mmap(0x40133000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2000) = 0x40133000
close(3)                                = 0
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/gridengine/lib/lx24-x86/libm.so.6", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i686/libm.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\2004\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=212020, ...}) = 0
old_mmap(NULL, 138496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40134000
old_mmap(0x40155000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x20000) = 0x40155000
close(3)                                = 0
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/local/gridengine/lib/lx24-x86/libpthread.so.0", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/i686/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\360A\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=93412, ...}) = 0
old_mmap(NULL, 325120, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40156000
old_mmap(0x40163000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0xd000) = 0x40163000
old_mmap(0x40166000, 259584, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40166000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/gridengine/lib/lx24-x86/libc.so.6", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i686/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 [\1\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1552740, ...}) = 0
old_mmap(NULL, 1279684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x401a6000
old_mmap(0x402d9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x133000) = 0x402d9000
old_mmap(0x402dc000, 9924, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dc000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x402df000
munmap(0x40120000, 61829)               = 0
brk(0)                                  = 0x805ab5c
brk(0x805bb5c)                          = 0x805bb5c
brk(0)                                  = 0x805bb5c
brk(0x805c000)                          = 0x805c000
set_thread_area({entry_number:-1 -> 6, base_addr:0x805ade0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
getpid()                                = 7616
rt_sigaction(SIGRTMIN, {0x4015de80, [], SA_RESTORER, 0x401ce5a8}, NULL, 8)
= 0
rt_sigaction(SIGRT_1, {0x4015ded0, [], SA_RESTORER, 0x401ce5a8}, NULL, 8)
= 0
rt_sigaction(SIGRT_2, {0x4015e960, [], SA_RESTORER, 0x401ce5a8}, NULL, 8)
= 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [33], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfffe30c, 35, (nil), 0}) = 0
uname({sys="Linux", node="plumbum", ...}) = 0
gettimeofday({1089808686, 596569}, {4294967176, 0}) = 0
gettimeofday({1089808686, 596646}, NULL) = 0
getpid()                                = 7616
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=95, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "domain\t\tscience-computing.de\nnam"..., 4096) = 95
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40120000, 4096)                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1681, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1681
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40120000, 4096)                = 0
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/local/gridengine/lib/lx24-x86/libnss_files.so.2", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61829, ...}) = 0
old_mmap(NULL, 61829, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40120000
close(3)                                = 0
open("/lib/libnss_files.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\20\35\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=52492, ...}) = 0
old_mmap(NULL, 47068, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402e0000
old_mmap(0x402eb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xa000) = 0x402eb000
close(3)                                = 0
munmap(0x40120000, 61829)               = 0
brk(0)                                  = 0x805c000
brk(0x805d000)                          = 0x805d000
open("/etc/host.conf", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "order hosts,bind\n", 4096)     = 17
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40120000, 4096)                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1904, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "127.0.0.1       localhost       "..., 4096) = 1904
close(3)                                = 0
munmap(0x40120000, 4096)                = 0
gettimeofday({1089808686, 600376}, {4294967176, 0}) = 0
getuid32()                              = 1000
getgid32()                              = 10000
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1853, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "root:gbCKsfpn72ZBI:0:0:root:/roo"..., 4096) = 1853
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40120000, 4096)                = 0
open("/usr/local/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/local/gridengine/lib/lx24-x86/libnss_nis.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61829, ...}) = 0
old_mmap(NULL, 61829, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40120000
close(3)                                = 0
open("/lib/libnss_nis.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\0\34\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43476, ...}) = 0
old_mmap(NULL, 33612, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402ec000
old_mmap(0x402f4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x8000) = 0x402f4000
close(3)                                = 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/gridengine/lib/lx24-x86/libnsl.so.1", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/libnsl.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\0p<\0\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91624, ...}) = 0
old_mmap(NULL, 85184, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402f5000
old_mmap(0x40307000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x11000) = 0x40307000
old_mmap(0x40308000, 7360, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40308000
close(3)                                = 0
munmap(0x40120000, 61829)               = 0
uname({sys="Linux", node="plumbum", ...}) = 0
open("/var/yp/binding/it-testlabor.2", O_RDONLY) = 3
readv(3, [{"\377\377", 2}, {"\1\0\0\0\177\0\0\1\3\372\0\0", 12}], 2) = 14
brk(0)                                  = 0x805d000
brk(0x8061000)                          = 0x8061000
gettimeofday({1089808686, 603713}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
getpid()                                = 7616
bind(4, {sa_family=AF_INET, sin_port=htons(1008),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
ioctl(4, FIONBIO, [1])                  = 0
setsockopt(4, SOL_IP, IP_RECVERR, [1], 4) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
close(3)                                = 0
sendto(4, "L\323?\217\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\2\0\0\0\3"..., 80,
0, {sa_family=AF_INET, sin_port=htons(1018),
sin_addr=inet_addr("127.0.0.1")}, 16) = 80
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "L\323?\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8800, 0, {sa_family=AF_INET, sin_port=htons(1018),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 100
close(4)                                = 0
stat64("/usr/local/gridengine", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
stat64("/usr/local/gridengine/default", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
stat64("/usr/local/gridengine/default/common", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
open("/usr/local/gridengine/default/common/bootstrap", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=2955, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40120000
read(3, "# Version: pre6.0\n#\nadmin_user  "..., 4096) = 2955
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++






--
____________________________________________creating IT solutions
Erik Soyez                                 science + computing ag
IT-Services                 teamline Altair/SRS +49 7071 9457 692
phone  +49 7071 9457 583    teamline Bosch      +49 7071 9457 687
www.science-computing.de    teamline Porsche    +49 7071 9457 686


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list