Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-21 Thread Dave Brooks, BCS Systems

Thanks everyone - it now all goes !

The problem I think was due to using a precompiled binary release of Apache 
that (I guess) had an exports file pointing to a library in the wrong place...

Anyway building everything from sources did the job.


Dave

At 23:36 20/05/01 -0400, you wrote:
>Hmm.  Can you be a bit more specific how you upgraded your Apache?
>Typically I've had good luck with building the new Apache first, then 
>building PHP (using the new apxs that it installs).  You are installing 
>these modules as .so, correct?  And building everything from source 
>code?  The only thing I can think of here is that your earlier Apache had 
>a broken lib somewhere and the new installs are not replacing it..
>
>Z
>On Sunday, May 20, 2001, at 10:15 PM, Dave Brooks, BCS Systems wrote:
>
>>MySQL 3.23.38 made no difference
>>
>>
>> >
>> > Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...
>> >
>> > Am about to upgrade MySQL to 3.23.38 to see if this changes things, 
>> but feel this is clutching at straws...
>> >
>> >
>> > Thanks,
>> >
>> > Dave
>>
>> > On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
>>> >
>>> > > Apache is up to 1.3.17 at least. I would update apache and see what
>>> > > gives. PHP4
>>> > > wasn't coded until Apache 1.3.15 was out.
>>> > >
>>> > > "Dave Brooks, BCS Systems" wrote:
>>> > >>
>>> > >> Hello,
>>> > >>
>>> > >> I am trying to port a PHP/MySQL application that happily runs under
>>> > >> Linux
>>> > >> across to an AIX box.
>>> > >>
>>> > >> We have MySQL is running under AIX - using mysql we can create tables,
>>> > >> insert rows, etc and even access data via a C program.
>>> > >>
>>> > >> PHP is running as an Apache module - a simple phpinfo() works.
>>> > >>
>>> > >> If our PHP scripts are invoked when mysqld is not active we get a
>>> > >> database
>>> > >> error "Can't connect to server", as to be expected.
>>> > >>
>>> > >> If however, mysqld is started and then we attempt our script, Apache
>>> > >> reports a segmentation fault (as shown in its error logs) and the
>>> > >> client
>>> > >> browser gets an unexpected network error.
>>> > >>
>>> > >> Any ideas, debugging clues, etc would be much appreciated.
>>> > >>
>>> > >> AIX 4.3.3
>>> > >> Apache 1.3.12 (IBM HTTP Server)
>>> > >> MySQL 3.23.32
>>> > >> PHP 4.0.4 pl 1
>>> > >>
>>> > >> Many thanks,
>>> > >>
>>> > >> Dave Brooks
>>> > >>
>>> > >> -
>>> > >> Before posting, please check:
>>> > >>http://www.mysql.com/manual.php   (the manual)
>>> > >>http://lists.mysql.com/   (the list archive)
>>> > >>
>>> > >> To request this thread, e-mail <[EMAIL PROTECTED]>
>>> > >> To unsubscribe, e-mail >> > >> [EMAIL PROTECTED]>
>>> > >> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>> > >
>>> > > -
>>> > > Before posting, please check:
>>> > >http://www.mysql.com/manual.php   (the manual)
>>> > >http://lists.mysql.com/   (the list archive)
>>> > >
>>> > > To request this thread, e-mail <[EMAIL PROTECTED]>
>>> > > To unsubscribe, e-mail >> > > [EMAIL PROTECTED]>
>>> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>> > >
>>
>>
>>-
>>Before posting, please check:
>>   http://www.mysql.com/manual.php   (the manual)
>>   http://lists.mysql.com/   (the list archive)
>>
>>To request this thread, e-mail <[EMAIL PROTECTED]>
>>To unsubscribe, e-mail >[EMAIL PROTECTED]>
>>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>
>>
>>
>>
>>-
>>Before posting, please check:
>>   http://www.mysql.com/manual.php   (the manual)
>>   http://lists.mysql.com/   (the list archive)
>>
>>To request this thread, e-mail <[EMAIL PROTECTED]>
>>To unsubscribe, e-mail >[EMAIL PROTECTED]>
>>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-20 Thread Dave Brooks, BCS Systems

MySQL 3.23.38 made no difference


 >
 > Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...
 >
 > Am about to upgrade MySQL to 3.23.38 to see if this changes things, but 
feel this is clutching at straws...
 >
 >
 > Thanks,
 >
 > Dave

 > On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
> >
> > > Apache is up to 1.3.17 at least. I would update apache and see what
> > > gives. PHP4
> > > wasn't coded until Apache 1.3.15 was out.
> > >
> > > "Dave Brooks, BCS Systems" wrote:
> > >>
> > >> Hello,
> > >>
> > >> I am trying to port a PHP/MySQL application that happily runs under
> > >> Linux
> > >> across to an AIX box.
> > >>
> > >> We have MySQL is running under AIX - using mysql we can create tables,
> > >> insert rows, etc and even access data via a C program.
> > >>
> > >> PHP is running as an Apache module - a simple phpinfo() works.
> > >>
> > >> If our PHP scripts are invoked when mysqld is not active we get a
> > >> database
> > >> error "Can't connect to server", as to be expected.
> > >>
> > >> If however, mysqld is started and then we attempt our script, Apache
> > >> reports a segmentation fault (as shown in its error logs) and the
> > >> client
> > >> browser gets an unexpected network error.
> > >>
> > >> Any ideas, debugging clues, etc would be much appreciated.
> > >>
> > >> AIX 4.3.3
> > >> Apache 1.3.12 (IBM HTTP Server)
> > >> MySQL 3.23.32
> > >> PHP 4.0.4 pl 1
> > >>
> > >> Many thanks,
> > >>
> > >> Dave Brooks
> > >>
> > >> -
> > >> Before posting, please check:
> > >>http://www.mysql.com/manual.php   (the manual)
> > >>http://lists.mysql.com/   (the list archive)
> > >>
> > >> To request this thread, e-mail <[EMAIL PROTECTED]>
> > >> To unsubscribe, e-mail  > >> [EMAIL PROTECTED]>
> > >> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >
> > > -
> > > Before posting, please check:
> > >http://www.mysql.com/manual.php   (the manual)
> > >http://lists.mysql.com/   (the list archive)
> > >
> > > To request this thread, e-mail <[EMAIL PROTECTED]>
> > > To unsubscribe, e-mail  > > [EMAIL PROTECTED]>
> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-20 Thread Dave Brooks, BCS Systems

Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...

Am about to upgrade MySQL to 3.23.38 to see if this changes things, but 
feel this is clutching at straws...


Thanks,

Dave

 > On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
> >
> > > Apache is up to 1.3.17 at least. I would update apache and see what
> > > gives. PHP4
> > > wasn't coded until Apache 1.3.15 was out.
> > >
> > > "Dave Brooks, BCS Systems" wrote:
> > >>
> > >> Hello,
> > >>
> > >> I am trying to port a PHP/MySQL application that happily runs under
> > >> Linux
> > >> across to an AIX box.
> > >>
> > >> We have MySQL is running under AIX - using mysql we can create tables,
> > >> insert rows, etc and even access data via a C program.
> > >>
> > >> PHP is running as an Apache module - a simple phpinfo() works.
> > >>
> > >> If our PHP scripts are invoked when mysqld is not active we get a
> > >> database
> > >> error "Can't connect to server", as to be expected.
> > >>
> > >> If however, mysqld is started and then we attempt our script, Apache
> > >> reports a segmentation fault (as shown in its error logs) and the
> > >> client
> > >> browser gets an unexpected network error.
> > >>
> > >> Any ideas, debugging clues, etc would be much appreciated.
> > >>
> > >> AIX 4.3.3
> > >> Apache 1.3.12 (IBM HTTP Server)
> > >> MySQL 3.23.32
> > >> PHP 4.0.4 pl 1
> > >>
> > >> Many thanks,
> > >>
> > >> Dave Brooks
> > >>
> > >> -
> > >> Before posting, please check:
> > >>http://www.mysql.com/manual.php   (the manual)
> > >>http://lists.mysql.com/   (the list archive)
> > >>
> > >> To request this thread, e-mail <[EMAIL PROTECTED]>
> > >> To unsubscribe, e-mail  > >> [EMAIL PROTECTED]>
> > >> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >
> > > -
> > > Before posting, please check:
> > >http://www.mysql.com/manual.php   (the manual)
> > >http://lists.mysql.com/   (the list archive)
> > >
> > > To request this thread, e-mail <[EMAIL PROTECTED]>
> > > To unsubscribe, e-mail  > > [EMAIL PROTECTED]>
> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Resetting root password

2001-05-17 Thread Dave Brooks, BCS Systems

Read section 6.3 of the manual - restart mysqld with --skip-grant-tables.


Dave




At 10:35 18/05/01 +1000, you wrote:
>Hi all,
>
>
>Just a quick question. A friend of mine installed a mysql on a new FreeBSD 
>box, and for some reason the root password wasnt empty. He has root access 
>on the box but cant get into mysql as root to make the needed changes to 
>mysql ready for use.
>
>Is there any way a user logged on as root can reset the mysql root 
>password so he can go in and reset it ?
>
>
>Thanks
>
>
>Chris


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




AIX segmentation fault with PHP, Apache and MySQL

2001-05-17 Thread Dave Brooks, BCS Systems

Hello,

I am trying to port a PHP/MySQL application that happily runs under Linux 
across to an AIX box.

We have MySQL is running under AIX - using mysql we can create tables, 
insert rows, etc and even access data via a C program.

PHP is running as an Apache module - a simple phpinfo() works.

If our PHP scripts are invoked when mysqld is not active we get a database 
error "Can't connect to server", as to be expected.

If however, mysqld is started and then we attempt our script, Apache 
reports a segmentation fault (as shown in its error logs) and the client 
browser gets an unexpected network error.

Any ideas, debugging clues, etc would be much appreciated.

AIX 4.3.3
Apache 1.3.12 (IBM HTTP Server)
MySQL 3.23.32
PHP 4.0.4 pl 1


Many thanks,


Dave Brooks


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php