10/27/2002 14:12, "Acm Acm" <[EMAIL PROTECTED]> wrote:
>Greetings All,
>
>Well, this being my first post, my name is Mark Lappin, a native of Baton
>Rouge, LA, going to school at UOP out here on the Lef Cloast. Well I'm in
charge of the server acm.cs.uop.edu which is a Sparc Ultra 10 Workstation
machine which was previously running Suse. We got rooted twice in the last two
weeks by somebody who graduated and used to be in charge of the machine (I took
his place). So yesterday we wiped SuSe 7.3 off of the machine and put
Debian on.
Cool. Debian is a good Linux distro for running a server. The whole modus
operandi for Debian is that it stresses GPL software only in the default
install.
>Debian is up and running but I'm having a couple of problems I'm hoping ya'll
>can provide some advice on.
>
>Problem 1 maybe...might be a client problem)
>after everthing was up and running with the OS itself, I used apt-get to
>install sshd which downloaded and installed (and updated) a bunch of libraries
on the box. SSH worked fine no problems, the perosn who was working with me
ssh'd in from one of the sunray workstations, and I ssh'd in from my laptop,
no sweat, warnings that host keys had changed but no problem there it
obvivously was not the same. So a while later we rebooted the machine and ssh
stopped working with any degree of reliability, some clients can connect, some
can't, some can at some times and others can't.
Weird. I suspect network problems.
> From sunray2serv.uop.edu we could not ssh, but we could from my laptop and
> another sparc machine in the lab where the server is. Later last night, I
could not ssh from my laptop but could from my desktop. I goto bed I get up
and I can't ssh back to the box from either PC this morning, I can ssh out
to darkshadows.org where I have a shell account, and ssh from that machine to
acm.cs.uop.edu --- as far as errors, I don't get any, my ssh client (using
SecureCRT, putting and Secure SSH) I can't connect. My friend whose trying to
connect from off campus via OS X, gets to a password prompt then gets
kicked out (we can both go and login as our selves and as root at the console
in the lab however).
When you say you can login at the console, you do mean acm.cs.uop.edu, right?
> Now if ssh does not work, I can use apt-get and uninstall ssh, then use
> apt-get again reinstall it and no problem, everything is all cool from most
clients until the server gets rebooted. Is this a client or a server problem?
I still suspect intermittent network problems. Have you tried testing network
traffic on the sparc box for a length of time, say an hour? Have you looked
at the logs for the box ("less /var/log/messages" or "tail -f
/var/log/messages") while attempting to connect?
>Problem 2)
>Mysql setup --- here I just need some help (i'm no linux expert by far and
>*ducks* I'd put Win 2k on the box if I could, I muddle my way around. I
downloaded the mysql binary distribution for sparc, got it put in the right
place, got my password set and all; but I can't get it to fire automatically
when the server boots, but I just don't understand what I need to do. At one
point it says to move or copy the mysql.server script to the place wither
other startup scritps are located. I can't find any .server scripts on the
machine --- this has to be a smple thing, i'm just msising something about
how to automatically start mysql when the server boots.
Start up scripts are located in a directory, and even then it depends on how
you want it to start up; fer instance, you want it to start up as a single
user box for admin purposes. Read
http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO-6.html to
understand more about how services start on a
Linux box. You will probably end up putting your startup and stop scripts in
/etc/rc3.d/.
>Problem 3 & 4)
>Ok, I used apt-get to setup apache, didn't have any problems there. I then
>use apt-get to try and get php4 going --- that did not work, so I went and
edited httpd.conf and uncommented out the line to load the php modules;
restarted apache and it did not restart, I checked my error log and it couldn't
load the php4 module. So I downloaded the php4 source and started the
configure process on it; got an error that bison and lex weren't installed,
used
apt-get to install those. Rerun configure and it went a whole heck of a lot
farther, and stopped way at the end that apxs wasn't installed or could not
be found, I did a locate on apxs and found nothing --- tried updatedb then
redid locate and still did not find it. apache -l shows me the modules
required for DSO support; but nothing else. So I'm guessing the reason that I
can't install php is because of apache, so I'm taking a shot here that to
install php4 I need to get apache configured for dynamic support of modules.
Sounds right to me.
>Can I do this with apt-get or should I unisntall apache and then download the
>source andn compile it myself?
I may be wrong, but I believe to get apxs under apache running, you have to
compile apache from source. Can somebody confirm? Is it possible to use apt-
get to install apache with apxs support?
>Advice/solutions appreciated. Reply here (I get a ton of e-mail to my
>personal account so I'll use the one for the acm club here, why not, its not
>used
for anything else), or you can reach me online via AIM (TNGPicard & TNGData),
ICQ: 8551680, and IRC (DALnet -- nick: TNGPicard)
Welcome to the Thunderdome. :)
--
John Hebert