On Tue, 1 Mar 2005 10:06:57 -0500, Dana Olson rickaster@gmail.com wrote:
On Mon, 28 Feb 2005 15:22:30 -0500, Dana Olson rickaster@gmail.com wrote:
On Mon, 28 Feb 2005 11:37:53 -0500, Dana Olson rickaster@gmail.com wrote:
I downloaded the 0.8.14 Debian packages and tried installing them.
I know that they work, since they worked fine on my other system, but this one (which is almost identical, save for the NIC) doesn't work.
Here is what happens in the console:
# dpkg -i ser_0.8.14_i386.deb Selecting previously deselected package ser. (Reading database ... 10117 files and directories currently installed.) Unpacking ser (from ser_0.8.14_i386.deb) ... Setting up ser (0.8.14) ... Restarting ser: ser
It just hangs there forever. I checked the end of /var/log/messages but there are no messages from ser there.
I would try reinstalling Debian from scratch, but the server itself is in another country, and I'm trying to install SER remotely over SSH.
I've tried rebooting which didn't help (although I didn't expect it would).
I searched on Google and the closest thing I could find was invalid syntax in the ser.cfg script, but this is the initial package install...
Please, please help me out.
-- Dana
Okay, so if I hit CTRL+C to abort that, I get tossed back to the command prompt.
I checked the package lists against another system that is working fine, and they are identical (aside from SER, since it won't fully install).
If I try reinstalling SER, and this time if I try doing an strace dpkg -i pkgname, I get this:
write(4, "#padding\n#padding\n#padding\n#padd"..., 4096) = 4096 write(4, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 _llseek(4, 0, [0], SEEK_SET) = 0 write(4, "Package: ser\nStatus: install ok "..., 1198) = 1198 ftruncate(4, 1198) = 0 fsync(4) = 0 close(4) = 0 munmap(0x40014000, 4096) = 0 rename("/var/lib/dpkg/updates/tmp.i", "/var/lib/dpkg/updates/0009") = 0 open("/var/lib/dpkg/updates/tmp.i", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 write(4, "#padding\n#padding\n#padding\n#padd"..., 4096) = 4096 write(4, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 _llseek(4, 0, [0], SEEK_SET) = 0 stat64("/var/lib/dpkg/info/ser.postinst", {st_mode=S_IFREG|0755, st_size=2609, ...}) = 0 fork() = 882 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0 wait4(882, Restarting ser: ser
And that's where it sits.... For a long, long time. Probably forever, if I let it go that long, but I figure an hour at a time is long enough.
So, if I try to CTRL+C out of that and then just run strace ser, I get this and then it hangs:
- = 0x40026000
old_mmap(0x40027000, 7968, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40027000 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\30\222"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40029000 old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002a000 mprotect(0x4013d000, 40160, PROT_NONE) = 0 old_mmap(0x4013d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x4013d000 old_mmap(0x40143000, 15584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40143000 close(3) = 0 munmap(0x40014000, 7662) = 0 brk(0) = 0x81d9878 brk(0x81d99f8) = 0x81d99f8 brk(0x81da000) = 0x81da000 open("/etc/ser/ser.cfg", O_RDONLY) = 3 open("/dev/random", O_RDONLY) = 4 read(4,
Does anyone know what's going on? Please help me...
-- Dana
I removed SER, I took the SIP_DOMAIN variable out of /etc/profile, I rebooted, and I tried to install again, and it STILL doesn't work.
ser:/home/dolson# dpkg -i ser_0.8.14_i386.deb ser-mysql-module_0.8.14_i386.deb Selecting previously deselected package ser. (Reading database ... 10433 files and directories currently installed.) Unpacking ser (from ser_0.8.14_i386.deb) ... Selecting previously deselected package ser-mysql-module. Unpacking ser-mysql-module (from ser-mysql-module_0.8.14_i386.deb) ... Setting up ser (0.8.14) ... Restarting ser: ser
It just hangs there...
Does anyone even have any random ideas? I don't know what else to try, I can't find any info on Google, can't find anything in the admin guide, can't find anything anywhere. Is there a different SIP proxy that I should be using? Please let me know. Thanks.
-- Dana
Okay, jpablo in the IRC channel helped me figure it out. Apparently my /dev/random stopped working... Which is very strange, but a temporary workaround is to remove it, then make a symlink to /dev/urandom.
Does anyone have any idea why /dev/random would stop working, and how can I get it back?
-- Dana