LinuxQuestions.org
Help answer threads with 0 replies.
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 04-16-2012, 11:11 AM   #31
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by Satyaveer Arya View Post
Will you please attach INSTALL and README files. So that I can also go through these files.
Files Attached
Attached Files
File Type: txt INSTALL.txt (149 Bytes, 59 views)
File Type: txt README.txt (1.1 KB, 34 views)
 
Old 04-16-2012, 11:15 AM   #32
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Before make and make install try to run yum script, it would be in /usr/bin/yum, or you check where it is.
 
Old 04-16-2012, 11:56 PM   #33
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
There is no YUM directory in /usr/bin
 
Old 04-17-2012, 05:52 AM   #34
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Before make and make install try to run yum script, it would be in /usr/bin/yum, or you check where it is.
What exactly you mean by yum script?
 
Old 04-17-2012, 06:11 AM   #35
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
There is no YUM directory in /usr/bin
Not yum directory, instead script named yum.

Quote:
What exactly you mean by yum script?
Yes.
 
Old 04-17-2012, 06:13 AM   #36
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Not yum directory, instead script named yum.


Yes.

So you want me to check whather yum script do exist there or not?
let me check it
 
Old 04-17-2012, 06:14 AM   #37
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Yes i have yum in etc/bin

---------- Post added 04-17-12 at 04:45 PM ----------

[root@HYD1008 bin]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Feb 22 2012, 16:05:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
 
Old 04-17-2012, 08:13 AM   #38
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Here is a link from where you can download tarballs, http://www.gnu.org/prep/ftp.html
 
1 members found this post helpful.
Old 04-17-2012, 08:20 AM   #39
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
hmmm. you opened the thread 2 days ago and still not started to prepare your system, a full reinstall needs a few hours.
 
Old 04-18-2012, 01:00 AM   #40
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
hmmm. you opened the thread 2 days ago and still not started to prepare your system, a full reinstall needs a few hours.
Data center guy is asking for 50 dollars for reinstall
If i can save that money then i will.

I am almost through building it.
 
Old 04-18-2012, 03:27 AM   #41
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
Data center guy is asking for 50 dollars for reinstall
If i can save that money then i will.
Ofcourse sachin you can do that. And pan64 can you help him in getting tar package or any link of rpm and yum so that he can compile them, as the rpm package he accidentally removed from the server. I think the only way to getting the rpm work is to compile the tar package. Isn't it?

Quote:
I am almost through building it.
How? What have you done so far? Which package you installed? Only that python package or you moved on further with some package installation?
 
Old 04-18-2012, 03:37 AM   #42
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Ofcourse sachin you can do that. And pan64 can you help him in getting tar package or any link of rpm and yum so that he can compile them, as the rpm package he accidentally removed from the server. I think the only way to getting the rpm work is to compile the tar package. Isn't it?


How? What have you done so far? Which package you installed? Only that python package or you moved on further with some package installation?
See i have another machine which has the same centos version.
Can i move some files from there and paste it here?
 
Old 04-18-2012, 03:39 AM   #43
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
Originally Posted by Satyaveer Arya View Post
pan64 can you help him in getting tar package or any link of rpm and yum so that he can compile them, as the rpm package he accidentally removed from the server. I think the only way to getting the rpm work is to compile the tar package. Isn't it?
Unfortunately I'm unsure, I do not know what is lost and how can he repair. From here it is really hard to say just download this tarball and uncompress, but it may also solve the problem. You will never be able say everything is restored.
Also others gave him links, I do not want to copy or repeat them. I just wanted to say (as he already mentioned): maybe much safer and quicker to reinstall instead of finding lost files (also he has difficulties with installing, compiling...).
From the other hand he will have a lot of experiences, go ahead and learn linux.
 
Old 04-18-2012, 03:41 AM   #44
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
Unfortunately I'm unsure, I do not know what is lost and how can he repair. From here it is really hard to say just download this tarball and uncompress, but it may also solve the problem. You will never be able say everything is restored.
Also others gave him links, I do not want to copy or repeat them. I just wanted to say (as he already mentioned): maybe much safer and quicker to reinstall instead of finding lost files (also he has difficulties with installing, compiling...).
From the other hand he will have a lot of experiences, go ahead and learn linux.
I will prefer learning then just doing a quick re install.

Re Install would be my last resort.
 
Old 04-18-2012, 03:46 AM   #45
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
Unfortunately I'm unsure, I do not know what is lost and how can he repair. From here it is really hard to say just download this tarball and uncompress, but it may also solve the problem. You will never be able say everything is restored.
Also others gave him links, I do not want to copy or repeat them. I just wanted to say (as he already mentioned): maybe much safer and quicker to reinstall instead of finding lost files (also he has difficulties with installing, compiling...).
From the other hand he will have a lot of experiences, go ahead and learn linux.
Yes, that's what he is trying to fix up his system.
 
  


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
[SOLVED] "bash: make: command not found" on CentOS 6 TehGoat Linux - Software 3 11-20-2011 03:06 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
When logging into Xserver I get a bash command not found error. AaronKillingsworth Slackware 3 12-29-2009 10:20 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
bash: command not found error ksgill Linux - Newbie 10 07-01-2003 03:47 PM

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

All times are GMT -5. The time now is 10:24 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