Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

IRRd-Discuss


Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

irrd_rpsl_submit 2.2.8 on freebsd with exim4

  • From: Randy Bush
  • Date: Tue Oct 11 15:58:28 2005

i send

    Date: Tue, 11 Oct 2005 09:51:38 -1000
    To: RGnet DB <auto-db@rg.net> 
    Subject: 147

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    route:        147.28.128.0/17
    descr:        NF test 00
    origin:       AS3130
    notify:       rw@rg.net
    mnt-by:       MAINT-RGNET
    changed:      randy@psg.com 20051011
    source:       RGNET
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (FreeBSD)
    Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

    iQCVAwUBQ0wTEfvCP42xMxQ5AQKXmwP/ULsLX8z7zxsE83V9VvnDn2Nlh7LDSKzu
    iKLEVHH8y1YI+VhXlsfdyxb1kQEYLu40NNXX99pN30Rn5Eyau28je8SsZw8ONwFx
    Ch/C975zOlXXpXD+71M8jClo7EpZJgVA9NJtYmFEB94jI8uxqIesphEThagxeNBZ
    1L36urCg4tc=
    =e5G9
    -----END PGP SIGNATURE-----

log shows

    # cat !$
    cat irrd-email.log
    Oct 11 19:51:41 [75881] ---
    Oct 11 19:51:41 [75881] irr_dir set to NULL:Could not create the directory: Permission denied
    Oct 11 19:51:41 [75881] pgp_dir set to NULL:Could not create the directory: Permission denied
    Oct 11 19:51:41 [75881] log_dir set to NULL:Could not create the directory: Permission denied
    Oct 11 19:51:41 [75881] No pipeline submission log directory configured!
    Oct 11 19:51:41 [75881] auth_ok () find_attr: (rw@rg.net)
    Oct 11 19:51:41 [75881] auth_ok () find_attr: (PGPKEY-B1331439
    )
    Oct 11 19:51:41 [75881] Syntax or authorization error.  Object not added to IRRd.
    Oct 11 19:51:41 [75881] ADD FAILED: [route] 147.28.128.0/17 AS3130
    Oct 11 19:51:41 [75881] #ERROR: Authorization failure.
    Oct 11 19:51:41 [75881] mail randy@psg.com
    Oct 11 19:51:41 [75881] 

make sure the conf file is correct

    # irr_rpsl_submit -h
    irr_rpsl_submit: option requires an argument -- h
    Usage: irr_rpsl_submit [options] [filename]
      -v verbose logging, turn on debugging
      -c <crypted password> (default 'foo')
      -E DB admin address for new maintainer requests
      -f <IRRd config file location> (default '/etc/irrd.conf')
      -h <IRRd host> (default 'localhost')
      -l <log directory> (default 'irrd_directory')
      -p <IRRd port> (default 43)
      -r <pgp directory>  (default is ~/.pgp)
      -s <DB source> source is authoritative
      The file is chosen by irr_submit
      -N permit inetnum/domain objects
      -R RPS Dist mode
      -D Inetd mode, read/write to STDIN/STDOUT
      -x do not send notifications
      The '-x' flag will cause updates to be sent to IRRd only.
      The default is to send all notifications.

      Command line options will override irrd.conf options.
      -F " enclosed response footer string.
      -O " enclosed host/IP web origin string.

    irr_submit compiled on Oct 11 2005

make sure those dirs are in the conf file

    # grep _dir /etc/irrd.conf 
    irr_directory /var/spool/irr_database
    pgp_dir /var/spool/irr_database/.gnupg

make sure those dirs actually exist

    # ls -al /var/spool/irr_database
    total 294
    drwxr-xr-x   3 irrd   staff     512 Oct 11 19:52 ./
    drwxr-xr-x  15 root   wheel     512 Apr 22 03:02 ../
    -rw-r--r--   1 root   staff    9832 Oct 11 19:17 .RGNET.db.export.gz
    -rw-------   1 irrd   staff      22 Oct 11 05:21 .bash_history
    drwxr-xr-x   2 irrd   staff     512 Oct 11 05:20 .gnupg/
    -rw-r--r--   1 root   staff      23 Oct 11 19:52 IRRD_STATUS
    -rw-r--r--   1 irrd   staff       3 Jun 10 05:30 RGNET.CURRENTSERIAL
    -rw-r--r--   1 root   staff       0 Jun 10 05:22 RGNET.JOURNAL
    -rw-r--r--   1 irrd   staff   28682 Jun 10 05:06 RGNET.db

note that, if i try to put an entry log_dir in the conf file,
irrd itself barfs

    Oct 11 19:45:02 [134819840] IRRD Unrecognized Command: "log_dir /var/log/irrd"

clue bat, please

randy



[an error occurred while processing this directive]