From: Earl L. <ecl...@ya...> - 2010-12-21 03:48:40
|
What I am trying to do is run Synchronet BBS (windows version) through wine. I am running Ubuntu 10.10 Ok The full command line is: env WINEPREFIX="/home/phoenixii/.wine" wine C:\\sbbs\\exec\\sbbsctrl.exe c:\\sbbs\\ctrl\\ privbind -u phoenixii [-n10] I am able to run the program. However I receive: For telnet server !ERROR 13 binding Telnet Server socket to port 23 !Another application or service may be using this port For mail server !ERROR 13 binding SMTP Server socket to port 25 !Another application or service may be using this port For services !ERROR 13 binding Gopher socket to port 70 !Another application or service may be using this port strace privbind reported: execve("/usr/sbin/privbind", ["privbind"], [/* 37 vars */]) = 0 brk(0) = 0x9860000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7729000 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=57659, ...}) = 0 mmap2(NULL, 57659, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb771a000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 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@n\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1421892, ...}) = 0 mmap2(NULL, 1427880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000 mmap2(0x267000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157) = 0x267000 mmap2(0x26a000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x26a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7719000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb77196c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x267000, 8192, PROT_READ) = 0 mprotect(0x804a000, 4096, PROT_READ) = 0 mprotect(0xd53000, 4096, PROT_READ) = 0 munmap(0xb771a000, 57659) = 0 write(2, "Missing UID (-u) option.\n", 25Missing UID (-u) option. ) = 25 write(2, "Usage: privbind -u UID [-g GID] "..., 65Usage: privbind -u UID [-g GID] [-n NUM] command [arguments ...] ) = 65 write(2, "Run 'privbind -h' for more infor"..., 40Run 'privbind -h' for more information. ) = 40 exit_group(1) = ? When I run env WINEPREFIX="/home/phoenixii/.wine" wine C:\\sbbs\\exec\\sbbsctrl.exe c:\\sbbs\\ctrl\\. I get privbind: setgroups: Operation not permitted. Earl Larsen, A+ Certified ________________________________ From: Shachar Shemesh <sh...@sh...> To: Earl Larsen <ecl...@ya...> Cc: pri...@li... Sent: Wed, December 15, 2010 9:21:52 PM Subject: Re: error running On 16/12/10 04:04, Earl Larsen wrote: I am running ubuntu 10.10. I get the error message privbind: exec: No such file or directory when running under root. The command that I am using is privbind -u (userid) [-n10]. When I run it under a user that has admin privileges. I get privbind: setgroups: Operation not permitted > >Thank you, >Earl Larsen, A+ Certified hi Earl, Please provide an actual command line. What application are you trying to run? The command line, as given, will not work, as you did not say what command to run. Also, please provide the output of running privbind through strace. Thank you, Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com |