[expert] Hard disk repartitioning

2003-04-02 Thread M X
Dear all,
I have a 20GB hard disk with a 5GB primary partition(C drive, DOS partition) and 15GB logical partition(D drive, extended DOS partition). The C drive has WinME and all application softwares and has 3.74 GB of free space. The D drive has all my data and has 9.84 GB of free space. I want to install Mandrake Linux 9.1 on this box.     i want to have a dual boot system and donot want to lose any existing data. can anyone please suggest how do i repartition my disk. ive read a few articles and HOWTOs on this and frm what i gather is that a dual boot system should look like this: 
   1)Windows partion (FAT32)   2)Linux partition   3)Swap partition   4)Partition for data accesible from Windows and Linux(FAT32)
   now these articles explained this repartitioning when their original disk had a single primary dos partition. so my problem is how do i repartition my disk which has a primary and a logical partition?
    also i have 128MB RAM. so what should be the size of my Swap partition?
  thanks for your help .
  ak.  Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

RE : [expert] DVD sharing using samba

2002-11-25 Thread x~o








I
tried to mount DVD in iso9660 and udf, same error each time.

 

The
error for ide disk is the following regardless if dma is activated or not:

 

Nov 26 00:46:47 xoServBox kernel: hdc: command
error: status=0x51 { DriveReady
SeekComplete Error }

Nov 26 00:46:47 xoServBox kernel: hdc: command
error: error=0x54

Nov 26 00:46:47 xoServBox kernel: end_request:
I/O error, dev 16:00 (hdc),
sector 145568

 

Regards,

Stephane

 








[expert] DVD sharing using samba

2002-11-24 Thread x~o








Hi 

I’m using a MDK 8.2
updated with cookers an I try to share my DVD via samba to look movies with
PowerDVD on my PC.

My Pc can acces file on the
DVD with explorer but when I ask PowerDVD to lauch DVD from Harddisk pointing
the the share, the kernel general errors like this :

 

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259480

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259504

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00, sector
1259480

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259484

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259480

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259484

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259480

Nov 25 01:03:11 xoServBox
kernel:  I/O error: dev 0b:00,
sector 1259484

 

The DVD is a scsi drive, my
IDE DVD also generate errors.

 

Can anyone help me please ?

 

regards

Stephane

 

My kernels are 2.4.20 and
2.4.18, both made sames error.

 

There is my smb.conf eport
section for DVD :

[DVD]

   comment = Lecteur de DVD

   path = /mnt/cdrom

   browseable = yes

   public = yes

   writable = no

   printable = no

 

There is all the packages
I’ve installed :

 

[root@xoServBox boot]# rpm
-qa

libtermcap2-2.0.8-30mdk

locales-fr-2.3.1.2-8mdk

shadow-utils-2902-5mdk

zlib1-1.1.3-19mdk

libslang1-1.4.4-3mdk

e2fsprogs-1.26-1mdk

modutils-2.4.13-3mdk

cracklib-dicts-2.7-15mdk

which-2.13-4mdk

libutempter0-0.5.2-5mdk

less-358-14mdk

net-tools-1.60-2mdk

syslinux-1.67-4mdk

logrotate-3.6-1mdk

lilo-22.2-2mdk

stat-2.5-3mdk

vixie-cron-3.0.1-52mdk

libgdbm2-1.8.0-18mdk

libtiff3-3.5.5-9mdk

esound-0.2.23-1mdk

libnewt0.50-0.50.34-2mdk

curl-7.9.4-4mdk

liblcms1-1.08-3mdk

libalsa1-0.5.10b-1mdk

libcdda0-IIIa9.8-3mdk

ORBit-0.5.13-1mdk

libogg0-1.0-0.rc3.1mdk

libvorbis0-1.0-0.rc3.1mdk

libnss3-0.9.8-10mdk

libbinutils2-2.11.92.0.12-6mdk

libmm1-1.1.3-9mdk

pspell-0.12.2-4mdk

libsnmp0-4.2.3-2mdk

tcl-8.3.3-12mdk

libptal0-0.8-7mdk

glibc-devel-2.2.4-25mdk

sane-backends-1.0.7-4mdk

libgcc3.0-3.0.4-2mdk

librsvg1-1.0.3-1mdk

howto-utils-0.2.4-1mdk

libbmpeg1-1.3.1-4mdk

gnupg-1.0.6-5mdk

words-2-18mdk

libstdc++3.0-3.0.4-2mdk

gcc-2.96-0.76mdk

apm-scripts-0.1-3mdk

texinfo-4.0-22mdk

cpio-2.4.2-20mdk

mailx-8.1.1-20mdk

patch-2.5.4-10mdk

spec-helper-0.6-4mdk

libhermes1-1.3.2-7mdk

anacron-2.3-11mdk

automake-1.4-20.p5.mdk

devfsd-1.3.24-17mdk

giftrans-1.12.2-10mdk

hotplug-2002_01_14-4mdk

lilo-doc-22.2-2mdk

mandrake-mime-0.1-5mdk

mirrordir-0.10.49-4mdk

pciutils-2.1.9-2mdk

rcs-5.7-5mdk

routed-0.17-4mdk

slocate-2.6-2mdk

libxml2-utils-2.4.16-2mdk

ctags-5.2.0-1mdk

vorbis-tools-1.0-0.rc3.4mdk

libxine0.9.8-0.9.8-4mdk

sgml-tools-1.0.9-22mdk

ispell-fr-1.0-10mdk

rp-pppoe-3.3-2mdk

apache-manual-1.3.26-6mdk

chkconfig-1.3.4-11mdk

libopenssl0-0.9.6g-1mdk

mod_perl-common-1.3.26_1.27-7mdk

mod_ssl-2.8.10-5mdk

perl-DB_File-1.804-3mdk

perl-FCGI-0.65-2mdk

perl-MailTools-1.47-1mdk

perl-URI-1.20-1mdk

perl-XML-Grove-0.46alpha-3mdk

perl-libxml-enno-1.02-6mdk

vim-enhanced-6.1-21mdk

pidentd-3.0.14-3mdk

checkpassword-0.90-3rph

rpm-4.0.4-19mdk

gettext-base-0.11.2-8mdk

iptraf-2.7.0-1mdk

iptables-1.2.6a-1mdk

iproute2-2.4.7-4mdk

openssh-clients-3.4p1-4mdk

palmos-sdk-4.0-1

libacl1-2.0.11-1mdk

samba-common-2.2.6-1.0.rc2.2mdk

samba-swat-2.2.6-1.0.rc2.2mdk

prelude-report-0.4.2-7mdk

perl-Authen-PAM-0.13-3mdk

wondershaper-1.1a-1mdk

freetype2-2.0.2-0.20001211.1mdk

freetype-1.3.1-8mdk

ypserv-2.4-1mdk

setup-2.2.0-33mdk

ncurses-5.2-27mdk

ldconfig-2.2.4-25mdk

sash-3.4-10mdk

bash-2.05-16mdk

filesystem-2.1.3-4mdk

locales-de-2.3.1.2-8mdk

libbzip2_1-1.0.2-4mdk

info-install-4.0-22mdk

gawk-3.1.0-3mdk

diffutils-2.7-30mdk

libpython2.2-2.2-9mdk

msec-0.19-8mdk

libglib1.2-1.2.10-4mdk

libncurses5-5.2-23mdk

libpcre0-3.9-3mdk

libdb3.3-3.3.11-7mdk

mktemp-1.5-10mdk

libext2fs2-1.26-1mdk

libintl1-0.10.40-4mdk

psmisc-20.2-2mdk

cracklib-2.7-15mdk

procps-2.0.7-10mdk

pwdb-0.61-6mdk

SysVinit-2.83-3mdk

initscripts-6.40.2-41mdk

utempter-0.5.2-5mdk

findutils-4.1.7-3mdk

gzip-1.2.4a-9mdk

mkinitrd-3.1.6-28mdk

kernel-2.4.18.6mdk-1-1mdk

dosfstools-2.8-2mdk

mandrake-release-8.2-1mdk

tmpwatch-2.8-1mdk

console-tools-0.2.3-29mdk

sysklogd-1.4.1-2mdk

bdflush-1.5-19mdk

etcskel-1.63-13mdk

losetup-2.11n-4mdk

rootfiles-8.2-1mdk

time-1.7-18mdk

vim-minimal-6.0-7mdk

basesystem-8.2-1mdk

libjpeg62-6b-21mdk

db2-2.4.14-5mdk

libaudiofile0-0.2.3-2mdk

gcc-cpp-2.96-0.76mdk

libORBit0-0.5.13-1mdk

libesound0-0.2.23-1mdk

eject-2.0.12-3mdk

wget-1.8.1-2mdk

libgmp3-3.1.1-6mdk

oaf-0.6.8-3mdk

libgimpprint1-4.2.0-22mdk

groff-for-man-1.17.2-9mdk

groff-1.17.2-9mdk

detect-lst-0.9.72-3mdk

libsasl7-1.5.27-3mdk

libxml2-2.4.16-2mdk

font-tools-0.1-3mdk

libexpat1_95-1.95.2-2mdk

lynx-2.8.5-0.7mdk

libscrollkeeper0-0.2-1mdk

isapnptools-1.26-4mdk

libltdl3-1.4.2-3mdk

libxslt1-1.0.12-1mdk

playmidi-2.4-21mdk

[expert] Mailing list in Spanish

2001-08-17 Thread X - A - W - K




Hola,
 
Se nota que hay bastante gente que habla español en 
la lista.
 
A lo mejor se podría hacer nuestra propia lista 
como la tienen los italianos
 
Qué piensan?
 
X - A - W - 
K






Jest niezly ... i liscik napisze
OnetKomunikator [ http://ok.onet.pl/instaluj.html ]






Re: [expert] Konqueror 2.2 crashes at slashdot?

2001-08-17 Thread x

On Saturday 18 August 2001 05:44, Gary A. Garibaldi wrote:
> I'm on Slashdot right not and not having any problems.  I was having
> problems with crashes yesterday at most web sites.  I removed KDE and
> reinstalled it. Seems to be working great right now. Been up 5 hours and
> counting.


Same experience here--no problem with slashdot on beta1

Civileme



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://.mandrakestore.com



[expert] PCMCIA configuration.

2001-08-07 Thread X - A - W - K

Hi,

I am newbie to Linux Mandrake... but I have a small problem which nobody
till now could solve.

I have installed LM8.0 on my laptop. The very first instalation was great.
Every pice of hardware was recognized by Mandrake... but 3 weeks later I
lost my PCMCIA card which I use to connect to internet vía cable modem. The
3Com Megahertz CardBus was gone...

...because of lack of money in that moment I had to buy a new very chip
PCMCIA which even don't have a name o it...  First I have pluged it and use
Win2K... there was no any problem it was detected as Realtec rtl8139(A)...

...then I used it in Mandrake...and nothing... well I decided to install LM
once again with a new card insid the slot. I have made it... but nothing...
I can't manage to make it work.

First using DrakeNet when I try to configure connection I receive message:

insmod'ing module 8139too failed at /usr/lib/libDrakeX/modules.pm line
510

But I don't understand anything in this archive... so... I was trying to
find out what is going on other way. I used dmesg|more and I can see this:

...Linux PCMCIA Card Services 3.1.25
Kernel build 2.4.3-20mdk...
...PCI: Found IRQ 11 for device 00:0a.0
PCI: The same IRQ used for device 00:09.0
...
8139too Fast Ethernet dirver 0.9.15c loaded
PCI: No IRQ known for interrupt pin A of device. Please try using
pci=biosirq
8139too: region #0 not a PIO resource, aborting
...

I try cardctl and PCMCIA works ok... it respondes for commands:

productinfo "CardBus PC Card", "Fast Ethernet CardBus PC Card"
mafid: 0x, 0x021b
function: 6 (network)
PCI id: 0x10ec 0x8139

eth0 device doesn't exist. I don't know how to "obliged" system to make it.
I can imagine the problem is in IRQ. I was trying to make some changes in
bios, but nothing... even soundcard stops to work...

So what shall I do Anybody could help me. I really want to get this
PCMCIA working, but I don't know what do I need to do... Please help me. Any
idea is welcomed.

XAWK




-- 

Jest niezly ... i liscik napisze 
OnetKomunikator [ http://ok.onet.pl/instaluj.html ]





Re: [expert] How to change IRQ number????

2001-08-05 Thread X - A - W - K

It looks like bios doesn' control assigning of irqs. At least there is no
any option to do it.



- Original Message -
From: "DM" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 05, 2001 11:08 AM
Subject: Re: [expert] How to change IRQ number


> check if your bios can control the assigning of the
> IRQ ... some bioses can do that.
>
> --- X - A - W - K <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have LM 8.0 on my laptop and I have problems with
> > PCMCIA card. It looks
> > like sound card and PCMCIA card bus have the same
> > IRQ numbre (according to
> > the dmesg|more).
> >
> > I don't know if it is possible, but it looks like.
> > System does recognize
> > CardBus, but can't detect it o something like that
> >
> > So I would like to change it, I want to make work my
> > PCMCIA.
> >
> > Does anybody know how to change IRQ numbres?
> >
> > I was trying command cardctl and it doesn't work,
> > just because ther is no
> > eth0 device...
> >
> > What shall I do???
> >
> > Thanks for help.
> >
> > X - A - W - K
> >
> >
> >
> > --
> >
> > Jest niezly ... i liscik napisze
> > OnetKomunikator [ http://ok.onet.pl/instaluj.html ]
> >
> >
> >
> >
>
>
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>



-- 

Jest niezly ... i liscik napisze 
OnetKomunikator [ http://ok.onet.pl/instaluj.html ]





[expert] How to change IRQ number????

2001-08-05 Thread X - A - W - K

Hi,

I have LM 8.0 on my laptop and I have problems with PCMCIA card. It looks
like sound card and PCMCIA card bus have the same IRQ numbre (according to
the dmesg|more).

I don't know if it is possible, but it looks like. System does recognize
CardBus, but can't detect it o something like that

So I would like to change it, I want to make work my PCMCIA.

Does anybody know how to change IRQ numbres?

I was trying command cardctl and it doesn't work, just because ther is no
eth0 device...

What shall I do???

Thanks for help.

X - A - W - K



-- 

Jest niezly ... i liscik napisze 
OnetKomunikator [ http://ok.onet.pl/instaluj.html ]





Re: [expert] Any mutt users?

2001-07-08 Thread x

I also use mutt (not right now obviously) in concert with fetchmail and
procmail.  Works beautifully.

-Charlie
- Original Message -
From: "Christopher W. Aiken" <[EMAIL PROTECTED]>
To: "Wolfgang Bornath" <[EMAIL PROTECTED]>
Cc: "Experts" <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 4:31 PM
Subject: Re: [expert] Any mutt users?


>
> On Sun, 8 Jul 2001, Wolfgang Bornath wrote:
>
> :)Hi,
> :)
> :)I know, in times of kmail et al it is hard to find any old fashioned
> :)geeks with text based MUAs ;-) (Met some at LinuxTag in
Stuttgart/Germany
> :)though).
> :)
> :)My Q: I set up mutt on a standalone box. So I just compiled it with pop
> :)option to gather my mail from my pop account by pressing 'G'.
> :)Now that my box is running permanently with ADSL I wanted to change
> :)Muttrc so that mutt gathers mail every 13 minutes.
> :)Option in Muttrc should be 'set mail_check=15' but it doesn't work.
> :)Can anyone point me into the right direction and push?
> :)
> :)wobo
> :)(This mail option is another means to keep up the connection, better
than
> :)an unproductive ping.)
> :)
>
> I use pine.  Very versatile.  Why not use "fetchmail" to get your mail?
> "fetchmail --daemon "  or  "fetchmail -s " will start
> up the process as a background daemon and check for your mail every
> time period that you specify".  You can also run as "nohup fetchmail -d
"
>
> --
> -=[cwa]=-
> Linux-Mandrake 8.0
>
>
>





Re: [expert] One-time passwd -- how?

2001-07-06 Thread x

That's really interesting -- what version of Mandrake are you running?  I've
got 8.0 here on a test box and when I issue this command, set the maximum
password age to zero, and log in as that user, it simply gives me a warning
saying that my password's going to expire in 0 days.  When I set the '-W'
flag to zero, it logs me in simply with no warning (as if nothing was ever
done).

BTW, this is with shadow-utils-2826-5mdk

Thanks for the reply,

-Charlie
- Original Message -
From: "Pierre Fortin" <[EMAIL PROTECTED]>
To: "x" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:52 AM
Subject: Re: [expert] One-time passwd -- how?


> x wrote:
> >
> > I can't seem to find it in the passwd man page and I know this is
possible
> > (at least in HP-UX), but I've previously been able to set a one-time
> > password for new users (or if they'd forgotten their passwd) where upon
> > logging in, they'd be prompted to create a new password.
> >
> > That's kind of a thick sentence, but in other words, say user 'foo'
needed
> > to get her passwd reset.  As the sys admin, I do a one-time passwd
change
> > for the 'foo' user to 'bar'.  Upon logging back in and entering her new
> > 'bar' password, the 'foo' user is now prompted to change her password.
She
> > cannot go further until she enters a new valid password the system
likes.
> > Does this make sense?
> >
> > Anyway, I'd really appreciate any info on this because I know it's
possible
> > (at least in HP-UX so I'm presuming it's possible in linux), but for the
> > life of me, I can't find out how.
> >
> > Thanks in advance,
> >
> > -Charlie
>
> # chage -M 0 charlie
>
> Or, more verbose:
>
> # chage charlie
> Changing the aging information for charlie
> Enter the new value, or press return for the default
>
> Minimum Password Age [0]:
> Maximum Password Age [9]: 0  <==<<<
> Last Password Change (-MM-DD) [2000-11-18]:
> Password Expiration Warning [7]:
> Password Inactive [-1]:
> Account Expiration Date (-MM-DD) [1969-12-31]:
> # ssh localhost -l charlie
> charlie@localhost's password:
> You are required to change your password immediately (password aged)
> Warning: Your password has expired, please change it now
> Changing password for charlie
> (current) UNIX password:
>
> HTH,
> Pierre
>
>





[expert] One-time passwd -- how?

2001-07-06 Thread x

I can't seem to find it in the passwd man page and I know this is possible
(at least in HP-UX), but I've previously been able to set a one-time
password for new users (or if they'd forgotten their passwd) where upon
logging in, they'd be prompted to create a new password.

That's kind of a thick sentence, but in other words, say user 'foo' needed
to get her passwd reset.  As the sys admin, I do a one-time passwd change
for the 'foo' user to 'bar'.  Upon logging back in and entering her new
'bar' password, the 'foo' user is now prompted to change her password.  She
cannot go further until she enters a new valid password the system likes.
Does this make sense?

Anyway, I'd really appreciate any info on this because I know it's possible
(at least in HP-UX so I'm presuming it's possible in linux), but for the
life of me, I can't find out how.

Thanks in advance,

-Charlie





Re: [expert] Real player: Cannot open audio device. Another application may beusing it.

2001-03-30 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello again,

I have added the interested user to the "audio" group and works
fine. Thanks a lot Stephen.

Fabian.


On Fri, 30 Mar 2001, Stephen Lawrence Jr. wrote:

> I think it is a permissions issue. Check to make sure that your USER is set
> up in the AUDIO group.
> 
> 
> Peña Arellano Fabian Erasmo wrote:
> 
> > Hello,
> >
> > I have just installed Real Player version 8.0.3.412 under
> > Linux-Mandrake 7.2. I f I use it as root everything works fine, but if I
> > try to use it as a regular user, I get the following message:
> >
> > Cannot open audio device. Another application may be using it.
> >
> > Does any of you know how to solve this problem? Thanks.
> >
> > Fabian.
> 
> --
> Stephen Lawrence Jr. - Programmer
> [EMAIL PROTECTED]
> California Animal Health & Food Safety Laboratory System, UC Davis
> (530)-752-4614
> 
> 
> 
> 
> 





[expert] Real player: Cannot open audio device. Another application may beusing it.

2001-03-30 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello,

I have just installed Real Player version 8.0.3.412 under
Linux-Mandrake 7.2. I f I use it as root everything works fine, but if I
try to use it as a regular user, I get the following message:

Cannot open audio device. Another application may be using it.

Does any of you know how to solve this problem? Thanks.

Fabian.





Re: [expert] NIS Help

2001-03-04 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi Theo,

You can look for the NIS tutorials at

http://www.mandrakecampus.org

and

http://www.mandrakeuser.org

I followed those tutorials tu set up NIS on my local area network
and it is working fine. I hope this helps. Greetings from Mexico.

Fabian.


On Sun, 4 Mar 2001, Theo Brinkman wrote:

> I've got a small home network with the IP addresses assigned by DNS 
> running on the Cisco 675 ADSL router I use for net access.  It's getting 
> to be a bit of a hassle to keep updating the /etc/hosts file on all 4 
> systems, as it seems to occasionally switch the C-level of the IP 
> addressess it dishes out (ie: *.*.100.* to *.*.120.*).  This change also 
> messes with my ability to telnet to the other machines because my 
> host.allow file contains the actual IP addresses within the range the 
> router dishes out.
> 
> I'm looking to set up NIS on my server to make my life easier in this 
> regard, but I'm still new to linux system administration, and the help I 
> can find seems a bit vague.  Can anybody point me to a good step-by-step 
> walk-through of the process?
> 
>   - Theo
> 
> 
> 
> 
> 





[expert] How should I disable the login massage?

2001-03-02 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi,

Every time I log into my computer via ssh I receive the following
message:

Last login: Thu Mar  1 16:13:09 2001 from host.domain.th

How should I disable it? I know that for security reasons that
message should appear, but since I am running a message passing interface 
implementation, it appears every time a proccess logs into the machine and
it is printed also in the file I direct the output to. Thanks in advance.

Fabian.





Re: [expert] Two problems with ssh.

2001-02-28 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello Woody,

Thanks for answering. 
I commented out only one line. I followed the instructions at
www.openssh.com in the FAQ. It states

2.6 - X11 and/or agent forwarding does not work.

Check your ssh_config and sshd_config. The default configuration files
disable authentication agent and X11 forwarding. To enable
it, put the lines below in your configuration. 

X11Forwarding yes
ForwardAgent yes 


NOTE: For users of Linux Mandrake 7.2, Mandrake modifies the XAUTHORITY
environment variable in /etc/skel/.bashrc, and thus
any bash user's home directory. This variable is set by OpenSSH and for
either of the above options to work, you need to comment
out the line: 

# export XAUTHORITY=$HOME/.Xauthority 

They even included a note specially for Mandrake's 7.2 version users.

On the other hand, I am not able to use the variable $SSH_CLIENT
in a bash script since the bash shell doesn't authomatically export its
enviormental varibles to its child processes. One must export it
explicitly before opening another bash shell to execute a script.
Thanks for answering again. Greeting from Mexico.

Fabian.


On Wed, 28 Feb 2001, Woody Green wrote:

> Woody Green wrote:
> > 
> > Peña Arellano Fabian Erasmo wrote:
> > >
> > > Hi,
> > >
> > > I am having a couple of problems with ssh
> > >
> > > 1. When I try to open some graphical programs from the
> > >ssh server on the client, I get the following message:
> > >
> > > channel 0: istate 4 != open
> > > channel 0: ostate 64 != open
> > > channel 1: istate 4 != open
> > > channel 1: ostate 64 != open
> > > X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
> > > channel 2: istate 4 != open
> > > channel 2: ostate 64 != open
> > > X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
> > > channel 3: istate 4 != open
> > > channel 3: ostate 64 != open
> > > X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
> > > channel 4: istate 4 != open
> > > channel 4: ostate 64 != open
> > > X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
> > >
> > >And the program obviously doen't open. On the other
> > >side at least Linuxconf does.
> > >
> > > 2. I cannot use the variable $SSH_CLIENT inside a bash
> > >script. From command line the "echo $SSH_CLIENT" works fine,
> > >but echoes nothing if executed inside a script.
> > >
> > > Any help would be greatly appreciated.
> > >
> > > Fabian.
> > 
> > 1.) In your .bashrc comment out the following 4 lines and relogin:
> > 
> > [ -n $DISPLAY ] && {
> >[ -f /etc/profile.d/color_ls.sh ] && source /etc/profile.d/color_ls.sh
> > export XAUTHORITY=$HOME/.Xauthority
> > }
> > 
> > 2.) Couldn't help you there ($SSH_CLIENT), as it works for me
> > correctly both ways.
> > 
> > Woody
> > 
> 
> Footnote:  The remote machine is where the problems should lie and 
> the 4 lines need commenting out.
> 
> 





Re: [expert] Isntall Mdk 7.2 on Vmware V-machine

2001-02-28 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi, 

Try the newsgroups at 

news://news.vmware.com/

Fabian.


On Wed, 28 Feb 2001, Eric wrote:

> Well, I got it to install OK, got everything up but THE NETWORK
> 
> It recognizes the virtual card as an AMD PC-NET ... card, but during the
> install, and at every step thereafter, I get:
> 
> Error at lance.c , line 479 , autoprobing modules not allowed .
> 
> Is there any way I can by-pass this?
> 
> Any one else have Ideas?
> 
> Anyone have a Virtual Machine file I could USE?
> 
> Eric
> 
> 
> Angus Beath wrote:
> > 
> > Yep. I had it running quite nicely under Win2k. I did use the ISO's though. Can't 
>go wrong from CD. The whole thing
> > installed nicely, detected video, sound and network and went along very happily. 
>Only gripe is the hard disk it was
> > on died a week later :-( You shouldn't have too much trouble with the ISO's. I 
>would definately try them.
> > Angus
> 
> 





[expert] Two problems with ssh.

2001-02-24 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi,

I am having a couple of problems with ssh

1. When I try to open some graphical programs from the
   ssh server on the client, I get the following message:

channel 0: istate 4 != open
channel 0: ostate 64 != open
channel 1: istate 4 != open
channel 1: ostate 64 != open
X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
channel 2: istate 4 != open
channel 2: ostate 64 != open
X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
channel 3: istate 4 != open
channel 3: ostate 64 != open
X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).
channel 4: istate 4 != open
channel 4: ostate 64 != open
X connection to ahuizotl.uam.mx:10.0 broken (explicit kill or server shutdown).

   And the program obviously doen't open. On the other
   side at least Linuxconf does.

2. I cannot use the variable $SSH_CLIENT inside a bash
   script. From command line the "echo $SSH_CLIENT" works fine,
   but echoes nothing if executed inside a script.

Any help would be greatly appreciated.

Fabian.





[expert] NIS problems.

2001-02-22 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello,

I am trying to set up a NIS server an client by the first time and
I am having a client problem with it. I have been following the steps
provided at Mandrake Campus:

http://www.mandrakecampus.org/

The problem is a conflict between the server's groups' id numbers
and their clients' counterparts. When issuing "ls -l" in the same
directory shared through NFS one always gets different files group
ownwer. The shared partition is /home/. On the server side everything
works right:

[fabian@ahuizotl fabian]$ id fabian
uid=500(fabian) gid=504(fabian) grupos=504(fabian)
[fabian@ahuizotl fabian]$ ls -l
total 700
drwxr-xr-x3 fabian   fabian   4096 feb 22 13:28 Desktop/
-rw-r--r--1 fabian   fabian 685420 feb  9 11:36 giroide.ps
drwx--2 fabian   fabian   4096 feb 22 19:42 mail/
drwx--2 fabian   fabian   4096 feb 20 12:50 nsmail/
-rw-r--r--1 fabian   fabian 54 feb 21 14:13 telfonos
drwxr-xr-x3 fabian   fabian   4096 feb 21 10:31 tesis/
drwx--2 fabian   fabian   4096 feb 20 11:33 tmp/  

But on the client side, the gid 504 belongs to ntools

[fabian@ixtlan fabian]$ id fabian
uid=500(fabian) gid=504(ntools) grupos=504(ntools)
[fabian@ixtlan fabian]$ ls -l
total 700
drwxr-xr-x3 fabian   ntools   4096 feb 22 13:28 Desktop/
-rw-r--r--1 fabian   ntools 685420 feb  9 11:36 giroide.ps
drwx--2 fabian   ntools   4096 feb 22 19:42 mail/
drwx--2 fabian   ntools   4096 feb 20 12:50 nsmail/
-rw-r--r--1 fabian   ntools 54 feb 21 14:13 telfonos
drwxr-xr-x3 fabian   ntools   4096 feb 21 10:31 tesis/
drwx--2 fabian   ntools   4096 feb 20 11:33 tmp/

I want to share through the local network files for authentication
porpouses. So, there is the following entrace in the /var/yp/Makefile
file in the server:

all:  passwd group shadow

Besides that there are as well:

MINUID=500
MINGID=500
MERGE_PASSWD=false
MERGE_GROUP=true

The last line in the client's /etc/passwd file is 

+::

The last line in the client's /etc/group file is

:::

And the last line in the client's /etc/shadow file is 

:::
 

Any help would be appreciated. Thanks for reading this e-mail.

Fabian.





[expert] From pdf to ps and viceversa.

2001-02-14 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello,

It seems that the pdf2ps (and viceversa) program comming with
Linux-Mandrake 7.2 doesn't work well. What program should I download in
rpm format to replace the existing one? I cannot find anything named
like pdf2ps.rmp. Thanks in advance.

Fabian.  





Re: [expert] Use of "make oldconfig" while compiling a new kernel.

2001-02-14 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello,

I asked this several months ago. And since now I am putting hands
to work on changing the kernel to run MOSIX in a couple of computers, I
would like to make sure I understood.
I run Linux-Mandrake 7.2 with kernel 2.2.17 and would like to
upgrade it to 2.2.18. I have /usr/src/linux-2.2.17/arch/i386/defconfig
file. I guess its name stands for "default configuration". Then I should
copy such file to the new kernel tree, namely to
/usr/src/linux-2.2.18/arch/i386/defconfig. The following step would be to 

make oldconfig

to let the kernel have the old kernel configuration options set. Then
I should do

Make xconfig

to adjust the new kernel options if any. The next steps would be just as
described in the kernel HOWTO.

Thanks for reading this e-mail.

Fabian.



On Mon, 20 Nov 2000, Andrew George wrote:

> Um...I think it's a little more complex than that (unless something changed 
> in 7.2's kernel-source rpm)
> 
> What I did was download the kernel srpm
> grab the config files out of that (forget where they are)
> copy the kernel config file of your choice to 
> /usr/src/linux/arch/i386/defconfig
> make oldconfig
> Make xconfig (or menuconfig or config) to make any changes you like
> then go from there 
> 
> (note, I didn't include all the make clean make mr proper stuff)
> 
> Andrew
> 
> 
> On Mon, 20 Nov 2000 18:31, you wrote:
> 
> > > Ok here's how it works. You'll need the .config file from the Mandrake
> > install you have.  I forget offhand what dir it is in but I belevie it is
> > /usr/src/linux.   Copy that file to the new source tree and the type make
> > oldconfig.  The new kernel will only prompt you for items tht are new to
> > the kernel in regard sto rentries in the .config file.   I compiled many a
> > kernel on my redhat 6.0 box this way.  The kernel might not have been
> > "optimized" but it worked.  :)
> >
> > *** REPLY SEPARATOR  ***
> >
> > On 11/20/2000 at 12:49 AM [EMAIL PROTECTED] scribbled:
> > >Hello everybody:
> > >
> > >   I would like to compile a new kernel for the computer I use. Since I
> > > really don´t know much about the configuration options the "make
> > > menuconfig" offers, I would like to keep the configuration of the current
> > > kernel. How can I tell the "make oldconfig" commnad where to look for the
> > > configuration parameters of the current kernel? Is there a standard
> > > directory that file is usually placed? If it is the case that the new
> > > kernel has new configuration options, will the  "make oldconfig" commnad
> > > ask me automatically for the needed information? Thanks in advance.
> > >
> > >   Fabián Peña.
> > >
> > >
> > >Keep in touch with http://mandrakeforum.com:
> > >Subscribe the "[EMAIL PROTECTED]" mailing list.
> 
> 
> Content-Type: text/plain; charset="us-ascii"; name="message.footer"
> Content-Transfer-Encoding: 8bit
> Content-Description: 
> 
> 
> 





[expert] Adding other RPM's to the CDROM installation.

2001-02-11 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello experts,

I have some questions on adding RPM's to the standar installation
procedure. I got a README file from

http://www.linux-mandrake.com/drakx/README

I suppose some that some of you experts have automated the 
installation procedure for a large number of computers and 
have read that file. It describes some files nedded by DrakX to work.

The problem is that I cannot find the files such guide claims to
exist in the CDROM installation. I downloaded the ISO images of Linux-Mandrake
7.2. My main interest is to add other RPM's to the Mandrake/RPMS directory of
the installation CDROM. Here are some instructions taken from the README file:
  
>If you have your own rpms you want to add, or make your own updated cdrom, you
>just have to update:
>- Mandrake/base/hdlist: use ``misc/genhdlists --distrib .''
>- Mandrake/base/depslist: use
>  ``misc/gendepslist2 -o Mandrake/base/depslist Mandrake/base/hdlist.cz2''
> 
>Optionnally, you can modify Mandrake/base/compssList and compssUsers.
>Also, mdkinst_stage2.gz must be remade if you modify files in Mandrake/mdkinst.
>See below for information about these files. 

Below I find the following among other information:

>Mandrake/base/hdlist.cz2
>table of rpm's headers.
>! Need to be remade when Mandrake/RPMS changes (with
>``misc/genhdlists --distrib .'') !   

>Mandrake/base/depslist
> for each packages, tell which package it depends on. Also contains the
> size for some (obscure) bloody reasons.
> ! Need to be remade when Mandrake/RPMS changes !
> (with ``misc/gendepslist2 -o Mandrake/base/depslist
> Mandrake/base/hdlist.cz2'')

>Mandrake/base/depslist.ordered
>more compact depslist with closure done, internally indexed

>Mandrake/base/mdkinst_stage2.gz
>for the ramdisk. live sytem in ext2 filesystem gzipped.
>generated from Mandrake/mdkinst tree using misc/make_mdkinst_stage2
>See ``Ramdisk or not'' below for more.   

In short, to add other rpm's to Mandrake installation one must follow the next
steps:

step one: Place the RPM's in the Mandrake/RPMS directory
step two: Do the following commands

misc/genhdlists --distrib .
misc/gendepslist2 -o Mandrake/base/depslist Mandrake/base/hdlist.cz2

Questions and observations.

1.  I don't have any hdlist.cz2 file, only hdlist1.cz and hdlist2.cz.
What's the difference?

2.  I don't have any Mandrake/base/depslist file. The one I have is
Mandrake/base/depslist.ordered. Why is the first one missing?

3.  What commands should I issue then if I add other RPM's to the Mandrake/RPMS
directory?

4.  What happens if a program the new added RPM depends on is not in the
Mandrake/RPMS directory? Will a warning message appear?

5.  I have noticed that some files are obsolete. Why does those files still
appear in the Mandrake/base/ directory?

>Mandrake/base/hdlist
>obsolete in 7.1
 
>Mandrake/base/compss
>obsolete in 7.1
 
>Mandrake/base/compssUsers
>obsoletes comps. It contains the different user classes like
>``Graphics
>Manipulation'' and ``Games''  

6.  What are the Mandrake/base/compssUsers and Mandrake/base/compssList files for?
The explanation below is pretty obscure.

>Mandrake/base/compssUsers
>obsoletes comps. It contains the different user classes like
>``Graphics
>Manipulation'' and ``Games''
 
>Mandrake/base/compssList
>for each packages, it gives the appreciation for each type of user.
>used to choose packages
>(see beginning of perl-install/pkgs.pm for more) 

7.  What is the Ramdisk ? What does that have to do with the mdkinst_stage2.gz
file ? 

>
>* Ramdisk or not
>
>The DrakX install is much bigger than the newt one. So the ramdisk which was
>used is getting big, and costs a lot in memory
>(eg: the mdkinst_stage2 is 14MB - 23/09/99)
> 
>|   | newt| DrakX
>|---+-+--
>| nfs   | live| live
>| ftp   | ramdisk | ramdisk
>| http  | ramdisk | ramdisk
>| hd| ramdisk | live if Mandrake/mdkinst/usr/bin/runinstall2 is a link,
>|   | |   ramdisk otherwise
>| cdrom | ramdisk | live if memory < 40MB, ramdisk otherwise
> 
>When i say live, it means that the install1 stage will *mount* the
>Mandrake/mdkinst and use it that way.
> 
>The ramdisk is used in place of the live in some cases. This ramdisk is filled
>with mdkinst_stage2.gz
> 
>For cdrom install, the ramdisk is used to speed up things (access time is quite
>high on cdrom drives)
> 
>For pcmcia, it depends on the type of install.   

8.  I don't have any file /modules/modules.cgz. The one I have is 
Man

Re: [expert] Kickstart disks based on kernel 2.4.1 or

2001-02-11 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=


On Sat, 10 Feb 2001 [EMAIL PROTECTED] wrote:

> Has anybody built a boot/kickstart disk based on the 2.4.1 kernel or
> higher?  So far I have been able to achieve a simple kickstart disk
> based on 2.4.1 w/o LILO, but I haven't been successful with LILO.  I am
> using http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO/index.html as a
> reference for building a boot disk though I'm at the stage right now
> where I am wondering if I should keep on using this and experimenting
> further or if I should be looking elsewhere.
> 
> 
> 





Fwd: [expert] Bootup Failure in init scripts

2001-02-08 Thread Doug X

Hi Cecil and list,
  Ok, I fixed it.  I guess what happened was that when I hard reset the pc and ran the 
e2fsck those 'fixed' inodes deleted /sbin/klogd , /sbin/syslogd , /sbin/hdparm and 
/sbin/lilo.  I guess from Cecil's comment that the two logd's were the culprit.  Once 
I upgraded those packages it boots fine now.
  Could someone who knows about these klogd and syslogd give a hint as to why they 
would prevent it from booting when missing even though I could still boot with the 
method below.
  Also why does e2fsck seem to randomly delete files or inodes from a hard reset?

Thanks

Doug



-Original Message-
From:Doug X [EMAIL PROTECTED]
Sent:Wed, 07 Feb 2001 00:10:41 -0800
To:  [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [expert] Bootup Failure in init scripts


Hi Cecil and list,
  Thanks for the tip, however it doesn't quite work?
Here's what I've found over the last 45 mins of rebooting:-(
interactive startup and skipping the httpd doesn't prevent it from stopping.
By stopping I mean that I can still type but it doesn't respond.  It seems that it is 
still waiting for a [OK] response or something.  It doesn't seem to matter if I 
prevent httpd from loading or not, it still only loads to about that far and stalls!

I found that if I go to maintainence mode from linuxconf (init 1) and type your 
suggestion: apachectl configtest
it says that sanity check is [OK], then I can init 5 and it goes back and boots into X 
with no problem.  It happily goes passed the httpd [OK], drakfont [OK] etc.
However, I tried for completness, going to maintainence mode and then init 5 _without_ 
typing the 'apachectl configtest' and then it stalls again at drakfont right after the 
httpd [OK].

I wrote this mail from within my linux but only after the above fiasco.  Any other 
suggestions would be very appreciated.

Thank you.

Doug.




-Original Message-
From:Cecil Watson [EMAIL PROTECTED]
Sent:Tue, 06 Feb 2001 22:33:31 -0800
To:  [EMAIL PROTECTED]
Subject: Re: [expert] Bootup Failure in init scripts


> Where and why does minilogd come from and what does it do?
http://www.redhat.com/knowledgebase/initscripts/what.html
Minilogd is in the initscripts RPM.  Usually Apache not starting is
related to ServerName in it's conf file.  When the system thats to boot,
press I for interactive mode and answer no when asked if you want to
start Apache.  #apachectl configtest should tell you if you have a
problem with httpd.conf.  Hope this helps,

Cecil

___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.





Re: [expert] mandrake installation problem

2001-02-07 Thread Doug X

Hi,

  I think you have the same problem I had before.  Did you enable hard drive 
optimizations in the install?  If so try again without that setting.

Doug.



-Original Message-
From:Maarten Van Horenbeeck [EMAIL PROTECTED]
Sent:Wed, 7 Feb 2001 18:33:03 +0100
To:  [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [expert] mandrake installation problem


Hi,

I have a friend who is trying to install Mandrake Linux 7.2 as we speak.  However, he 
seems to have some problems concerning the initialization of his ide-controllers.

At the first reboot during installation, the system freezes and goes into hard lockup 
after the initialization of ide0 and ide1.  After that he is forced to do a 
hard-reboot to get the system going again.  This problem also occurs when he adds the 
linux ide0=noautotune line.

Is there anyone who has some experience with this problem? If so, I would really 
appreciate some feedback.

With kind regards, thanks in advance,

Maarten

--
Maarten Van Horenbeeck
E-mail [EMAIL PROTECTED]
Cell. +00 32(0496)32 52 46




___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.





Re: [expert] Bootup Failure in init scripts

2001-02-06 Thread Doug X

Hi Cecil and list,
  Thanks for the tip, however it doesn't quite work?
Here's what I've found over the last 45 mins of rebooting:-(
interactive startup and skipping the httpd doesn't prevent it from stopping.
By stopping I mean that I can still type but it doesn't respond.  It seems that it is 
still waiting for a [OK] response or something.  It doesn't seem to matter if I 
prevent httpd from loading or not, it still only loads to about that far and stalls!

I found that if I go to maintainence mode from linuxconf (init 1) and type your 
suggestion: apachectl configtest
it says that sanity check is [OK], then I can init 5 and it goes back and boots into X 
with no problem.  It happily goes passed the httpd [OK], drakfont [OK] etc.
However, I tried for completness, going to maintainence mode and then init 5 _without_ 
typing the 'apachectl configtest' and then it stalls again at drakfont right after the 
httpd [OK].

I wrote this mail from within my linux but only after the above fiasco.  Any other 
suggestions would be very appreciated.

Thank you.

Doug.




-Original Message-
From:Cecil Watson [EMAIL PROTECTED]
Sent:Tue, 06 Feb 2001 22:33:31 -0800
To:  [EMAIL PROTECTED]
Subject: Re: [expert] Bootup Failure in init scripts


> Where and why does minilogd come from and what does it do?
http://www.redhat.com/knowledgebase/initscripts/what.html
Minilogd is in the initscripts RPM.  Usually Apache not starting is
related to ServerName in it's conf file.  When the system thats to boot,
press I for interactive mode and answer no when asked if you want to
start Apache.  #apachectl configtest should tell you if you have a
problem with httpd.conf.  Hope this helps,

Cecil



___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.





[expert] Bootup Failure in init scripts

2001-02-06 Thread Doug X

Hi all,  6 Feb 2001
  I have a habit of making things hard for myself:-(
Yesterday, I was playing with hdparm to put my 2 drives to sleep as I was just doing 
lengthly reading on the net.
My current info is: hda1 is a fujitsu 2GB with Win95
hdc6 is a Maxtor 10GB with Mandrake7.2
Dual boot, P1-200, 128MB, 4MB ATI, SCSI card, SBAWE64(doesn't work with LM) and 
ethernet card.  Default bootup init 5
Using WindowMaker

What I did was su'd to root, 
hdparm -Y /dev/hda1 (drive shut down properly)
hdparm -Y /dev/hdc6 (drive shut down properly)
changed desktop and everything froze solid.
did a hard reset and let it reboot, it droped me to a shell.
I did e2fsck /dev/hdc6 (/ ) said y to missing inodes as I usually do:-?
e2fsck /dev/hdc7   (/home)
e2fsck /dev/hdc8   (/usr)
exit to reboot

then ... rgh ...
it went through the usual bootup stuff with [OK] until http.
http said [OK] but the next one xfs I think said it was loading but nothing more 
happened:-(
So I rebooted again with boot: Linux 1 for single user
This got me in. so I cd /etc/rc.d/rc5.d/ and start running startup scripts by hand and 
all went fine till the one after (http script), it stalls.
I CTRL-C and try other scripts, all scripts including the ones that worked a second 
ago stall.  From experimenting I found that if I kill minilogd all the scripts will 
again work and I can load all of them by hand.
Where and why does minilogd come from and what does it do?
Any suggestions on how to get it to boot by itself again?  It has been working since 
Oct 2000.

Things I have tried so far:
  rpm -U --force initscripts.rpm
  rpm -U --force apache.rpm
  rpm -U --force xfs  rpm

Thank you in advance.

Doug
___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.





Re: Re[2]: [expert] lpr: : temp file write error lpr: stdin: emptyinputfile.

2001-02-06 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello Rusty,

I just wanted to say thanks for your help. Now I can print
normally. Greetings from Mexico.

Fabian.


On Tue, 6 Feb 2001, Rusty Carruth wrote:

> Peña Arellano Fabian Erasmo <[EMAIL PROTECTED]> wrote:
> > Hello again,
> > 
> > Thanks for answering.
> > Actually, to be able to send the message asking for help I had to
> > delete al the content from the /tmp directory. There was a lot of garbage
> > in there.
> 
> sounds like what happens on my machine - /tmp becomes quite a dumping
> ground!  ;-)  I'll let others comment on how best to manage /tmp!
> 
> > Despite the cleaning of such directory, I am not able to print
> > from kghostview. From other applications I can do it as expected normally.
> > Probably the file I am trying to print is too large to fit into other
> > temporary directories I have to clean up.
> 
> That's a good bet.
> 
> > The content of the /var/spool/lpd directory is as follows:
> > 
> > Should the lpd.lock file be there?
> 
> Assuming lpd is running, yes.
> 
> > The content of the /var/spool/lpd/lp is
> > 
> > total 60M
> > ...
> > -rw-rw   1 fabian   lp56M Feb  5 19:23 dfA943abaco.uam.mx
> > -rwxr-xr-x   1 root root  10k Jan 14 15:45 filter*
> > -rwxr-xr-x   1 root root  190 Jan 14 15:45 general.cfg*
> > ...
> > 
> > 60 megabytes !!! Which ones should I keep? Are the .cfg files important
> > enough to keep them? 
> 
> Definately.  I'd expect lpd to break if you removed them.
> 
> I'd also guess that lpd (or cups, whichever) is not deleting files
> when done tryin to print.  There was a message here a while back
> about how to make this happen - I'd suggest checking the archives
> (where's the archives?  One of these days I'm going to WRITE
> that DOWN!).
> 
> I'd  bet that 'df /var/spool/lpd' will say you have less than
> 60 meg free.  You may want to make this partition bigger, or
> make lpd use a different spool directory (in a bigger partition!),
> as well as make it delete old spool files.
> 
> > I guess I must delete at least the files owned by non
> > privileged users.
> 
> yup.  ;-)  But leave the other ones alone.
> 
> > The /var/log directory is one order of magnitude smaller than the
> > last one, but still too big:
> > 
> > total 6.3M
> > ...
> > 
> > Probably I should keep only the directories. 
> > I would appreciate further suggestions. Thanks in advance.
> 
> I'm really bad about deleting old history/logs - I tend to keep them
> forever.  I'll let others tell you how to correctly manage /var/log!
> 
> rc
> 
> 
> Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
> Voice: (480) 345-3621  SnailMail: Schlumberger ATE
> FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
> Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
> ICBM: 33 20' 44"N   111 53' 47"W
> 
> 





Re: [expert] lpr: : temp file write error lpr: stdin: empty inputfile.

2001-02-06 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello again,

Thanks for answering.
Actually, to be able to send the message asking for help I had to
delete al the content from the /tmp directory. There was a lot of garbage
in there.
Despite the cleaning of such directory, I am not able to print
from kghostview. From other applications I can do it as expected normally.
Probably the file I am trying to print is too large to fit into other
temporary directories I have to clean up.
The content of the /var/spool/lpd directory is as follows:

drwxr-xr-x   2 root lp   1.0k Feb  6 10:57 lp/
drwxr-xr-x   2 root lp   1.0k Dec 13 17:54 lp0/
-rw-r--r--   1 root root6 Feb  5 19:44 lpd.lock

Should the lpd.lock file be there?

The content of the /var/spool/lpd/lp is

total 60M
-rw-rw   1 nobody   lp50k Dec  7 14:30 dfA335abaco.uam.mx
-rw-rw   1 fabian   lp   117k Jan  7 10:14 dfA584abaco.uam.mx
-rw-rw   1 fabian   lp   117k Jan  7 10:17 dfA585abaco.uam.mx
-rw-rw   1 fabian   lp   100k Jan  7 11:39 dfA588abaco.uam.mx
-rw-rw   1 fabian   lp   100k Jan  7 11:40 dfA589abaco.uam.mx
-rw-rw   1 fabian   lp   173k Jan  7 11:57 dfA596abaco.uam.mx
-rw-rw   1 nobody   lp   175k Jan 23 11:23 dfA731abaco.uam.mx
-rw-rw   1 fabian   lp   1.0M Feb  5 13:53 dfA939abaco.uam.mx
-rw-rw   1 fabian   lp   1.0M Feb  5 13:54 dfA940abaco.uam.mx
-rw-rw   1 fabian   lp   1.0M Feb  5 19:19 dfA942abaco.uam.mx
-rw-rw   1 fabian   lp56M Feb  5 19:23 dfA943abaco.uam.mx
-rwxr-xr-x   1 root root  10k Jan 14 15:45 filter*
-rwxr-xr-x   1 root root  190 Jan 14 15:45 general.cfg*
-rw-r--r--   1 root root   25 Feb  6 10:56 lock
-rwxr-xr-x   1 root root  342 Jan 14 15:45 postscript.cfg*
-rw-rw-r--   1 root root   25 Feb  6 10:56 status
-rwxr-xr-x   1 root root  150 Jan 14 15:45 textonly.cfg*

60 megabytes !!! Which ones should I keep? Are the .cfg files important
enough to keep them? I guess I must delete at least the files owned by non
privileged users.

The /var/log directory is one order of magnitude smaller than the
last one, but still too big:

total 6.3M
drwxr-xr-x   2 root root 1.0k Nov 23 09:56 adm/
-rw-r--r--   1 root root 7.4k Feb  6 00:44 boot.log
-rw-r--r--   1 root root  27k Feb  4 01:40 boot.log.1
-rw-r--r--   1 root root  48k Jan 28 01:33 boot.log.2
-rw-r--r--   1 root root  37k Jan 21 00:18 boot.log.3
-rw-r--r--   1 root root  27k Jan 14 00:15 boot.log.4
-rw---   1 root root  21k Feb  6 11:01 cron
-rw---   1 root root  63k Feb  4 04:02 cron.1
-rw---   1 root root  63k Jan 28 04:02 cron.2
-rw---   1 root root  63k Jan 21 04:02 cron.3
-rw---   1 root root  63k Jan 14 04:02 cron.4
-rw-r--r--   1 root root 2.7k Jan 26 13:04 dmesg
-rw-r--r--   1 root root0 Nov  8 21:19 first_boot_log
-rw-r--r--   1 root root0 Nov  8 20:57 htmlaccess.log
drwxr-xr-x   2 root root 1.0k Feb  4 04:02 httpd/
-rw-r--r--   1 root root 291k Feb  6 11:03 lastlog
-rw-r--r--   1 root root 290k Jan 31 19:49 lastlog.1
-rw---   1 root root 616k Feb  6 11:07 maillog
-rw---   1 root root 759k Feb  4 03:48 maillog.1
-rw---   1 root root 771k Jan 28 01:34 maillog.2
-rw---   1 root root 1.2M Jan 21 03:47 maillog.3
-rw---   1 root root 863k Jan 14 03:34 maillog.4
-rw---   1 root root  21k Feb  6 11:04 messages
-rw---   1 root root  79k Feb  4 04:02 messages.1
-rw---   1 root root 120k Jan 28 04:02 messages.2
-rw---   1 root root 126k Jan 21 04:02 messages.3
-rw---   1 root root  85k Jan 14 04:02 messages.4
-rw-r--r--   1 root root  618 Feb  6 10:27 netconf.log
-rw-r--r--   1 root root 1.8k Jan 19 11:54 netconf.log.1
-rw-r--r--   1 root root  747 Dec  7 16:26 netconf.log.2
-rw-r--r--   1 root root 6.0k Nov 21 16:35 netconf.log.3
drwxrwxr-x   3 news news 1.0k Dec 14 04:02 news/
-rw---   1 root root0 Dec 29  1999 pacct
drwxr-xr-x   2 root root 1.0k Feb  4 04:02 samba/
-rw---   1 root root0 Dec 29  1999 savacct
-rw---   1 root root 2.6k Feb  6 08:58 secure
-rw---   1 root root  10k Feb  3 19:39 secure.1
-rw---   1 root root 6.3k Jan 27 10:00 secure.2
-rw---   1 root root  13k Jan 20 15:25 secure.3
-rw---   1 root root  11k Jan 13 20:11 secure.4
drwx--   2 root root 1.0k Feb  6 00:44 security/
-rw-r--r--   1 root root

[expert] lpr: : temp file write error lpr: stdin: empty input file.

2001-02-06 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello,

I'm having problems printing from a machine using Linux Mandrake
7.0. The error messages are the following:

lpr:  : temp file write error
lpr: stdin: empty input file  

and were generated while trying to print from kghostview. I cannot even
print from root. It is affecting any kind of document; it refuses to print
simple text files as well.
Thanks in advance for reading this e-mail.

Fabian.









[expert] I cannot print in a remote samba server with cups.

2001-02-04 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello to all,

I am writing since I have a problem trying to print into a samba
server from any X Windows
application using cups. The computer I am trying to print from uses Linux
Mandrake version 7.2 and
the cups related program versions, according to the "rpm -qa |grep
cups" command output, are

libcups1-1.1.5-3mdk
cups-common-1.1.5-3mdk
libqtcups1-1.1-2.1mdk
qtcups-1.1-2.1mdk
cups-1.1.5-3mdk
cups-drivers-1.0-3mdk
 
From a shell I am able to print a text file using lpr normally.
 
After trying to print from any X Windows application, the printer
is disabled as the lpq
 command reports:
 
 
[fabian@ahuizotl fabian]$ lpq
lp is not ready
RankOwner   Job File(s) Total Size
1st fabian  34  (stdin) 606208
bytes
 
The content of /var/log/cups/error_log is the following:
 
I [04/Feb/2001:09:56:35 +] Job 34 queued on 'lp' by 'fabian'.
I [04/Feb/2001:09:56:35 +] Started filter /usr/lib/cups/filter/pstops (PID 30895) 
for job 34.
I [04/Feb/2001:09:56:35 +] Started backend /usr/lib/cups/backend/smb (PID 30896) 
for job 34.
E [04/Feb/2001:09:56:35 +] ERRDOS - ERRfilexists (The file named in a Create 
Directory, Make
  New  File  or  Link  request already exists.) opening remote file (stdin)
E [04/Feb/2001:09:56:35 +] PID 30896 stopped with status 1!
I [04/Feb/2001:09:56:35 +] Saving printers.conf...
 
I must remove the job:
 
[fabian@ahuizotl fabian]$ lprm 34
[fabian@ahuizotl fabian]$ lpq
lp is not ready
no entries
 
and enable the remote printer with "lpadmin -plp -E" as root:
 
[root@ahuizotl /root]# lpadmin -plp -E
[root@ahuizotl /root]# lpq
lp is ready
 
 
Does anyone know how to fix this ? Any idea would be greatly
appreciated.
 
Fabian. 





Re: [expert] Problems with Mandrake 7.2 and vmWare

2001-01-20 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi,

I am running VMware Workstation 2.0.3 under Linux-Mandrake 7.2 and
don't have any kind of problems.
Maybe someone in the various VMware newsgroups could help you:

news://news.vmware.com

Greeting from Mexico,

Fabian.



On Sat, 20 Jan 2001, Michael Svensson wrote:

> I have installed Mandrake 7.2 and use vmWare to perform various laboration,
 this has always worked great before but when i installed 7.2 it dosent.
> 
> When i turn off vmWare after a session it will reboot X after that and this 
is not so great, are there anyone who knows any type of solution for this ??
> 
> 
> Regards
> Michael Svensson
> 





[expert] Printing from X Windows disables CUPS printing. Partial solution.(fwd)

2001-01-14 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hi, 

I sent this message to the newbie list but didn't get any
answer. Hopefully I will in this list for experts. Thanks to all.

Fabian.

-- Forwarded message --
Date: Fri, 12 Jan 2001 13:33:12 -0600 (CST)
From: "[X-UNKNOWN] Peña Arellano Fabian Erasmo" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Printing from X Windows disables CUPS printing. Partial solution.

Hello again,

I read the cups log for erros and found the following:

After sending the printing job via Netscape (or any X Windows application
in KDE) with lpr command into a samba server, the /var/log/cups/error_log
had this

Job 18 queued on 'lp' by 'fabian'.
Started filter /usr/lib/cups/filter/pstops (PID 8540) for job 18.
Started backend /usr/lib/cups/backend/smb (PID 8541) for job 18.
ERRDOS - ERRfilexists (The file named in a Create Directory, Make  New
File  or  Link  request already exists.) opening remote file (stdin)
PID 8541 stopped with status 1!
Saving printers.conf...

The printer then disabled:

[fabian@ahuizotl fabian]$ lpq
lp is not ready
Rank   Owner  Job Files   Total Size
1stfabian 11  (stdin) 1509376
bytes  
  

Then I candelled the job with lprm. The following was appended to the
error log:

Job 18 was cancelled by 'fabian'.
Setting lp printer-is-accepting-jobs to 1 (was 1.)
Setting lp printer-state to 3 (was 5.)
Saving printers.conf...

Finally I had to set the printer ready via
[root@ahuizotl /root]# lpadmin -plp -E

and the log appended
Printer 'lp' modified by 'root'.

If I instruct Netscape to use "lp -t name" instead of "lpr" I get
the appropiate printing!

I did a Google search and found the messagge that I append and
don't exactly understand. It seems that some parenthesis must be deleted
in order to printing within Mozila to work. Can anyone tell me in which
file such pathenthesis must be deleted?
Another solution could be to set the KDE printing system to use 
"lp -t name" instead of simply "lpr". How could this be done?

-



Hi,

It's most likely the parenthesis that cause the spooler to flip alright. 
I met this problem outside cups when running with the redhat setup lp
system
and printing from staroffice 5.2. Luckily there I was able to edit the
filter script and get rid of the ().
I will probably stumble upon it soon since I've got cups now via mandrake
7.2.

Guy.
Email: [EMAIL PROTECTED] 
 
> -Original Message-
> From: Andy Lo A Foe [mailto:[EMAIL PROTECTED]]
> Sent: woensdag 22 november 2000 12:58
> To: [EMAIL PROTECTED]
> Subject: [CUPS] Weirdness when printing from stdin
> 
> 
> Hello,
> 
> I have the following setup:
> 
> - Linux server with SMB/CUPS
> - Linux/Windows box using SMB print facility
> 
> Everything works fine when queueing jobs using "lp 
> filename.ps". However
> when printing from stdin, e.g. from within Mozilla, cups 
> stops with the
> following error logged:
> 
> 
> I [22/Nov/2000:10:32:10 +0100] Job 39 queued on 'printers' by 'andy'.
> I [22/Nov/2000:10:32:10 +0100] Started filter 
> /usr/lib/cups/filter/pstops
> (PID 488) for job 39.
> I [22/Nov/2000:10:32:10 +0100] Started filter
> /usr/lib/cups/filter/pstoraster (PID 489) for job 39.
> I [22/Nov/2000:10:32:10 +0100] Started filter
> /usr/lib/cups/filter/rastertoprinter (PID 490) for job 39.
> I [22/Nov/2000:10:32:10 +0100] Started backend 
> /usr/lib/cups/backend/smb
> (PID 491) for job 39.
> E [22/Nov/2000:10:32:11 +0100] PID 491 stopped with status 1!
> E [22/Nov/2000:10:32:11 +0100] ERRDOS - ERRfilexists (The 
> file named in a
> Create Directory, Make  New  File
>   or  Link  request already exists.) opening remote file (stdin)
> .
> 
> Apparantly SAMBA or the local CUPS, dunno exactly, is choking on the
> "(stdin)" job name! Naming the job with -t fixes this. My question, is
> this a known problem? And can I get rid of the parentheses without
> specifiying  -t explicitly?
> 
> Thanks,
> Andy
> --
> AlsaPlayer, http://www.alsaplayer.org/


 I


-- Forwarded message --
Date: Fri, 12 Jan 2001 09:32:44 -0600 (CST)
From: "[X-UNKNOWN] Peña Arellano Fabian Erasmo" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Printing from X Windows disables CUPS printing.

Hello,

I have LM 7.2 in my computer using CUPS to print. There is an

[expert] Multisession cd writing.

2000-12-20 Thread =?x-unknown?q?Pe=F1a_Arellano_Fabian_Erasmo?=

Hello, 

I use Linux Mandrake version 7.2 in a computer which has the i810
chipset and 
a HP CD writer 9150 (9100 series). The cd writer was already installed by
the time I 
installed Linux.
The problem is that I have't been able to write more than two
sessions in a
disc. I have already read the CD-Writing HOWTO and the README.multi file
distributed
with the cdrecord program. No error message appears at any of the steps of
creating
the iso image with mkisofs and recording into disc with cdrecord. The
third session
simply doesn't appears listed after typing

[promt]$ ls /mnt/cdrom2
file_name_first_session file_name_second_session

The first time I tried to append a third session, a Windows
machine was able to 
see the third file added to the disc, but Linux never did. In the
following attempts
neither Windows nor Linux were able to see it.
cdrecord seems to write it fine, it even can retreive the first
block number in
the first track of the third session and the next writable address of the
following 
unwritten session.

[promt]$ cdrecord -scanbus
Cdrecord 1.9 (i586-mandrake-linux-gnu) Copyright (C) 1995-2000 Jrg
Schilling
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.1'
scsibus0:
0,0,0   0) 'HP  ' 'CD-Writer+ 9100b' '1.06' Removable CD-ROM
0,1,0   1) *
0,2,0   2) *
0,3,0   3) *
0,4,0   4) *
0,5,0   5) *
0,6,0   6) *
0,7,0   7) *

[promt]$ ls
file_name
[promt]$ NEXT_TRACK=`cdrecord -msinfo dev=0,0,0`
[promt]$ mkisofs -r -J -o image_name -C $NEXT_TRACK -M /dev/scd0 file_name
[promt]$ ls
image_name  file_name
[promt]$ cdrecord -v speed=2 dev=0,0,0 -data -multi image_name

Any idea of what could be happening? Thanks in advace.


Fabian Penha.