code logs -> 2006 -> Tue, 05 Dec 2006< code.20061204.log - code.20061206.log >
--- Log opened Tue Dec 05 00:00:22 2006
00:01
< Janus>
Also, the memory it uses adds onto itself everytime, like the memory from the last run leaked out. It just wants to hang around, but like Old Yeller, the only way to stop it is to kill it's process.
00:43 ReivWork [~reaverta@IRCop.Nightstar.Net] has joined #Code
00:54 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
02:27
<@ToxicFrog>
Janus: hard to tell what the actual problem is without seeing the code.
02:27
<@ToxicFrog>
It sounds like you aren't actually exiting the main loop, but instead resetting the game state - without actually freeing any of the memory in use by the prior state.
02:29
< Janus>
I've never had this problem until I attempted use Dev-C++ outside of it's original directory... unfortunately, there's too much code, and I've the vaguest idea where, if at all, the problem lies in it.
02:30
<@ToxicFrog>
..
02:30
<@ToxicFrog>
The code it's meant to call at exit would be a good place to start.
02:32
<@Vornicus-Latens>
It may be that you've wrapped the event loop inside another loop.
02:38
< Janus>
If there is, it's quite the sleeper error, as there were no edits made after it was moved.
02:42
< Janus>
Either way though, it would seem my IDE(s) have all collapsed beyond repair.
02:44
< Janus>
They were by far the most advanced abacus of wood and glue I'd ever seen.
03:04 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Le Dieu ramasse Sa jeune fille de Ses erreurs, taillant un nouveau monde pour elle, et Lui.]
03:17 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Quit: sleep, maybe]
04:31 ReivWork is now known as Reiver
05:09 ilhan [~ilhancapa@85.102.123.ns-21599] has joined #Code
05:10 ilhan [~ilhancapa@85.102.123.ns-21599] has left #Code []
06:47 You're now known as TheWatcher
06:50 Mahal [~Mahal@Nightstar-12600.worldnet.co.nz] has quit [Quit: It's hard to be mad at someone who misses you while you're asleep. ]
07:51 AnnoDomini [~fark.off@Nightstar-29756.neoplus.adsl.tpnet.pl] has joined #Code
08:04 Thaqui [~Thaqui@Nightstar-18234.jetstream.xtra.co.nz] has quit [Ping Timeout]
08:13 Thaqui [~Thaqui@Nightstar-18234.jetstream.xtra.co.nz] has joined #code
08:16 Mahal [~Mahal@Nightstar-4420.worldnet.co.nz] has joined #Code
08:16 mode/#code [+o Mahal] by ChanServ
08:17 You're now known as TheWatcher[afk]
08:31 Raif [~corvusign@Nightstar-16707.hsd1.ca.comcast.net] has joined #Code
08:31 mode/#code [+o Raif] by ChanServ
09:10 AnnoDomini [~fark.off@Nightstar-29756.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer]
09:11 AnnoDomini [~fark.off@Nightstar-29756.neoplus.adsl.tpnet.pl] has joined #Code
09:22 Mahal [~Mahal@Nightstar-4420.worldnet.co.nz] has quit [Quit: It's hard to be mad at someone who misses you while you're asleep. ]
09:46 You're now known as TheWatcher[wr0k]
10:05 Reiver is now known as ReivZzz
11:04 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
11:43 Thaqui [~Thaqui@Nightstar-18234.jetstream.xtra.co.nz] has quit [Client exited]
11:59 AnnoDomini [~fark.off@Nightstar-29756.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
12:04 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has joined #Code
12:36 You're now known as TheWatcher[afk]
12:59 You're now known as TheWatcher[wr0k]
13:22 You're now known as TheWatcher[afk]
13:41 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
13:45 You're now known as TheWatcher[wr0k]
13:51 Ev3 [~-@87.72.36.ns-26407] has quit [Ping Timeout]
14:05 Ev3 [~-@87.72.36.ns-26407] has joined #Code
14:16 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Quit: Stuff, doing thereof.]
14:24 Ev3 [~-@87.72.36.ns-26407] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the thruth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
15:41 You're now known as TheWatcher[afk]
17:11 You're now known as TheWatcher
17:16 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
17:16 mode/#code [+o ToxicFrog] by ChanServ
17:32 You're now known as TheWatcher[afk]
17:34 ReivZzz is now known as Reiver
17:44 You're now known as TheWatcher
17:46 Reiver is now known as ReivWork
17:53 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer]
17:54 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has joined #Code
18:00 You're now known as TheWatcher[afk]
18:15 * Pi shits at runtime.
18:16
< AnnoDomini>
Indeed?
18:17 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has joined #code
18:17 mode/#code [+o Vornicus] by ChanServ
18:25
<@Vornicus>
passwd needs better diagnostics.
18:25
<@Vornicus>
returning 1 on an error doesn't help me!
18:27 Safyra_Away is now known as Stephenie
18:29 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer]
18:31 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has joined #Code
19:02 You're now known as TheWatcher
19:30 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
19:33
<@TheWatcher>
Vornicus: write your own? ¬¬
19:34
<@Vornicus>
:P
19:36
<@ToxicFrog>
It is never fun seeing "passwd: authentication token manipulation error"
19:36
<@Vornicus>
indeed
19:36
<@Vornicus>
but the failure I just got from adduser is /epic/. And strange. And... well.
19:38
<@Vornicus>
it goes something like "adding user... creating directory... copying skel... setting password... passwd failed with error code 1... deleting directory... deleting user... deluser failed: user doesn't exist"
19:38
<@Vornicus>
but then I look at /etc/passwd and the user is there, and I try 'su -'-ing to that user and that works.
19:38
<@ToxicFrog>
19:40
<@Vornicus>
apache doesn't see the user though.
19:40
<@ToxicFrog>
Whack.
19:40
<@Vornicus>
extremely whack.
19:42 MyCatOwnz is now known as MyCatEats
20:00 MyCatEats is now known as MyCatOwnz
20:00
<@Vornicus>
and then deluser works.
20:00
<@Vornicus>
It's madness, madness, madness.
20:00 Thaqui [~Thaqui@Nightstar-18234.jetstream.xtra.co.nz] has joined #code
20:43 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
20:53 Janus is now known as Jan[jouantDieu]
22:11 Jan[jouantDieu] [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Etoile faux]
22:29 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
22:31 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has joined #Code
23:00 You're now known as TheWatcher[T-2]
23:00 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
23:00
< Takyoji>
What is "resource id #4" in PHP through MySQL
23:01
< Takyoji>
because when I print the results of a certain MySQL query, it prints that
23:02
<@TheWatcher[T-2]>
http://forums.mysql.com/read.php?10,41177,41177#msg-41177
23:03 You're now known as TheWatcher[zZzZ]
23:03
< Takyoji>
ohh..
23:09
< Takyoji>
thanks
23:09 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Quit: Leaving]
23:11
< MyCatOwnz>
Vornicus: useradd -g <group name> -G <more group names, comma seperated> -m
23:11
<@Vornicus>
MyCatOwnz: doesn't change anything
23:12
<@Vornicus>
well, the g bit doesn't. what's the m for?
23:12
< MyCatOwnz>
Creates their home directory and copies stuff from /etc/skel into it.
23:12
<@Vornicus>
oh, to create the directory?
23:12
<@Vornicus>
It does that automatically
23:12
<@Vornicus>
but that's not the problem.
23:13
<@Vornicus>
the problem is that for some reason, it thinks the user doesn't exist.
23:13
<@Vornicus>
when it was just created.
23:13
< MyCatOwnz>
Vornicus: is the daemon chroot'd?
23:13
<@Vornicus>
?
23:13
< MyCatOwnz>
Is the daemon in a chroot jail?
23:13
<@Vornicus>
I haven't done any such thing.
23:14
< MyCatOwnz>
So it *can* see /etc/passwd and /etc/group. Right...
23:14
<@Vornicus>
Right
23:14
<@Vornicus>
and after it completes, I can use passwd and deluser just fine.
23:15
<@Vornicus>
and I can su to the created user.
23:16
< MyCatOwnz>
You're using useradd instead of adduser, right? Just checkin' to see whether it's the wrapper script that's supplying the problem, rather than something difficult.
23:16
<@Vornicus>
adduser.
23:16
<@Vornicus>
there's also useradd?
23:16
< MyCatOwnz>
Yes.
23:16
< MyCatOwnz>
adduser is a wrapper around useradd
23:16
<@Vornicus>
...oho
23:17
< MyCatOwnz>
Hence the -g and the -G and the -m. Using useradd, you have to specify stuff yourself.
23:17
<@Vornicus>
ah
23:18
< MyCatOwnz>
adduser is a bourne shell script written by some nice person, by the name of, "Stuart Winter."
23:19
< MyCatOwnz>
s/,//
23:19
<@Vornicus>
...weird
23:19
< MyCatOwnz>
Apparently it was originally written for Slackware about four years ago.
23:19
<@Vornicus>
I use useradd and it doesn't create the user at all.
23:20
< MyCatOwnz>
Checked /etc/passwd?
23:20
<@Vornicus>
...it's there...
23:20
<@Vornicus>
but I can't use it
23:22
< MyCatOwnz>
Did you attempt to su to it from a non-root account? 'Cuz that won't work until after you do passwd <username> as root.
23:22
<@Vornicus>
no, I'm doing stuff from root
23:23
< MyCatOwnz>
Bloody odd.
23:23
<@Vornicus>
really I don't mind the mess so much, but figuring out why this is happening would probably reveal the underlying issues.
23:23
< MyCatOwnz>
What distribution are you using, please? I must make a mental note to avoid it. ;)
23:24
<@Vornicus>
This is Ubuntu Breezy with a heavily customized login system - LDAP got bolted on and I can't get it off.
23:24 Ev3 [~-@87.72.36.ns-26407] has joined #Code
23:25
< MyCatOwnz>
LDAP? What on Earth does that have to do with user authentication?
23:25
< MyCatOwnz>
Hello, Eve!
23:26
<@Vornicus>
LDAP is often used in situations where you have multiple machines that must all have the same login profile.
23:27
< MyCatOwnz>
Ahhhhhh, I see.
23:27
< MyCatOwnz>
Okay, if you're using yp/NIS or LDAP, I think you have to use a completely different set of utilities.
23:27
<@Vornicus>
THe trick is that I can't write to LDAP.
23:28
<@Vornicus>
Even as root.
23:28
<@Vornicus>
...well, okay, I guess I could, if I were willing to hack the files backing it.
23:28
< MyCatOwnz>
Not unless you're on the machine which serves up LDAP entries, probably not.
23:29
< MyCatOwnz>
(For reference, I haven't used an LDAP system for authentication before. I have poked at a NIS system, but only a little.)
23:30
<@Vornicus>
Even if you are, unless you have it set up to read auth tokens for the ldap service from ldap.secrets; the problem is that a somewhat recent somehow-automatic update stomped the secrets file and the guy whose password is on the damn thing is nowhere to be found
23:30
< MyCatOwnz>
Vornicus: the ldap.secrets file is encrypted, I presume?
23:31
<@Vornicus>
Even if it weren't, I don't have a copy of it.
23:31
< MyCatOwnz>
Then, uh, it sounds vaguely like you're bone. :/
23:31
< MyCatOwnz>
*boned
23:31
<@Vornicus>
yeah
23:33
<@Vornicus>
the real bit that bothers me is that while other things do check the /etc/passwd file, apache's pam auth connection is not.
23:35
<@Vornicus>
the other part - the schizophrenic error messages, especially - isn't so bad.
23:36
< MyCatOwnz>
Could PAM be temporarily reconfigured to ignore the LDAP server?
23:36
< MyCatOwnz>
(only in an emergency, of course >>)
23:37
<@Vornicus>
...perhaps by modifying nsswitch.conf, maybe; i'm very reluctant to touch that if it's not an emergency.
23:37
<@Vornicus>
Right now, it's not an emergency.
23:38
<@Vornicus>
very annoying, yes, but not an emergency.
23:41
< MyCatOwnz>
In your situation, I'd concentrate on tracking down (but not killing, yet) the person with the LDAP passwords.
23:41
< MyCatOwnz>
Oh and surely there's more than one person in your organisation who has the system administration passwords?
23:42
< MyCatOwnz>
Not to be overly morbid or anything, but (ignoring entirely the possibility of employee disgruntlement and assuming they're completely loyal) if that person gets, say, hit by a bus or something?
23:44
< MyCatOwnz>
It won't matter how much life insurance the company puts on them, it'll be in deep shit when the IT systems fall to pieces and the company is paralysed while the other techs have to rip and replace all the authentication data to be able to administer it all themselves.
23:44
<@Vornicus>
If there were a second person who knew the password, it would be me.
23:45
<@Vornicus>
I don't know it.
23:45
<@Vornicus>
He won't tell it to me.
23:45
<@Vornicus>
Or, wouldn't, when he was on his way out.
23:45
< MyCatOwnz>
I rather suspect you don't find the prospect of several days' downtime and being forced to get a new account built for every single user.
23:46
<@Vornicus>
I don't like the prospect, no.
23:47
< MyCatOwnz>
Double the panic level if the person is travelling abroad - many accidents occur on holidays, people tend to be less sensible when frolicking naked in the sun.
23:47
<@Vornicus>
heh
23:47
< MyCatOwnz>
Oh and if they go on a skiing holiday? You might as well save some time and shit yourself in advance.
23:48
<@Vornicus>
heh
23:50
<@Vornicus>
Part of the problem, really, is that it's not just this company's data; it's other folks', too.
23:52
< MyCatOwnz>
That sounds like it's worth asking the guy nicely, asking the guy firmly, threatening to go over the guy's head and then actually going over his head.
23:53
< MyCatOwnz>
(Stop at the stage whereupon he either actually gives you the password or does something reckless and ruins your company's day.)
23:59 AnnoDomini [~fark.off@Nightstar-29173.neoplus.adsl.tpnet.pl] has quit [Quit: Some people find sanity a little confining.]
--- Log closed Wed Dec 06 00:00:31 2006
code logs -> 2006 -> Tue, 05 Dec 2006< code.20061204.log - code.20061206.log >