ispCP - Board - Support
Installation 1.0.6 Magic.pm not found - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Installation 1.0.6 Magic.pm not found (/thread-11663.html)



Installation 1.0.6 Magic.pm not found - prithwis - 09-14-2010 10:18 PM

hello friends :

a] i am trying to install ispcp-omega 1.0.6 on Ubuntu 8.10

b] i have followed ALL instructions given at
http://isp-control.net/documentation/start:installation:ubuntu

c] first error found was unable to >> # cd /var/www/ispcp/engine/setup
but solved this by changing file CHMOD on setup directory

d] now trying to execute >> # perl ispcp-setup
getting following error :
Can't locate File/MimeInfo/Magic.pm in @INC at ispcp-setup line 40.
BEGIN failed -- compilation aborted at ispcp-setup line 40
( it also says that @INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 / usr/lib/perl/5.10 /usr/local/lib/site_perl .)

e] i am a Ubuntu newbie .. would be grateful for any assistance with this
i have read the instructions for 1.0.3 and have replaced the three permission scripts ... but still getting the same result


RE: Installation 1.0.6 Magic.pm not found - deerhuntermichael - 09-16-2010 03:56 AM

Am also having a similar problem, though I think I'm even more of an Ubuntu newbie than prithwis. I hope someone has any ideas to help resolve this, because I think I may have gone a little beyond my (limited) skills.


RE: Installation 1.0.6 Magic.pm not found - kilburn - 09-17-2010 04:19 PM

Execute "sudo su" in a terminal and follow the whole install process again. You were probably missing privileges at some step...


RE: Installation 1.0.6 Magic.pm not found - koko92_national - 09-17-2010 05:12 PM

(09-17-2010 04:19 PM)kilburn Wrote:  Execute "sudo su" in a terminal and follow the whole install process again. You were probably missing privileges at some step...

He is using root. Notice the "#" before every command


RE: Installation 1.0.6 Magic.pm not found - kilburn - 09-17-2010 10:55 PM

Quote:c] first error found was unable to >> # cd /var/www/ispcp/engine/setup
but solved this by changing file CHMOD on setup directory

So he had to change the permissions of a folder because he couldn't get in there... as root?! Sure.


RE: Installation 1.0.6 Magic.pm not found - ROBBY-ONE - 09-30-2010 07:59 AM

Hi There.

Hope my post will be useful
(especially to prithwis & deerhuntermichael :
just remember we all started as newbies)

So I had the same "Can't locate File/MimeInfo/Magic.pm in @INC" issue.
I solved it by installing package libfile-mimeinfo-perl (apt-get install libfile-mimeinfo-perl)

Then, trying again the "perl ispcp-setup" install,
the following errors occured :
CRITICAL ERROR: Module [MIME::Entity] WAS NOT FOUND !
CRITICAL ERROR: Module [MIME::Parser] WAS NOT FOUND !
CRITICAL ERROR: Module [Crypt::CBC] WAS NOT FOUND !
CRITICAL ERROR: Module [Crypt::Blowfish] WAS NOT FOUND !
CRITICAL ERROR: Module [Crypt::PasswdMD5] WAS NOT FOUND !
CRITICAL ERROR: Module [Term::ReadPassword] WAS NOT FOUND !

apt-get install libmime-tools-perl
solved first two errors

apt-get install libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl
solved next three

apt-get install libterm-readpassword-perl
solved the last one

next ispcp-setup ran fine until its end

Now I have to test ispcp-omega further
Enjoy.

Robby

PS - forgive my bad english - this is not my native language


RE: Installation 1.0.6 Magic.pm not found - VerSus - 10-20-2010 09:03 AM

I must to say to ROBBY-ONE ...


Thanks you !!!!!!!!!

Wink