On Wed, 2008-05-07 at 16:50 -0400, Mike Bonnet wrote:
On Wed, 2008-05-07 at 15:34 -0500, Paul B Schroeder wrote:
> Okay.. I *thought* I had it working, but now it's not. At the very
> least, kojid doesn't appear to be shutting down anymore. Running kojira
> with --verbose and --debug doesn't appear to be of much help. I see
> these lines in the log file when starting kojira:
>
> 2008-05-07 10:28:24,540 [DEBUG] koji.repo.manager: Reading current repo
> data
> 2008-05-07 10:28:24,678 [DEBUG] koji.repo.manager: Repo data: []
> 2008-05-07 10:28:24,678 [DEBUG] koji.repo.manager: Scanning filesystem
> for repos
>
> After starting, I then check to see if the process is running. But it's
> not.. Any more clues?
Try running it with --fg and see if you can get a traceback.
Ah.. Yea.. Duh.. Somehow I missed that flag. Output below.. I
created /mnt/koji/repos and it's definitely running now.
Thanks...Paul...
[root@koji koji]# kojira --force-lock --debug --verbose
-c /etc/kojira/kojira.conf --fg
2008-05-07 10:47:32,264 [DEBUG] {19989} koji.repo.manager:179 Reading
current repo data
2008-05-07 10:47:32,578 [DEBUG] {19989} koji.repo.manager:181 Repo data:
[]
2008-05-07 10:47:32,578 [DEBUG] {19989} koji.repo.manager:200 Scanning
filesystem for repos
Traceback (most recent call last):
File "/usr/sbin/kojira", line 497, in <module>
main()
File "/usr/sbin/kojira", line 323, in main
repomgr.pruneLocalRepos()
File "/usr/sbin/kojira", line 203, in pruneLocalRepos
for tag in os.listdir(topdir):
OSError: [Errno 2] No such file or directory: '/mnt/koji/repos'