View Full Version : Installing FP2002 Extension Woes - Please help!
Silent-Chaos 03-14-2002, 11:19 PM Installing Front Page 2002 extensions on a server I... and Im working on... having some of the hardest problems with it (always breezed right through it). Anyways, the problem arises when It asking me to locate the current Apache daemon, which I thought was /usr/local/apache/sbin/httpd... well, turns out there is no /usr/local/apache. The apache folder is in a webmin folder in /usr/local/webmin0.86 (i believe) and there is no httpd in that folder. Ive tried /usr/sbin/httpd, /etc/httpd, none works... get this error:
Upgrading FrontPage Webs...
cp: omitting directory `/etc/httpd'
ERROR: Unable to copy /etc/httpd to /etc/httpd.orig
ERROR: Unable to upgrade Apache daemon!
Exiting due to an error! Please fix the error and try again.
However, when I pointed it to /usr/sbin/httpd, I got:
Upgrading FrontPage Webs...
cp: cannot create regular file `/usr/sbin/httpd': Text file busy
ERROR: Unable to copy to /usr/sbin/httpd
ERROR: Unable to upgrade Apache daemon!
Exiting due to an error! Please fix the error and try again.
Any help would be appreciated guys!
MotleyFool 03-15-2002, 12:37 AM If it's a path problem , use
locate httpd
and use the path that it returns
Cheers
Balaji
Silent-Chaos 03-15-2002, 12:41 AM Quite a few came back... a whole butt load of em actually.
MotleyFool 03-15-2002, 12:44 AM Can you post the outcome pls... I am not used to Linux [only FreeBSD] but I am sure it's only a matter of a few hours before some master comes to your rescue! :)
Cheers
Balaji
Silent-Chaos 03-15-2002, 12:51 AM I hope so :) Heres the output:
[root@www version5.0]# locate httpd
/var/log/httpd
/var/log/httpd/error_log
/var/log/httpd/ssl_engine_log
/var/log/httpd/access_log
/var/log/httpd/ssl_request_log
/var/log/httpd/mod_throttle.runtime
/var/log/httpd/ssl_mutex.28771
/var/log/httpd/ssl_mutex.30839
/var/log/httpd/access_log.1
/var/log/httpd/error_log.1
/var/log/httpd/access_log.2
/var/log/httpd/error_log.2
/var/cache/httpd
/var/cache/httpd/ssl_cache.pag
/var/cache/httpd/ssl_cache.dir
/var/lock/subsys/httpd
/var/run/httpd.mm.10307.sem
/var/run/httpd.mm.28771.sem
/var/run/httpd.mm.28801.sem
/var/run/httpd.mm.30839.sem
/var/run/httpd.pid
/var/www/html/manual/programs/httpd.html
/etc/rc.d/init.d/httpd
/etc/rc.d/rc0.d/K15httpd
/etc/rc.d/rc1.d/K15httpd
/etc/rc.d/rc2.d/K15httpd
/etc/rc.d/rc3.d/K15httpd
/etc/rc.d/rc3.d/S99httpd
/etc/rc.d/rc4.d/K15httpd
/etc/rc.d/rc5.d/K15httpd
/etc/rc.d/rc6.d/K15httpd
/etc/httpd
/etc/httpd/conf
/etc/httpd/conf/ssl.crl
/etc/httpd/conf/ssl.crl/Makefile.crl
/etc/httpd/conf/access.conf
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/magic
/etc/httpd/conf/srm.conf
/etc/httpd/conf/Makefile
/etc/httpd/conf/ssl.crt
/etc/httpd/conf/ssl.crt/snakeoil-ca-dsa.crt
/etc/httpd/conf/ssl.crt/Makefile.crt
/etc/httpd/conf/ssl.crt/ca-bundle.crt
/etc/httpd/conf/ssl.crt/server.crt
/etc/httpd/conf/ssl.crt/snakeoil-ca-rsa.crt
/etc/httpd/conf/ssl.crt/snakeoil-dsa.crt
/etc/httpd/conf/ssl.crt/snakeoil-rsa.crt
/etc/httpd/conf/ssl.crt/equifax.cert
/etc/httpd/conf/ssl.crt/omnistar.cert
/etc/httpd/conf/ssl.crt/osisecureweb.cert
/etc/httpd/conf/ssl.csr
/etc/httpd/conf/ssl.csr/server.csr
/etc/httpd/conf/ssl.csr/osisecureweb.csr
/etc/httpd/conf/ssl.key
/etc/httpd/conf/ssl.key/server.key
/etc/httpd/conf/ssl.key/snakeoil-ca-dsa.key
/etc/httpd/conf/ssl.key/snakeoil-ca-rsa.key
/etc/httpd/conf/ssl.key/snakeoil-dsa.key
/etc/httpd/conf/ssl.key/snakeoil-rsa.key
/etc/httpd/conf/ssl.key/omnistar.key
/etc/httpd/conf/ssl.prm
/etc/httpd/conf/ssl.prm/snakeoil-ca-dsa.prm
/etc/httpd/conf/ssl.prm/snakeoil-dsa.prm
/etc/httpd/conf/.httpd.conf.swp
/etc/httpd/conf/httpd.conf.bak
/etc/httpd/conf/.httpd.conf.swo
/etc/httpd/logs
/etc/httpd/modules
/usr/share/doc/mod_perl-1.24_01/eg/httpd.conf.pl
/usr/share/man/man3/Apache::httpd_conf.3pm.gz
/usr/share/man/man8/httpd.8.gz
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/httpd_conf.pm
/usr/lib/apache/httpd.exp
/usr/sbin/httpd
/usr/include/apache/httpd.h
/usr/local/frontpage/version4.0/apache-fp/httpd.Compat
/usr/local/frontpage/version4.0/apache-fp/httpd
/usr/src/linux-2.4.9-21.0RS/include/config/khttpd.h
/usr/src/linux-2.4.9-21.0RS/net/khttpd
/usr/src/linux-2.4.9-21.0RS/net/khttpd/Config.in
/usr/src/linux-2.4.9-21.0RS/net/khttpd/.depend
/usr/src/linux-2.4.9-21.0RS/net/khttpd/datasending.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/Makefile
/usr/src/linux-2.4.9-21.0RS/net/khttpd/README
/usr/src/linux-2.4.9-21.0RS/net/khttpd/accept.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/make_times_h.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/logging.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/main.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/prototypes.h
/usr/src/linux-2.4.9-21.0RS/net/khttpd/misc.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/rfc_time.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/rfc.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/waitheaders.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/security.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/security.h
/usr/src/linux-2.4.9-21.0RS/net/khttpd/sockets.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/structure.h
/usr/src/linux-2.4.9-21.0RS/net/khttpd/sysctl.c
/usr/src/linux-2.4.9-21.0RS/net/khttpd/sysctl.h
/usr/src/linux-2.4.9-21.0RS/net/khttpd/userspace.c
/home/httpd
MotleyFool 03-15-2002, 12:55 AM I am inclined to think that the path of the httpd server is /usr/sbin/httpd
If you stop the server[I mean Apache] and then try FP 2002 and then restart the server it may work
Hope it helps
Cheers
Balaji
Silent-Chaos 03-15-2002, 01:15 AM Aye... well, got this:
Where is the current apache daemon located: [/usr/local/apache/sbin/httpd] /usr/sbin/httpd
/usr/local/frontpage/version5.0/apache-fp/httpd will be installed.
Currently running Apache/1.3.22 FrontPage/
No Patch.
Preparing for upgrade to Apache/1.3.19 FrontPage/5.0.2.2510...
The Apache daemon is going to be replaced with a stock Apache
containing the FrontPage patch and may result in the loss of
any custom modules that have been compiled into the daemon that
is currently in use.
Are you sure that you want to do this (y/n) [N]? y
This will result in an Apache daemon version downgrade.
Are you sure that you want to do this (y/n) [N]? y
Upgrading FrontPage Webs...
cp: cannot create regular file `/usr/sbin/httpd': Text file busy
ERROR: Unable to copy to /usr/sbin/httpd
ERROR: Unable to upgrade Apache daemon!
Exiting due to an error! Please fix the error and try again.
--------------------
hmm.. whats the No Patch. mean at the top? could that be an issue? read something about an apache Front Page patch for the webserver...
MotleyFool 03-15-2002, 01:59 AM Silent Chaos,
You may need to download the patch from
http://www.rtr.com/fpsupport/fp-patch-apache_1.3.22.htm
[the link to the patch is there in that page..]
I am sorry to say that I am quite stumped by this! :( . It looks like your Apache does not have mod_frontpage.c compiled in [you can type /usr/sbin/httpd -l to see what modules are already in your Apache]
If it's FreeBSD all you need to do is go to the ports collection and get it..
Sorry I couldn't be of any help here
Good luck with it
Cheers
Balaji
priyadi 03-15-2002, 02:14 AM Actually the frontpage extension from FreeBSD ports collection is different from RTR's. It is a lot better and has more security checks. Get it from http://people.freebsd.org/~mbr/distfiles/. It works in Linux too.
bitserve 03-15-2002, 06:02 AM "cp: cannot create regular file `/usr/sbin/httpd': Text file busy" probably means that you need to stop apache before you run the fp_install.sh script.
I've tried the improved mod_frontpage that used to be updated at http://home.edo.uni-dortmund.de/~chripo/
Now, the latest version of the improved mod_frontpage is indeed a FreeBSD version, which needs to be ported back to linux. Basically just make some changes in the config files.
However, mod_frontpage and the improved mod_frontpage didn't work for me, when using it with apache's suexec. The new FrontPage 2002 web administration pages weren't working for any of the FrontPage webs.
I ended up using the mod_frontpage from RTR and patching suexec to get them to play together nicely.
If you are able to get the web admin pages working for the FrontPage webs with the regular mod_frontpage or the improved mod_frontpage, please clue me in on how you did it.
Thank you.
Silent-Chaos 03-15-2002, 08:04 AM Now once I download that front page page for Apache, how do I go about installing it? Its not in .tar format or anything... so Im a tad stumped =\ Thank you all for your help, really appreciate it.
Silent-Chaos 03-15-2002, 12:09 PM OK... stop the httpd daemon, and now we're going :) So far so good... stupid me, shouldve thought of that from the getgo... aye, long day :) Appreciate all the help... now just one more teeny problem, the install instructs for FP extensions 2002 tell me I need to run the FrontPage Apache patch binaries and source files installed in /usr/local/frontpage/version5.0/apache-fp... Im assuming thats already done when sh ftp_install.sh is called, right? Well.. I've made it this far now. Here's the output as well as the error:
Copying /usr/local/frontpage/version5.0/frontpage.cnf to /usr/local/frontpage/version5.0/frontpage.cnf.orig
Creating and modifying new /usr/local/frontpage/version5.0/frontpage.cnf...
Note: Local version of Apache must use the FrontPage Apache patch.
See http://www.microsoft.com/frontpage/ for more details.
Note: If you have not installed the root web then you need to do it now.
Do you want to install a root web (y/n) [Y]? y
Installing the root web...
Server config filename: /usr/sbin/httpd
FrontPage Administrator's user name: admin
Getting User from /usr/sbin/httpd
Unix user name of the owner of this new web: [to]
Getting Group from /usr/sbin/httpd
Unix group of this new web: [to]
Installing root web into port obtain...
installing server / on port obtain
Will chown web to to as part of install.
Will chgrp web to to as part of install.
Error:
Value "obtain" is incorrect.
Syntax error in value of "port" parameter.
ERROR: / installation failed.
Hit enter to continue
Exiting due to an error! Please fix the error and try again.
[root@www version5.0]#
Ive also used www as the above unix user name for the web... (as suggested by a friend), yet that still gave the error. Any suggestions? Thanks for the replies.
Silent-Chaos 03-15-2002, 04:03 PM Any ideas gents?
bitserve 03-17-2002, 02:26 AM You should see if you can get someone to set it up for you.
ssrsunil 09-09-2005, 12:37 AM Hi,
What was the "patching suexec" you performed. I am stuck at this point. ried some hacking into the source code of suexec.c and suexec.h, but in vain.
Sunil Sunder Raj
|