Thread View: news.software.nntp
7 messages
7 total messages
Started by Monty
Mon, 15 Dec 2003 10:15
Re: new at setting up new server have a few questions
Author: Monty
Date: Mon, 15 Dec 2003 10:15
Date: Mon, 15 Dec 2003 10:15
46 lines
3712 bytes
3712 bytes
Well I'm the dummy of the day! I just tried to send a reply to the newsgroup using outlook express because I can't seem to get my usual news reader xnews to reply to my thread, the option to followup is unavailable for whatever reason, so I hit reply on the most recent post in my thread with outlook express and I'll be darned if I didn't end up sending an email instead of sending a post to this newsgroup! so Jeff please disregard the email you got, that was suppose to go to this newsgroup! I'm manually entering the subject now in xnews and below is my latest post. thanks for the info about the newsreaders.com site. I'm determined not to give up on setting up my linux box to be a news server though. I'm trying again. I recompiled INN and things seemed to go OK and as far as I can tell it is installed once again. However there seems to be some files missing. when I went to make the news data base files the install documentation talked about by doing makedbz -i after doing touch history, I got a no such file or directory message. Also I tried starting INN then stopping it after being unable to connect with the server and gota no such PID for INN.pid. though everything seems to be there I'm missing some stuff and I'm now trying to figure out why. Here's what I have in the file /usr/local/news/log/errlog innd: can't dbzinit /usr/local/news/db/history No such file or directory innd: can't dbzclose /usr/local/news/db/history No such file or directory innd: SERVER can't open history /usr/local/news/db/history: No such file or directory innd: can't dbzinit /usr/local/news/db/history No such file or directory innd: can't dbzclose /usr/local/news/db/history No such file or directory innd: SERVER can't open history /usr/local/news/db/history: No such file or directory innd: can't dbzinit /usr/local/news/db/history No such file or directory innd: can't dbzclose /usr/local/news/db/history No such file or directory innd: SERVER can't open history /usr/local/news/db/history: No such file or directory innd: can't dbzinit /usr/local/news/db/history No such file or directory innd: can't dbzclose /usr/local/news/db/history No such file or directory Something tells me I'll need to recompile but I'm just trying to figure out what went wrong. I'm headed for bed now but I plan to read this newsgroup and tackle this again when I wake up. Monty, who's now determined to get INN working on my box.
Re: new at setting up new server have a few questions
Author: Pat - News-Service.com
Date: Mon, 15 Dec 2003 13:46
Date: Mon, 15 Dec 2003 13:46
20 lines
1797 bytes
1797 bytes
On Mon, 15 Dec 2003, Monty wrote: <snip> > However there seems to be some files missing. when I went to make the news > data base files the install documentation talked about by doing > makedbz -i after doing touch history, I got a no such file or directory > message. Did you create an empty history file (touch history), like the INSTALL file tells you to? If you did, do you have history.n* files in your db directory? If so, move them to history.* or run makedbz -i -f history Show us some more details, like the contents of you db directory. Pat News-Service.com
Re: new at setting up new server have a few questions
Author: Monty
Date: Mon, 15 Dec 2003 20:34
Date: Mon, 15 Dec 2003 20:34
16 lines
1828 bytes
1828 bytes
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
Re: new at setting up new server have a few questions
Author: 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/
Re: new at setting up new server have a few questions
Author: Monty
Date: Mon, 15 Dec 2003 22:43
Date: Mon, 15 Dec 2003 22:43
16 lines
2129 bytes
2129 bytes
OK now I'm getting somewhere. The program which I had the impression of being in the db directory wasn't there. I found the propper location where makedbz was and executed it and this was my result of makedbz -i makedbz: failed to malloc 60000000 bytes at dbz.c line 1292: cannot allocate memory Sounds to me like a memory issue. This particular box I'm trying to configure INN on does run a couple other services on it but neither I'd think would be memory hawgs. The box is an older box and only has 128MB of ram in it. this is the only linux box I have to play with unless I want to go right out and put INN on my co-located server I have which I eventually want to do but not until I can get INN playing on my play box. Of course if 128MB of RAM isn't enough, I guess there goes that idea. My co-located server has 512MB of ram. Monty, making progress slowly but surely
Re: new at setting up new server have a few questions
Author: Curt Welch
Date: Mon, 15 Dec 2003 23:23
Date: Mon, 15 Dec 2003 23:23
48 lines
3852 bytes
3852 bytes
Monty <monty.nospam@spam.kd6cae.net> wrote: > OK now I'm getting somewhere. The program which I had the impression of > being in the db directory wasn't there. > I found the propper location where makedbz was and executed it and this > was my result of makedbz -i > makedbz: failed to malloc 60000000 bytes at dbz.c line 1292: cannot > allocate memory > Sounds to me like a memory issue. It is. It's trying to allocate 60 MB (or so) of memory in-core and can't. This could be a per-processes limit you are hitting, or a swap space issue. It strikes me as odd that you can't allocate 60 MB even on a 128 MB machine. This could be an issue of the default size dbz files it's trying to create. And for a small test machine, it's likely you can use something much smaller. So check the man page for makedbz and see if there are arguments you can use to have it create smaller database files. It might be something more complex going on as well - like corrupt files which already exist in the directly from failed previous attempts causing it to be confused? I don't know why it's trying to allocate so much memory if all you are trying to do is initialize empty database files. But maybe that's the way it works.... The people with inn experience can probably give you more pointers. > This particular box I'm trying to > configure INN on does run a couple other services on it but neither I'd > think would be memory hawgs. The box is an older box and only has 128MB > of ram in it. > this is the only linux box I have to play with unless I want to go right > out and put INN on my co-located server I have which I eventually want to > do but not until I can get INN playing on my play box. > Of course if 128MB of RAM isn't enough, I guess there goes that idea. > My co-located server has 512MB of ram. > Monty, making progress slowly but surely I don't know what inn needs these days, but my news servers need more like 4GB to work. But for a small text server, I would think your 128 MB machine whould be more than enough. It's propably just a mater of getting things configured correctly to match your machine. inn has always been a complex beast for a beginner to get working. You will learn a lot by the time you get it going. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: new at setting up new server have a few questions
Author: Monty
Date: Tue, 16 Dec 2003 02:48
Date: Tue, 16 Dec 2003 02:48
16 lines
2336 bytes
2336 bytes
well I'm making much better progress now I'm happy to report. I recompiled INN with the Use tagged hash table for the history database option and the makedbz -i command went through without any error! Not only that,but I activated my server and could connect to it from the local machine, something I couldn't do before. I still need to test connecting to it from the internet or my own network on a different PC but things are looking good for the first time! And of course I need to add newsgroups to it and learn how to peer it with the other server I have on the internet. When I go to install in on my other server, to save me the hastle I had in getting this server up I wonder if I could tar up the /usr/local/news directory and extract it to my other server? I have a long way to go yet, but man it's cool enough that I can connect to my news server! Monty Feeling like I've finally got something done!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads