Thread View: news.software.nntp
7 messages
7 total messages
Started by Russell Virgilio
Wed, 07 Mar 2001 18:27
anyone have luck with diablo3.0?
Author: Russell Virgilio
Date: Wed, 07 Mar 2001 18:27
Date: Wed, 07 Mar 2001 18:27
22 lines
1993 bytes
1993 bytes
I have had nothing but problems trying to get this sucker to compile and install correctly on a fresh solaris 2.8 install. It appears the author has hardcoded /news as the root path for the diablo configuration, but darn me I just can't use that configuration. I am having problems with the rc.news init script, I guess my csh is a little rusty. Here is the error I get everytime.... Unable to open diablo.config using pattern %s/diablo.config critical error parsing diablo.config, exiting. Where does this %s come from and how can I tell it to look in another directory. I even hardcoded the %s entries in the diablo.config file to no avail. Anyone have any ideas? I may just have to switch back to 2.5 tomorrow. I had no problems installing 2.5, why does 3.0 throw so many obstacles at me? Why must it rely on csh so heavily? -Russell
Re: anyone have luck with diablo3.0?
Author: Nickolai Zeldovich
Date: Wed, 07 Mar 2001 22:52
Date: Wed, 07 Mar 2001 22:52
22 lines
1829 bytes
1829 bytes
In article <3AA67D79.85BA3643@gatech.edu>, Russell Virgilio wrote: >Where does this %s come from and how can I tell it to look in another >directory. I even hardcoded the %s entries in the diablo.config file to >no avail. Anyone have any ideas? I may just have to switch back to 2.5 >tomorrow. Look in lib/config.c around line 100 where it does xfopen(diabloConfig); the %s gets expanded to /news by default but you should be able to set it to something else via "setenv DIABLO_CONFIG_PATH /foo/diablo.config". >I had no problems installing 2.5, why does 3.0 throw so many obstacles >at me? Why must it rely on csh so heavily? The only csh dependence is the rc script which is fairly simple (it un-sets some resource limits and runs diablo with some flags; you're welcome to rewrite it in bash, and contribute it, if you want :-) You should also reset all the paths in your diablo.config to point at your news directory, but that's probably obvious :) -- kolya
Re: anyone have luck with diablo3.0?
Author: Russell Virgilio
Date: Thu, 08 Mar 2001 10:38
Date: Thu, 08 Mar 2001 10:38
38 lines
2994 bytes
2994 bytes
Nickolai-
That was a great idea, I just had to make sure and add it to my
.profile for my news user. I have got diablo up and running as should be
except for one last problem, the logging. Diablo logs the log files
specified in diablo.config, but I can not successfully log the news.* files.
I have added the entries in /etc/syslog.conf and pointed them to
/var/log/news. I touched all the proper files in /var/log/news, but alas, I
am transportting news, but not logging anything I can use for statistics.
Is there an env variable for the logfiles or logpath? I even created a
/news/log directory and touched the news.notice news.err news.crit files
there as well. Any thoughts? I did a HUP on syslogd as well. Thanks
again...
-Russell
> In article <3AA67D79.85BA3643@gatech.edu>, Russell Virgilio wrote:
> >Where does this %s come from and how can I tell it to look in another
> >directory. I even hardcoded the %s entries in the diablo.config file to
> >no avail. Anyone have any ideas? I may just have to switch back to 2.5
> >tomorrow.
>
> Look in lib/config.c around line 100 where it does xfopen(diabloConfig);
> the %s gets expanded to /news by default but you should be able to set
> it to something else via "setenv DIABLO_CONFIG_PATH /foo/diablo.config".
>
> >I had no problems installing 2.5, why does 3.0 throw so many obstacles
> >at me? Why must it rely on csh so heavily?
>
> The only csh dependence is the rc script which is fairly simple (it
> un-sets some resource limits and runs diablo with some flags; you're
> welcome to rewrite it in bash, and contribute it, if you want :-)
>
> You should also reset all the paths in your diablo.config to point
> at your news directory, but that's probably obvious :)
>
> -- kolya
Re: anyone have luck with diablo3.0?
Author: Nickolai Zeldovich
Date: Thu, 08 Mar 2001 17:52
Date: Thu, 08 Mar 2001 17:52
19 lines
1828 bytes
1828 bytes
In article <3AA7611F.78F2E805@gatech.edu>, Russell Virgilio wrote: > I have added the entries in /etc/syslog.conf and pointed them to >/var/log/news. I touched all the proper files in /var/log/news, but alas, I >am transportting news, but not logging anything I can use for statistics. That's somewhat surprising; you might want to try adding something like this to /etc/syslog.conf to see if anything is getting logged by Diablo at all: news.debug /var/log/news.debug (kill -HUP syslogd, and then try, e.g., connecting to diablo and see if it logs anything to that file). Other than that, I'm not really sure what else to check; Diablo should be simply sending log messages via syslog() in libc, so there's little configuration on Diablo's end that could prevent logs from being sent to syslogd. -- kolya
Re: anyone have luck with diablo3.0?
Author: Greg Andrews
Date: Thu, 08 Mar 2001 20:00
Date: Thu, 08 Mar 2001 20:00
43 lines
2706 bytes
2706 bytes
kolya@mit.edu (Nickolai Zeldovich) writes:
>In article <3AA7611F.78F2E805@gatech.edu>, Russell Virgilio wrote:
>> I have added the entries in /etc/syslog.conf and pointed them to
>>/var/log/news. I touched all the proper files in /var/log/news, but alas, I
>>am transportting news, but not logging anything I can use for statistics.
>
>That's somewhat surprising; you might want to try adding something
>like this to /etc/syslog.conf to see if anything is getting logged
>by Diablo at all:
>
> news.debug /var/log/news.debug
^^^^^^^^^^^
Note that on Solaris, the whitespace between the left-hand
and right-hand sides of the line MUST be tabs. If you put
spaces instead of tabs, the line will be ignored.
>
>(kill -HUP syslogd, and then try, e.g., connecting to diablo and see
>if it logs anything to that file). Other than that, I'm not really
>sure what else to check; Diablo should be simply sending log messages
>via syslog() in libc, so there's little configuration on Diablo's end
>that could prevent logs from being sent to syslogd.
>
Before you re-start Diablo and look for it to log, test the syslog
config with logger:
/usr/bin/logger -p news.emerg "This is a test at news.emerg level"
/usr/bin/logger -p news.debug "This is a test at news.debug level"
If the messages show up in the appropriate log files, then you know
syslogd is configured right. After that, you can try Diablo.
-Greg
--
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
-- Steven Wright
Re: anyone have luck with diablo3.0?
Author: Russell Virgilio
Date: Thu, 08 Mar 2001 20:05
Date: Thu, 08 Mar 2001 20:05
17 lines
1948 bytes
1948 bytes
> That's somewhat surprising; you might want to try adding something > like this to /etc/syslog.conf to see if anything is getting logged > by Diablo at all: > > news.debug /var/log/news.debug i found my problem, it seemed the only news.* being logged was news.info which was not specified in my syslog.conf file, thus it was logged to /var/adm/messages. My problem now is, why am I not processing news.notice messages? I have them set up the same way I have news.info logging, but there is no logging taking place in /var/log/news/news.notice. Does diablo always generate the news.notice messages or is there a configuration option to initiate this logging. Thanks again... -Russell
Re: anyone have luck with diablo3.0?
Author: Russell Virgilio
Date: Thu, 08 Mar 2001 20:45
Date: Thu, 08 Mar 2001 20:45
12 lines
1602 bytes
1602 bytes
> > news.debug /var/log/news.debug > ^^^^^^^^^^^ > > Note that on Solaris, the whitespace between the left-hand > and right-hand sides of the line MUST be tabs. If you put > spaces instead of tabs, the line will be ignored. problem solved. Thanks alot Greg.... -Russell
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