Re: Transferring updates across local network

2003-02-16 Thread Doug Brucks
At 08:41 PM 2/16/2003 -0500, you wrote:

This may be a dumb question, with the answer glaringly obvious.  But I 
hate to make assumptions.  Doing so has bit me in the past.

Using RHN I have updated one of my three RH8.0 systems.  All three of them 
are on a LAN, at my home.  Since this updating is kind of a courtesy from 
Redhat, by virtue of my buying RH8.0 from them, I can only update one 
machine with RHN (or so I gather).   So one machine is updated.  The other 
two are not.  It would seem logical to me that I should be able to then 
update the other two machines on the LAN then, by merely copying the files.

Is that true?  Or am I being overly naive/trusting/innocent???  Anyone 
done it?

John


I am sure there are other methods of updating over a lan, but this works 
for me.
I am making the assumption that all 3 have internet access.
I also do not run the rhnsd.  I update by running up2date.

You need to register all 3 machines with RHN.  Not to worry... registration 
is free.
I have 3 machines registered right now under one account, using different 
machine
descriptions so I can tell which is which. Two of them run on separate 
partitions
on one box (one for test and one for everyday use) and one is at work.The 
thing is,
only 1 can be active at a time.

When you want to update a machine, login to RHN and make that machine active.
Then run up2date on the active machine.

To save bandwidth and time, I make sure I configure up2date to save the update
downloads.  I think the default dir for the downloads is 
/var/spool/up2date.  I have
changed the default to a directory mounted to a shared partition on my home box
so both installs can use them without having to copy the files.  For work, 
I burn a
CD and then copy the files from it to the default directory.  When up2date
connects, you tell it what to update. If the files are where up2date 
expects to see
them, it will skip the download part.

I even burn an update CD for a friend of mine so he doesn't have to 
download the updates
over his dialup connection.  Since his install is a little different from 
mine, he still has to
download an update from time to time.

Just a side note.  I have recently paid for basic service.  Although I 
could keep up2date
for free, I wanted to give at least some support to my distro of choice.

Doug




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list


Re: Redhat 8.0 and 2Gb RAM

2003-02-16 Thread Doug Brucks
At 08:44 PM 2/16/2003 -0500, you wrote:

Dimitri Deserranno wrote:
 I didn't think of faulty memory since the old memory used to work just
 fine. And now I am running with the new memory only. Only when I add
 the old back to it I seem to have issues.


I had a w2k box that would not take two sticks of memory.  I could run
either stick in any slot but could not run 2 sticks in any combination of 
slots.

I finally got a new MB.  Both sticks worked together fine

Doug




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list


RE: SiS 900 not loading

2003-01-30 Thread Doug Brucks
At 10:43 PM 1/29/2003 -0800, you wrote:

Thanks, Leo,


Now, if I could just get the refresh rate on my nVidia GeForce4 up from
60hz ! Card Nice. Flicker Bad. Unfortunately nVidia's latest drivers
don't support 2.4.18-19.8.0 yet - grrr...

Nigel



Strange... I wonder why they work on my RH8 - 2.4.18-19.8.0.
I'm pretty new to linux, but I was able to follow nVidia's documentation 
and compile then install the kernel and glx (-4191.tar.gz).
Made a huge difference on my machine.

Doug




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list


Re: php/sendmail/apache/linux...

2003-01-24 Thread Doug Brucks
I inserted the code you supplied (substituted my email address for yours) 
between tags in a plain html page and ran it.

I got a parse error on:

$reply = From: [EMAIL PROTECTED]\r\n
.Reply-To: [EMAIL PROTECTED]\r\n;

I changed that to:

$reply = From: [EMAIL PROTECTED]\r\nReply-To: 
[EMAIL PROTECTED]\r\n;

and it ran just fine (not as pretty, but it worked).

Doug


At 12:47 PM 1/24/2003 -0800, you wrote:
hey...

I'm sure the question has been answered a 1000 times!!! I'm trying to create
a simple app to send email via PHP, using the mail function.

I'm using RedHat(Linux 8.0 , Sendmail), PHP(4.2.2), Apache (2.0.40).

I'm using the following piece of code:

===
//test mail
$to = [EMAIL PROTECTED];
$subject = savannah registration;
$message =  testing mail;
$reply = From: [EMAIL PROTECTED]\r\n
.Reply-To: [EMAIL PROTECTED]\r\n;

echo
 to =  . $to . br;

echo
 subject =  . $subject . br;

echo
 msg =  . $message . br;

echo
 reply =  . $reply . br;

 $q1 = mail($to, $subject, $message, $reply);
echo
 return val  =  . $q1 . br;


===

Pretty simple eh... The problem that I have is that the mail doesn't appear
to get sent. When I look in the /var/spool/clientmqueue directory, I see a
great deal of what look to be error msgs They appear to be telling me
that the mail couldn't be delivered, but I can't tell why

I was able to successfully send a test msg via Sendmail from the command
line by telnet. So I know the Sendmail engine/daemon seems to be
performing... The PHP.ini file appears to be setup correctly, with the
sendmail_path pointing to sendamil.

Any ideas as to what I need to do, or should be checking

Any pointers/assistance would be greatly appreciated.


Thanks

-Bruce
[EMAIL PROTECTED]




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list





--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



Re: php/sendmail/apache/linux...(oops)

2003-01-24 Thread Doug Brucks
When I pasted your code from the email... got some strange characters in 
the paste.  When I deleted them, I also deleted the '.' in front of the 
Reply-To  causing the parse error.  Works fine as is on my 
machine.  Sorry for the waisted bandwidth.

At 09:57 PM 1/24/2003 -0600, you wrote:
I inserted the code you supplied (substituted my email address for yours) 
between tags in a plain html page and ran it.

I got a parse error on:

$reply = From: [EMAIL PROTECTED]\r\n
.Reply-To: [EMAIL PROTECTED]\r\n;

I changed that to:

$reply = From: [EMAIL PROTECTED]\r\nReply-To: 
[EMAIL PROTECTED]\r\n;

and it ran just fine (not as pretty, but it worked).

Doug


At 12:47 PM 1/24/2003 -0800, you wrote:
hey...

I'm sure the question has been answered a 1000 times!!! I'm trying to create
a simple app to send email via PHP, using the mail function.

I'm using RedHat(Linux 8.0 , Sendmail), PHP(4.2.2), Apache (2.0.40).

I'm using the following piece of code:

===
//test mail
$to = [EMAIL PROTECTED];
$subject = savannah registration;
$message =  testing mail;
$reply = From: [EMAIL PROTECTED]\r\n
.Reply-To: [EMAIL PROTECTED]\r\n;

echo
 to =  . $to . br;

echo
 subject =  . $subject . br;

echo
 msg =  . $message . br;

echo
 reply =  . $reply . br;

 $q1 = mail($to, $subject, $message, $reply);
echo
 return val  =  . $q1 . br;


===

Pretty simple eh... The problem that I have is that the mail doesn't appear
to get sent. When I look in the /var/spool/clientmqueue directory, I see a
great deal of what look to be error msgs They appear to be telling me
that the mail couldn't be delivered, but I can't tell why

I was able to successfully send a test msg via Sendmail from the command
line by telnet. So I know the Sendmail engine/daemon seems to be
performing... The PHP.ini file appears to be setup correctly, with the
sendmail_path pointing to sendamil.

Any ideas as to what I need to do, or should be checking

Any pointers/assistance would be greatly appreciated.


Thanks

-Bruce
[EMAIL PROTECTED]




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list





--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list





--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



Re: MySQL PHP

2003-01-18 Thread Doug Brucks
I had trouble with php and mysql until I changed two settings in the 
/etc/php.ini.

The first wouldn't apply to the snippet you showed but might help others:

; Allow the ? tag.  Otherwise, only ?php and script tags are recognized.
short_open_tag = On


The second might help:

; You should do your best to write your scripts so that they do not require
; register_globals to be on;  Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = On


At 08:13 AM 1/18/2003 -0800, you wrote:
hello all,

I'm posting on 2 lists because I'm not sure were the problem is, so I'm hoping
that some one can help me out.

I'm running a stock RH8 machine running amongst other things MySQL 3.23.52-3,
Apache 2.0, PHP 4.2.2-8.0.5 When I try a simple php script that is this
(sensitive information changed to protect me):

?php $link = mysql_connect (localhost, user, password) or die 
(Could not connect); print (Connected successfully); $query = SELECT 
* FROM who; $result = mysql_db_query (mcdougrsMedia, $query) or die 
(Query failed); ?
The page produces the following output:

Fatal error: Call to undefined function: mysql_connect() in
/home/username/public_html/testing.php on line 5

Can you guys see what is wrong... or if there is other information that is
needed that isn't there please let me know and I will post whatever 
information
is needed to fix it.

TIA,
Ryan




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



RE: Scroll wheel not working in X

2003-01-11 Thread Doug Brucks
When I last tried to use a mouse through a KVM (one with external power and 
one without), I was using RH7.0 and XFree 3 ( I think).  Scrolling didn't 
work on either of the linux boxes, so I hooked a separate mouse direct to 
the linux box and forgot about it until now.

I unplugged the mouse direct to the linux box and plugged in the KVM mouse 
cable.  On the non-powered KVM, RH8.0, XFree 4...  scrolling works just 
fine now!  Maybe the newer XFree?  I'll try it on the powered KVM when I 
get back to work on Monday.  Anyway, I have a little more desk space now... 
and no more grabbing the wrong mouse. :)

Doug

 Interesting...perhaps it's the KVM switch that I use then...
 
 Craig

 I gave up trying to get linux to recognize the wheel through my kvm device
 (both at home and at work).  It works fine on the windows boxes connected
 through the kvms, but not on the linux boxes.  I finally gave up and
 connected a mouse direct to the linux box.  Scrolls just fine that
 way.  I've heard that some kvm's work with the wheel... and some don't.
  Doug



I had given up a long time ago because I really didn't care enough to
figure it out BUT this thread got me thinking about it.

Turned out that I got it to work finally...I had 2 mice configured in
/etc/X11/XF86Config   Mouse0  DevInputMice. I commented out the latter
throughout and restarted X and it now works. Not important but wanted to
let you know that if you look at it, the answer is quite possibly in
front of you.

Craig





--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



RE: Scroll wheel not working in X

2003-01-09 Thread Doug Brucks
At 08:47 PM 1/8/2003 -0700, you wrote:

Interesting...perhaps it's the KVM switch that I use then...

Craig


I gave up trying to get linux to recognize the wheel through my kvm device 
(both at home and at work).  It works fine on the windows boxes connected 
through the kvms, but not on the linux boxes.  I finally gave up and 
connected a mouse direct to the linux box.  Scrolls just fine that 
way.  I've heard that some kvm's work with the wheel... and some don't.

Doug




--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list


Re: Re[2]: Unable to boot - Stuck at GRUB

2003-01-05 Thread Doug Brucks
At 03:08 PM 1/5/2003 -0600, you wrote:

On Sunday 05 January 2003 03:02 pm, Tommy McNeely wrote:
 maybe it has something to do with the way grub is detecting the
 disks??

 maybe hd(0,0) is now your IDE disk... ??

The symptom you described is consistent with not finding the boot
loader. That's why I was wondering if the device (HD) names had
changed.

mw


I'm relatively new to linux and very new to grub.
I've been reading the manual and searching google to learn about grub 
before installing it.
One thing the manual said...
Normally IDE drives number less than SCSI drives.
That would seem to mean that (hd0,0) now points grub to the ide instead of 
the scsi.

I expect the grub command line still works?

If so, at the grub prompt try

find /boot/grub/stage1

That should list the drive where your boot images are.

I guessing it is now (hd1,0) instead of (hd0,0).

If so, you can edit the grub.config or boot from the command line by entering:
(assuming this is the kernel you want... otherwise change the kernel and 
initrd version)

root (hd1,0)
kernel /boot/vmlinuz-2.4.19-ac4 ro root=LABEL=/ vga=791
initrd /boot/initrd-2.4.19-ac4.img
boot

Remember... I haven't used grub yet... this is guess based on my 
understanding of the manual.





--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list