Linux-Misc Digest #141, Volume #25               Sat, 15 Jul 00 23:13:02 EDT

Contents:
  wine: ChessMaster 6000 problem (jason varsoke)
  postgres createuser problem ("Denis L. Menezes")
  Creating a newsgroup server ("Denis L. Menezes")
  mgetty and dial in ("John G. Sandell")
  What is winipcfg in Linux ("Denis L. Menezes")
  vnc help Can't connect: errno = 111 (Matt)
  Re: What is winipcfg in Linux (Akira Yamanita)
  Re: mgetty and dial in (Bill Unruh)
  Re: wine: ChessMaster 6000 problem (jason varsoke)
  Re: Setting Environment Variables?? ([EMAIL PROTECTED])
  Re: vnc help Can't connect: errno = 111 (brian moore)
  Re: Newbie Module Question (Robert Heller)
  Re: postgres createuser problem (John McKown)

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

From: jason varsoke <[EMAIL PROTECTED]>
Subject: wine: ChessMaster 6000 problem
Date: Sun, 16 Jul 2000 00:48:57 GMT

   I'm having trouble getting my first wine application running.  I'm
trying to run ChessMaster 6000.  Below are the errors I'm getting:

prompt% wine "/dos/Program Files/Chessmaster 6000/CM6000.exe"
Could not stat /mnt/fd0, ignoring drive A:
Building font metrics. This may take some time...
err:module:fixup_imports Module Display.dll not found
err:win32:PE_LoadLibraryExA can't load C:\Program Files\Chessmaster
6000\CustomGUI.dll
err:module:fixup_imports Module CustomGUI.dll not found
wine: can't exec '/dos/Program Files/Chessmaster 6000/CM6000.exe':
error=6
wine: no executable file found.    

   How do I make the DLLs loadable?

I've very new to wine.

thanks

-jason

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

From: "Denis L. Menezes" <[EMAIL PROTECTED]>
Subject: postgres createuser problem
Date: Sun, 16 Jul 2000 08:58:09 +0800

Hello friends.

I have just started on Linux and Postgres.

When I am in root, I type "su postgres"
Then the foll steps
bash# createuser denis

I get the foll error :
Connection to database 'template1' failed
ConnectDB() -- connect failed:connection refused
Is the postmaster running at 'localhost' and accepting connections on unix
socket '5432'?
createuser : databse access failed

Can someone please tell me why I am getting the above rror and what the
solution is?

Thanks

denis




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

From: "Denis L. Menezes" <[EMAIL PROTECTED]>
Subject: Creating a newsgroup server
Date: Sun, 16 Jul 2000 09:08:48 +0800


  Hello friends.

I am a newbie at linux. My wish is to start a newsgroup on my server at home
just like the one that we are viewing now.

Can I do this on a linux server? Can anyone help me on guidelines on how to
go about setting up a newgruop server? Any software available?

Thanks

Denis



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

From: "John G. Sandell" <[EMAIL PROTECTED]>
Subject: mgetty and dial in
Date: Sun, 16 Jul 2000 01:13:03 GMT

What does one have to do to get mgetty to answer when a phone rings?

I have mgetty enabled in /etc/inittab, ps shows mgetty running on the
proper port (dev/modem, which is linked to /dev/ttyS1), minicom can dial
out on ttyS1, my ppp dialer script dials out... mgetty leaves a log file
in /var/log (mgetty.modem), and that file shows mgetty has gotten an OK
from the modem and is waiting for a ring. But it doesn't answer.

I have checked all of the docs I can find, also web pages.  Some mention
a file named polciy.h; it's not on my computer (SuSE 6.3). Am I missing
a setup file somewhere?

TIA.

John Sandell

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

From: "Denis L. Menezes" <[EMAIL PROTECTED]>
Subject: What is winipcfg in Linux
Date: Sun, 16 Jul 2000 09:14:55 +0800


   Hello friends

In Windows we use "winipcfg" command to find out the ip addresses of the
network cards.

How do we do this in Linux?

Thanks
Denis




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

From: Matt <[EMAIL PROTECTED]>
Subject: vnc help Can't connect: errno = 111
Date: Sun, 16 Jul 2000 02:37:24 -0700

Hi,

Please help vnc problem...

How can I correct these errors in SuSE6.4

The VNC faq mentions that maybe is because of the
xrdb file but when I do a what on xrdb it returns ok...

matt:~/.vnc # which xrdb
/usr/X11R6/bin/xrdb

When I run the server I get the following....

sh: /usr/local/bin/Xvnc: No such file or directory
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
xrdb: Connection refused
xrdb: Can't open display 'matt:1'
_X11TransSocketINETConnect: Can't connect: errno = 111

Please help...

Regards

Matt


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

From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: What is winipcfg in Linux
Date: Sun, 16 Jul 2000 01:46:05 GMT

"Denis L. Menezes" wrote:
> 
>    Hello friends
> 
> In Windows we use "winipcfg" command to find out the ip addresses of the
> network cards.
> 
> How do we do this in Linux?
> 
> Thanks
> Denis

Use ifconfig for that. It will show you all of the active interfaces.

To see the configuration of an inactive (but configured) interface,
specify the interface. ex. ifconfig eth0

To view all configured interfaces (even the ones that are down),
use "ifconfig -a"

man ifconfig

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: mgetty and dial in
Date: 16 Jul 2000 01:47:51 GMT

In <[EMAIL PROTECTED]> "John G. Sandell" <[EMAIL PROTECTED]> 
writes:

]What does one have to do to get mgetty to answer when a phone rings?

]I have mgetty enabled in /etc/inittab, ps shows mgetty running on the
]proper port (dev/modem, which is linked to /dev/ttyS1), minicom can dial

Don't do this. All of your systems MUST use the same port. You cannot
have some use /dev/modem, and others ttyS1. Get rid of /dev/modem and
use ttyS1 for EVERYTHING.

You have to tell mgetty how many rings to wait to answer, with the 
rings 2
option under the approprite tty in /etc/mgetty*/mgetty.config file
(The above says to answer after two rings.
Note that unless you start mgetty from inittab, it will die after every
time something happens-- eg if you dial out with ppp it will listen in
and not answer and die.

]out on ttyS1, my ppp dialer script dials out... mgetty leaves a log file
]in /var/log (mgetty.modem), and that file shows mgetty has gotten an OK
]from the modem and is waiting for a ring. But it doesn't answer.

]I have checked all of the docs I can find, also web pages.  Some mention
]a file named polciy.h; it's not on my computer (SuSE 6.3). Am I missing
]a setup file somewhere?

The setup files are in 
/etc/mgetty*
policy.h is a file used in compiling mgetty, not running it.

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

From: jason varsoke <[EMAIL PROTECTED]>
Subject: Re: wine: ChessMaster 6000 problem
Date: Sun, 16 Jul 2000 01:49:30 GMT

jason varsoke wrote:
> 
>    I'm having trouble getting my first wine application running.  I'm
> trying to run ChessMaster 6000.  Below are the errors I'm getting:
> 
> prompt% wine "/dos/Program Files/Chessmaster 6000/CM6000.exe"
> Could not stat /mnt/fd0, ignoring drive A:
> Building font metrics. This may take some time...
> err:module:fixup_imports Module Display.dll not found
> err:win32:PE_LoadLibraryExA can't load C:\Program Files\Chessmaster
> 6000\CustomGUI.dll
> err:module:fixup_imports Module CustomGUI.dll not found
> wine: can't exec '/dos/Program Files/Chessmaster 6000/CM6000.exe':
> error=6
> wine: no executable file found.
> 
>    How do I make the DLLs loadable?
> 
> I've very new to wine.
> 
> thanks
> 
> -jason

Update:  I'm now loading the DLL but a page fault occurs.  Here is what
happens:  (Any suggestions?)
sancho% wine -dll Display,CustomGUI=n -winver win95 CM6000.exe
Could not stat /mnt/fd0, ignoring drive A:
fixme:ole:EnumDateFormatsA Only US English supported
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000015),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000022),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000016),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000023),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000017),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000024),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000018),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000025),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000019),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000026),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001a),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000027),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001b),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000028),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001c),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000029),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001d),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000002a),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001e),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000002b),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000001f),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000002c),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x00000020),stub!
fixme:ole:EnumCalendarInfoA
(0x411b6e30,0x0400,0xffffffff,0x0000002d),stub!
fixme:font:AddFontResourceA ("C:\\Program Files\\Chessmaster
6000\\cm6000.ttf"): stub
Unhandled exception: page fault on write access to 0x00000000 in 32-bit
code (0x402da409).
Loading symbols: wine /usr/lib/libwine.so /usr/X11R6/lib/libSM.so.6
    /usr/X11R6/lib/libICE.so.6 /usr/X11R6/lib/libXpm.so.4
    /usr/X11R6/lib/libXext.so.6 /usr/X11R6/lib/libX11.so.6
    /lib/libncurses.so.5 /lib/libm.so.6 /lib/libutil.so.1
/lib/libdl.so.2
    /lib/libc.so.6 /lib/ld-linux.so.2
    COMMDLG USER GDI WINEPS WPROCS DISPLAY SYSTEM KERNEL Cm5k256.dll
    cmprn.dll Intart.dll WINSPOOL.DRV CmClasic.dll Cm5kUS.dll
GUIResource.dll
    CM6000.exe CMBench.dll cmo_dll.dll mpgame.dll Dbenv.dll tbase.dll
    tbkey.dll tbgame.dll DatFile.dll ChessSnd.dll Anim.dll CustomGUI.dll
    Display.dll MemManage.dll mss32.dll comdlg32.dll shlwapi.dll
SHELL32.dll
    ole32.dll ADVAPI32.dll COMCTL32.dll GDI32.dll USER32.dll
KERNEL32.dll
    ntdll.dll WINMM.dll midimap.drv msacm.drv wineoss.drv MPR.dll
DeferredDebug for: ole32.dll-Unable to open .DBG file ole32.dbg
 shlwapi.dll-Unable to open .DBG file SHLWAPI.dbg
 
In 32 bit mode.
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0237 GS:0000
 EIP:402da409 ESP:4103dfd4 EBP:4103dff0 EFLAGS:00010246(  R- 00  I  Z-
-P1 )
 EAX:00000000 EBX:4054e9c4 ECX:4046d698 EDX:471d35ca
 ESI:471d35c8 EDI:41060000
Stack dump:
Symbol h_errno is invalid
0x4103dfd4 (USER32.dll..code+0x2bc7b8):  402da3ce fffffff8 4601111c
b7ffffd2
0x4103dfe4 (USER32.dll..code+0x2bc7c8):  46ac870c 402da89e 00000008
00000017
0x4103dff4 (USER32.dll..code+0x2bc7d8):  410e104a 00000042 e0000370
410e101f
0x4103e004 (USER32.dll..code+0x2bc7e8):  e0000370 00000042 410d1a48
e0000370
0x4103e014 (USER32.dll..code+0x2bc7f8):  00000042 4103e10c 4601111c
413c897c
0x4103e024 (USER32.dll..code+0x2bc808):  00000017 10023ee9 fffffff8
00000017
0x4103e034 (USER32.dll..code+0x2bc818):
 
0046: sel=0237 base=40f30000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x402da409 (GlobalAlloc+0xe9) (ebp=4103dff0)
  1 0x410e104a (MemManage.dll.memAllocHandle_rel+0x1a) (ebp=00000017)
*** Invalid address 0x00000017
 
0x402da409 (GlobalAlloc+0xe9):  movl    %edx,0x0(%eax)
Wine-dbg>quit
err:dc:DCE_FreeWindowDCE [08e8] GetDC() without ReleaseDC()!
err:dc:DCE_FreeWindowDCE [08e8] GetDC() without ReleaseDC()!  

What's wrong?

-jason

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.system
Subject: Re: Setting Environment Variables??
Date: Sat, 15 Jul 2000 18:54:46 -0700

Cross posted to comp.os.linux.misc
Followups to comp.os.linux.misc

This topic is OT to c.o.l.d.s

On or about Sat, 15 Jul 2000 07:59:56 GMT, Sonic Hedgehog
<[EMAIL PROTECTED]> scrivened:
> I have installed the latest version of Redhat just recently now at
> RedHat 6.2 as I am interested in learning a little about X Windows
> programming.   Qt  is installed with Redhat choosing the development
> option and this set the QTDIR environment setting to /usr/lib/qt.2.1.0
> - this version didn't have the makefiles for the tutorials so I
> downloaded another version.  I renamed the directory to a more typing
> friendly name of 'qt' 

In general this is a very bad idea.  Directory names are intended to
indicate versions of libraries.  You *may* want to create a link to the
primary/default qt library directory, but moving it is a Bad Thing �.

> - so now I need to change the QTDIR setting to
> /usr/local/qt.  But I have no idea how to do this.  The Install file
> told me to create a '.profile' file in the home directory (for bash
> default for Redhat)  but this didn't work.  I read somewhere that
> there was a setenv command but this didn't work either.  Would someone
> please tell me what I am doing wrong?!?  

You should have a file ~/.profile or should be able to create one.  This
will only be sourced for *login* sessions.  Due to some peculiarities of
X windows, if you login in through a graphical X session manager, you
may not source your ~/.profile entry.  I prefer logging in through a
console session then launching X for this and other reasons.

You should be able to put the desired environment variable assignment in
one or more of the following:

  /etc/profile      # affects all users on the system at login
  /etc/bashrc       # affects all users on the system for each shell
                    # spawned
  ~/.profile        # affects specific user on, on login
  ~/.bashrc         # affects specific user on, on shell spawn

setenv only works for csh and derived shells (eg:  tcsh).

> The install program also mentioned that problems could occur finding a
> library and to run the sbin/ldconfig program, so I ran it to see what
> happened, and this program is trying to run libraries that no longer
> exist on the computer.  Would someone please tell me how I modify this
> file so that no longer happens?

man ld.so.conf

-- 
Karsten M. Self <[EMAIL PROTECTED]>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: vnc help Can't connect: errno = 111
Date: 16 Jul 2000 02:20:50 GMT

On Sun, 16 Jul 2000 02:37:24 -0700, 
 Matt <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Please help vnc problem...
> 
> How can I correct these errors in SuSE6.4
> 
> The VNC faq mentions that maybe is because of the
> xrdb file but when I do a what on xrdb it returns ok...
> 
> matt:~/.vnc # which xrdb
> /usr/X11R6/bin/xrdb
> 
> When I run the server I get the following....
> 
> sh: /usr/local/bin/Xvnc: No such file or directory

Perhaps you should fix that?

> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
> xrdb: Connection refused
> xrdb: Can't open display 'matt:1'
> _X11TransSocketINETConnect: Can't connect: errno = 111

#define ECONNREFUSED    111     /* Connection refused */

Sure looks like you're not running Xvnc.

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Newbie Module Question
Date: Sun, 16 Jul 2000 02:51:09 GMT

  "Trent Cook" <[EMAIL PROTECTED]>,
  In a message on Sat, 15 Jul 2000 22:03:02 GMT, wrote :

"C> I have a quick question.  I recompiled to the 2.2.16 kernel.  Everything is
"C> cool but, when my system boots, my NICs delay, then dont initialize.
"C> 
"C> I found out that my modules arent loading since the compile.  For the NICs
"C> anyways.  I did set the 2 modules I need in the kernel and can  insmod them
"C> both, restart the network and all is cool.  I have a script off of rc.local
"C> that does this so I have connectivity, but could you tell me how to get them
"C> to load at boot again?
"C> 
"C> I am guessing recompile and set them to be in the kernel instead of modules,
"C> but shouldnt I be able to leave them as modules, then allow the system to
"C> load them when it initially brings up the modules at boot?

No, just go to /usr/src/linux-2.2.16 directory and:

% make modules
% make modules_install

This will rebuild the modules and install the new ones in the proper place.

"C> 
"C> I would rather do the latter, but if I have to I can either leave my script,
"C> or compile them right into the kernel.
"C> 
"C> I dont have kmod compiled, should I do this?  The help said it replaces
"C> kerneld so I left it out as I dont know much about it.
"C> 
"C> Thanks boys,
"C> 
"C> Trent
"C> 
"C> 
"C>                                                






                                                                     
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

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

From: [EMAIL PROTECTED] (John McKown)
Subject: Re: postgres createuser problem
Date: Sat, 15 Jul 2000 21:50:15 -0500

On Sun, 16 Jul 2000 08:58:09 +0800, Denis L. Menezes wrote:

>When I am in root, I type "su postgres"
>Then the foll steps
>bash# createuser denis
>
>I get the foll error :
>Connection to database 'template1' failed
>ConnectDB() -- connect failed:connection refused
>Is the postmaster running at 'localhost' and accepting connections on unix
>socket '5432'?
>createuser : databse access failed
>
>Can someone please tell me why I am getting the above rror and what the
>solution is?

Is the postmaster running? The easiest way to tell is to run the command:

ps -Af | grep "postmaster"

and make sure that you have a line similiar to:

postgres 1234 1234 0 Jun30 tty1 00:00:00 /usr/bin/postmaster -i

It not, then the PostgreSQL backend database manager is not running. On my
RedHat 6.0 system, running PostgreSQL 7.0.2, this is started at boot time
because of the file '/etc/rc.d/init.d/postgresql' and the symlinks to it
in the various '/etc/rc.d/rc#.d/' (where # is a number) subdirectories.
If these files exist, but you have not rebooted since installing PostgreSQL,
then you can start the postmaster by entering the command (as root):

/etc/rc.d/init.d/postgresql start

You should see a lot of messages about things being setup because it detects
that this is the first startup and creates a number of files. After you have
done this command, try the "ps" command again. If you get error messages
from the '/etc/rc.d/init.d/postgresql start' command, post them here. If you
get something like "command not found", then you'll need to review your
PostgreSQL installation. Either it failed or you are not running RedHat or
something similiar (I think that Slackware starts things differently).

Hope this helps at least a little bit,
John

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


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