Linux-Misc Digest #637, Volume #26 Tue, 26 Dec 00 00:13:02 EST
Contents:
Re: Problems after crash (John =?iso-8859-1?Q?Grundb=E4ck?=)
How to set PATH? ("tszeto")
Re: How to set PATH? (Bit Twister)
Re: Only with Linux... (MH)
Re: Only with Linux... (MH)
Re: Only with Linux... (Bit Twister)
reboot when idle ?? ooooohhhhh no!! ("steveFarris")
X Server permissions (fafaforza)
Re: help - kernel 2.4-test12 (Srihari Vijayaraghavan)
Re: Only with Linux... (Robert Kiesling)
Re: Only with Linux... (Ken)
How to WYSIWIG print output of Canon BJC 6100? ("Peter S.")
VMWare icon is WHERE???????? (Guy Parry)
Installing KDE problem with libXm.so.1... (Guy Parry)
Re: X Server permissions ("Dan White")
Re: Installing KDE problem with libXm.so.1... ("Dan White")
Re: VMWare icon is WHERE???????? ("Dan White")
Alias?? (Charles Young)
Re: How to set PATH? ("Dan White")
Re: Only with Linux... (Carl Fink)
Re: Only with Linux... (John Hasler)
Re: New Motherboard (John Scudder)
Re: Alias?? (David)
Re: Alias?? ([EMAIL PROTECTED])
Re: My /home partition died... ("Dan White")
Re: Only with Linux... (MH)
Re: How to set PATH? (Dowe Keller)
Re: Only with Linux... (kristian ragndahl)
----------------------------------------------------------------------------
From: John =?iso-8859-1?Q?Grundb=E4ck?= <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Problems after crash
Date: Mon, 25 Dec 2000 23:16:48 GMT
"O.Petzold" wrote:
> Hello,
>
> I had a crash on my rh6.2. Therefore I had to check my fs manually.
> But it doesn't known my root passwd !!! Therefore I booted the rh6.2
> install cd and tryd to call e2fsck manually e2fsck /dev/hda12. e2fsck
> means no such device /dev/hda12 !!?? There where no way to get root
> acess
> and do a drive check.
> Furtunally I have a SuSE boot cd. Booting this, I can make I drive
> check with e2fsck /dev/hda12. After this I can login with my old
> passwd !! No problems more.
>
> What's going on here ????
>
> Thanks Olaf
Do you have a non american layout on your keyboard? If you do you can
have problems when booting into singlemode and such. The problem arises
when you have a password that includes characters like underscores and
such.
I had this problem in slack. I use non alpabetical characters in my
passwds
and the swedish layout that I use differs from the american. I did a
stupid thing
to my slackbox and it crashed. It wouldn't boot right so I tried single
mode, and
it didn'd let me in. Then I saw that the right keymap wasn't loaded and
I had to
find where my special characters was on the american keyboard layout.
/john
------------------------------
From: "tszeto" <[EMAIL PROTECTED]>
Subject: How to set PATH?
Date: Mon, 25 Dec 2000 16:08:01 -0800
I'm trying to set my path to recognize the jdk1.3 I just installed.
I open /etc/profile and change the path to this:
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3/bin"
But when I echo $PATH, the jdk path that I added doesn't appear.
Any help appreciated. BTW I'm using Redhat 7.
Thanks,
Ted
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: How to set PATH?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 26 Dec 2000 00:28:09 GMT
On Mon, 25 Dec 2000 16:08:01 -0800, tszeto <[EMAIL PROTECTED]> wrote:
>I'm trying to set my path to recognize the jdk1.3 I just installed.
>
>I open /etc/profile and change the path to this:
>PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3/bin"
>
>But when I echo $PATH, the jdk path that I added doesn't appear.
>
but you did not export it! Add
export $PATH
log out/in and see if it is better.
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Mon, 25 Dec 2000 16:44:35 -0800
Aitch wrote:
> "MH" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> : Installed EMACS from RPM. Cannot find a way to start the program.
> : Spent half an hour looking through README, MAN, INFO...ridiculous.
> :
>
>
> Well did you open a terminal window and type "emacs"?
>
> --
> 4:54pm up 38 days, 7:33, 2 users, load average: 1.00, 1.00, 1.00
>
>
Of course that was the first thing I tried.
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Mon, 25 Dec 2000 16:48:13 -0800
Bit Twister wrote:
> On Mon, 25 Dec 2000 14:51:58 -0800, MH <[EMAIL PROTECTED]> wrote:
> >Installed EMACS from RPM. Cannot find a way to start the program. Spent
> >half an hour looking through README, MAN, INFO...ridiculous.
> >
>
> Well, I did a man emacs and it says
>
> SYNOPSIS
> emacs [ command-line switches ] [ files ... ]
>
>
> So, I spin up a console window and did a
>
> emacs junk.file
>
> and it worked for me
>
Nothing happens when I type "emacs" in console. I also tried "EMACS", and
"Emacs". I get "command not found". So I went looking, and the only thing
I found named "emacs" was two folders, neither of which seems to contain an
executable, so far as I could tell.
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: Only with Linux...
Reply-To: [EMAIL PROTECTED]
Date: Tue, 26 Dec 2000 01:00:57 GMT
On Mon, 25 Dec 2000 16:48:13 -0800, MH <[EMAIL PROTECTED]> wrote:
>
>Nothing happens when I type "emacs" in console. I also tried "EMACS", and
>"Emacs". I get "command not found". So I went looking, and the only thing
>I found named "emacs" was two folders, neither of which seems to contain an
>executable, so far as I could tell.
Ok, In a console window,
as root, do an updatedb this updates the file location database
and will run for a few minutes.
now locate emacs | grep bin/ which might return
/usr/bin/emacs depending on where you installed it.
now try what is returned
/usr/bin/emacs junk.file
If this worked then you need to add /usr/bin/ to the PATH variable.
And just to save everyone some time you put it in /etc/profile
like this
export PATH=$PATH:/usr/bin
PS:
Anytime you post please give the Distro (Redhat, Slack, Mandrake,...)
and the release (7.0, 6.3,....) because location, commands, and
links vary.
Give informitive subject line Subject: emacs "file not found"
and the actual error message.
You will get lots better results. Trust me.
--
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man command_here or cat command_here, before using it.
------------------------------
From: "steveFarris" <[EMAIL PROTECTED]>
Subject: reboot when idle ?? ooooohhhhh no!!
Date: Tue, 26 Dec 2000 01:04:14 GMT
Hello all, i've got suse 7.0 installed on an AMD K6 chip and if i stay
logged in and remain idle the thing reboots on its own. Obviously this will
not work. This can't possibly be a feature can it?? I doubt it. Anybody got
any ideas why this is happening. i know there is a little problem with some
AMD chips with over 32mb ram on Linux but not like this. This is really
starting to suck.
------------------------------
From: fafaforza <>
Subject: X Server permissions
Date: Mon, 25 Dec 2000 20:22:51 -0800
Hi just installed XF 4.0.2. Compiled it myself, works great.
But when I try to run Mozilla or Quake2, I get an error that the
connections were refused. Here are the logs.
======================================================
Mozilla...
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Gtk-WARNING **: cannot open display: :0.0
X11 message in console...
AUDIT: Mon Dec 25 16:07:02 2000: 363 X: client 5 rejected from local
host
=====================================================
Quake2...
Console initialized.
======= Loading ref_softx.so =======
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
recursive shutdown
Error: VID: Could not open display [:0.0]
X11 message in console...
AUDIT: Mon Dec 25 16:07:02 2000: 363 X: client 5 rejected from local
host
How do I change the connection permissions?
------------------------------
From: Srihari Vijayaraghavan <[EMAIL PROTECTED]>
Subject: Re: help - kernel 2.4-test12
Crossposted-To: comp.os.linux.networking
Date: Tue, 26 Dec 2000 12:29:33 +1100
datagram wrote:
> Hi,
> I've compiled a new kernel, the 2.4-test12, everything is working fine
> except few small details,
>
> 1- when I was connecting before, the system was loading the ppp modules
> automaticaly but not anymore... I have to load manually with modprobe
> ppp-async the module for my dsl ... how can I let the system know that it
> has to load the new modules... I can put it in rc.local but I want to do
> it the way it's supposed to be...
>
> 2- My nfs daemon server (not the one in the kernel) is not working anymore
> it's giving me "nfssvc function not implemented" I'm pretty sure I've
> forgot something during the "make config" process but I don't know what.
> any ideas ?
>
>
> thanks and happy new year!
>
>
Hello,
For ppp issue:
1. Are you running modutils version 2.3.18 or above?
(Infact you need to meet the minimum requirements as mentioned in
/usr/src/linux/Documentation/Changes)
2. Try the following directive in /etc/modules.conf:
alias ppp ppp_async
Hope this helps.
--
Thank you,
Hari.
------------------------------
Subject: Re: Only with Linux...
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Tue, 26 Dec 2000 01:29:17 GMT
[EMAIL PROTECTED] (Bit Twister) writes:
> On Mon, 25 Dec 2000 16:48:13 -0800, MH <[EMAIL PROTECTED]> wrote:
> >
> >Nothing happens when I type "emacs" in console. I also tried "EMACS", and
> >"Emacs". I get "command not found". So I went looking, and the only thing
> >I found named "emacs" was two folders, neither of which seems to contain an
> >executable, so far as I could tell.
>
> Ok, In a console window,
> as root, do an updatedb this updates the file location database
> and will run for a few minutes.
>
> now locate emacs | grep bin/ which might return
> /usr/bin/emacs depending on where you installed it.
>
> now try what is returned
> /usr/bin/emacs junk.file
>
>
> If this worked then you need to add /usr/bin/ to the PATH variable.
>
> And just to save everyone some time you put it in /etc/profile
> like this
>
> export PATH=$PATH:/usr/bin
>
> PS:
> Anytime you post please give the Distro (Redhat, Slack, Mandrake,...)
> and the release (7.0, 6.3,....) because location, commands, and
> links vary.
>
> Give informitive subject line Subject: emacs "file not found"
> and the actual error message.
>
> You will get lots better results. Trust me.
>
Especially if the distro installed "xemacs" instead of "emacs,"
or neither of them.
--
Robert Kiesling <[EMAIL PROTECTED]>
Web Page : http://www.mainmatter.com/kiesling
Linux FAQ:
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
---
Tired of spam? Please forward messages to [EMAIL PROTECTED]
------------------------------
From: Ken <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: 25 Dec 2000 23:42:18 GMT
MH <[EMAIL PROTECTED]> wrote:
> Installed EMACS from RPM. Cannot find a way to start the program. Spent
> half an hour looking through README, MAN, INFO...ridiculous.
Try "emacs-no" for no X, or emacs with X.
------------------------------
From: "Peter S." <[EMAIL PROTECTED]>
Subject: How to WYSIWIG print output of Canon BJC 6100?
Date: Tue, 26 Dec 2000 02:21:40 GMT
Hello all,
My printer is properly detected on the USB port by Mandrake 7.2 as BJC 6100
(by Canon) and I can print with "lpr filename" in consol or the print
command in Netscape or in Abit. Color also O.K. But how do I control the
printed font size?
It is so tiny, barely visible. What you see is surely not what you get. I
set the resolution to 100dpi, I increase the font size in Abit and to no
avail. The output on the printer remains the same. Tiny. I would appreciate
finding out how to influence point size that printer will accept. This is of
course no problem when I use the printer with its Canon driver in Windows.
There it is truly WYSIWIG. Surely there must be a way in linux.
Thanks for your help,
Peter
------------------------------
From: Guy Parry <[EMAIL PROTECTED]>
Subject: VMWare icon is WHERE????????
Date: Tue, 26 Dec 2000 13:25:19 +1100
I've installed VMWare, but where is its icon? I've searched and
searched and I GIVE UP. Where is it? Do I have to download
one????????
tia.
------------------------------
From: Guy Parry <[EMAIL PROTECTED]>
Subject: Installing KDE problem with libXm.so.1...
Date: Tue, 26 Dec 2000 13:38:40 +1100
I'd like to install KDE - which I *thought* I already had! But
apparently I need file libXm.so.1. Anyone know which package I need
to install to have it?
tia...
------------------------------
From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: X Server permissions
Date: Tue, 26 Dec 2000 03:05:39 GMT
In article <[EMAIL PROTECTED]>, fafaforza wrote:
> Hi just installed XF 4.0.2. Compiled it myself, works great.
>
> But when I try to run Mozilla or Quake2, I get an error that the
> connections were refused. Here are the logs.
> ------------------------------------------------------
> Mozilla...
>
> Xlib: connection to ":0.0" refused by server Xlib: Client is not
> authorized to connect to Server
>
> Gtk-WARNING **: cannot open display: :0.0
>
That usually happens when one user tries to access your display which was
opened by another user, and isn't xfree86 4.0.x specific. One fix is the
allow all local users access to your display. As the user who started X,
type:
xhost +localhost
- Dan White
------------------------------
From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: Installing KDE problem with libXm.so.1...
Date: Tue, 26 Dec 2000 03:08:42 GMT
In article <[EMAIL PROTECTED]>, "Guy Parry"
<[EMAIL PROTECTED]> wrote:
> I'd like to install KDE - which I *thought* I already had! But
> apparently I need file libXm.so.1. Anyone know which package I need to
> install to have it?
> tia...
You can find a copy in lesstif.
- Dan White
------------------------------
From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: VMWare icon is WHERE????????
Date: Tue, 26 Dec 2000 03:10:09 GMT
In article <[EMAIL PROTECTED]>, "Guy Parry"
<[EMAIL PROTECTED]> wrote:
> I've installed VMWare, but where is its icon? I've searched and
> searched and I GIVE UP. Where is it? Do I have to download one????????
> tia.
You don't need an icon to use vmware, just type 'vmware' from a shell.
Depending on your window manager, you can probably just create one...
- Dan White
------------------------------
From: Charles Young <[EMAIL PROTECTED]>
Subject: Alias??
Date: Sun, 24 Dec 2000 09:09:49 -0600
I am able to make aliases as directed, but after
logging out they have disappeared. Is there some
way to save them from session to session?
------------------------------
From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: How to set PATH?
Date: Tue, 26 Dec 2000 03:17:57 GMT
In article <928n0s$kad$[EMAIL PROTECTED]>, "tszeto"
<[EMAIL PROTECTED]> wrote:
> I'm trying to set my path to recognize the jdk1.3 I just installed.
>
> I open /etc/profile and change the path to this:
> PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3/bin"
>
> But when I echo $PATH, the jdk path that I added doesn't appear.
>
> Any help appreciated. BTW I'm using Redhat 7.
>
> Thanks, Ted
For those changes to take effect, you'll need to logout and back in (or
su - <username>). If you're using the bash shell, read the man page for
it, which details which files are read and when. For root, consider
changing /root/.bashrc and /root/.profile to change the path.
- Dan White
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: Only with Linux...
Date: 26 Dec 2000 01:22:35 GMT
Reply-To: [EMAIL PROTECTED]
The problem is presumably with the RPM you used.
I'm sure you've tried
find / -name emacs -print
right? It'll take a while.
--
Carl Fink [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 02:21:48 GMT
Robert Kiesling writes:
> Especially if the distro installed "xemacs" instead of "emacs," or
> neither of them.
or if he installed an srpm.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: John Scudder <[EMAIL PROTECTED]>
Subject: Re: New Motherboard
Date: Mon, 25 Dec 2000 22:21:14 -0500
Last October I upgraded my 266mHz Pentium to a 700mHz Athlon. Of course
a new motherboard was needed. Linux booted up fine, recognizing the new
motherboard features with no complaints. The only thing that I would
have liked to do was to be able to increase my swap drive from 128M to
256M. The new motherboard has 128M ram instead of 64M and I think the
swap drive should be twice the installed ram.
John
> Probably a thumb question:
> Do I have to reinstall linux after a motherboard-change?
>
> TIA
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: Alias??
Date: Tue, 26 Dec 2000 03:44:16 GMT
Charles Young wrote:
>
> I am able to make aliases as directed, but after
> logging out they have disappeared. Is there some
> way to save them from session to session?
As root run: "newaliases"
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.944% of seti users. +/- 0.01%
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Alias??
Date: Tue, 26 Dec 2000 03:53:05 GMT
David <[EMAIL PROTECTED]> wrote:
> Charles Young wrote:
>>
>> I am able to make aliases as directed, but after
>> logging out they have disappeared. Is there some
>> way to save them from session to session?
> As root run: "newaliases"
I think the poster was referring to shell aliases, not mail aliases...
In order to have aliases recognized b/w sessions, they need to be placed inside
the appropriate startup file for the shell (ie. .bashrc for bash, .cshrc for csh).
Adam
------------------------------
From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: My /home partition died...
Date: Tue, 26 Dec 2000 04:10:48 GMT
In article <6ca16.6447$[EMAIL PROTECTED]>, "Greg Conway"
<[EMAIL PROTECTED]> wrote:
> DISTRO: Redhat 6.1
>
> My /home partition on /dev/hda7 is gone...and i have a lot of important
> data on it. When i run fsck it says that it is a zero-lenght partition.
> Does anybody know how to retrieve the data on that partition?
> Also...when i go to do a manual mount on /dev/hda7, it says that it is
> not a block device.
>
>
> Please help
>
> Greg C
>
>
Sounds like something nasty has happened. Did you try to reinstall or
repartition? That information would help in determining how to recover.
Assuming there was a mishap with fdisk and hda7 was shrunk to 0
length, you can try to recreate it to it's original size. Since the
partition number is 7, it's a logical partition, and it's plausible that
it is the last partition. In that case, your partition table could have
*looked* something like this:
Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 164 1317298+ 83 Linux
/dev/hda2 165 419 2048287+ 83 Linux
/dev/hda3 420 546 1020127+ 7 HPFS/NTFS
/dev/hda4 547 784 1911735 5 Extended
/dev/hda5 547 562 128488+ 82 Linux swap
/dev/hda7 563 784 1783183+ 83 Linux
But now looks like:
Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 164 1317298+ 83 Linux
/dev/hda2 165 419 2048287+ 83 Linux
/dev/hda3 420 546 1020127+ 7 HPFS/NTFS
/dev/hda4 547 784 1911735 5 Extended
/dev/hda5 547 562 128488+ 82 Linux swap
/dev/hda7 563 563 1783183+ 83 Linux
Note that your extended partition (4) evelops your logical partitions
(5-7) and defines the beginning and ending of those partitions. Partition
5 starts at the beginning of that space (cylinder 547), and 7 ends at the
end of it's space (cylinder 784). If none of your current partitions
consumes the space after partition 7, then you can try to delete
partition 7 and recreate it using all of that space (cylinders 563 to
784).
It's very risky, and involves a lot of guess work. But I've found myself
in a similar situation after a typo in fdisk. The big question mark is,
have you done anything with that space after changing the partition? If
not, then the file system information should still be intact, you just
have to tell the system where the filesystem really is.
- Dan White
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Mon, 25 Dec 2000 20:38:33 -0800
Carl Fink wrote:
> The problem is presumably with the RPM you used.
>
> I'm sure you've tried
>
> find / -name emacs -print
>
> right? It'll take a while.
Yes. I get:
/usr/lib/emacs
/usr/share/emacs
both of which are folders,
and rpm -qa | grep emacs gets me:
emacs-20.7-14
------------------------------
From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: How to set PATH?
Date: 25 Dec 2000 20:59:53 -0800
On Tue, 26 Dec 2000 03:17:57 GMT, Dan White <[EMAIL PROTECTED]> wrote:
>In article <928n0s$kad$[EMAIL PROTECTED]>, "tszeto"
><[EMAIL PROTECTED]> wrote:
>
>> I'm trying to set my path to recognize the jdk1.3 I just installed.
>>
>> I open /etc/profile and change the path to this:
>> PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3/bin"
>>
>> But when I echo $PATH, the jdk path that I added doesn't appear.
>>
>> Any help appreciated. BTW I'm using Redhat 7.
>>
>> Thanks, Ted
>
>For those changes to take effect, you'll need to logout and back in (or
>su - <username>). If you're using the bash shell, read the man page for
>it, which details which files are read and when. For root, consider
>changing /root/.bashrc and /root/.profile to change the path.
>
>- Dan White
There's also the posibility that he forgot to export his new $PATH.
--
[EMAIL PROTECTED] http://www.sierratel.com/dowe
---
There is a limit to how stupid people really are -- just as there's a limit
to the amount of hydrogen in the Universe. There's a lot, but there's a
limit.
--- David C. Barber
------------------------------
From: kristian ragndahl <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: 26 Dec 2000 05:06:20 GMT
>>>>> "MH" == MH <[EMAIL PROTECTED]> writes:
MH> and rpm -qa | grep emacs gets me:
MH> emacs-20.7-14
Try "find / -name emacs* -print"
and then "ln -s /usr/bin/emacs-20.7-14 /usr/bin/emacs" perhaps?
--
kristian ragndahl, http://www.ragndahl.cx/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************