[Serusers] Re: SERWEB: classkit.so file can not be loaded. Why? Please help..Please

Karel Kozlik karel at iptel.org
Wed Sep 13 08:37:02 CEST 2006


Hi,
yes this is the bug in classkit extension. It does not work correctly in 
php5.1. So I suggest to downgrade to php 5.0 (or 4.x - there you do not 
need classkit extension)

Karel

Ferianto siregar napsal(a):
> Dear all,
> 
>         Thank you very much to Karel Kozlik and all of you who always 
> kind-hearted to help me. Thank you very much.
> 
>         Karel, I have tried your suggestion in installing serweb. I have 
> installed the DB-1.7.6 and classkit-0.4 .
>         This is the installation message :
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
> 
> running: make 
> INSTALL_ROOT="/var/tmp/pear-build-root/install-classkit-0.4" insta ll
> Installing shared extensions:     
> /var/tmp/pear-build-root/install-classkit-0.4/ usr/lib/php/modules/
> running: find "/var/tmp/pear-build-root/install-classkit-0.4" -ls
> 362402    8 drwxr-xr-x   3 root     root         4096 Sep 12 16:54 
> /var/tmp/pear -build-root/install-classkit-0.4
> 362423    8 drwxr-xr-x   3 root     root         4096 Sep 12 16:54 
> /var/tmp/pear -build-root/install-classkit-0.4/usr
> 362424    8 drwxr-xr-x   3 root     root         4096 Sep 12 16:54 
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib
> 362425    8 drwxr-xr-x   3 root     root         4096 Sep 12 16:54 
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php
> 362426    8 drwxr-xr-x   2 root     root         4096 Sep 12 16:54 
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php/modules
> 362422   60 -rwxr-xr-x   1 root     root        49885 Sep 12 16:54 
> /var/tmp/pear 
> -build-root/install-classkit-0.4/usr/lib/php/modules/classkit.so
> 
> Build process completed successfully
> Installing 
> '/var/tmp/pear-build-root/install-classkit-0.4//usr/lib/php/modules/c 
> lasskit.so'
> install ok: classkit 0.4
> Segmentation fault
>         But when I tried to run it in the browser, the error message.
> The message says :
> Function aggregate_methods() doesn't exists. Try install Classkit 
> extension. http://pecl.php.net/package/classkit
> I have add "extension=classkit.so" in php.ini file. But why this message 
> still appear?
> When I tried to look the error_log file in /var/log/httpd/, I got this 
> error message:
> 
> [Tue Sep 12 16:59:45 2006] [notice] Digest: generating secret for digest 
> authentication ...
> [Tue Sep 12 16:59:45 2006] [notice] Digest: done
> [Tue Sep 12 16:59:45 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Tue Sep 12 16:59:45 2006] [notice] LDAP: SSL support unavailable
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so: 
> cannot open shared object file: Permission denied in Unknown on line 0
> [Tue Sep 12 16:59:45 2006] [notice] mod_python: Creating 4 session 
> mutexes based on 256 max processes and 0 max threads.
> [Tue Sep 12 16:59:45 2006] [notice] Apache/2.0.54 (Fedora) configured -- 
> resuming normal operations
> [Tue Sep 12 17:00:04 2006] [error] [client 202.95.149.251] File does not 
> exist: /var/www/serweb/html/favicon.ico
> [Tue Sep 12 17:00:12 2006] [error] [client 202.95.149.251] File does not 
> exist: /var/www/serweb/html/favicon.ico
> Sep 12 11:56:07 sip kernel: audit(1158036967.878:16): avc:  denied  { 
> read } for  pid=2958 comm="httpd" name="classkit.so" dev=hdb6 
> ino=1499281 scontext=root:system_r:httpd_t:s0 
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:07 sip kernel: audit(1158036967.878:17): avc:  denied  { 
> read } for  pid=2958 comm="httpd" name="classkit.so" dev=hdb6 
> ino=1499281 scontext=root:system_r:httpd_t:s0 
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:11 sip kernel: audit(1158036971.482:18): avc:  denied  { 
> read } for  pid=2978 comm="httpd" name="classkit.so" dev=hdb6 
> ino=1499281 scontext=root:system_r:httpd_t:s0 
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:11 sip kernel: audit(1158036971.482:19): avc:  denied  { 
> read } for  pid=2978 comm="httpd" name="classkit.so" dev=hdb6 
> ino=1499281 scontext=root:system_r:httpd_t:s0 
> tcontext=root:object_r:tmp_t:s0 tclass=file
> As I read from the error message, the file classkit.so can not be 
> loaded? Why? Would you mind give me a solution? Please....
> 
> Thank you very much,
> 
> Regards,
> 
> 
> Ferianto
> 
> */
> Karel Kozlik <karel at iptel.org>/* wrote:
> 
>     Hi,
> 
>      > Thank you much for your help. I am very happy to read this relpy
>     message
>      > from you . Thanks you..thank you very much.
>      > Karel, may I ask you again..Please..
>      > What you mean by pear library?
>      > I am using Fedora Core 5 and I found these packages are installed
>     in my
> 
>     sorry, I don't know Fedora
> 
>      >
>      > Do you mean that pear library is *php-pear-1.4.6-2 *that is
>     installed?
> 
>     I think so.
> 
>     Karel
> 
>      > or I have install pear again?
>      > Please help me..Karel.. I too lack. Please...
>      >
>      > Thank you very much..Thank you.
>      >
>      >
>      > Regards,
>      >
>      > Ferianto
>      >
>      > */Karel Kozlik /* wrote:
>      >
>      > Hi,
>      >
>      > > 1. I have downloaded from pear.net the DB packet. The version
>     of the
>      > > packet is DB-1.7.6. I have untar it in root directory. I can
>      > found the
>      > > file DB.php in it. But I am confused, where should I place this
>      > > DB.php file? So I can solve this error? Would ypu mind telling
>      > me..Please..
>      > > Sould I have internet connection to install it? Because I do not
>      > have
>      > > internet connection now.
>      >
>      > Please read the documentation!
>      > http://pear.php.net/manual/en/installation.cli.php
>      >
>      > You should not untar the file in clasic way. You should use:
>      > pear install .tgz
>      > instead. You have to have 'pear' binary installed before, of
>     course. I
>      > don't know what OS are you useing. There should be some package
>      > containing the 'pear' binary. If there is not, read the instructions
>      > here:
>      > http://pear.php.net/manual/en/installation.getting.php
>      >
>      >
>      > > 2. Would you mind telling me what you mean by "fix include_path
>      > in your
>      > > php.ini".
>      > > Would you mind give me an example? Please...
>      >
>      > This mean if you have your pear library in diferent directory (e.g.
>      > /usr/share/foo/bar/pear) you have to append this directory to
>      > 'include_path' variable within php.ini (php configuration file). Read
>      > the comments within php.ini for more info.
>      >
>      > regards Karel
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      > Do you Yahoo!?
>      > Everyone is raving about the all-new Yahoo! Mail.
>      >
>      >
> 
> 
> ------------------------------------------------------------------------
> Get your own web address for just $1.99/1st yr < 
> http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>. 
> We'll help. Yahoo! Small Business 
> <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/>.



More information about the sr-users mailing list