Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #10528

Closed (moved)
(moved)
Open
Created 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
Time tracking