You are not logged in.
Pages: 1
before doing the following my system was great consistency. but accidentally when go around with some issues i typed this command when upgrade system:
pacman -Syu --ignore filesystem && pacman -S filesystem --forcefrom news: https://www.archlinux.org/news/filesyst … equired-1/
after that tor daemon can not start properly..
i use default config with tor. and when i try to use these command to star tor, it's fail.
sudo rc.d restart tor
:: Stopping Tor Daemon [FAIL]
:: Starting Tor Daemon [FAIL] #sudo tor
Jul 13 03:56:53.028 [notice] Tor v0.2.2.37 (git-fce6eb1c44e87bc2). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Jul 13 03:56:53.029 [warn] Skipping obsolete configuration option 'Group'
Jul 13 03:56:53.029 [notice] Initialized libevent version 2.0.19-stable using method epoll. Good.
Jul 13 03:56:53.029 [notice] Opening Socks listener on 127.0.0.1:9050 on 127.0.0.1:9050#tor
Jul 13 03:58:41.759 [notice] Tor v0.2.2.37 (git-fce6eb1c44e87bc2). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Jul 13 03:58:41.760 [warn] Skipping obsolete configuration option 'Group'
Jul 13 03:58:41.760 [notice] Initialized libevent version 2.0.19-stable using method epoll. Good.
Jul 13 03:58:41.760 [notice] Opening Socks listener on 127.0.0.1:9050
Jul 13 03:58:41.761 [warn] Error setting groups to gid 43: "Operation not permitted".
Jul 13 03:58:41.761 [warn] If you set the "User" option, you must start Tor as root.
Jul 13 03:58:41.761 [warn] Failed to parse/validate config: Problem with User value. See logs for details.
Jul 13 03:58:41.761 [err] Reading config failed--see warnings above.so because i can not remember of packages which upgraded then i can not downgrade.
any idea for this problem.
PS. i use default of tor. thanks for any reps.
Last edited by angelfalls (2012-07-12 21:02:11)
Offline
so because i can not remember of packages which upgraded then i can not downgrade.
any idea for this problem.PS. i use default of tor. thanks for any reps.
Reading /var/log/pacman.log will tell you everything you upgraded on a certain day. If that doesn't offer any clues, you can run strace on tor to see the actual files that it's trying to read / write. Then make sure each one has the right permissions.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
@ConnorBehan: thanks for reply: but how to trace when start a app? use LD_DEBUG ?
i will try later...i need a little sleep, 6:37AM
. morning.
Offline
Oh I was thinking of running "strace tor" and look for lines containing "access" or "open" in the output. These might point to the files that have the wrong permissions.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
this is ouput of : strace sudo rc.d restart tor > tor.log 2>&1
there are some "open" "access" "no such file directory" but i can not understand what kind of information it give.
can you make a parse?
i downgraded which packages were upgraded with --ignore flag. after downgrade i still can not start tor.
execve("/usr/bin/sudo", ["sudo", "rc.d", "restart", "tor"], [/* 26 vars */]) = 0
brk(0) = 0xe0e000
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
access(process_vm_readv: Operation not permitted
"/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff61b430000
access(process_vm_readv: Operation not permitted
"/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0644, st_size=120083, ...}) = 0
mmap(NULL, 120083, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff61b412000
close(3) = 0
open(process_vm_readv: Operation not permitted
"/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, process_vm_readv: Operation not permitted
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\17\0\0\0\0\0\0"..., 832) = 832
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0755, st_size=10640, ...}) = 0
mmap(NULL, 2105600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff61b00d000
mprotect(0x7ff61b00f000, 2093056, PROT_NONE) = 0
mmap(0x7ff61b20e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7ff61b20e000
close(3) = 0
open(process_vm_readv: Operation not permitted
"/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, process_vm_readv: Operation not permitted
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0755, st_size=14624, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff61ae09000
mprotect(0x7ff61ae0c000, 2093056, PROT_NONE) = 0
mmap(0x7ff61b00b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ff61b00b000
close(3) = 0
open(process_vm_readv: Operation not permitted
"/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, process_vm_readv: Operation not permitted
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\30\2\0\0\0\0\0"..., 832) = 832
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0755, st_size=1997041, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff61b411000
mmap(NULL, 3816528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff61aa65000
mprotect(0x7ff61ac00000, 2093056, PROT_NONE) = 0
mmap(0x7ff61adff000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7ff61adff000
mmap(0x7ff61ae05000, 15440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff61ae05000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff61b410000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff61b40f000
arch_prctl(ARCH_SET_FS, 0x7ff61b410700) = 0
mprotect(0x7ff61adff000, 16384, PROT_READ) = 0
mprotect(0x7ff61b00b000, 4096, PROT_READ) = 0
mprotect(0x7ff61b20e000, 4096, PROT_READ) = 0
mprotect(0x617000, 4096, PROT_READ) = 0
mprotect(0x7ff61b431000, 4096, PROT_READ) = 0
munmap(0x7ff61b412000, 120083) = 0
brk(0) = 0xe0e000
brk(0xe2f000) = 0xe2f000
open(process_vm_readv: Operation not permitted
"/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0644, st_size=1607632, ...}) = 0
mmap(NULL, 1607632, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff61b286000
close(3) = 0
geteuid() = 1000
open(process_vm_readv: Operation not permitted
"/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, process_vm_readv: Operation not permitted
{st_mode=S_IFREG|0644, st_size=2502, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff61b42f000
read(3, process_vm_readv: Operation not permitted
"# Locale name alias data base.\n#"..., 4096) = 2502
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7ff61b42f000, 4096) = 0
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en_US.UTF-8/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en_US.utf8/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en_US/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en.UTF-8/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en.utf8/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/usr/share/locale/en/LC_MESSAGES/sudo.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, process_vm_readv: Operation not permitted
"sudo", 4sudo) = 4
write(2, process_vm_readv: Operation not permitted
": ", 2: ) = 2
write(2, process_vm_readv: Operation not permitted
"effective uid is not 0, is sudo "..., 54effective uid is not 0, is sudo installed setuid root?) = 54
write(2, process_vm_readv: Operation not permitted
"\n", 1
) = 1
access(process_vm_readv: Operation not permitted
"/var/run/utmpx", F_OK) = -1 ENOENT (No such file or directory)
open(process_vm_readv: Operation not permitted
"/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_SET) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, process_vm_readv: Operation not permitted
{0x7ff61ab7c7e0, [], SA_RESTORER, 0x7ff61aa9a020}, process_vm_readv: Operation not permitted
{SIG_DFL, [], 0}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, process_vm_readv: Operation not permitted
{type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, process_vm_readv: Operation not permitted
"\10\0\0\0\305\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\1\0\0\0003N\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\10\0\0\0\267\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\7\0\0\0\301\2\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\6\0\0\0\302\2\0\0tty2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\6\0\0\0\305\2\0\0tty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\6\0\0\0\304\2\0\0tty4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\6\0\0\0\306\2\0\0tty6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, process_vm_readv: Operation not permitted
"\6\0\0\0\303\2\0\0tty3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "", 384) = 0
fcntl(3, F_SETLKW, process_vm_readv: Operation not permitted
{type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, process_vm_readv: Operation not permitted
{SIG_DFL, [], SA_RESTORER, 0x7ff61aa9a020}, NULL, 8) = 0
exit_group(1) = ?
+++ exited with 1 +++
(END)EDIT: i have polipo daemon and strace it when start with the same output above but "done".
Last edited by angelfalls (2012-07-13 08:28:41)
Offline
Actually your problem is in the wiki. Strace was overkill.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Pages: 1