Front Page Extentions on FreeBSD server

FreeBSD specific actions

Front Page Extentions on FreeBSD server

Postby lik » Tue Jan 20, 2009 7:17 am

Common error message:
Cannot find package compat-gcc-32 ...
Cannot find package glibc-devel.i386 ...
Cannot find package compat-glibc ...
Cannot find package libgcc.i386 ...
Cannot find package glibc-devel ...
Cannot find package libgcc ...

Official documentation (http://www.cpanel.net/support/docs/ea/ea3/faq_frontpage.html) says:

FrontPage is supported for all versions of Apache available through EasyApache 3 and all operating systems supported by cPanel. For Apache 2.0 and 2.2, the fpexe FrontPage binary is replaced with a copy of /scripts/fp-auth which collects the authentication tokens generated by mod_auth_passthrough and does not require the SUID bit of a more traditional mod_frontpage installation. Most common FrontPage problems can be addressed by:

* Running /scripts/initsuexec
* Uninstalling and reinstalling the FrontPage extensions on the affected account
* Checking for errors generated by visiting the FrontPage administration interface at http://domain.com/_vti_bin/_vti_adm/fpadmcgi.exe

FrontPage on 64-bit Systems

The FrontPage binaries are compiled in 32-bit mode, so the underlying OS must support execution of 32-bit binaries. On most Linux systems, 32-bit compatibility libraries are installed by default and no special configuration is required. On 64-bit FreeBSD systems, 32-bit compatibility is NOT installed by default. For FrontPage to function on these systems, the 32-bit compatibility layer must be installed. This involves:

1. Adding "WITH_LIB32=yes" to /etc/make.conf
2. Rebuilding the core operating system libraries with "make buildworld" and "make installworld"
3. Rebuilding the kernel if 32-bit support was not previously enabled

NOTE: Please carefully read the FreeBSD manual before attempting to enable 32-bit support on a 64-bit FreeBSD system. Upgrading the core OS in this fashion is a complex process and should not be undertaken lightly.
This is not very helpful....

Corresponding cPanel scripts:
/scripts/fixfrontpageperm -- Fix the frontpage permission issues
/scripts/checkfpkey -- Checks for the FrontPage suid key
/scripts/setupfp5 -- Install FrontPage 5 (2002) installer on an account
/scripts/unsetupfp4 -- Un-install extensions
/script/updatefrontpage -- Updates FrontPage
/scripts/updatenow -- Update /scripts (CAREFUL!!! may update scripts for another cPanel version )
/scripts/initfpsuexec -- ???


Another complicated solution:
Code: Select all
wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.2/6.2-RELEASE-amd64-disc1.iso
mdconfig -a -t vnode -f /var/data/soft/image.iso
mount -t cd9660 /dev/md0 /mnt/iso/
sysinstall
Configure -> Media -> File system -> insert /mnt/iso/6.2-RELEASE
/mnt/iso/6.2-RELEASE/lib32/install.sh
ls -la /usr/ | grep lib32 (проверяем)
/scripts/upcp
umount /mnt/iso/
mdconfig -d -u /dev/md0

This solution may suck too.((

Finally, FP extensions were installed with help of the following procedure (example values):
Code: Select all
uname -a

FreeBSD 'hostname' 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 'date' root@'hostname':/usr/obj/usr/src/sys/KERNCONF amd64
Download libs for your current platform (in my case):
Code: Select all
wget -r ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/7.0-RELEASE/lib32
cd ftp.freebsd.org/pub/FreeBSD/releases/amd64/7.0-RELEASE/lib32
sh sh install.sh

Check :
Code: Select all
ls -la /usr/ | grep lib32
ls -la /usr/lib32/
ls -la /libexec/ld-elf32.so.1

If yes, install FP-ext for user. Check installation:
http://domain.com/_vti_bin/_vti_adm/fpadmcgi.exe
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to FreeBSD specific

 


  • Related topics
    Replies
    Views
    Last post
cron