Failed Mooshak installation attempts on A Fresh Ubuntu Desktop 8.10
I've gotta be playing with mooshak's UI soon. The first step - installing it.
I'm referring a blog entry by a Artur Martins (I hope I'm not wrong about his name, the about section is in French and I guess the name isnt mentioned) , where he installed it on a fresh Debian Etch.
As for my LAMP setup - here's how I've set it up.
#1 - the requirements
sudo aptitude install tcl apache2 xsltproc lpr rsync gcc libxml2-utils
#2 - the installation
% tar xzf mooshak-version.tgz
% cd mooshak-version
and... I get the following
couldn't execute "/usr/sbin/lsof": no such file or directory
"open "| /usr/sbin/lsof" "
(procedure "check_apache_modules" line 9)
invoked from within
(procedure "check_software" line 12)
invoked from within
By a quick check on 'lsof', I figure out that there's nothing like /usr/sbin/lsof. But, there does exist a /usr/bin/lsof.
So, our line 148 of the 'install' script becomes -
set fd [ open "| /usr/bin/lsof" ]
set fd [ open "| /usr/sbin/lsof" ]
And... there I go, straight into the pitfall of questions - "what went wrong? Couldn't it be a little simpler? ...", arising from my terminal -
Missing Apache module: userdir
to install it in Mandiva: urpmi apache-mod_userdir
Missing Apache module: suexec
to install it in Mandiva: urpmi apache-mod_suexec
... a coffee break...
Reading the 4th step in Artur's tutorial I realized that I need to enable some mods in Apache. Here you go -
# a2enmod userdirThat isn't enough, we need 'suexec' module too, I guess that would be -
# a2enmod suexec
Enabling module suexec.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Now Reload you Apache -
# /etc/init.d/apache2 reload
Lets try again -
Woah, this is overflow of errors, my terminal scrolls at great pace with things like -
tar: data/configs/flags/pr/.data.tcl: Warning: Cannot stat: No such file or directory
tar: data/configs/flags/pr/pr.png: Warning: Cannot stat: No such file or directory
tar: data/configs/flags/pt: Warning: Cannot stat: No such file or directory
tar: data/configs/flags/pt/.class.tcl: Warning: Cannot stat: No such file or directory
tar: data/configs/flags/pt/.data.tcl: Warning: Cannot stat: No such file or directory
make: Entering directory `/home/mooshak/bin/SafeExec'
gcc -c error.c -Wall -ansi -pedantic
gcc -c safe.c -Wall -ansi -pedantic
gcc -o os-detect os-detect.c -Wall -ansi -pedantic
gcc -c safeexec.c `./os-detect` -Wall -ansi -pedantic
gcc -o safeexec error.o safeexec.o safe.o -Wall -ansi -pedantic
make: Leaving directory `/home/mooshak/bin/SafeExec'
cp SafeExec/safeexec .
chmod u+s,o+x safeexec
pass.c: In function ‘main’:
pass.c:55: warning: format not a string literal and no format arguments
pass.c:57: warning: format not a string literal and no format arguments
connecting to host research. ... couldn't open socket: host is unreachable
connecting to host localhost ... connected!
could not find user name in the output of 'info'
I think I should spend more time on mooshak documents and READMEs. That's what they say - "We read manuals when things fail to work." :)