Article View: news.software.nntp
Article #67442Re: new at setting up new server have a few questions
From: Curt Welch
Date: Mon, 15 Dec 2003 21:40
Date: Mon, 15 Dec 2003 21:40
57 lines
3981 bytes
3981 bytes
Monty <monty.nospam@spam.kd6cae.net> wrote: > Well this certainly is looking interesting to me. > Here is the contents of my DB directory. > bash$ cd db > bash$ ls > active active.times history newsgroups > Now here's my attempt at creating the database files per the installation > docs: > bash$ makedbz -i > sh: makedbz: command not found > bash$ ./makedbz -i > sh: ./makedbz: No such file or directory > Since I was already in my db directory preceeding the command with ./ I'm > sure was the propper way to do that, but just in case I tried it both > ways as you see there. If I can help in any way to help you folks figure > out what I'm missing I'll do my best, as I said before I'm not giving up > now. Monty A little unix for you... In unix, commands like "makedbz" are files. When you try to run a command like that, the shell searches all the directories listed in the path to try and find the file called "makedbz" so it can run it as a program. The fact that it says "command not found" means the command is not located in any of the directories defined in your shell's search path (or it's not marked as an executable file). If you include a path to the command (anything with a / in it), then the shell will not search the normal bin directories in the path. If you use ./makedbz, then it will make it look in your current directly for a directory named ".", and in that directory, it will look for "makedbz". "." has special meaning in Unix in that it's a directory entory that refers to the directly it's in. So "./makedbz" will cause the shell to look only in the current directory for the "makedbz" command. You did an ls above and showed us that there is no "makedbz" file in that directory so it's not surprising that "./makedbz" caused the shell to produce a "not found" error for the command. In other words, what was "not found" was the program itself, not the files you were trying to create in case that confused you. When you make and install inn, it puts the makedbz program in some directory. (probably not one of the standard unix bin directories). That directory is probably not defined as part of your path. So you must either add the directory to you path (look at . files in your home directory like .login or .bashrc), or you must type the full path name for the command which would be something like this: /usr/innbindir/makedbz -i But you have to find the real location of the makedbz file, not the one I made up for the example. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20031215164023.569$CH@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<Xns9452170BAB4F0montynospamkd6caenet@216.196.97.131> <Pine.LNX.4.44.0312151441560.23265-100000@unit11.support.nl> <Xns94527FEA2EFDBmontynospamkd6caenet@140.99.99.130>Show Full Headers
Complete Article Headers
Message-ID: <20031215164023.569$CH@newsreader.com>
Subject: Re: new at setting up new server have a few questions
Date: Mon, 15 Dec 2003 21:40:23 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns9452170BAB4F0montynospamkd6caenet@216.196.97.131> <Pine.LNX.4.44.0312151441560.23265-100000@unit11.support.nl> <Xns94527FEA2EFDBmontynospamkd6caenet@140.99.99.130>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 1RO280b6c+KM2M-ZD33tEeV7LhZ90to1yXEV3MSzmJTvfGAn
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 57