EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


ImageMagic Problem
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
smart
Member
 

Joined: Fri Feb 17th, 2006
Location:  
Posts: 4
 Posted: Tue Feb 21st, 2006 11:45 am
 Quote  Reply 
Hi I have ImageMagic on my VPS I have been assured that it is installed properly. I am using Plesk 7. I Keep gettting the Internal server Error message. when trying to access if via EditWrx.

I'm not sure where the problem is. can you advise.

Thanks

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Tue Feb 21st, 2006 07:42 pm
 Quote  Reply 
Plesk7 can be deceiving. If yoiu install the regular imagemagick for redhat you can get the imagemagick version number back at the commandline, which gives you the false impression that the installation went ok. But imagemagick has a Perl API named PerlMagick. The redhat install does not install the correct PerlMagick for Plesk7. Your error is coming from a failure of imagemagick.so

To install imagemagick on Plesk7 you need to install the version for Fedora since that is what Plesk7 is running. Use yum to let the server find and install the correct imagemagick and imagemagick will work on Plesk7. I went through this nightmare myself last week with my new Plesk7.

smart
Member
 

Joined: Fri Feb 17th, 2006
Location:  
Posts: 4
 Posted: Fri Feb 24th, 2006 01:38 pm
 Quote  Reply 
I don't have command line access what steps should I do make image Magick to work?

Thanks

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Fri Feb 24th, 2006 06:34 pm
 Quote  Reply 
ImageMagick can only be installed from the commandline. You will need to ask the server admin to install it for you, or as your eralier indicates - have the server admin reinstall it correctly.

davediamondprovo
Member
 

Joined: Wed Mar 29th, 2006
Location:  
Posts: 14
 Posted: Wed Mar 29th, 2006 10:31 pm
 Quote  Reply 
I got Imagemagick installed successfully but receive this error when attempting to locate it..

Software error:
Can't locate Image/Magick.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl . /kunden/homepages/6/d121358001/htdocs/editwrx/library/mods) at /kunden/homepages/6/d121358001/htdocs/editwrx/library/ini/check_imc.txt line 1, <LANG> line 87.
BEGIN failed--compilation aborted at /kunden/homepages/6/d121358001/htdocs/editwrx/library/ini/check_imc.txt line 1, <LANG> line 87.

For help, please send mail to the webmaster (webmaster@pasadenarmh.org), giving this error message and the time and date of the error.

 

Any ideas?

Last edited on Wed Mar 29th, 2006 11:46 pm by Keith

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Wed Mar 29th, 2006 11:53 pm
 Quote  Reply 
That means that although ImageMagick was installed to run at the commandline it was not installed with the correct PerlMagick module libraries. If you are on Fedora version of RedHat the standard ImageMagick install fails to correctly install PerlMagick, the Image/Magick.pm api that Perl scripts need and cannot find in the error. On Fedora you must use the "yum" utility for installing ImageMagick. Yum should be used on any Linux Apache install because yum can and will find the correct packages for your particular os version. This isn't Windows, you have to geek it out.

 
must be super user, if not root, but in su group, prefix each command
with 'sudo' (no quotes)

whereis yum
yum install ImageMagick
yum install ImageMagick-perl

Last edited on Thu Mar 30th, 2006 03:07 am by Keith

davediamondprovo
Member
 

Joined: Wed Mar 29th, 2006
Location:  
Posts: 14
 Posted: Thu Mar 30th, 2006 03:36 am
 Quote  Reply 
I have SSH shell access to my server but can't get what you wrote to work. When I type whereis yum it replys yum: but then goes back to the usual command prompt.

appending sudo doesn't seem to help.

u37783624:~ > whereis yum
yum:
u37783624:~ > yum install ImageMagick
bash: yum: command not found

Dave

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Thu Mar 30th, 2006 07:45 am
 Quote  Reply 
Installing software with yum requires either beiung logged in as the root user or as a user that is a member of the super user su group. Your u37783624 login may be neither, it may be a bash shell account only.

You may need to have the root server admin do the install.


Actually the whereis yum should have returned a path series, somthing like
yum: /usr/bin/yum /etc/yum.conf /usr/share/yum

Try whereis apt-get instead. If a path is found, try installing with it with the same syntax.

Last edited on Thu Mar 30th, 2006 07:55 am by Keith

davediamondprovo
Member
 

Joined: Wed Mar 29th, 2006
Location:  
Posts: 14
 Posted: Thu Mar 30th, 2006 06:53 pm
 Quote  Reply 
Here's the results..

u37783624:~ > whereis apt-get
apt-get: /usr/bin/apt-get /usr/share/man/man8/apt-get.8.gz
u37783624:~ > apt-get install ImageMagick
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
u37783624:~ > apt-get install ImageMagick-perl
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Looks like I'll have to contact the host and have them install it for me. Your support has been wonderful and as soon as I resolve this issue with each of my clients' accounts, I'm suggesting they all use EditWrx for their CMS needs. Outstanding.

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Thu Mar 30th, 2006 08:31 pm
 Quote  Reply 
This topic continued at

http://www.editwrx.com/forums/view_topic.php?id=154&forum_id=12&jump_to=575


 Current time is 04:19 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez