Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #10528

Closed (moved)
Open
Opened Dec 31, 2013 by Trac@tracbot

Relay on Raspberry PI stops working - Error loading keys

Hi all. I'm running a tor relay about a year ago, on a Raspberry PI. I upgraded OS a week ago and tor stops working. I downloaded tor-0.2.4.20 and compiled but fails with:

Dec 30 21:16:57.000 [err] Error loading private key.

I tried deleting keys, tor regenerated them but immediately fails to load:

Dec 30 21:16:56.000 [info] eventdns: Added nameserver 192.168.0.1:53 as 0xb862e5a0 Dec 30 21:16:56.000 [info] eventdns: Setting maximum allowed timeouts to 16 Dec 30 21:16:56.000 [info] eventdns: Setting timeout to 10 Dec 30 21:16:56.000 [info] init_keys(): Reading/making identity key "/root/.tor/keys/secret_id_key"... Dec 30 21:16:56.000 [info] init_key_from_file(): No key found in "/root/.tor/keys/secret_id_key"; generating fresh key. Dec 30 21:16:56.000 [info] init_key_from_file(): Generated key seems valid Dec 30 21:16:56.000 [info] init_keys(): Reading/making onion key "/root/.tor/keys/secret_onion_key"... Dec 30 21:16:56.000 [info] init_key_from_file(): No key found in "/root/.tor/keys/secret_onion_key"; generating fresh key. Dec 30 21:16:57.000 [info] init_key_from_file(): Generated key seems valid Dec 30 21:16:57.000 [info] mark_my_descriptor_dirty(): Decided to publish new relay descriptor: set onion key Dec 30 21:16:57.000 [err] Error loading private key. Dec 30 21:16:57.000 [err] do_main_loop(): Bug: Error initializing keys; exiting Dec 30 21:16:57.000 [info] or_state_save(): Saved state to "/root/.tor/state" Dec 30 21:16:57.000 [debug] channel_tls_free_all(): Shutting down TLS channels... Dec 30 21:16:57.000 [debug] channel_tls_free_all(): Done shutting down TLS channels Dec 30 21:16:57.000 [debug] channel_free_all(): Shutting down channels... Dec 30 21:16:57.000 [debug] channel_free_all(): Freeing channel_identity_map Dec 30 21:16:57.000 [debug] channel_free_all(): Done cleaning up after channels Dec 30 21:16:57.000 [debug] connection_free_(): closing fd 7. Dec 30 21:16:57.000 [debug] connection_free_(): closing fd 8. Dec 30 21:16:57.000 [debug] connection_free_(): closing fd 9. Dec 30 21:16:57.000 [info] buf_shrink_freelists(): Cleaned freelist for 4096-byte chunks: original length 0, kept 0, dropped 0. Dec 30 21:16:57.000 [info] buf_shrink_freelists(): Cleaned freelist for 8192-byte chunks: original length 0, kept 0, dropped 0. Dec 30 21:16:57.000 [info] buf_shrink_freelists(): Cleaned freelist for 16384-byte chunks: original length 0, kept 0, dropped 0. Dec 30 21:16:57.000 [info] buf_shrink_freelists(): Cleaned freelist for 32768-byte chunks: original length 0, kept 0, dropped 0. Dec 30 21:16:57.000 [info] tor_lockfile_unlock(): Unlocking "/root/.tor/lock"

Is this a bug or I did a mistake? How can I help? Thanks and sorry for my english!

Trac:
Username: fsclavo

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#10528