LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-26-2012, 04:15 AM   #1
s2kib
LQ Newbie
 
Registered: Jun 2011
Posts: 26

Rep: Reputation: Disabled
Path is not valid Problem


Hi

I am using centos 32 Bit

In my server unzip is installed in /usr/bin
and its path is /usr/bin/unzip

i have also chmodded it to 777

But Torrent-flux will say that path is not valid.

Same problem for wget,gre,python etc

any help guys ?
 
Old 01-26-2012, 04:21 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
What do you mean path is not valid? How is it possible for wget or grep to say that?

what is the output of

Code:
echo $PATH
Code:
which wget
Code:
file wget
Code:
wget
?
 
Old 01-26-2012, 04:24 AM   #3
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
A path variable usually shouldn't point to the file itself, it should point to the directory that contains the file.

I would guess that torrent flux is the same. So when it is trying to find the "unzip" binary, in your case it is looking for "/usr/bin/unzip/unzip" which doesn't exist.

That being said, i haven't used torrentflux in many years, if I recall correctly, it hasn't been maintained for a long time, and may well be full of security bugs. Based on the dates in the tarball, they are all aroudn 2008.

Perhaps try using "/usr/bin" in the torrentflux configuration.
 
Old 01-26-2012, 07:01 AM   #4
s2kib
LQ Newbie
 
Registered: Jun 2011
Posts: 26

Original Poster
Rep: Reputation: Disabled
@jhwilliams
Here are the outputs

echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

which wget
/usr/bin/wget
find wget
find: wget: No such file or directory

wget

wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

@fukawi1

I don't think so . i am using torrentflux-b4rt it is a upgraded version . and it needs path to the executable file.
 
Old 01-26-2012, 07:30 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The find and wget error messages are normal (you need to give find the name of an existing directory and wget a URL).

Can you post outputs showing what you mean by "Torrent-flux will say that path is not valid" and "Same problem for wget,gre,python etc"?
 
Old 01-26-2012, 08:51 AM   #6
s2kib
LQ Newbie
 
Registered: Jun 2011
Posts: 26

Original Poster
Rep: Reputation: Disabled
Please check the screenshot

http://i.lulzimg.com/85d4c74367.png
 
Old 01-26-2012, 09:30 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by s2kib View Post
Please check the screenshot

http://i.lulzimg.com/85d4c74367.png
Thanks -- that is clear.

Netsearching did not identify a definitive solution. One suggestion was that the problem is caused by the PHP configuration not allowing access to the listed programs. A claimed fix (but only for the transmissioncli part) is at http://itnuggets.blogspot.com/.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Test for valid path sharathkv25 Programming 4 04-07-2007 07:33 PM
squid problem with valid ip in accounting server ali_dd15 Linux - Networking 0 01-30-2006 05:52 AM
I have problem with routes between two nets with valid IP xcarolinepas Linux - Networking 4 12-09-2005 11:39 AM
/usr/lib/mozilla/plugins not valid install path for macromedia flash player 7? dr_zayus69 Linux - Software 2 08-14-2005 10:13 AM
lilo problem - no valid boot signature djbanaan Slackware 9 08-18-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration