Re: php & mysql - working

2010-12-02 Thread Chris Tooley

On 10-12-02 11:59 AM, Larry Linder wrote:

used "yum install  php php-mysql"
Got new update on php and php-mysql.
php-mysql functions now work!

My old paranoia is still there about upgrades.
Famous last words - "totally transparent to the user"

Finally becoming a believer in "yum"

Thank You
Larry Linder



You can also find out what sort of options have been compiled into PHP 
by creating a php page on your webserver that calls "phpinfo()"


i.e. copy and paste the below into a .php file and load it up in your 
browser to see what you've got :)


---

---

Lots of good useful information in there.

-Chris


Re: firstboot problem on laptop Dell E6510

2010-12-02 Thread FRANCHISSEUR Robert
-- Le (On) 2010-12-02 -0600 à (at) 13:55:01 Mark Stodola écrivit (wrote): --

> Try adding 'noprobe' to your boot options during install.
> 

   Thanks  for  your  answer, but I tried this  option  and  also
   'skipddc'  but  it  seems anaconda still try to  load  the  NV
   driver.

   I  noticed  that even after I installed  nvidia-x11-drv,  rhgb
   does not work either at boot.

   So  I  'yum  update kernel', reboot (rhgb worked)  and  I  ran
   firstboot by hand.

-- 
 Best regards,
   Robert FRANCHISSEUR

  Apollo_gist :-)___
| Robert FRANCHISSEUR   |
| Laboratoire de Météorologie Dynamique -  C.N.R.S. |
| Equipe "R.A.M.S.E.S." -   UPMC   -   Tour 45-55 3ème 315C |
| Boite 99 - 4, place JussieuF-75252 PARIS CEDEX 05  FRANCE |
| Phone  : +33 (0)1 44 27 73 87  fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr   http://www.lmd.jussieu.fr |
 ---


php & mysql - working

2010-12-02 Thread Larry Linder
used "yum install  php php-mysql"
Got new update on php and php-mysql.
php-mysql functions now work!

My old paranoia is still there about upgrades.
Famous last words - "totally transparent to the user"

Finally becoming a believer in "yum"

Thank You
Larry Linder  


Re: firstboot problem on laptop Dell E6510

2010-12-02 Thread Mark Stodola

Try adding 'noprobe' to your boot options during install.

-Mark

FRANCHISSEUR Robert wrote:

Hello,

is there a way to bypass the probing of the video card during install ?

There  is  an nvidia card probed on new Dell E6510 laptop which  does
not  work  with the nv driver .  I tried vga=nnn that first work  but
anaconda then find the nvidia and X failed.

If  not,  my second question is: after installing  nvidia-x11-drv, is
there  a way to have firstboot running on the next reboot (I  removed
/etc/sysconfig/firstbootand  /var/lock/subsys/firstboot   without
success)

Thanks for your help.

  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


firstboot problem on laptop Dell E6510

2010-12-02 Thread FRANCHISSEUR Robert
Hello,

is there a way to bypass the probing of the video card during install ?

There  is  an nvidia card probed on new Dell E6510 laptop which  does
not  work  with the nv driver .  I tried vga=nnn that first work  but
anaconda then find the nvidia and X failed.

If  not,  my second question is: after installing  nvidia-x11-drv, is
there  a way to have firstboot running on the next reboot (I  removed
/etc/sysconfig/firstbootand  /var/lock/subsys/firstboot   without
success)

Thanks for your help.

-- 
 Best regards,
   Robert FRANCHISSEUR

  Apollo_gist :-)___
| Robert FRANCHISSEUR   |
| Laboratoire de Météorologie Dynamique -  C.N.R.S. |
| Equipe "R.A.M.S.E.S." -   UPMC   -   Tour 45-55 3ème 315C |
| Boite 99 - 4, place JussieuF-75252 PARIS CEDEX 05  FRANCE |
| Phone  : +33 (0)1 44 27 73 87  fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr   http://www.lmd.jussieu.fr |
 ---


Re: php & mysql

2010-12-02 Thread Mark Stodola
Another thing to note.  If you need to install the php-mysql package, 
you'll need to restart apache for the changes to take on the web 
server.  It needs to re-read php.ini.


-Mark

Steven Timm wrote:

do you have the php-mysql rpm loaded?  the mysql php bindings are
in that rpm.

Steve


On Thu, 2 Dec 2010, Larry Linder wrote:

Is there anyway to tell if the php supplied on SL 5.5 was compiled 
with the

mysql functions.

We are building a new database using "mysql" and "php" so we can use 
a brouser

to access the database.
I get an error message that "php" cannot find mysql_ connect ().
I have to assume that the "mysql" is not included.

Larry Linder






--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: php & mysql

2010-12-02 Thread Steven Timm

do you have the php-mysql rpm loaded?  the mysql php bindings are
in that rpm.

Steve


On Thu, 2 Dec 2010, Larry Linder wrote:


Is there anyway to tell if the php supplied on SL 5.5 was compiled with the
mysql functions.

We are building a new database using "mysql" and "php" so we can use a brouser
to access the database.
I get an error message that "php" cannot find mysql_ connect ().
I have to assume that the "mysql" is not included.

Larry Linder



--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.


php & mysql

2010-12-02 Thread Larry Linder
Is there anyway to tell if the php supplied on SL 5.5 was compiled with the 
mysql functions.

We are building a new database using "mysql" and "php" so we can use a brouser 
to access the database.
I get an error message that "php" cannot find mysql_ connect ().
I have to assume that the "mysql" is not included.

Larry Linder 


Re: hanging kernel-update on sl5

2010-12-02 Thread Martin Flemming

On Thu, 2 Dec 2010, Bluejay Adametz wrote:

I'm no expert on this, but would doing, after a hung unstallation, this:

/bin/bash --norc -xv /sbin/mkinitrd --allow-missing -f
/boot/initrd-2.6.18-194.26.1.el5.img 2.6.18-194.26.1.el5

show more precisely where the mkinitrd script is hanging?


here it comes ...


++ awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' /etc/fstab
+ rootdev=LABEL=/
+ '[' ext3 == nfs -a x == x ']'
+ '[' LABEL=/ '!=' / -o LABEL=/ '!=' LABEL=/ ']'
++ sed -e 's/^r[ow],//' -e s/,_netdev// -e s/_netdev// -e s/,_rnetdev// -e 
s/_rnetdev// -e 's/,r[ow],$//' -e 's/,r[ow],/,/' -e 's/^r[ow]$/defaults/' 
-e 's/$/,ro/'

++ echo defaults
+ rootopts=defaults,ro
++ resolve_device_name LABEL=/
++ echo nash-resolveDevice LABEL=/
++ /sbin/nash --forcequiet


.. that's it ..
also if i change  in /sbin/mkinitrd

"/sbin/nash --forcequiet" to "/sbin/nash --force"

mysterious ...

martin



- Bluejay Adametz

I respect faith, but doubt is what gets you an education. - Wilson Mizner

NOTICE: This message, including any attachments, is only for the use of
the intended recipient(s) and may contain confidential and privileged
information, or information otherwise protected from disclosure by law.
If the reader of this message is not the intended recipient, you are
hereby notified that any use, disclosure, copying, dissemination or
distribution of this message or any of its attachments is strictly
prohibited.  If you received this message in error, please contact the
sender immediately by reply email and destroy this message, including all
attachments, and any copies thereof.



Re: hanging kernel-update on sl5

2010-12-02 Thread Bluejay Adametz
I'm no expert on this, but would doing, after a hung unstallation, this:

/bin/bash --norc -xv /sbin/mkinitrd --allow-missing -f
/boot/initrd-2.6.18-194.26.1.el5.img 2.6.18-194.26.1.el5

show more precisely where the mkinitrd script is hanging?

 - Bluejay Adametz

I respect faith, but doubt is what gets you an education. - Wilson Mizner

NOTICE: This message, including any attachments, is only for the use of 
the intended recipient(s) and may contain confidential and privileged 
information, or information otherwise protected from disclosure by law.  
If the reader of this message is not the intended recipient, you are 
hereby notified that any use, disclosure, copying, dissemination or 
distribution of this message or any of its attachments is strictly 
prohibited.  If you received this message in error, please contact the 
sender immediately by reply email and destroy this message, including all 
attachments, and any copies thereof. 


Re: hanging kernel-update on sl5

2010-12-02 Thread Martin Flemming

On Wed, 1 Dec 2010, Troy Dawson wrote:


martin.flemm...@desy.de wrote:

Hi !

I've got a problem with kernel installation/upgrades on only a few machines 
with yum or directly with rpm ...


root 28088  2.1  7.0  45316 36256 pts/1S+   13:36   0:34 
/usr/bin/python /usr/bin/yum -y update kernel*
root 28094  0.0  0.1   2496   916 pts/1S+   13:38   0:00 /bin/sh 
/var/tmp/rpm-tmp.47101 4
root 28098  0.0  0.1   2496  1000 pts/1S+   13:38   0:00 /bin/bash 
/sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 
2.6.18-194.26.1.el5
root 28107  0.0  0.2   2748  1248 pts/1S+   13:38   0:00 /bin/bash 
--norc /sbin/mkinitrd --allow-missing -f 
/boot/initrd-2.6.18-194.26.1.el5.img 2.6.18-194.26.1.el5
root 28170  0.0  0.1   2748   744 pts/1S+   13:38   0:00 /bin/bash 
--norc /sbin/mkinitrd --allow-missing -f 
/boot/initrd-2.6.18-194.26.1.el5.img 2.6.18-194.26.1.el5
root 28172  0.0  0.1   2728   712 pts/1D+   13:38   0:00 /sbin/nash 
--forcequiet



or directly with rpm ..

rpm -ivvv kernel-2.6.18-194.26.1.el5.i686.rpm


D:   install: %post(kernel-2.6.18-194.26.1.el5.i686) asynchronous scriptlet 
start
D:   install: %post(kernel-2.6.18-194.26.1.el5.i686)execv(/bin/sh) pid 
29590

++ uname -i
++ uname -i
+ '[' i386 == x86_64 -o i386 == i386 ']'
+ '[' -f /etc/sysconfig/kernel ']'
+ /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' 
/etc/sysconfig/kernel
+ /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 
2.6.18-194.26.1.el5



 got somebody any idea what's going wrong or could/should i do ?

Thanks & Cheers,

Martin


Hi Martin,
The first thing I would check was my /var/log/messages and make sure I wasn't 
getting some write error, or any error.  My first guess is that you have 
read-only access on some disk (wherever /boot is).  I'm not saying you set it 
up that way, but if your disk starts to fail, that's going to be seen, and 
linux will switch it over to read-only mode to protect the disk.


Troy


Thanks for answer, Troy et Steve !

.. but the disk and the filesystem seems to be ok,


and there isn't a real big disk in this machine .. .

/dev/hda1  9920592   6482908   2925616  69% /
/dev/hda8 45937992  41395632   2171168  96% /scratch
/dev/hda7  1984016312576   1569028  17% /var
/dev/hda6  1984016 35964   1845640   2% /tmp
/dev/hda5  3968092183452   3579816   5% /opt/products
/dev/hda2  7936288   4185900   3340732  56% /afscache
tmpfs   257220 0257220   0% /dev/shm
AFS900 0   900   0% /afs



..  i found something like this .. but these buggs/threads  are very old ...

https://bugzilla.redhat.com/show_bug.cgi?id=198981
http://forums.fedoraforum.org/archive/index.php/t-193690.html


the rpmdb think, the kernel-rpm is installed , but it's not installed :-(

flc01] /tmp # rpm -qa|grep  2.6.18-194.26
kernel-headers-2.6.18-194.26.1.el5
kernel-2.6.18-194.26.1.el5
kernel-devel-2.6.18-194.26.1.el5
[flc01] /tmp # ll /boot/initrd-2.6.18-194.26.1.el5.img
ls: /boot/initrd-2.6.18-194.26.1.el5.img: No such file or directory
[flc01] /tmp #

.. i removed the kernel  again ( out of rpmdb) and make another attempt,


Downloading Packages:
(1/3): kernel-module-openafs-2.6.18-194.26.1.el5-1.4.12-79.sl5.i686.rpm 
| 247 kB 00:00
(2/3): kernel-devel-2.6.18-194.26.1.el5.i686.rpm 
| 5.4 MB 00:03
(3/3): kernel-2.6.18-194.26.1.el5.i686.rpm 
|  17 MB 00:08


Total 
1.7 MB/s |  23 MB 00:13

Running rpm_check_debug
Member: kernel-module-openafs-2.6.18-194.26.1.el5.i686 0-1.4.12-79.sl5 - u
Adding Package 
kernel-module-openafs-2.6.18-194.26.1.el5-1.4.12-79.sl5.i686 in mode u

Member: kernel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-2.6.18-194.26.1.el5.i686 in mode i
Member: kernel-devel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-devel-2.6.18-194.26.1.el5.i686 in mode i
rpm_check_debug time: 0.802
Running Transaction Test
Member: kernel-module-openafs-2.6.18-194.26.1.el5.i686 0-1.4.12-79.sl5 - u
Adding Package 
kernel-module-openafs-2.6.18-194.26.1.el5-1.4.12-79.sl5.i686 in mode u

Member: kernel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-2.6.18-194.26.1.el5.i686 in mode i
Member: kernel-devel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-devel-2.6.18-194.26.1.el5.i686 in mode i
Finished Transaction Test
Transaction Test Succeeded
Transaction Test time: 6.789
Member: kernel-module-openafs-2.6.18-194.26.1.el5.i686 0-1.4.12-79.sl5 - u
Adding Package 
kernel-module-openafs-2.6.18-194.26.1.el5-1.4.12-79.sl5.i686 in mode u

Member: kernel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-2.6.18-194.26.1.el5.i686 in mode i
Member: kernel-devel.i686 0-2.6.18-194.26.1.el5 - i
Adding Package kernel-devel-2.6