Opened 8 years ago

Closed 8 years ago

#426 closed defect (worksforme)

Error reading router.info and router.keys

Reported by: guest Owned by:
Priority: major Milestone: 0.8.5
Component: router/netdb Version: 0.8.3
Keywords: Cc:
Parent Tickets:

Description

I2P version: 0.8.3-21-rc
Java version: Sun Microsystems Inc. 1.6.0_24 (Java(TM) SE Runtime Environment 1.6.0_24-b07)
Platform: Linux amd64 2.6.35
Processor: uninitialized (athlon64)
Jbigi: Optimized native BigInteger? library 'libjbigi-linux-athlon64.so' loaded from resource
Encoding: UTF-8

Critical Logs

02.03.11 13:04:38 CRIT 1/1? uter.startup.LoadRouterInfoJob?: Error reading the router info from /home/i2puser/.i2p/router.info and the keys from /home/i2puser/.i2p/router.keys

java.io.FileNotFoundException?: /home/i2puser/.i2p/router.info (Permission denied)
at java.io.FileInputStream?.open(Native Method)
at java.io.FileInputStream?.<init>(FileInputStream?.java:106)
at net.i2p.router.startup.LoadRouterInfoJob?.loadRouterInfo(LoadRouterInfoJob?.java:78)
at net.i2p.router.startup.LoadRouterInfoJob?.runJob(LoadRouterInfoJob?.java:40)
at net.i2p.router.JobQueueRunner?.runCurrentJob(JobQueueRunner?.java:142)
at net.i2p.router.JobQueueRunner?.run(JobQueueRunner?.java:82)
at java.lang.Thread.run(Thread.java:662)
at net.i2p.util.I2PThread.run(I2PThread.java:77)

i2puser@tux ~/i2p $ ls -ld /home/i2puser/.i2p/router.info
-rw------- 1 i2puser i2puser 1245 Mar 3 02:19 /home/i2puser/.i2p/router.info
i2puser@tux ~/i2p $ ls -ld /home/i2puser/.i2p/router.keys
-rw------- 1 i2puser i2puser 660 Mar 2 13:04 /home/i2puser/.i2p/router.keys

Subtickets

Change History (3)

comment:1 Changed 8 years ago by zzz

  • Component changed from unspecified to router/netdb

Hmm. Echelon saw this too when he upgraded to 0.8.4. It looks like yours recovered also, by building new router.keys and router.info files.

Did you perhaps previously run i2p as a different user? That would have generated the mode-600 files with a different user, and resulted in the permissions error.

comment:2 Changed 8 years ago by guest

No, same user as ever, upgrading with unsafe updates since ever.
Has not yet appeared again.
Thanks for looking at it.

comment:3 Changed 8 years ago by zzz

  • Resolution set to worksforme
  • Status changed from new to closed

ok, closing ticket.

Note: See TracTickets for help on using tickets.