Jump to content
Christer

strange death to retrospect client.

Recommended Posts

I'm running Suse 10.3 , retrospect client 7.5

 

All of a sudden the client died and i can't get it to work. Tried uninstall, remove, upgrade etc. Still no luck.

 

All i get from the logs are this :

 

Jan 13 12:01:15 mirror Retrospect[29823]: SopsLoad: can't read state file "/var/log/retroclient.state"

Jan 13 12:01:35 mirror kernel: retroclient[29828]: segfault at 00000000efd47af1 rip 00000000efd47af1 rsp 00000000f7e7a37

4 error 14

Jan 13 12:02:17 mirror kernel: retroclient[29838]: segfault at 00000000efedfaf1 rip 00000000efedfaf1 rsp 00000000f7f4637

4 error 14

 

Anyone have a ide on how to solve this?

Or seens this error before?

 

Cheers.

 

/Chrille

 

Share this post


Link to post
Share on other sites

If the file /var/log/retroclient.state exists, it may be corrupted. Try deleting it.

 

I believe that file will be recreated if it is missing.

 

Russ

Share this post


Link to post
Share on other sites

I have tried that and all that happens is that i get promt for setting password when i try starting the client. I sett the password and we are back at square 1. Same thing again.

 

Got any other ides?

 

/Chrille

Share this post


Link to post
Share on other sites

Try run strace on rcl and see what it´s doing.

 

strace -p %process id%

 

and you can run a gdb debug on the rcl process also. These 2 options might tell you what´s going wrong.

 

Regards

Robert

 

Share this post


Link to post
Share on other sites

This is what i got from trace :

 

execve("/usr/local/dantz/client/retroclient", ["/usr/local/dantz/client/retrocli"...], [/* 61 vars */]) = 0

brk(0) = 0x80f2000

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY) = 3

fstat64(0x3, 0xffdda3ec) = 0

mmap2(NULL, 98787, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7ecd000

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\0PH\0\0004\0\0\0"..., 512) = 512

fstat64(0x3, 0xffdda478) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7ecc000

mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7eb5000

fadvise64(3, 0, 0, 0x161e0 /* POSIX_FADV_??? */) = 0

mmap2(0xf7ec8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xfffffffff7ec8000

mmap2(0xf7eca000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7eca000

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\240\n\0\0004\0\0\0"..., 512) = 512

fstat64(0x3, 0xffdda45c) = 0

mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7eb1000

fadvise64(3, 0, 0, 0x307c /* POSIX_FADV_??? */) = 0

mmap2(0xf7eb3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xfffffffff7eb3000

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\360\264:\0004\0\0\0"..., 512) = 512

fstat64(0x3, 0xffdda440) = 0

mmap2(0x395000, 1410608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x395000

fadvise64(3, 0, 0, 0x158630 /* POSIX_FADV_??? */) = 0

mmap2(0x4e8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x4e8000

mmap2(0x4eb000, 9776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4eb000

close(3) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7eb0000

set_thread_area(0xffdda958) = 0

mprotect(0x4e8000, 8192, PROT_READ) = 0

munmap(0xf7ecd000, 98787) = 0

set_tid_address(0xf7eb0708) = 9704

set_robust_list(0xf7eb0710, 0xc) = 0

rt_sigaction(SIGRTMIN, {0x4f7eb9330, [], 0}, NULL, 8) = 0

rt_sigaction(SIGRT_1, {0x10000004f7eb93b0, [], 0}, NULL, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0

getrlimit(RLIMIT_STACK, {rlim_cur=-4286578688, rlim_max=-580946811284357104}) = 0

uname({sys="Linux", node="mirror", ...}) = 0

brk(0) = 0x80f2000

brk(0x8113000) = 0x8113000

open("/var/log/retroclient.log", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

open("/usr/share/locale/locale.alias", O_RDONLY) = 4

fstat64(0x4, 0xffdda7a8) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffdda76c) = 0xfffffffff7ee5000

read(4, "# Locale name alias data base.\n#"..., 4096) = 2528

read(4, "", 4096) = 0

close(4) = 0

munmap(0xf7ee5000, 4096) = 0

open("/usr/lib/locale/en_GB.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/locale/en_GB.utf8/LC_CTYPE", O_RDONLY) = 4

fstat64(0x4, 0xffddaabc) = 0

mmap2(NULL, 254020, PROT_READ, MAP_PRIVATE, 4, 0xffddaa4c) = 0xfffffffff7e71000

close(4) = 0

open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4

fstat64(0x4, 0xffdda98c) = 0

mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 4, 0xffdda950) = 0xfffffffff7edf000

close(4) = 0

futex(0x4eaa4c, FUTEX_WAKE, 2147483647) = 0

gettimeofday({1263475216, 387103}, NULL) = 0

time(NULL) = 1263475216

open("/etc/localtime", O_RDONLY) = 4

fstat64(0x4, 0xffddab78) = 0

fstat64(0x4, 0xffdda9c8) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffdda98c) = 0xfffffffff7ede000

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) = 1892

_llseek(4, -28, [1864], SEEK_CUR) = 0

read(4, "\nCET-1CEST,M3.5.0,M10.5.0/3\n", 4096) = 28

close(4) = 0

munmap(0xf7ede000, 4096) = 0

stat64(0x4bdd64, 0xffddabb8) = 0

getcwd("/root", 32768) = 6

getuid32() = 0

statfs64("/tmp", 84, {???}) = 0

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4

connect(4, {sa_family=AF_INET, sin_port=htons(497), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)

close(4) = 0

open("/var/log/retroclient.state", O_RDONLY|O_LARGEFILE) = 4

fstat64(0x4, 0xffdda328) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffdda2ec) = 0xfffffffff7ede000

read(4, "gfCS\0\2\0\0\0\2\0\0X\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0"..., 4096) = 2136

close(4) = 0

munmap(0xf7ede000, 4096) = 0

rt_sigaction(SIGPIPE, {0x1000000000000001, [], 0}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGCHLD, {0x1000000000000000, [], 0}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGALRM, {0x1000000000000001, [], 0}, {SIG_DFL}, 8) = 0

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4

mmap2(NULL, 8392704, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffddabac) = 0xfffffffff7670000

mprotect(0xf7670000, 4096, PROT_NONE) = 0

clone(child_stack=0xf7e704b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xf7e70bd8, tls=0xf7e70bd8, child_tidptr=0xffddabac) = 9705

futex(0x80f3844, FUTEX_WAIT, 1, NULL) = 0

futex(0xffddac4c, FUTEX_WAKE, 1) = 0

futex(0x80f380c, FUTEX_WAIT, 1, NULL) = 0

futex(0xffddac4c, FUTEX_WAIT, 2, NULL) = 0

futex(0xffddac4c, FUTEX_WAKE, 1) = 0

shutdown(4, 2 /* send and receive */) = 0

mmap2(NULL, 8392704, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffddabc4) = 0xfffffffff6e6f000

mprotect(0xf6e6f000, 4096, PROT_NONE) = 0

clone(child_stack=0xf766f4b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xf766fbd8, tls=0xf766fbd8, child_tidptr=0xffddabc4) = 9706

futex(0x80f380c, FUTEX_WAIT, 1, NULL 9704: U‰åƒì$‰]øèR¼ðÿÂÃvª 9704: U‰åƒì ‰}ü‹}‰]ôèÜ»ðÿÂà 9704: U‰åƒì ‰}ü‹}‰]ôèÜ»ðÿÂà 9704: U‰åƒì ‰}ü‹}‰]ôèÜ»ðÿÂà 9704: U‰åƒì ‰}ü‹}‰]ôèÜ»ðÿÂÃ) = ? ERESTARTSYS (To be restarted)

+++ killed by SIGSEGV +++

Share this post


Link to post
Share on other sites

This is a wild guess, but your problems might start here:

 

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

open("/usr/share/locale/locale.alias", O_RDONLY) = 4

fstat64(0x4, 0xffdda7a8) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffdda76c) = 0xfffffffff7ee5000

read(4, "# Locale name alias data base.\n#"..., 4096) = 2528

read(4, "", 4096) = 0

close(4) = 0

munmap(0xf7ee5000, 4096) = 0

open("/usr/lib/locale/en_GB.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)

 

 

Robert

 

Share this post


Link to post
Share on other sites

Sorry no.

 

But looking at a strace on a retrospect that works do not show the error "(No such file or directory" on open("/usr/lib/locale/locale-archive and open("/usr/lib/locale/en_GB.UTF-8/LC_CTYPE", O_RDONLY).

 

Mine returns value 1 on those values...

 

Regards

RObert

 

Share this post


Link to post
Share on other sites

I'm running Suse 10.3 , retrospect client 7.5

All of a sudden the client died and i can't get it to work. Tried uninstall, remove, upgrade etc. Still no luck. 

All i get from the logs are this 

 

 

 

 

 

 

____________

Nawaz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×