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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-18-2005, 04:08 AM   #1
Pyrophorus
LQ Newbie
 
Registered: Dec 2004
Location: Eastern Side of the GTA
Distribution: Trying Slack 10.0
Posts: 24

Rep: Reputation: 15
Can't move or run


I can move to some directories...others I just get a "No such file or Directory",
even though I've seen that they do exist.

I've also seen "xorgsetup", but when I type the path in, I get the same error
as above.

gunzip doesn't seem to be working either.

Any ideas/solutions
 
Old 01-18-2005, 04:14 AM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
Sounds to me like something might have altered your PATH variable. Go to a shell and type "$PATH" and post the output.

jrtayloriv

Last edited by jrtayloriv; 01-18-2005 at 04:15 AM.
 
Old 01-19-2005, 04:26 PM   #3
Pyrophorus
LQ Newbie
 
Registered: Dec 2004
Location: Eastern Side of the GTA
Distribution: Trying Slack 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jrtayloriv
Sounds to me like something might have altered your PATH variable. Go to a shell and type "$PATH" and post the output.
I got
-bash: usr/local/bin:usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/kde/bin:/usr/lib/qt/bin:.:No such file or directory

Thanks
 
Old 01-19-2005, 04:56 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Could you post examples of your problem, the command line output and how you know the file exists?
 
Old 01-23-2005, 05:02 AM   #5
Pyrophorus
LQ Newbie
 
Registered: Dec 2004
Location: Eastern Side of the GTA
Distribution: Trying Slack 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tuttle
Could you post examples of your problem, the command line output and how you know the file exists?
Well I made a database, so that I can use slocate to find files.

Buit I also use the whereis command

e.g.:
Code:
# slocate xorg
/etc/X11/xorg.conf-vesa
/etc/X11/xorg.conf
/etc/X11/xorg.conf-fbdev
/usr/X11R6/bin/xorgsetup
Code:
#whereis init
init: /sbin/init /usr/man/man8/init.8 /usr/share/man/man8/init.8
 
Old 01-23-2005, 05:43 AM   #6
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
When you tried to run them, were you logged in as root?

jrtayloriv
 
Old 01-23-2005, 07:00 AM   #7
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
what's the output of ls -la /usr/X11R6/bin/xorgsetup

try logging in as root then type the following

Code:
chmod +x /usr/X11R6/bin/xorgsetup
xorgsetup

Last edited by d00msweek; 01-23-2005 at 07:01 AM.
 
Old 01-23-2005, 05:23 PM   #8
Pyrophorus
LQ Newbie
 
Registered: Dec 2004
Location: Eastern Side of the GTA
Distribution: Trying Slack 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jrtayloriv
When you tried to run them, were you logged in as root?
I was logged in as root.
 
Old 01-23-2005, 05:46 PM   #9
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
It's probably a permissions thing.
If you can't execute it, as doomsweek said, chmod a+x /path/to/file
 
Old 01-25-2005, 03:29 AM   #10
Pyrophorus
LQ Newbie
 
Registered: Dec 2004
Location: Eastern Side of the GTA
Distribution: Trying Slack 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by d00msweek
what's the output of ls -la /usr/X11R6/bin/xorgsetup
-rwxr-xr-x 1 root bin 4666 May 29 2004 /usr/X11R6/bin/xorgsetup*

Quote:

try logging in as root then type the following

Code:
chmod +x /usr/X11R6/bin/xorgsetup
xorgsetup
I used tuttle's a+x chmod and after trying to run it, I just get the same root prompt.
 
Old 01-25-2005, 05:09 AM   #11
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Are other parts of your system ok? I have not seen anything like this before.
If xorg is the main problem then I would suggest reinstalling it or getting the upgrades from here and doing "upgradepkg /path/to/upgrades/*.tgz".

Last edited by Tuttle; 01-25-2005 at 05:10 AM.
 
  


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
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM
Not able to run audio Cds (not MP3) and run VCDS.. satish427 Linux - Newbie 4 09-24-2004 11:27 PM
Trying to run photoshop in wine. Install, but wont run. bruno buys Linux - Software 14 07-15-2004 04:30 PM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:30 AM.

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