Re: Need help getting started

John Berninger <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
The label field inside the [alpha62] section in the config file is what
must match a string in the valid_channels field in the [current]
section.  If you change

        valid_channels = alpha62

to

        valid_channels = redhatalpha6.2

you should be okay.

On Thu, 04 Apr 2002, Jeremy Johnson wrote:

> current -v create alpha62
> Traceback (innermost last):
>   File "/usr/sbin/current", line 169, in ?
>     main()
>   File "/usr/sbin/current", line 44, in main
>     config.cfg.load()
>   File "/usr/share/current/config.py", line 97, in load
>     tmp = self.readConfigFile(file)
>   File "/usr/share/current/config.py", line 225, in readConfigFile
>     channel = parser.get(section, 'label')
> NameError: section
>  
> cadmin -v printconfig
> Traceback (innermost last):
>   File "/usr/sbin/cadmin", line 203, in ?
>     main()
>   File "/usr/sbin/cadmin", line 47, in main
>     config.cfg.load()
>   File "/usr/share/current/config.py", line 97, in load
>     tmp = self.readConfigFile(file)
>   File "/usr/share/current/config.py", line 225, in readConfigFile
>     channel = parser.get(section, 'label')
> NameError: section[current]
> valid_channels = alpha62
> log_file = ./current.log
> pid_file = ./current.pid
> log_level = 0
> http_port = 8080[alpha62]
> label = redhatalpha6.2
> name = Alpha62
> parent_channel =
> arch = alpha
> os_release = 6.2
> description = Dulug 7.1 is Red Hat Linux 7.1 with all the errata
>               applied, plus some Duke specific packages.
> rpm_dirs = /var/ftp/pub/errata/alpha/6.2/
> xrpm_dirs =
> src_dirs =
> db_dir = /var/ftp/pub/errata/alpha/
> 
> https_port = 8081
> server_secret = Copyright (c) 2001 Hunter Matthews
> server_id = purple
> key_file = ./current.pem
> 
>  
> 
>  
> and my config file looks like this
> 
>  
> ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿººÞžßìz»Þ®f¢–)à–+-
> êëz{ÿ±êïz¿åŠËlýÛ¥ºݺGÿyÛ¡¶Úÿÿùb²Ûÿvénƒ÷n‘ïÞvïæj)fjåŠËbú?rêëz{ÿ±êï

-- 
Thank you,
John Berninger

Systems Administrator		[email protected]
Department of Mathematics	Box 8205, Harrelson Hall
NC State University		Raleigh, NC 27695
Phone:  (919)515-6315		Fax:	(919)515-3798

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22  66AE 822D 42A8 A8C1 D45C
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.