Linux-Misc Digest #990, Volume #23               Wed, 29 Mar 00 17:13:05 EST

Contents:
  libdb.so.1 on Red Hat 6.1? (Toomas Aas)
  Re: password about  \\Linux\ipc$ (Steeve)
  Re: XWindows (Jens Grivolla)
  Re: password about  \\Linux\ipc$ (Ralph Kube)
  Re: sorry, still an idiot,  had  to change info about me (Steeve)
  Re: howto: mount points (Dances With Crows)
  Re: how to use DBI with PostGres? ("Robert Sell")
  Re: Apm problem - please help (Nan-shan Chen)
  About PPP connection & Sendmail (=?iso-8859-1?Q?Beno=EEt?= Smith)
  Re: Athlon kernel compile (Antoine Hugueney)
  Sys. Admin. Guide ([EMAIL PROTECTED])
  Research ("adam swash")
  EMERGENCY!! ([EMAIL PROTECTED])
  Compressed Win98 volumes in Linux??? (Lion)
  MPEG Player (Aurelien Jarno)
  Re: Sys. Admin. Guide (Vincent Fox)
  Re: NOT a Winmodem (Ewan Dunbar)
  PDF editor + file manager (=?iso-8859-1?Q?Beno=EEt?= Smith)
  Re: Sys. Admin. Guide (J.M. Paden)
  I'm trying to apply the patches to Make... (Alan Fay)
  Re: Compressed Win98 volumes in Linux??? (Keith T. Garner)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Toomas Aas)
Subject: libdb.so.1 on Red Hat 6.1?
Date: 29 Mar 2000 19:30:58 GMT

Hello!

I am trying to install Excite for Web Servers on my Red Hat 6.1 box
and I am stuck, because the install procedure seems to require 
libdb.so.1, which does not exist on my system.

I have libdb-2.1.2.so and libdb1-2.1.2.so, but when I try to create
a link to either of these, the installation procedure dies with
'Segmentation fault'.

Is there anyone out there with Red Hat 6.1 system who has libdb.so.1.
If so, could you please do rpm -q --whatprovides libdb.so.1 and
tell me the results? I'd be extremely grateful.

--
Toomas

------------------------------

From: Steeve <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: password about  \\Linux\ipc$
Date: Wed, 29 Mar 2000 19:45:48 GMT



Jacky wrote:
> 
> hi~
> when i try to conenct my linux server on my win9x computer, it always tells
> me password about
> \\LINUX\IPX$ ...
> what is it ?
> how can i do about it ?

Assuming that you've logged into your Win9x computer as user
jacky, enter the password for the unix account jacky on the
linux box.  If you're usig Win98 you might have to do one of
two things,

1) setup the Win98 box to send clear passwords (see samba docs)
2) setup the linux box to use encrypted passwords (likewise)

Option 2 is preferable but may take you a bit longer
to implement.

-- 
steeve SysAdmin EPS McGill University Mtl Qc
:wq

------------------------------

From: Jens Grivolla <[EMAIL PROTECTED]>
Subject: Re: XWindows
Date: Wed, 29 Mar 2000 21:46:09 +0200

On 29 Mar 2000 18:29:08 GMT, "Peter T. Breuer" <[EMAIL PROTECTED]>
wrote:

>Jens Grivolla <[EMAIL PROTECTED]> wrote:
>: Why would a mail program be setuid?  If this was really the case I
>
>It's suid so it can write in /var/spool/mqueue. If it weren't, then
>/var/spool/mqueue would have to be publicly writable. And then of
>course it has to be root in order to talk on port 25!

kmail is a MUA, not a MTA.  Why should an MTA use X anyway?

>: would consider this a _major_ security problem and would definitely
>
>Then you consider up a gum tree. Every mailer has to go root to mail
>out.

You can (and should) mail out from high ports, you would just
generally like your MTA to be reached on the usual POP and SMTP ports.
This however is a non-issue for the many users using fetchmail or some
other POP3-retrieving software.

>: Just opening your Xserver to everyone is definitely not the way to go.
>
>You can choose who everyone is. Usually it's just me :-).

Still not the way to go.

cu,
   Jens

------------------------------

From: Ralph Kube <[EMAIL PROTECTED]>
Subject: Re: password about  \\Linux\ipc$
Date: Wed, 29 Mar 2000 21:51:19 +0200



Jacky schrieb:

> hi~
> when i try to conenct my linux server on my win9x computer, it always tells
> me password about
> \\LINUX\IPX$ ...
> what is it ?
> how can i do about it ?
>
> thanks
>
> WenTai

I think you tried to access a non-share. I suppose you want to let your win9x
computer use some of your files on your linux box. You can easily configure
your
SAMBA Server with s.w.a.t. , tcp port 901, on my box. Have a look at
/etc/inetd.conf. It should say something on which port it is. If it says
nothing,
install s.w.a.t.. You can use it when you enter the url
http://yourhost.yourdomain:tcpport from a webbrowser.


------------------------------

From: Steeve <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: sorry, still an idiot,  had  to change info about me
Date: Wed, 29 Mar 2000 19:52:16 GMT


Casey Grzecka wrote:
> 
> well I apologize for asking for help on a modem problem that I had without
> checking if my modem was indeed a freak'n win modem.  which I found out it
> was and I recommend any one who has problems using a PCI modem to make sure
> that it is not a win modem.  all of my documentation for my modem did not
> tell me the in formation I needed.  after an extensive search on the
> Internet I am now officially an idiot for jumping the gun on the question of
> why won't my modem work.
> 
>     if anyone uses a PCI modem with linux.....  I would like to know what it
> is,  how much it cost's,  and where I can get that model.  or if any of you
> have information on a good external modem to use that info would also be a
> great help.  thanks and later.

Assuming you have a fairly modern computer and that
it has 16550 UART's then get an external serial modem 
and you won't have that problem :)

And then you get to see the pretty lights!

-- 
steeve SysAdmin EPS McGill University Mtl Qc
:wq

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: howto: mount points
Date: 29 Mar 2000 14:58:27 EST
Reply-To: [EMAIL PROTECTED]

On Wed, 29 Mar 2000 19:27:18 GMT, [EMAIL PROTECTED] 
<<8btldu$i8h$[EMAIL PROTECTED]>> shouted forth into the ether:
>I The plan for doing this is to mount the old drive (/dev/hda3) onto a
>new point (old_mount). Then cd /old_mount and delete the files.

That's more complex than it needs to be...

# umount /dev/hda3
# mke2fs /dev/hda3
# mount /dev/hda3 /wherever/you/want/the/new/free/space/to/go

Make sure "/dev/hda3" is the partition you want to erase, and beware of
typos when you're actually entering the mke2fs command!  mkfs and fdisk
are... inclined to do exactly what you tell them, not what you meant.

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

------------------------------

From: "Robert Sell" <[EMAIL PROTECTED]>
Crossposted-To: linux.postgres,comp.lang.perl.misc,linux.misc
Subject: Re: how to use DBI with PostGres?
Date: Wed, 29 Mar 2000 14:11:46 -0600

there are many websites out there dealing with this
www.perl.com/CPAN-local/CPAN.html has all of the modules needed (i needed
some because they were not included in mdk 6.5) also goto www.google.com and
search for "perl dbi postgres" there are about 1900 links there most with
some sort of code you can copy and paste to try out, and lastly there is a
book available on amazon or B&N.com by Alligator Descartes and Tim Bunce
(Bunce had the idea for the DBI) I highly recommend the book it has really
helped me alot, well worth the 25$.

here is one small test program i wrote and it works fine on

#!/usr/bin/perl
use DBI;

$dbh = DBI->connect( "dbi:Pg:dbname=yourdb", "username", "passwd")
    or die "Can't connect to database \n";

print "What vendor do you want to lookup? (by 3 letter id) ";
$vendor = <stdin>;
chop($vendor);
$vendor =~ tr/a-z/A-Z/;

$sth = $dbh->prepare( "
select name from vendor where vendor ~ '$vendor'
");
if (!defined $sth){
    die "Cannot execute query\n";}
$sth->execute;
while ( ($name) =  $sth->fetchrow_array) {
    print "Parts supplied by $name \n";
}
$sth->finish;
$sth = $dbh->prepare( "
select partnum, description from inventory where vendor ~ '$vendor'
");
if (!defined $sth){
    die "Cannot execute query\n";}
$sth->execute;

while ( ($partnum ,$description) =  $sth->fetchrow_array) {
    print "$partnum $description \n";
}
$sth->finish;



$dbh->disconnect
 or warn "Disconnection failed \n";
exit;







------------------------------

From: [EMAIL PROTECTED] (Nan-shan Chen)
Crossposted-To: comp.os.linux.setup
Subject: Re: Apm problem - please help
Date: 24 Mar 2000 16:04:08 +0100

James song <[EMAIL PROTECTED]> writes:

>I am running RH 6.0 on my compaq 5035 machine but I have problem with
>apm. There is a button in front of machine, it
>works under win98 - ie. when you press it, the machine will sleep, press
>again, the machine will wake up.

>But for linux, press the button will hang the machine. Any suggestions?
>If I will compile the kernel, how do I know whether
>my machine's RTC  store time in GMT or not?

Hi James,

I;m using a Compaq Elite and Debain. So, I have no idea how
RH looks like. I'll just be stating what I've seen on my
machine (also with a suspend button) and Debian.

I install the Debain and the suspension did work. But I've
see error messages (something from ide-drive) too when resuming
the machine. And the system time was shifted, because it has
not been updated while sleeping.

It has been very important for me to have set the variable
$GMT in the file /etc/defaults/rcS to "-u" in order for
the system to work well with my RTC running in UTC(or GMT).
If this variable is set to "-u" in this file, the other
files, such as /etc/init.d/hwclock.sh (executed on boot and
shutdown) will behave in a manner to treat the time of your
RTC as UTC. That is to say, I don't think you will need to
say whether you're RTC will be running in UTC or localtime
when compiling the kernel, but you edit the file

        /etc/defaults/rcS

to specify that.

I'm still recompliing the kernel right now and I was
able to suspend the machine by issuing

        apm -S

and by pressing the button for a resume. On executing
apm -S and on pressing the standby-button of the
machine, /etc/.../suspend* and /etc/.../resume* will
be executed to handle the time-problem automatically.

But up to now, I still got some error messages and am
trying to find a solution. You might like to issue

        apm -S

from command line interface instead of pressing the
button to enter suspend mode.

Rudi








-- 
Nan-shan Chen, 05251/603388 P15.16.3 Pohlweg 47-49, 33098, FB14, Uni-Paderborn

------------------------------

From: =?iso-8859-1?Q?Beno=EEt?= Smith <[EMAIL PROTECTED]>
Subject: About PPP connection & Sendmail
Date: Wed, 29 Mar 2000 22:36:51 -0100

Greetings,

I am running Slackware 7.0, and I would like to know how I could run the
'ppp-go' command (launching a PPP connection) as a non-root user,
WITHOUT using the 'su' command. I already tried to change all
permissions in the "ppp" directory, to no avail.

Moreover, could someone please explain to me how to configure Sendmail ?

--

Beno�t Smith
Just A Rhyme Without A Reason




------------------------------

From: Antoine Hugueney <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Athlon kernel compile
Date: Wed, 29 Mar 2000 22:43:34 +0200

Janet a �crit :

> Hi,
>
> I'm about to compile kernel 2.2.14 for my athlon box and was wondering
> whether to enable MTRR (there have been a lot of posts about needing to
> disable it in earlier kernel versions; what about this one?).  Also, which
> processor type should I choose?
>
> Thanks,
> Janet

Hello,

No problem with kenel 2.2.13, 14 and above. I had MTRR problems with LM 6.0
but not with 6.1 nor with 7.0 (with my Athlon).

Regards,

Antoine


------------------------------

From: [EMAIL PROTECTED]
Subject: Sys. Admin. Guide
Date: Wed, 29 Mar 2000 20:36:38 GMT

I am a CSE softmore student and a Linux user with 6 months.
Also, I have experiences of C,C++,Bash and Perl and I want to be a
Professional Linux System Administrator, please guide me
on which steps i should follow, which books or tutorials
i should read.



Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "adam swash" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.databases,comp.databases.ingres,comp.databases.ms-access,comp.infosystems,comp.infosystems.www.misc,comp.lang.perl.misc,comp.os.ms-windows.nt.misc,comp.unix.programmer,comp.windows.misc,uk.adverts.computer,uk.adverts.com
Subject: Research
Date: Wed, 29 Mar 2000 22:26:39 +0100

I apologise for intruding on your newsgroup, but I am having problems
contacting IT professionals to participate in research.

I am currently investigating business skills of IT professionals, and would
be grateful if you could complete the study at:

www.global-research.net/ESF

It will take no more than 10 minutes of your time and all completed
questionnaires will be entered into a prize draw.

I can assure you that this is a genuine research project and all results
will only be reported as aggregate stats.

Thanks very much

Adam Swash




------------------------------

From: [EMAIL PROTECTED]
Subject: EMERGENCY!!
Date: Wed, 29 Mar 2000 21:00:05 GMT

ok...
we just copied a large website to a new harddrive (hdb2)

I am sure the copy is there and i was ready to delete the old copy.
I began doing so, and was making lots of progress when i ran outta time
for the day.  So i mounted the new drive and checked the site before
going home.  What i found was an old copy of the site which was copied
a while ago.  I then attempted to mount the new drive in a different
directory in which the site was supposed to be copied earlier this
day.  When i tried to view it, i got the ftp directory because of no
index file.  So, I calmly attempted to remount the drive to the
previous directory with the intent that if its not the most recent
copy, at least i will have something up for this evening.

I am now unable to do this.

When i mount the drive to the directory I KNOW has an index file, i
only get the ftp view caused by no index.

I was attempting to unmount the drive again to remount it to another
directory and was told device is busy.  I did PS to see what was
running and all i see are:  The PS command itself, bash, and a lot of
agetty.   (i dont know what agetty is)

1. Why after mounting the drive to the directory that contains an index
(old_mount) do i not see the file with my browser??

2. Why is the drive telling me its busy when im trying to umount it so
i can remount it?

3. What can i do to mount the drive to /new_mount so the index.html
file can be seen????

Any and all help is extremely appreciated!!

Thank you,
Joe


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Lion <[EMAIL PROTECTED]>
Subject: Compressed Win98 volumes in Linux???
Date: Wed, 29 Mar 2000 18:33:08 +0100

Is there any way I can access my compressed win98 volume under Linux?
Mounting the partition just gives me the "host drive".
-- 
Lion
BreadHead - Back By Popular Demand
Sex, Metal & Revolution

http://www.bigfoot.com/~breadhead

------------------------------

From: Aurelien Jarno <ajarno@[EMAIL PROTECTED]>
Subject: MPEG Player
Date: Wed, 29 Mar 2000 23:22:22 +0200

Hello,

I am looking for a FREE mpeg player, with full-screen support, and a
progress-bar to choose the position of the video.

Thanks

Aurelien

------------------------------

From: [EMAIL PROTECTED] (Vincent Fox)
Subject: Re: Sys. Admin. Guide
Date: 29 Mar 2000 21:16:43 GMT

In <8btpgk$n5r$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:

>I am a CSE softmore student and a Linux user with 6 months.
>Also, I have experiences of C,C++,Bash and Perl and I want to be a
>Professional Linux System Administrator, please guide me
>on which steps i should follow, which books or tutorials
>i should read.

Step 1: Read the BOFH chronicles
Step 2: Develop a hard-nosed cynical attitude about lusers
Step 3: Read newsgroup alt.sysadmin.recovery
        From the ASR FAQ, Section 2:
        2) ABOUT OUR FINE PROFESSION

        2.1) I want to be a sysadmin.  What should I do?

        Seek professional help.

        2.3) Where do sysadmins rank as a profession

        Somewhere below janitors.


        Perhaps Abby Franquemont summarised the life of a sysadmin the best,
        when she described us as:

        "disgruntled, disenchanted with things we used to really get a kick
        out of, foul tempered, hard-drinking, heavy-smoking, overworked, with
        no real social life to speak of."

Step 4: Change professions to something with less stress and better pay.
        Bomb squad or cardiac surgery for example.


--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

------------------------------

From: Ewan Dunbar <[EMAIL PROTECTED]>
Subject: Re: NOT a Winmodem
Date: Wed, 29 Mar 2000 16:29:41 -0500

On 29 Mar 2000, David Efflandt wrote:

> On Tue, 28 Mar 2000 18:45:29 -0800, Mike Long <[EMAIL PROTECTED]> wrote:
> >I have a 3Com USRobotics 56k Faxmodem. It is NOT a Winmodem, but I can't get
> >it to work in Redhat 5.2.
> >Do I need a driver?
> >Where can I find one?
> 
> All regular modems use the standard serial driver.  But you may need to
> set up /etc/isapnp.conf if it is a PNP modem (isapnptool package including
> pnpdump and isapnp) and/or the setserial command to tell Linux what irq it
> uses if not the standard one for that port.  I am not familiar with PCI
> modems.
> 

I recently looked into this because I'll be getting one of these modems
fairly soon. It turns out that *most* PCI modems actually are Winmodems
even though they don't say so -- but this one, IIRC, isn't. To get it to
work, you have to do a "cat /proc/pci" and get the settings from there.
Use those with setserial.

-- 
There is no sig.
Ewan Dunbar
[EMAIL PROTECTED]


------------------------------

From: =?iso-8859-1?Q?Beno=EEt?= Smith <[EMAIL PROTECTED]>
Subject: PDF editor + file manager
Date: Wed, 29 Mar 2000 23:30:13 -0100

Greetings,

I am looking for a free software to edit .pdf files (can Tex do so?), as
well as a decent, WORKING file manager fitting WindowMaker (I tried to
compile some of them I had downloaded, with no luck) with drag&drop
functionality if possible.

Thanks in advance.
-- 

Beno�t Smith
Just A Rhyme Without A Reason

------------------------------

From: [EMAIL PROTECTED] (J.M. Paden)
Subject: Re: Sys. Admin. Guide
Date: Wed, 29 Mar 2000 21:38:46 GMT
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

>I am a CSE softmore student and a Linux user with 6 months.
>Also, I have experiences of C,C++,Bash and Perl and I want to be a
>Professional Linux System Administrator, please guide me
>on which steps i should follow, which books or tutorials
>i should read.
>

I suggest you might subscribe to the Linux Admin mail list, read their
FAQ and prowl through their archives.


   Subscription: This mailing list is handled by a majordomo server at
   vger.rutgers.edu. To remove/add yourself to the mailing list simply
   send an email to:
        [EMAIL PROTECTED]
   
   To subscribe put the following in the body of the message:
   
        subscribe Linux-Admin [EMAIL PROTECTED]
   
   
   List archives:
   
     * http://www.reference.com
     * http://www.linuxhq.com/lnxlists/linux-admin/
     * http://linuxwww.db.erau.edu/mail_archives/
     * http://www.linuxrx.com/Lists/Lists.perl
     * http://www.findmail.com/list/linux-admin/
       

Regards,
[EMAIL PROTECTED]
 "The last temptation is the greatest treason: 
  To do the right deed for the wrong reason." 
  --T.S. Eliot  

------------------------------

From: Alan Fay <[EMAIL PROTECTED]>
Subject: I'm trying to apply the patches to Make...
Date: Wed, 29 Mar 2000 22:49:59 +0100


I'm trying to apply the patches to Make-3.77
and if I do the following:-

[root@enigma /dkb0]# patch  <make-3.77-fixes.patch 
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
==========================
|--- make-3.77/glob/configure.in.fixes  Wed Jul 29 16:17:55 1998
|+++ make-3.77/glob/configure.in        Wed Sep 16 12:13:04 1998
==========================
File to patch: 
^C
[root@enigma /dkb0]# 

I am sitting above the 'make-3.77' directory and have 'gunzip'ed
the tar file to the directory 'make-3.77'.

[root@enigma /dkb0]# ls -l

drwxr-xr-x   4 390      140          2048 Jul 30  1998 make-3.77
-r--r--r--   1 root     root       680356 Mar 29 21:05 make-3.77-6.src.rpm
-rw-r--r--   1 root     root        20352 Mar 21  1999 make-3.77-fixes.patch
-rw-r--r--   1 root     root      2498560 Mar 21  1999 make-3.77.tar


[root@enigma /dkb0]# ls make-3.77
AUTHORS       README.DOS      arscan.c       configure.in  getopt1.c       
make.info-10  makefile.vms    signame.h
COPYING       README.W32      build.sh.in    default.c     glob            make.info-2 
  misc.c          stamp-h.in
ChangeLog     README.customs  build_w32.bat  dep.h         implicit.c      make.info-3 
  missing         subproc.bat
INSTALL       SCOPTIONS       commands.c     dir.c         install-sh      make.info-4 
  mkinstalldirs   texinfo.tex
Makefile.DOS  SMakefile       commands.h     dosbuild.bat  job.c           make.info-5 
  read.c          variable.c
Makefile.am   acconfig.h      config.ami     expand.c      job.h           make.info-6 
  readme.vms      variable.h
Makefile.ami  acinclude.m4    config.h-vms   file.c        main.c          make.info-7 
  remake.c        version.c
Makefile.in   aclocal.m4      config.h.W32   filedef.h     make-stds.texi  make.info-8 
  remote-cstms.c  vmsdir.h
NEWS          alloca.c        config.h.in    function.c    make.1          make.info-9 
  remote-stub.c   vmsfunctions.c
NMakefile     amiga.c         configh.dos    getloadavg.c  make.h          make.lnk    
  rule.c          vmsify.c
README        amiga.h         configure      getopt.c      make.info       
make.texinfo  rule.h          vpath.c
README.Amiga  ar.c            configure.bat  getopt.h      make.info-1     
makefile.com  signame.c       w32
[root@enigma /dkb0]# 

shows no 'configure.in.fixes'.

Am I doing something wrong? 

I would be very grateful for any help.

Thank you,

alan




------------------------------

From: [EMAIL PROTECTED] (Keith T. Garner)
Subject: Re: Compressed Win98 volumes in Linux???
Date: 29 Mar 2000 22:04:24 GMT

At one point, Lion said something like:
> Is there any way I can access my compressed win98 volume under Linux?
> Mounting the partition just gives me the "host drive".

I don't know if its been updated to work with 98, but I know it worked
with Win95...

Check out the dmsdos suite.  You can find it at
ftp://metalab.unc.edu/pub/Linux/system/filesystems/dosfs/

Keith

-- 
   Keith T. Garner                                       [EMAIL PROTECTED]
   RIMS/RIMSLink, Technical Architect                            [EMAIL PROTECTED]
     "This is my UNIX box.  There are many like it, but this one is mine."

------------------------------


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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
******************************

Reply via email to