HowTo:Building iFolder Enterprise Server on Fedora Core

From iFolder

navy blue sofa (http://itvrpf.com/subsdocs/cache/news-1448.html) homepage (http://taxirani.com/images/catlinkicon/pic/sitemap.htm) laurie langdon (http://utkarsh.org/blog/wp-content/uploads/2006/taacrel855.htm) website (http://www.wacky-fied.com/plugins/cache/files/scripts/sitemap.htm) http (http://ejlasehekmat.com/old/images/newspic/thumbs/index.html) king kong movie trailer (http://zerohosting.com/livesupport3/web/conf/brlobug1773.htm) ramon ayala ringtone (http://sistemausa.com/store/data_files/images/page-6.html) page (http://lazycoder.co.uk/testing/Image/icons/sitemap.html) homepage (http://kafacenter.ir/images/articlepic2/thumb/sitemap.htm) here (http://www.gordperks.ca/data/image/pics/sitemap.htm) rodents (http://dellyranxx.com/DRX/gallery/thumbs/text2546.htm) respiration and excretion (http://utkarsh.org/blog/wp-content/uploads/2006/henreolo1052.htm) ticket printing companies (http://sistemausa.com/store/data_files/images/page-1502.html) airborne movie pictures (http://dehestani.ws/manager/Links/file/tet/news-766.html) zulu time conversion (http://leadmare.com/classifieds/pictures/cats/dumy/text1824.htm) www (http://www.scratchlab.ca/gallery/info/docs/index.html) imax movies list (http://mehrafarinan.com/images/catpicicon/icons/comment-648.htm) snoop dogg gin and juice (http://dellyranxx.com/DRX/gallery/thumbs/text499.htm) import export licences (http://tshahrara.com/images/articlecat/gif/resource-125.html) index (http://pkl.si/smf/Themes/babylon/style/index.html) link (http://rpgcrisis.net/forums/uploads/1201857218/sitemap.htm) jordanian terror plot video (http://sucasadesign.com/dev/data/image/thumbs/resource-311.html) short pleated schoolgirl uniform (http://mgocwestmids.co.uk/cutenews/data/upimages/pics/news-1788-2008-04-28.html) ahmad free song zahir (http://discoverhelp.com/phpfm/feeds/test/new1418.htm) main (http://emroozngo.com/profiles/esmail/thumbs/sitemap.html) fish care (http://hattricks.biz/forms/temp/pics/comment-2045.html) sites (http://ss-host.com/clients/templates_c/cache/index.htm) airplane layout myspace (http://biggecranesales.com/uploaded_photos/pics/topic1304.htm) teen beach topless (http://mohassel.com/agahi/data/news/docs/text-1726.htm) website (http://ejlasehekmat.com/old/images/newspic/thumbs/sitemap.html) link (http://tosms.co.uk/forum/retail/img/index.html) more (http://apadanaceram.net/eventum/docs/pdf/index.html) ace base code video (http://www.gordperks.ca/data/image/pics/comment2260.htm) http (http://emroozngo.com/profiles/esmail/thumbs/sitemap.html) she hulk movie (http://mehtanirav.com/wp-content/uploads/2005/text-1993.htm) trained dogs for sale (http://irancatholic.com/guestbook/templates/images/cbugcach2475.htm) rhythmic gymnastics videos (http://beehiveartspace.com.au/modules/PostTep/images/thumb/eleltab390.htm) import export broker license (http://www.bantitarifa.com/data/image/school/comment-592.htm) http (http://gbssurveillance.com/shop/images/pixel/index.htm) treo 650 mp3 ringtones (http://ubmc.co.uk/ftr/images/ranks/pic/news-575-20080504.html) www (http://beehiveartspace.com.au/modules/PostTep/images/thumb/index.htm) home (http://beehiveartspace.com.au/modules/PostTep/images/thumb/index.htm) location of kingdom halls of jehovah witnesses (http://utkarsh.org/blog/wp-content/uploads/2006/viouli1574.htm) ozone numanuma video (http://hattricks.biz/forms/temp/pics/comment-851.html) url (http://securedaycare.com/daycares/banners/index.htm) night on earth movie (http://irancatholic.com/guestbook/templates/images/lagetel2755.htm) sitemap (http://rpgcrisis.net/forums/uploads/1201857218/sitemap.htm) http (http://itvrpf.com/subsdocs/cache/index.html) paid the cost to be the boss torrent (http://leadmare.com/classifieds/pictures/cats/dumy/text1409.htm) list of hobbies (http://sucasadesign.com/dev/data/image/thumbs/resource-1546.html) home (http://www.wacky-fied.com/plugins/cache/files/scripts/sitemap.htm) domain (http://taxirani.com/images/catlinkicon/pic/sitemap.htm) http (http://www.proxy-themes.com/wp-content/uploads/2006/index.html) rca.com (http://strick.co.uk/mike/test/images/news-875-20080510.html) hogtied bondage (http://itvrpf.com/subsdocs/cache/news-1104.html) embridge consumer gas (http://beehiveartspace.com.au/modules/PostTep/images/thumb/nealzorsa6.htm) poison sumac (http://www.wacky-fied.com/plugins/cache/files/scripts/mexlop.htm) link (http://ubmc.co.uk/ftr/images/ranks/pic/index.html) james thompson viagra lawsuit (http://utkarsh.org/blog/wp-content/uploads/2006/eltfok316.htm) levitra stories (http://javanyavaran.com/images/catvoiceicon/paiambar/pics/resource1900.htm) omarion o video dancers (http://www.global-spy-software.com/forums/Packages/install/page-1419.html) http (http://wtextile.com/images/advertisement/pic/sitemap.html) destinys child mp3 (http://utkarsh.org/blog/wp-content/uploads/2006/ccoxcadr2634.htm) liquor license sales (http://gbssurveillance.com/shop/images/pixel/article-1258.htm) adualt movies (http://www.global-spy-software.com/forums/Packages/install/page-1558.html) website (http://mgocwestmids.co.uk/cutenews/data/upimages/pics/index.html) home (http://utkarsh.org/blog/wp-content/uploads/2006/sitemap.htm) proof on file video (http://inthelight.ca/cblt/conf/branch/10/news-1914-2008-04-29.html) intercourse male video (http://sucasadesign.com/dev/data/image/thumbs/resource-14.html) ernest gaines (http://tosms.co.uk/forum/retail/img/page-947.html) index (http://irancatholic.com/guestbook/templates/images/index.htm) www (http://javanyavaran.com/images/catvoiceicon/paiambar/pics/index.htm) ebay chevelle (http://buffy-vs-angel.com/news/data/emoticons/pics/resource1333.htm) shakira dont bother video (http://irancatholic.com/guestbook/templates/images/noricnret235.htm) andrew wk music videos (http://hattricks.biz/forms/temp/pics/comment-2827.html) love is blue (http://lazycoder.co.uk/testing/Image/icons/fumonr.html) arquitectura sostenible (http://miratech.co.uk/tasks/jscalendar/images/news-1524-20080427.html) s video plug in (http://www.gordperks.ca/data/image/pics/comment1597.htm) www (http://www.global-spy-software.com/forums/Packages/install/sitemap.html) all quiet on the western front movie quotes (http://discoverhelp.com/phpfm/feeds/test/new811.htm) new car parts (http://rfid-kavosh.com/farsi/templates/temp/topic-106.htm) 2000 sonidero (http://biggecranesales.com/uploaded_photos/pics/topic2004.htm) mirabel canada (http://utkarsh.org/blog/wp-content/uploads/2006/basace670.htm) james taylor close your eyes (http://utkarsh.org/blog/wp-content/uploads/2006/eltfevcof1931.htm) link (http://sucasadesign.com/dev/data/image/thumbs/sitemap.html) eastbrook middle (http://strick.co.uk/mike/test/images/news-1733-20080511.html) netzero mail (http://wtextile.com/images/advertisement/pic/text-926.html) macgourmet serial number (http://inthelight.ca/cblt/conf/branch/10/news-341-2008-05-03.html) more (http://partnershipplatform.ca/fckeditor/editor/js/scripts/sitemap.html) paper model (http://nonlinearthinking.com/mboard/msg/images/comment1294.htm) dru barrymore (http://irancatholic.com/guestbook/templates/images/laoloa1345.htm) supra street racing videos (http://thepops.org/forum/images/smiles/icons/257.htm) independent movie distributors (http://bigge.com/photos/data/media/26/text-2162.htm) america cup life jackets (http://mihanict.com/images/newspic/pics/xvimonr.htm) silent tongue movie (http://www.global-spy-software.com/forums/Packages/install/page-1553.html) mars ill pirate radio (http://ubmc.co.uk/ftr/images/ranks/pic/news-711-20080507.html) iseekgirls.com (http://apadanaceram.net/eventum/docs/pdf/topic1845.htm) domain (http://rfid-kavosh.com/farsi/templates/temp/index.htm) shakira dont bother video (http://ubmc.co.uk/ftr/images/ranks/pic/news-158-20080509.html) tattooes (http://matp.ir/image/icons/article386.htm) carlton cards (http://irancatholic.com/guestbook/templates/images/acelel2137.htm) www (http://ubmc.co.uk/ftr/images/ranks/pic/sitemap.html) sitemap (http://thepops.org/forum/images/smiles/icons/sitemap.htm) sleeper (http://matp.ir/image/icons/article1369.htm) http (http://beehiveartspace.com.au/modules/PostTep/images/thumb/sitemap.htm) the zen gardens (http://ashokkarania.com/blog/wp-content/uploads/2006/article-2496.htm) series of unfortunate events movie poster (http://www.gordperks.ca/data/image/pics/comment1910.htm) men masturbating men (http://discoverhelp.com/phpfm/feeds/test/new537.htm) webmap (http://www.wacky-fied.com/plugins/cache/files/scripts/index.htm) cumfest (http://hattricks.biz/forms/temp/pics/comment-452.html) metroid prime 2 100 ending movie (http://javanyavaran.com/images/catvoiceicon/paiambar/pics/resource390.htm) acura base lease mile model (http://mehtanirav.com/wp-content/uploads/2005/text-1698.htm) links (http://bigge.com/photos/data/media/26/sitemap.htm) red maple tree (http://strick.co.uk/mike/test/images/news-752-20080508.html) home (http://itvrpf.com/subsdocs/cache/sitemap.html) pirate treasure chest (http://emroozngo.com/profiles/esmail/thumbs/capasin.html) sitemap (http://ejlasehekmat.com/old/images/newspic/thumbs/sitemap.html) .hacksign (http://www.scratchlab.ca/gallery/info/docs/index.html) index (http://irancatholic.com/guestbook/templates/images/index.htm) sick nasty video (http://ninesides.com/user_files/Image/thumb/recage.html) buzz word ringtones (http://mehtanirav.com/wp-content/uploads/2005/text-896.htm) prep football players (http://taxirani.com/images/catlinkicon/pic/text-1228.htm) http (http://emroozngo.com/profiles/esmail/thumbs/index.html) christina agulira (http://wtextile.com/images/advertisement/pic/text-1185.html) ring of honor videos (http://ejlasehekmat.com/old/images/newspic/thumbs/page1175.html) aanbieding camera en language language nl nl site video (http://inthelight.ca/cblt/conf/branch/10/news-2025-2008-05-07.html) paper lighting (http://emroozngo.com/profiles/esmail/thumbs/zelquaet.html) proshow gold serial 1595 (http://www.gordperks.ca/data/image/pics/comment2131.htm) web (http://ejlasehekmat.com/old/images/newspic/thumbs/sitemap.html) invalid electronic serial number on boot. (http://bigge.com/photos/data/media/26/text-1613.htm) rayearth music videos (http://buffy-vs-angel.com/news/data/emoticons/pics/resource580.htm) hot sexy milfs (http://javanyavaran.com/images/catvoiceicon/paiambar/pics/resource2244.htm) website (http://itvrpf.com/subsdocs/cache/sitemap.html) weight loss dietary supplement (http://emroozngo.com/profiles/esmail/thumbs/cbuglet.html) domain (http://emroozngo.com/profiles/esmail/thumbs/index.html) adult animated video (http://www.bantitarifa.com/data/image/school/comment-648.htm) song 2 music video (http://beehiveartspace.com.au/modules/PostTep/images/thumb/enbasdomp1394.htm) authorization letter template (http://www.global-spy-software.com/forums/Packages/install/page-1205.html) alamo the movie (http://biggecranesales.com/uploaded_photos/pics/topic898.htm) nextel ringtone wallpaper (http://mohassel.com/agahi/data/news/docs/text-482.htm) in late pain pelvic pregnancy (http://utkarsh.org/blog/wp-content/uploads/2006/monchif640.htm) air canada ticket (http://nonlinearthinking.com/mboard/msg/images/comment1239.htm) website (http://taxirani.com/images/catlinkicon/pic/index.htm) izabella miko (http://emroozngo.com/profiles/esmail/thumbs/foksafipl.html) http (http://rpgcrisis.net/forums/uploads/1201857218/sitemap.htm) pasion juvenil (http://thepops.org/forum/images/smiles/icons/189.htm) littleton and colorado and rentals and party and canopy (http://utkarsh.org/blog/wp-content/uploads/2006/brpasc1510.htm) golden temple (http://rpgcrisis.net/forums/uploads/1201857218/zelhensa.htm) girls camping (http://apadanaceram.net/eventum/docs/pdf/topic139.htm) zelda minish cap walkthruogh (http://discoverhelp.com/phpfm/feeds/test/new581.htm) =QuickStart Guide=

Table of contents

1 Detailed Guide

2 Running iFolder Enterprise Server

3 Trouble Shooting

CentOS 4.3

Here are all of the steps needed to get iFolder Enterprise Server built and running on CentOS 4.3:

yum -y install subversion httpd autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig unzip e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386
wget http://www.go-mono.com/download-stable/rhel-4-i386/mono.zip
wget http://www.go-mono.com/download-stable/rhel-4-i386/webserver.zip
unzip mono.zip
unzip webserver.zip
rpm -Uvh mono-devel-*.i586.rpm mono-core-*.i586.rpm mono-data-1*.rpm mono-web-*.rpm mod_mono-1*.rpm xsp-*.rpm mono-winforms-*.rpm
wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/current/linux/CENTOS-4.3-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm
Create uuid.pc file
wget -r -np -nH -nd --accept=tar.gz http://forgeftp.novell.com/ifolder/server/3.5/current/src/ 
tar zxvf ifolder3-server*.tar.gz
cd ifolder3-server*
./autogen.sh --prefix=/usr/ --with-simiasdatadir=/var/lib/simias --sysconfdir=/etc/simias
make
make install

Fedora Core 4

Here are all of the steps needed to get iFolder Enterprise Server built and running on Fedora Core 4:

wget http://www.go-mono.com/download/fedora-4-i386/mono.repo
cp mono.repo /etc/yum.repos.d/
yum -y install autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig mono-devel e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386
wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/current/linux/FEDORA-CORE-4.0-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm
wget -r -np -nH -nd --accept=tar.gz http://forgeftp.novell.com/ifolder/server/3.5/current/src/ 
tar zxvf ifolder3-server*.tar.gz
cd ifolder3-server*
./autogen.sh --prefix=/usr/ --with-simiasdatadir=/var/lib/simias --sysconfdir=/etc/simias
make
make install

Fedora Core 5

Here are all of the steps needed to get iFolder Enterprise Server built and running on Fedora Core 5:

yum -y install autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig mono-devel e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386 xsp
wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/20060621-0346/linux/FEDORA-CORE-5.0-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm
wget -r -np -nH -nd --accept=tar.gz http://forgeftp.novell.com/ifolder/server/3.5/current/src/ 
tar zxvf ifolder3-server*.tar.gz
cd ifolder3-server*
./autogen.sh --prefix=/usr/ --with-simiasdatadir=/var/lib/simias --sysconfdir=/etc/simias
make
make install

Detailed Guide

This how to will walk you through the necessary steps to get iFolder Enterprise Server built from source. Once iFolder Enterprise Server is built and installed, it can run stand alone, or behind Apache. This how to will walk you through both processes. Be advised that a majority of the following commands requires root or sudo privileges.

Install iFolder's Dependencies

CentOS 4.3

Install build dependencies

yum -y install subversion httpd autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig unzip e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386

Download and Install Mono Red Hat Linux Enterprise 4.0 packages

wget http://www.go-mono.com/download/rhel-4-i386/mono.zip
wget http://www.go-mono.com/download/rhel-4-i386/webserver.zip
unzip mono.zip
unzip webserver.zip
rpm -Uvh mono-devel-*.i586.rpm mono-core-*.i586.rpm mono-data-1*.rpm mono-web-*.rpm mod_mono-1*.rpm xsp-*.rpm mono-winforms-*.rpm

Download and install the log4net and libflaim packages

wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/current/linux/CENTOS-4.3-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm

Create uuid.pc file

The e2fsprogs rpm files do not include the needed pkg-config stuff, so we will need to create the necassary file.

cd /usr/lib/pkgconfig
cat > uuid.pc

Paste the following text:

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include/uuid

Name: uuid
Description: Universally unique id library
Version: 1.35
Requires:
Cflags: -I${includedir}
Libs: -L${libdir} -luuid

End with CTRL C

Fedora Core 4

Since Fedora Core 4 doesn't come with Mono Packages, we will need to configure Yum with the Mono Repository

wget http://www.go-mono.com/download/fedora-4-i386/mono.repo
cp mono.repo /etc/yum.repos.d/

Install build dependencies

yum -y install mono-devel autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386

Download and install the log4net and libflaim packages

wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/current/linux/FEDORA-CORE-4.0-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm

Fedora Core 5

Install build dependencies

yum -y install mono-devel autoconf automake libtool gcc gcc-c   glib2-devel pkgconfig e2fsprogs-devel libxml2 libxml2-devel compat-libstdc  -33.i386 xsp

Download and install the log4net and libflaim packages

wget -r -np -nH -nd --accept=rpm  http://forgeftp.novell.com/ifolder/server/3.5/20060621-0346/linux/FEDORA-CORE-5.0-i386/rpms/
rpm -Uvh log4net*.rpm libflaim*.rpm

Download and Unpack Source

wget -r -np -nH -nd --accept=tar.gz http://forgeftp.novell.com/ifolder/server/3.5/current/src/ 
tar zxvf ifolder3-server*.tar.gz
cd ifolder3-server*

Build iFolder

./autogen.sh --prefix=/usr/ --with-simiasdatadir=/var/lib/simias --sysconfdir=/etc/simias
make
make install

Disable SELinux

Since the iFolder team has limited exposure with SELinux, we haven't had time to research what SELinux configuration changes are required to get the iFolder server to work properly in an SELinux environment. For the time being this means you will need to disable SELinux to get iFolder Server to work. If anyone from the community is familiar with SELinux, please feel free to modify this how-to with the necessary steps.

Modify SELinux configuration file

vi /etc/sysconfig/selinux

Change

SELINUX=enforcing

to

SELINUX=permissive

or

SELINUX=disabled

Once you've saved the change, reboot the machine

reboot

Running iFolder Enterprise Server

The iFolder Enterprise Server can run in stand alone mode, or behind Apache. While the iFolder 3.4 clients can access the server in standalone mode, the administration and Web Access components are currently only available when iFolder Enterprise Server is running behind Apache.

Running iFolder Enterprise Server Standalone

In the following commands, change <useraccount> with the user account you plan on running the iFolder process as:

mkdir /var/lib/simias
chown -R <useraccount> /var/lib/simias
/usr/bin/simiasserver

NOTE: "/usr/bin/simiasserver --help" will show all of the available arguments that can be passed

Running iFolder Enterprise Server behind Apache

Install Mod_Mono and Apache

CentOS 4.3

If you've followed the howto from start to bottom, you will have already installed Apache and mod_mono in this section.

Fedora Core 4

yum -y install mod_mono httpd

Fedora Core 5

Since there are no mod_mono packages built for Fedora Core 5 at the time this how to was written, we are required to build it from svn source. More information about this situation can be found here (http://lists.ximian.com/pipermail/mono-list/2006-April/031127.html) and here (http://lists.ximian.com/pipermail/mono-list/2006-March/030840.html)

Install Apache and the required dependencies to build mod_mono and xsp

yum -y install mono-core mono-web mono-data mono-devel httpd httpd-devel subversion

Download and build mod_mono

svn co svn://svn.myrealbox.com/source/trunk/mod_mono
cd mod_mono
./autogen.sh --prefix=/usr/ --with-mono-default-config-dir=/etc/httpd/conf/
make
make install

Download and build xsp

svn co svn://svn.myrealbox.com/source/trunk/xsp 
cd xsp
./autogen.sh --prefix=/usr/
make
make install

Create .config and simias directories and assign Apache ownership

Failing to follow these steps will result in the server not [working (https://bugzilla.novell.com/show_bug.cgi?id=163666)]. Consider yourself warned.

mkdir /var/www/.config
chown -R apache:apache /var/www/.config
mkdir /var/lib/simias
chown -R apache:apache /var/lib/simias

Stop Apache

If Apache is running, stop the Service

/etc/init.d/httpd stop

Configure Apache with the iFolder config files

This step might be problematic because the location of the mod_mono.conf and iFolder configuration files. Once there is a mod_mono.rpm for Fedora Core 5 and the iFolder build fixes one of their issues with the --sysconfdir build directive, I'll modify this section. Until then you might need to change these lines to match your environment.

sed -i 's/\/etc\/apache2\/mod_mono.conf/\/etc\/httpd\/conf.d\/mod_mono.conf/' /etc/simias/simias/*.conf
ln -s /etc/simias/simias/simias_server.conf /etc/httpd/conf.d/
ln -s /etc/simias/simias/ifolder_webaccess.conf /etc/httpd/conf.d/
ln -s /etc/simias/simias/ifolder_admin.conf /etc/httpd/conf.d/

Test the Apache Configuration

This will help verify that the mod_mono.conf and iFolder conf files are setup correctly

/etc/init.d/httpd configtest

Start Apache

/etc/init.d/httpd start

OPTIONAL: Configure the Apache service so it restarts automatically on system startup

chkconfig httpd on

Configure the Server's Firewall to allow http traffic

If your running a firewall on this machine, your going to need to allow incoming traffic on port 80 (http). Eventually port 443 (https) will also need to allow incoming traffic once the iFolder Enterprise Server builds support it.

system-config-securitylevel-tui

If the Firewall is enabled, select the Customize button and enable WWW (http) and Secure WWW (HTTPS).

Trouble Shooting

In case you run into problems getting iFolder working, hopefully the following sections will point you in the right direction.

Yum throws GPG key error

When attempting to install packages on Fedora Core 4 using "yum -y install" the following error might occur:

Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) is already installed  but they are not correct for

To resolve this problem, run the following command

rpm --import /usr/share/doc/fedora-release-4/RPM-GPG-KEY*

Error thrown when attempting to start iFolder in stand alone mode

After executing /usr/bin/simiasserver

Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/var/lib/simias" is denied.
in <0x000fc> System.IO.Directory:CreateDirectoriesInternal (System.String path)
in <0x00090> System.IO.Directory:CreateDirectory (System.String path)
in <0x000d0> Mono.ASPNET.SimiasWebServer:WriteXspPortToFile (Int32 port)
in <0x000ec> Mono.ASPNET.SimiasWebServer:GetXspPort (System.String ports)
in <0x001d5> Mono.ASPNET.SimiasWebServer:StartSimias ()
in <0x000fc> Mono.ASPNET.SimiasWebServer:Main (System.String[] args)

This error is caused when the iFolder process has insufficient access rights. Please review this section and make sure to chown the /var/lib/simias directory to the correct user.

Service Temporarily Unavailable

When attempting to access http://host/ifolder or http://host/admin you receive a Service Temporarily Unavailable error in the browser.

Unable to login to iFolder Server

If your able to access http://host/ifolder or http://host/admin, but unable to login and you see errors like this "ERROR Simias.Service.Manager - Local database object does not exist." in your server's /var/lib/simias/Simias.log, then you will need to do the following steps as root:

  • Stop Apache
/etc/init.d/httpd stop
  • Remove the following directories
rm -rf /tmp/.wapi
rm -rf /tmp/apache-temp-aspnet-0
rm -rf /var/lib/simias/*
  • Start Apache
/etc/init.d/httpd start

Your session has been closed Please log in

It is possible that Apache does not have the correct rights to the /var/www/.config directory or it does not exist. When viewing the Simias.log you will see the following error:

   2006-04-05 14:46:56,538 [23112624] INFO  Simias.Storage.Provider.Provider -
   Created new store /var/lib/simias.
   2006-04-05 14:46:57,540 [23112624] ERROR Simias.Service.Manager - Object
   reference not set to an instance of an object
   System.NullReferenceException: Object reference not set to an instance of an object
   in <0x00064> Simias.Storage.Identity:get_Credential ()
   in <0x00016> Simias.Storage.Identity:get_PublicKey ()
   in <0x004ba> Simias.Storage.Store:.ctor ()

Be certain that you have created the /var/www/.config directory and that you have chown'd it to the apache user and group.

iFolder Mono processes don't shutdown properly when Apache is stopped

On Fedora Core 5 after shutting down Apache, the iFolder/Simias processes do not shutdown. To resolve this issue determine what processes are still running

ps aux|grep mono

An example output of this command might show something like this

apache    2174  0.2  2.2  72204 22852 ?        Ssl  01:09   0:02 /usr/lib/pkgconfig/../../bin/mono /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe --filename /tmp/mod_mono_server_simias10 --applications /simias10:/usr//lib/simias/web --nonstop
apache    2190  0.2  2.3  45880 23584 ?        Ssl  01:09   0:02 /usr/lib/pkgconfig/../../bin/mono /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe --filename /tmp/mod_mono_server_ifolder --applications /ifolder:/usr//lib/simias/webaccess --nonstop
root      2409  0.0  0.0   3912   680 pts/0    S    01:24   0:00 grep mono

Kill each of the iFolder processes

kill -9 <iFolder/Simias PID>

Easier way to kill all mono processes:

Using bash: for i in `pgrep mono`;do kill -9 $i; done;