[LON-CAPA-admin] missing execvp

Stuart Peter Raeburn raeburn at msu.edu
Mon Nov 28 13:18:55 EST 2005


Guy, 

>> 2. Can apache be started directly using 
>> 
>> /usr/sbin/httpd start &
> 
> No - /usr/sbin/httpd: No such file or directory 
> 
> How do I reinstall it?

There is the question of what caused the httpd executable to be removed from 
/usr/sbin.  I'd recommend making sure you have a good recent full back-up of 
/home on your library server before proceeding. 

The approach I would take would be as follows 

1. Were there any customizations of the Apache web server on your library 
server?  You might want to make a back-up of /etc/httpd before proceeding. 

2. Save a copy of /etc/httpd/conf/httpd.conf, e.g., as  
/etc/httpd/conf/httpd.confNOV28 

3. Uninstall the current apache rpm:
rpm -e --nodeps apache-1.3.27-3 

Note there will be some dependencies on the apache-1.3.27-3 rpm, notably 
mod_perl and LONCAPA-prerequisites.  You might want to try: 

rpm -e apache-1.3.27-3 

first to check if there are any other dependencies.  If you are doing a 
like-for-like replacement of the apache rpm, then I don't believe mod_perl 
will encounter a problem when you re-install the apache1.3.27-3 rpm.  If 
there are issues then you might also need to re-install the mod_perl_1 rpm. 

2. Obtain a new copy of the apache 1.3 rpm,
wget 
http://install.loncapa.org/fedora/linux/loncapa/3/i386/apache-1.3.27-3.i386. 
rpm
(assuming Fedora Core 3 and 32-bit architecture). 

For other distros or architectures, locate the appropriate rpm in 
http://install.loncapa.org/fedora/ (Fedora)  
http://install.loncapa.org/redhat (Red Hat enterprise) or 
ttp://install.loncapa.org/suse (SuSE) 

3. Install this rpm from whichever directory you downloaded it into.
rpm -ivh apache-1.3.27-3.i386.rpm 

4. Replace the default /etc/httpd/conf/httpd.conf installed as part of the 
new package installation process with a copy of your old conf file from 
/etc/httpd/conf/httpd.confNOV28 

Stuart 

Guy Ashkenazi writes: 

> 
>> 1. Has something happened to the apache rpm? Use
>> rpm -qa |grep apache 
>> 
>> to check if the rppm is still reported as being around. 
>> 
>> If the apache-1.3 is reported as installed ...
> 
> It says: apache-1.3.27-3 
> 
>> 2. Can apache be started directly using 
>> 
>> /usr/sbin/httpd start &
> 
> No - /usr/sbin/httpd: No such file or directory 
> 
> How do I reinstall it? 
> 
>    Guy.
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin 
> 
 





More information about the LON-CAPA-admin mailing list