Linux-Setup Digest #650, Volume #20 Sat, 17 Feb 01 11:13:06 EST
Contents:
Re: Problem adding users -- Sheesh! (Michael Heiming)
Re: Why can't I telnet to my machine ("Sandeep M. Yelwatkar")
MySQL connection problem ? ("Eric Chow")
Mail Srver setting problem ? ("Eric Chow")
Re: Help: NFS and Input/output error (Rogier Boon)
Mouse problem (Kieron Dunbar)
Linux booted in read only mode - How to recover ? (PT)
Re: Mouse problem ("Peter T. Breuer")
Cannot connect to MySQL server ? ("Eric Chow")
Triple boot C: drive - can't access (Six)
RH 6.1 partition suggestions ("Andy Smart")
logrotate (Brian)
Can't mount root fs ("Pete Calvert")
Re: Can't mount root fs (Michael Heiming)
/dev/lp1 overwritten with a file ("Josef Feiertag")
NFS : Linux with AIX... (jeffrey)
Re: /dev/lp1 overwritten with a file (Hajoma)
Re: /dev/lp1 overwritten with a file (H.Bruijn)
Line Printer Help ("Jason Fawcett")
CD-R only dummy writes... ("Blake Freeburg")
XWindows setup problem ("Manny")
----------------------------------------------------------------------------
Date: Sat, 17 Feb 2001 11:27:12 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Problem adding users -- Sheesh!
Steven Barnes wrote:
> I am having trouble adding users. I have tried to add users several
> ways, some of which have indicated a problem due to a certain file
> existing (/etc/ptmp or /etc/gtmp). I haven't been able to find
> reference to either of these files anywhere. If anyone could shed some
> light on this situation, I would be extremely grateful.
>
> This is what I get when I try these user tools (system messages in
> quotes)--
>
> userdrake
> - Will not start
> "Cannot lock user lib, file /etc/ptmp or /etc/gtmp exist"
Do you have those files?
ls -al /etc/*tmp
I would check what they contain and move (mv) those files to another name
an try again.
Good luck
Michael Heiming
>
>
> UserManager (KDE KUser)
> - Hangs when trying to save new user.
>
> Userconf
> - Fails when saving.
> - "smbpasswd: User test does not exist in system password file(usually
> /etc/passwd). Cannot add account without a valid local system user."
>
> adduser
> - "vipw lockfile (/etc/ptmp) is present!"
>
> useradd -g adm -m -p test22 -s /bin/bash test22
> - "vipw lockfile (/etc/ptmp) is present!"
------------------------------
From: "Sandeep M. Yelwatkar" <[EMAIL PROTECTED]>
Subject: Re: Why can't I telnet to my machine
Date: Sat, 17 Feb 2001 16:00:10 +0000
telnet: Unable to connect to remote host: Connection refused
There is no problem with the network as I am able to connect to other
machines from this machine
Sandeep.
Sanjay Agrawal wrote:
> what error message do you get?
>
> sanjay
------------------------------
From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: MySQL connection problem ?
Date: Sat, 17 Feb 2001 15:57:50 +0800
Hello,
I tried to connect to MySQL with JDBC API through TCP, but failed. How can
setup MySQL to accept connection from other Machine through Internet ?
Best regards,
Eric
------------------------------
From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: Mail Srver setting problem ?
Date: Sat, 17 Feb 2001 16:26:23 +0800
Hello,
If I only have a domain name(register with dynamic IP, such as dns2go.com),
how can I setup a MailServer, POP3, or IMAP and a DNS server?
Would you please to teach me the steps and where I can set it ?
Best regards,
Eric
------------------------------
From: Rogier Boon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Help: NFS and Input/output error
Date: Sat, 17 Feb 2001 12:36:44 +0100
Josh Stern wrote:
>
> He didn't say NIS wasn't working; he said the automounter,
> which depends on NIS, wasn't working.
>
> -= Josh
Well, point made in original message :
> 3) All the NIS users cann't login with no error message. (I think maybe
> it is because the home directory is on NFS server and amd doesn't work.)
> How to set up system so that user can login even if the home directory
> cann't be mounted correctly? I know telnet can allow it. But how about
> Gnome and KDE login?
The way I read this is that an error message is given during login. It
does hoewever not state the error message itself. From my own experiance
with NIS/NFS I recalled that when the homedir of the user can't be found
due to the fact that it is not mounted, a message is given. So if the
error is something else there might be a problem with NIS beside the
automounter problem.
Being a friendly Linux user I shared my experiance that, in my opinion,
could be of assistance.
greetings
Rogier
------------------------------
From: Kieron Dunbar <[EMAIL PROTECTED]>
Subject: Mouse problem
Date: Sat, 17 Feb 2001 12:09:54 +0000
I've just tried installing Debian 2.2, and have been trying to set up FVWM.
Unfortunately, I can't force it to recognise my PS/2 mouse properly. I've
tried to set it up in the configuration program, but the pointer just moves
quickly in a way which has no obvious connection to what I do with the
mouse, suggesting that the driver is wrong. It's just a standard PS/2 mouse
from Windows' POV, so I don't know what's going wrong.
Does anyone know what the problem might be?
kwaheri, Kieron (reverse username to reply)
------------------------------
From: PT <[EMAIL PROTECTED]>
Subject: Linux booted in read only mode - How to recover ?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 17 Feb 2001 12:26:44 +0000
Hi All,
Can anyone explain how to recover linux after it booted into read only
mode ?
A reboot just comes back the same way , running fsck comes up with
some message about Parallelizing whatever that means.
This happened after trying to install some application.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Mouse problem
Date: Sat, 17 Feb 2001 13:39:34 +0100
Kieron Dunbar <[EMAIL PROTECTED]> wrote:
> I've just tried installing Debian 2.2, and have been trying to set up FVWM.
> Unfortunately, I can't force it to recognise my PS/2 mouse properly. I've
fvwm doesn't do any "recognizing", of your mouse or anything. It's X
that does. COnfigure X.
> tried to set it up in the configuration program, but the pointer just moves
What configuration program? Edit the X configuration file, and add the
right protocol. Probably "PS/2".
> mouse, suggesting that the driver is wrong. It's just a standard PS/2 mouse
> from Windows' POV, so I don't know what's going wrong.
> Does anyone know what the problem might be?
You do. The situation is as you describe. So correct it.
Peter
------------------------------
From: "Eric Chow" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: Cannot connect to MySQL server ?
Date: Sat, 17 Feb 2001 21:09:27 +0800
Hello,
I can't connnect to MySQL server use mysql client.
The following is my information
mysql> select user,host from user;
+-------+--------------------+
| user | host |
+-------+--------------------+
| dba | % |
| myfaq | _ |
| | linux.ericjoey.com |
| root | linux.ericjoey.com |
| | localhost |
| root | localhost |
+-------+--------------------+
6 rows in set (0.00 sec)
And the I tried to connect to MySQL using dba in the same machine(Linux, the
MySQL server).
[eric@linux eric]$ mysql -u dba -p
Enter password:
ERROR 1045: Access denied for user: 'dba@localhost' (Using password: YES)
[eric@linux eric]$
It failed to connect to the MySQL server, and I also tried to use JDBC in
another machine which connect to the LAN with the MySQL server. It also
failed. What should I do ?
Please teach me.
Best regards,
Eric
------------------------------
From: Six <[EMAIL PROTECTED]>
Subject: Triple boot C: drive - can't access
Reply-To: [EMAIL PROTECTED]
Date: Sat, 17 Feb 2001 14:01:41 GMT
I have a dual boot winme/win2k machine. Linux is on it also, but I
use a floppy to boot that. The problem is that if I start the machine
from a cold boot, I can't see the c: drive in any OS besides WinME.
In win2k, I get "C drive not formatted". I don't remember what it
said in the linux setup, but I couldn't access it. I have to go into
Winme, run scandisk, then reboot into one of the other OS's and voila,
c drive is there.
Is there a fix for this?
------------------------------
From: "Andy Smart" <[EMAIL PROTECTED]>
Subject: RH 6.1 partition suggestions
Date: Sun, 18 Feb 2001 14:09:51 -0000
I at last have a decent(ish) box to play around with Linux on. I plan on
using my copy of RH 6.1, with no need to have any other OS on it. I'd be
interested in your suggestions regarding partitioning. It will be mainly
used as a workstation, but I'd like to connect my Win98 box to it so I can
get a handle on integrating Win and Linux. I'd also like to be able to store
files from my Win box on it so I'll need to use samba
Hard drive is 10gig (near as makes no difference), my current plan based on
what I read is:
/boot 20mb (btw, how do you know you aren't above cylinder 1023?)
/swap 32mb (it has 32mb memory)
/ the remainer
I was wondering if a separate /home partition might be an idea as I want to
transfer files to and from it?
Any ideas/suggestions you might make, both for partition schemes and places
I could go for more ideas, would be gratefully recieved. I have no objection
to RTing the FM - if you suggest which FM i might try RTing!
------------------------------
From: Brian <[EMAIL PROTECTED]>
Subject: logrotate
Date: Sat, 17 Feb 2001 14:30:02 -0000
Can anyone please help me with logrotate (RH6.1 linux)?
I am rotating logfiles and wish to mail them to the client each day.
This works, but the logfile.txt is inserted into the mail and therefore
loses all its formatting. I therefore want to do this as an attachment
(e.g. logfile.txt.1.gz) but I can not get this to work. I have tried
'mailfirst' and 'maillast' but still get the logfile inserted into the
mail body.
TIA, Brian
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Pete Calvert" <[EMAIL PROTECTED]>
Subject: Can't mount root fs
Date: Sat, 17 Feb 2001 14:44:31 -0000
Hi,
I've got a problem with my setup. I already had SuSE 6.4 installed on my
system, but I decided to add Win98 as well.
Before I started I had the following partitions
Partition Filesystem mount point
/dev/hda1 Win95 FAT32
/dev/hda2 Linux ext2fs /old
/dev/hda5 Win95 FAT32
/dev/hda6 Linux swap
/dev/hdb1 Win95 FAT32
/dev/hdb2 Linux ext2fs /
/dev/hdb3 Linux ext2fs /boot
/dev/hdb5 Win95 FAT32 /win
/dev/hdb6 Linux swap
Firstly I had problem with a FAT32 partition which was mounted as /win as
when the Windows setup program couldn't read it properly, yet it seemed fine
in Linux. I booted with Partition Magic and it reported an error that the
LBA numbers weren't equal to the CHS numbers or something, but it fixed
that, so I'm not sure if that is relevant.
Then I also changed the partitions on hda so it was just one FAT32
partition. This is where I installed Win98. After installing Win98 it had
overwritten the MBR and lilo, which I expected. But when I tried to boot
from a bootdisk it was fine until it got to this:
Linux PCMCIA Card Services 3.1.11
Options: [pci] [cardbus] [pm]
Databook TCIC-2 PCMCIA probe: not found
kmem_create: Forcing size word alignment - nfs_fh
ds: no socket drivers loaded
EXT2-fs: unable to read superblock
Invalid session number or type of track
Invalid session number
iosfs_read_super: bread failed, dev=03:02, iso_blknum=16, block=32
Kernel panic: VFS: Unable to mount root fs on 03:02
So how can I get access to Linux again?
I do have the SuSE CDs available and the use of another Linux box if needed.
Any help would be greatly appreciated.
Cheers
Pete
------------------------------
Date: Sat, 17 Feb 2001 15:48:42 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Can't mount root fs
Pete Calvert wrote:
> Hi,
>
> I've got a problem with my setup. I already had SuSE 6.4 installed on my
> system, but I decided to add Win98 as well.
>
> Before I started I had the following partitions
>
> Partition Filesystem mount point
> /dev/hda1 Win95 FAT32
> /dev/hda2 Linux ext2fs /old
> /dev/hda5 Win95 FAT32
> /dev/hda6 Linux swap
>
> /dev/hdb1 Win95 FAT32
> /dev/hdb2 Linux ext2fs /
> /dev/hdb3 Linux ext2fs /boot
> /dev/hdb5 Win95 FAT32 /win
> /dev/hdb6 Linux swap
>
> Firstly I had problem with a FAT32 partition which was mounted as /win as
> when the Windows setup program couldn't read it properly, yet it seemed fine
> in Linux. I booted with Partition Magic and it reported an error that the
> LBA numbers weren't equal to the CHS numbers or something, but it fixed
> that, so I'm not sure if that is relevant.
>
> Then I also changed the partitions on hda so it was just one FAT32
> partition. This is where I installed Win98. After installing Win98 it had
> overwritten the MBR and lilo, which I expected. But when I tried to boot
> from a bootdisk it was fine until it got to this:
>
> Linux PCMCIA Card Services 3.1.11
> Options: [pci] [cardbus] [pm]
> Databook TCIC-2 PCMCIA probe: not found
> kmem_create: Forcing size word alignment - nfs_fh
> ds: no socket drivers loaded
> EXT2-fs: unable to read superblock
> Invalid session number or type of track
> Invalid session number
> iosfs_read_super: bread failed, dev=03:02, iso_blknum=16, block=32
> Kernel panic: VFS: Unable to mount root fs on 03:02
>
> So how can I get access to Linux again?
> I do have the SuSE CDs available and the use of another Linux box if needed.
Boot from distro CD 2, which should start yast1 (else type manual on lilo boot
prompt for CD1), choose
boot exsisting system from menu.(it will ask where your / is)
After root login type
lilo
(asuming /ect/lilo.conf is OK)
done...:-)
Michel Heiming
>
>
> Any help would be greatly appreciated.
>
> Cheers
>
> Pete
------------------------------
From: "Josef Feiertag" <[EMAIL PROTECTED]>
Subject: /dev/lp1 overwritten with a file
Date: Sat, 17 Feb 2001 16:21:17 +0100
Hi!
I have moved a file to /dev/lp1 (instead of cp), and so my device /dev/lp1
does not longer exist.
How can i create a new /dev/lp1 ?
I am using suse-Linux 6.3 Kernel 2.2.13
thanks,
Josef
------------------------------
From: jeffrey <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.questions
Subject: NFS : Linux with AIX...
Date: Sat, 17 Feb 2001 17:28:54 +0200
I have setup Linux NFS Server and one of my clients is a box running AIX .The
directory I'm
sharing with the AIX machine(called junior) is /home and hence my
/etc/exports
(on the Linux box) has the following line :
/home junior(rw,no_root_squash)
and on junior(The AIX machine) I have the following(in the
/etc/filesystems file)
/newusers:
dev = /home
vfs = nfs
nodename = 196.21.46.132
mount = true
options = bg,soft,intr,vers=2
account = false
where /newusers is the local directory on junior(the AIX machine) where
/home is
suppose to be mounted
When I do " mount /newusers " on the AIX box I get the following
message :
mount: giving up on:
196.21.46.132:/home
vmount: Not owner
What's going wrong?
Jeff Mutonho
Cape Town
South Africa
------------------------------
From: [EMAIL PROTECTED] (Hajoma)
Subject: Re: /dev/lp1 overwritten with a file
Date: 17 Feb 2001 15:36:55 GMT
> I have moved a file to /dev/lp1 (instead of cp), and so my device /dev/lp1
> does not longer exist.
> How can i create a new /dev/lp1 ?
mknod /dev/lp1 c 6 1
Then give it the same owner, group and permissions as /dev/lp0 . On my RH6.1
box it's
chown root:daemon /dev/lp1
chmod 660 /dev/lp1
but SuSE may be different.
--
Harry Mason
=====BEGIN GEEK CODE BLOCK=====
Version: 3.12
GCS d- s+:++(+)>+: a--- C+++@ UL+++>++++ P+++>++++ L+++>++++ E--- W+(-)
N++ o+ K++ w--@ O? M? V? PS+ PE- Y+ PGP- t+ 5? X- R+>++ !tv b+++
DI+ D+>++++$ G+++ e(*)>++++ h>++ !r y
======END GEEK CODE BLOCK======
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: /dev/lp1 overwritten with a file
Date: 17 Feb 2001 15:43:58 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 17 Feb 2001 16:21:17 +0100, Josef Feiertag allegedly wrote:
>Hi!
>
>I have moved a file to /dev/lp1 (instead of cp), and so my device /dev/lp1
>does not longer exist.
>How can i create a new /dev/lp1 ?
>I am using suse-Linux 6.3 Kernel 2.2.13
cd /dev/
rm ./lp1
/sbin/mknod lp1 c 6 1 --mode=660
chown root.lp /dev/lp1
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: "Jason Fawcett" <[EMAIL PROTECTED]>
Subject: Line Printer Help
Date: Sat, 17 Feb 2001 09:57:52 -0600
Anyone know where I can get a driver/filter info for an NCR 6458 (aka
Mannesmann Tally 691)? Or, how about an Epson FX 100+, IBM Proprinter 300XL,
or Printronix 600/6000?
Also, how would I add this info to the pre-existing drivers in RH 6.2?
Thanks!
Jason
------------------------------
From: "Blake Freeburg" <[EMAIL PROTECTED]>
Subject: CD-R only dummy writes...
Date: Sat, 17 Feb 2001 09:54:56 -0600
I have RH7 with the 2.4.1 kernel configured so that cd-record -scanbus sees
the drives (and I can mount them, read from them. The problem is burning a
cd-r with cd-record only produces a 'dummy' burn. The CD-R drive is a
10x4x32 Acer atapi. Anyone have any hints?
Blake
====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
======= Over 80,000 Newsgroups = 16 Different Servers! ======
------------------------------
From: "Manny" <[EMAIL PROTECTED]>
Subject: XWindows setup problem
Date: Sat, 17 Feb 2001 11:01:58 -0500
I'm having trouble setting up X Windows on my system.
I am running the Red Hat 7.0 Distribution, and it is running
on a Dell Pentium 100mhz with 40mb of RAM using an
S3 Trio 64 card with 2MB of RAM.Linux has an existing server
for it XF86_S3, but no driver.I'm using a Dell Ultrascan 15
Triniton.
I have run XF86Config, and everything goes smoothly, but when I run
startx or X I get error messages saying that certain sections
are not recognized. If I comment out that particular section,
it will just say the same thing about another section.
see the following error message:
Section "InputDevice" not a recognized section name
(errno 111)
I'm using conservative
settings for the refresh rates 31.5mhz horz and 60mhz Vertical.
I have also tried to setup the XF86Config using
XConfigurator, but after getting to the second dialog screen, by
screen goes black (get scan out of range error), and I have to
reboot completely. CTRL-alt-backspace and CTRL-alt-+ do not work.
Any help would be greatly appreciated.
-Manny
[EMAIL PROTECTED]
------------------------------
** 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.setup.
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-Setup Digest
******************************