Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th November 2009, 16:11
Morons Morons is offline
Senior Member
 
Join Date: Aug 2006
Posts: 194
Thanks: 8
Thanked 15 Times in 7 Posts
Default Running local Executable Binaries

HI
I have an Joomla installation under one of my webs, works well, but I added an component to Index the content of PDF's and make is searchable under the site [joomla's search]. This component need to be executed from the website and I get some access errors. At this stage I'm lost the developer of the pdf indexer tried to help but it all boil down to whether we can execute binary executables from this web location in the code.


Code:
-rwxrwxrwx 1 web17 client1 1237381 2009-11-23 09:47 /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext
The error log sais:
Code:
sh: /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext: not found
If I execute this binary from my ssh client I get this response I think this probably refer to the input parameter.
Code:
-bash: /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext: No such file or directory


I'm pretty shure its a permissions problem, what user would execute this? maybe NOT web17:client1 but another!
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2009, 14:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

Please post the output of:

ls -la /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th November 2009, 15:12
Morons Morons is offline
Senior Member
 
Join Date: Aug 2006
Posts: 194
Thanks: 8
Thanked 15 Times in 7 Posts
Default

Code:
-rwxrwxrwx 1 root client1 1237381 2009-11-23 09:47 /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext
As Above, As you can see I changed the owner to root as an test from web17 as per original post
That dint work
Reply With Quote
  #4  
Old 25th November 2009, 15:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

Please run:

chown web17:client1 /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext
chmod 755 /var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext

then try if the application works:

su web17
/var/www/clients/client1/web17/web/administrator/components/com_file_index/includes/pdftotext --help
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th November 2009, 16:05
Morons Morons is offline
Senior Member
 
Join Date: Aug 2006
Posts: 194
Thanks: 8
Thanked 15 Times in 7 Posts
 
Default Program code

It seem possible to install the binary in linus under /usr/bin/pdftotext and

I founf this article and it seem simple enough, Ill change the binary perhaps broken?

http://en.wikipedia.org/wiki/Pdftotext

BTW still getting the same answer and --help does not work, the binary think its a file to input.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 19:23
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 9th May 2009 00:00
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
I Fail at installing ispconfig where did I go wrong? stocker741 Installation/Configuration 14 30th October 2008 15:12


All times are GMT +2. The time now is 13:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.