NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
install tech plaform 3.0.1 on debian linux


Joined: 22 May 2004
Posts: 73
Reply with quote
cant seem to get the techplatform to work on my debian linux (kernal 2.4.27). I am getting an error when I try to start apache.

Error:

Syntax error on line 244 of /usr/local/nusphere/apache/conf/httpd.conf:
Cannot load /usr/local/nusphere/apache/libexec/libphp4.so into server: libpng.so.2: cannot ope
n shared object file: No such file or directory
./apachectl start: httpd could not be started

Is there a set of base files I need in place to get the techplatform running? Can you tell me which ones I should have on my system?

Thanks,
Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
please run
ldd -v /usr/local/nusphere/apache/libexec/libphp4.so
and check if all the shared objects are resolved,
then check libraries that comes with TechPlatform itself and if necessary set/update LD_LIBRARY_PATH environment variable in apachectl to list missed directories
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 May 2004
Posts: 73
Reply with quote
ddmitrie wrote:
please run
ldd -v /usr/local/nusphere/apache/libexec/libphp4.so
and check if all the shared objects are resolved,
then check libraries that comes with TechPlatform itself and if necessary set/update LD_LIBRARY_PATH environment variable in apachectl to list missed directories


I ran the command and here is what I get:

libpam.so.0 => /lib/libpam.so.0 (0x40295000)
libdl.so.2 => /lib/libdl.so.2 (0x4029d000)
libz.so.1 => /usr/lib/libz.so.1 (0x402a1000)
libpng.so.2 => not found
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x402b3000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x402d1000)
libresolv.so.2 => /lib/libresolv.so.2 (0x402fe000)
libm.so.6 => /lib/libm.so.6 (0x40310000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40333000)
libc.so.6 => /lib/libc.so.6 (0x40348000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Version information:
/usr/local/nusphere/apache/libexec/libphp4.so:
libcrypt.so.1 (GLIBC_2.0) => /lib/libcrypt.so.1
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libresolv.so.2 (GLIBC_2.0) => /lib/libresolv.so.2
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libpam.so.0:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
/lib/libdl.so.2:
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
/usr/lib/libz.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/usr/lib/libjpeg.so.62:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libcrypt.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libresolv.so.2:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libnsl.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2


I am not sure how to do all the other things that you are saying to do.

Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
okay.
it printed libpng.so.2 => not found , so this library seems the only missed library.
Please check if libpng.so.2 file is in TechPlatform's directory (sorry I have no linux box under my hands right now and can't do it for you).
If not, just install libpng from your Linux distribution disks.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 May 2004
Posts: 73
Reply with quote
ddmitrie wrote:
okay.
it printed libpng.so.2 => not found , so this library seems the only missed library.
Please check if libpng.so.2 file is in TechPlatform's directory (sorry I have no linux box under my hands right now and can't do it for you).
If not, just install libpng from your Linux distribution disks.


Thanks!!

So far it is working.

Jeff
View user's profileFind all posts by jphilapySend private message


Joined: 22 May 2004
Posts: 73
Reply with quote
Hi,

Another question. When I reboot my system, I get an error that says it cant start apache because it is not executable. Now i can start apache from the command line. In anycase it appears that nothing in the techplatfrom is starting on boot even though I chose those options on install.

Any idea why?

Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
please check if apache ctl script is symlinked from /etc/init.d/rc.d/ directory, then run chkconfig with --add option to add this script for a certain runlevel or runlevels.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 May 2004
Posts: 73
Reply with quote
ddmitrie wrote:
please check if apache ctl script is symlinked from /etc/init.d/rc.d/ directory, then run chkconfig with --add option to add this script for a certain runlevel or runlevels.


Actually there ins't a directory named rc.d. So do I just create the directory, add a symlink named apache?

Thanks,
Jeff
View user's profileFind all posts by jphilapySend private message
install tech plaform 3.0.1 on debian linux
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic