Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Dell PowerEdge Servers
  #1  
Old May 8th, 2001, 11:46 AM
cindy_lens cindy_lens is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 28 cindy_lens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
apachectl configtest

Hi

On Sparc2.6, I source 2 different .cshrc files. One .cshrc file works fine when running "apachectl configtest". When I source another .cshrc file, I get this error when running "apachectl configtest":
ld.so.1: /usr/local/bin/httpd: fatal: libz.so: open failed: No such file or directory Killed

I am guesssing that something in the env is not set.

Thanks, Cindy

Reply With Quote
  #2  
Old May 8th, 2001, 02:36 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Show us both your .cshrc files.

>> ld.so.1: /usr/local/bin/httpd: fatal: libz.so

Seems like you are using non-standard path again.

Reply With Quote
  #3  
Old May 8th, 2001, 04:06 PM
cindy_lens cindy_lens is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 28 cindy_lens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
#This is the .cshrc file that works with apachectl
#
# Check for OS type
set OS="none"
if ( `/usr/bin/uname -r | cut -c1` == "5" ) then
set OS="solaris"
endif

if ( $OS == "none" ) then
echo "Unknown OS"; exit 2
endif


umask 002
set noclobber
set filec
limit coredumpsize 0

set npath1=()
set npath2=()
set npath3=()
set npath4=()


if (! $?OPENWINHOME ) then
setenv OPENWINHOME /usr/openwin
endif

setenv LD_RUN_PATH /usr/openwin/lib:/usr/ucblib
setenv MANPATH /site/man:/usr/man:/usr/openwin/man:/opt/man:/opt/SUNWspro/man
setenv IDL_DIR /opt/idl_5
if (-f /opt/SUNWspro/bin/fpversion ) then
setenv FP `/opt/SUNWspro/bin/fpversion -foption | awk '{print $1}'`
endif

setenv LD_LIBRARY_PATH .:/opt/SUNWspro/SC4.2/lib:$OPENWINHOME/lib:/usr/lib:/usr/ucblib:/site/lib:$JAVA_HOME/lib
setenv CLASSPATH .:$JAVA_HOME/lib/classes.zip
setenv ALT_JDK $JAVA_HOME
setenv THREADS_FLAG native
setenv HOTJAVA_HOME /site/java/HotJava # hotjava directory

setenv TCAT /usr/lib/lp/postscript/dpost # so man -t xxx | lp works
setenv XNLSPATH /usr/openwin/lib/X11/nls

set npath1=(/usr/local/bin /local/bin /site/bin /site/scripts /site/bin/mmxp)
set npath2=(/usr/bin /etc /usr/etc /usr/sbin /opt/SUNWspro/bin /opt/SUNWspro/SC/bin /usr/ucb /usr/ccs/bin /usr/lib/lp/postscript)
set npath3=($OPENWINHOME/{bin,bin/xview})
set npath4=(/usr/hec/bin /opt/wordperfect/{wpbin,wplib})


#This is .cshrc that does not work with apachectl
#
set history=50
if ( $TERM == "vt100" ) then
if ( -f /usr/bin/X11/resize ) then
/usr/bin/X11/resize
endif
if ( -f /usr/openwin/bin/resize ) then
/usr/openwin/bin/resize
endif
endif

stty erase ^H
setenv EDITOR vi
setenv VISUAL vi
set EDITOR=vi
.:/opt/SUNWspro/SC4.2/lib:$OPENWINHOME/lib:/usr/lib:/usr/ucblib:/site/lib:$JAVA_HOME/lib
set path=(/bin /usr/bin /usr/ucb /usr/sbin /usr/bin/X11 /usr/ccs/bin /usr /support/scripts /usr/lib/autofs /usr/lib /usr/local/bin /site/bin /usr/local/lib /site/lib /usr/local/frontpage/version3.0/bin /usr/local/frontpage/version3.0 /usr/opt/SUNWmd/sbin /opt/SUNWspro/bin /usr/openwin/bin $path)
setenv TCLLIBPATH "/usr/local/lib/tnm2.1.5 /usr/local/lib/tkined1.4.5"
setenv TCL_LIBRARY "/usr/local/lib/tcllib /usr/local/lib/libtcl7.5.so"
unsetenv LD_LIBRARY_PATH

Reply With Quote
  #4  
Old May 8th, 2001, 04:32 PM
cindy_lens cindy_lens is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 28 cindy_lens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi freebsd

I just copied libz.so from /usr/local/lib into /usr/lib and now it is working.

Thanks, Cindy

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apachectl configtest


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway