[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] A couple of questions...



> First, why is PHP4 so impossible to install onto a Raq2?  I've installed
and
> upgraded various parts of Linux to accomodate it, yet when I get to the
last
> step, loading Apache with the new settings running PHP as CGI, Apache will
> not start at all.  It gives a "floating point exception" error, which I'm
> thinking means there is something I missed during setup

Any compile warnings when you did a make on it?
Do you have *at least* glibc-2.0.7-29C2.mips?

Floating point was somewhat broken in glibc-2.0.7-10 which was standard on
the RaQ2. If you tried to do floating point in MySQL with 2.0.7-10, you'd
get garbage results (basically it looked like a good random number
generator). Upgrading to 29C2 fixes that. You can get it from the
experimental directory from ftp.cobaltnet.com.


> can't handle it, which is kind of weird since my 486 running as a internet
> connection point (running Redhat 7) can run it just fine.  Weird, no?

RedHat 7 probably has glibc2.2.2 at least!

> I had another question, but can't remember it.  ;)  Here's another one,
> though.  Why can I not login directly as root on anything?  Telnet, FTP,
you
> name it.  I can login as admin or any other username, and then su to get
to
> root, but why should I do that?  Is there a security lockout somewhere?

It's a security issue.
If you use SSH, you can log in as root directly. I would advise that you
shouldn't ever log in as root unless you're on an encrypted link.