LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2003, 07:55 PM   #1
sallas
Member
 
Registered: Aug 2003
Location: Australia ACT
Distribution: Debian 2.6
Posts: 31

Rep: Reputation: 15
RPM's and up2date Q


Guys/Gals,

Just a few Q's, have just installed RH9 and being fairly new to linux have run into some probs:

1. After running up2date and installing all packages (incl new kernal), when I run up2date and recieve confirmation that my system has everything, it mentions that I should restart the computer as the new kernal is not installed yet??? But I have downloaded the kernal using up2date and restarted several times and up2date shows no updates left to download, yet everytime get this msg???

2. I am finding that a lot of RPMs that i download and expand/install (just by double clicking on them) dont appear anywhere. Where do they install to, as I am unaware of how to access the programs and run them, is there a default launch directory?

3. On trying to set up Samba, i am seeing conflicting stories form various sites that swat is not installed ?? Checking the options on what packages to install, there is no swat (RH9) option i can see. Am trying to use this as having probs getting the samba server to run at all( on selecting it a message, too quickly, pops up then dissapears- then nothing!). And downloading swat and webmin doesnt work as see pont 2 above.

any ideas much appreciated (yes, have and am still doing lots of research on these, but would be nice for a tip!!).

Cheers.
 
Old 08-15-2003, 08:02 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
well, can't help u on samba, but as for the kernel, it's probably because you're not running the new kernel (that is, u haven't configured your boot loader to load the new kernel)

check to see if this is the case, do a uname -r in a terminal and see if u get 2.4.20-19.9 (i believe this is the newest kernel); if this number does not show up, u haven't loaded the new kernel

what boot loader are u using? if using grub, post your /boot/grub/grub.conf here; if lilo, post your /etc/lilo.conf

make sure u have an entry for the new kernel:
make sure the kernel image is set to vmlinuz-2.4.20-19.9 (or something similar, whatever your kernel is named, just check your /boot directory)


edit: rpm's basically make it easy to install things without going through actual sources, and they normally install where they need to go; if it is a program that can be run, type the name of the program in a terminal and it should launch; normally they are installed in bin folders, so do a whereis bin in a terminal to see where those are (i know one is /usr/local/bin)

edit again: i'm don't remember the command to check for installed rpm's, but don't do the double-click thing to install them; go into a terminal, cd into the directory of the rpm, and then to rpm -ivh nameoffile.rpm (this way u can see the two 100% signaling a successful install, if it doesn't install, u will get a messge telling u why)

Last edited by TheOneAndOnlySM; 08-15-2003 at 08:06 PM.
 
Old 08-15-2003, 09:26 PM   #3
sallas
Member
 
Registered: Aug 2003
Location: Australia ACT
Distribution: Debian 2.6
Posts: 31

Original Poster
Rep: Reputation: 15
Good call!!!

Carried out the RPM in terminal and found for some that there were dependencies, once they were installed they appear on the gui menus. There are some other issues, but i think there related to the actual install file.

In regards to the kernel, i use a floppy disk to boot (wasnt too confident with lilo). It seems that I have all files of BOTH kernels in the boot folder:

vmlinuz-2.4.20-8
vmlinuz-2.4.20-19.9
System.map-2.4.20-8
System.map-2.4.20.19.9
module-info-2.4.20.8
module-info-2.4.20.19-9
config-2.4.20-8
config-2.4.20.19-9

Plus a few others. How am I able to implement the new? (o, and trying uname -r shows the old kernal).

Cheers.
 
Old 08-15-2003, 10:05 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want to use the new kernel, you will have to edit /etc/lilo.conf
Change all references of 2.4.20-8 to 2.4.20-19.9

To make a new boot disk, type:
Code:
mkbootdisk 2.4.20-19.9
To search the RPM database for a package, use the following syntax:
Code:
rpm -qa | grep <software_name>
If you want to configure Samba, you can use the RedHat GUI tool.
At the command line, type: redhat-config-samba
 
Old 08-17-2003, 07:06 AM   #5
sallas
Member
 
Registered: Aug 2003
Location: Australia ACT
Distribution: Debian 2.6
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks mathieu, using the new bootdisk worked a treat! Funny though, as wouldnt start X as had problems recognising the nvidia drivers. Edited XF86Config back to nvidia (after the system changed it back to nv to get X working) and it worked, go figure.

I tried using the redhat-config-samba but got some weird error. Have made sure all the samba services start on boot up, but still selecting the samba server does nothing. Downloaded webmin, will play with this for a while seeing if it has any effect. Although if webmin simply utilises the samba service, i dont think its going to do much. Might remove samba then reinstall and start from scratch as the samba server has never worked from install. Oh well, through all this I should end up becoming a samba wiz, hopefully!!

Thanks ppl for the right advice!
 
Old 08-17-2003, 08:49 AM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I forgot to mentioned
For Lilo, if you want the changes to take effect, type:
Code:
lilo -v
Concerning Samba, what is the error message
 
Old 08-23-2003, 08:08 AM   #7
sallas
Member
 
Registered: Aug 2003
Location: Australia ACT
Distribution: Debian 2.6
Posts: 31

Original Poster
Rep: Reputation: 15
Sorry bout the lateness of the repy, but typing in the samba line returns the following:

[root@Lin]# redhat-config-samba
Traceback (most recent call last):
File "/usr/share/redhat-config-samba/redhat-config-samba.py", line 20, in ?
mainWindow.MainWindow(debug_flag)
File "/usr/share/redhat-config-samba/mainWindow.py", line 58, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/redhat-config-samba/sambaParser.py", line 24, in __init__
self.parseFile()
File "/usr/share/redhat-config-samba/sambaParser.py", line 55, in parseFile
token = self.createToken(line)
File "/usr/share/redhat-config-samba/sambaParser.py", line 127, in createToken token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/redhat-config-samba/sambaToken.py", line 20, in __init__
raise AttributeError, value
AttributeError: ('default', 'global')
[root@Lin]#

Any ideas much appreciated.
 
  


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
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
Kickstart with up2date RPM's Greenman Red Hat 0 07-29-2004 10:14 AM
How do I update 1000 RPM's without RHN's Up2Date tool? anticitan Linux - Software 3 03-24-2004 05:11 PM
RH9 - up2date isn't up2date! robertmarkbram Linux - Software 2 10-22-2003 06:48 AM
up2date bug fixed: New up2date avail. with updated SSL certificate authority file dkaplowitz Red Hat 2 09-04-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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