Re: libexpat.so.5 not found
## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/etc/apache/srm.conf and then /usr/local/etc/apache/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /usr/local/apache will be interpreted by the # server as /usr/local/apache/logs/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. # ServerRoot /usr/local # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using /dev/null (for Unix) or # nul (for Win32) for the arguments to the directives. # #ResourceConfig /usr/local/etc/apache/srm.conf #AccessConfig /usr/local/etc/apache/access.conf # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. Rather than making you guess how many # server processes you need, Apache dynamically adapts to the load it # sees --- that is, it tries to maintain enough server processes to # handle the current load, plus a few spare servers to handle
libexpat.so.5 not found
I am getting folloing error while I try to start apache : /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by http d /usr/local/sbin/apachectl start: httpd could not be started usage: /usr/local/sbin/apachectl (start|stop|restart|fullstatus|status|graceful| configtest|help) Help please, dp __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libexpat.so.5 not found
On Sun, 30 Apr 2006, dharam paul wrote: I am getting folloing error while I try to start apache : /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by http d /usr/local/sbin/apachectl start: httpd could not be started usage: /usr/local/sbin/apachectl (start|stop|restart|fullstatus|status|graceful| configtest|help) Help please, dp The most likely cause of this is that you have upgraded to some version of FreeBSD 6. In that case, the quick fix is to install the compat5x port in misc. Be sure to update your ports tree before attempting this. This is the first thing to try if you must get your server up immediately. The alternative is to update your ports tree and then use portupgrade to reinstall ALL installed ports. This is the right way when you are sure you ports tree is in sync with your version of the OS, but it can be a long process even with a fast machine. If you did not upgrade to 6.x, you may have upgrade expat incorrectly (if memory serves), which might have happened if you used portupgrade to install or upgrade one of its many dependencies. Check the UPDATING file in the ports tree for information on correctly upgrading expat2. Possibly you installed apache from a binary that does not match your system. This should not have been possible, but oversights sometimes occur. It is impossible to be more specific without (at least) the following information: 1) What version of FreeBSD you are running (i.e. output of uname -a). 2) Did this version of apache ever work on your system? 3) Have you upgraded the system? 4) Have you used portupgrade to install something that might depend on expat? 5) Have you recently upgraded your port tree? Are you sure your port tree is appropriate for the version of the system you are using. -- Lars Eighner [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libexpat.so.5 not found
something probably upgraded libexpat.so to .6. my .6 is located at /usr/local/lib/libexpat.so.6. what i do when i get into situations where one app demands an old version, is just symlink the old version to the new. ln -s /usr/local/lib/libexpat.so.6 /usr/local/lib/libexpat.so.5 this will cause apache to see a libexpat.so.5, but it will be using the .6 version. hth, jonathan On Sunday 30 April 2006 04:31, dharam paul wrote: I am getting folloing error while I try to start apache : /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by http d /usr/local/sbin/apachectl start: httpd could not be started usage: /usr/local/sbin/apachectl (start|stop|restart|fullstatus|status|graceful| configtest|help) Help please, dp __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libexpat.so.5 not found
Sir, libexpat.so.5 problem is solved by deinstalling and reinstalling apache. But now I am not able to start apache: This is a n00b here, #apachectl configtest Syntax ok httpd-error.log reports: Mon May 1 00:48:28 2006] [alert] mod_unique_id: unable to gethostbyname([EMAIL PROTECTED]) A part of httpd.conf:- ServerName 127.0.0.1 (this line is uncommented) Listen 192.168.1.14:80 (This line commented or uncommented does not alter the error: Error remains : /usr/local/sbin/apachectl start: httpd could not be started I am going to use apache for the local intranet. It looks as if the host name [EMAIL PROTECTED] has to be changed. Please help solve the problem Thanks n regards --- Jonathan Horne [EMAIL PROTECTED] wrote: something probably upgraded libexpat.so to .6. my .6 is located at /usr/local/lib/libexpat.so.6. what i do when i get into situations where one app demands an old version, is just symlink the old version to the new. ln -s /usr/local/lib/libexpat.so.6 /usr/local/lib/libexpat.so.5 this will cause apache to see a libexpat.so.5, but it will be using the .6 version. hth, jonathan On Sunday 30 April 2006 04:31, dharam paul wrote: I am getting folloing error while I try to start apache : /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by http d /usr/local/sbin/apachectl start: httpd could not be started usage: /usr/local/sbin/apachectl (start|stop|restart|fullstatus|status|graceful| configtest|help) Help please, dp __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Jiyo cricket on Yahoo! India cricket http://in.sports.yahoo.com/cricket/ __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libexpat.so.5 not found
On Sun, Apr 30, 2006 at 04:57:09PM +0100, dharam paul wrote: #apachectl configtest Syntax ok httpd-error.log reports: Mon May 1 00:48:28 2006] [alert] mod_unique_id: unable to gethostbyname([EMAIL PROTECTED]) Something in the apache config says [EMAIL PROTECTED] (which looks like an email address) where apache is expecting a hostname. Post your httpd.conf somewhere if you need more help. -- I don't play The Game - it's for five-year-olds with delusions of adulthood. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]