[SOLVED] Meaningless error message from SVN "svn: generic failure"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am getting a meaningless error message from SVN:
Code:
svn: generic failure
Anyone know what that really means?
I've encountered it before, and I've seen a variety of reasons
Hostname of your local machine not being resolved (try adding to hosts file of the SVN server)
Firewall issue(s)
Negotiation issues (try changing from "file://" to "svn+ssh://")
Can't offer more, not knowing what version/distro of Linux the server is running, or anything that you've seen in the logs on either the client or the host, or how you're trying to connect.
I've encountered it before, and I've seen a variety of reasons
Hostname of your local machine not being resolved (try adding to hosts file of the SVN server)
Firewall issue(s)
Negotiation issues (try changing from "file://" to "svn+ssh://")
Can't offer more, not knowing what version/distro of Linux the server is running, or anything that you've seen in the logs on either the client or the host, or how you're trying to connect.
After doing strace, I noted it was looking for the hostname a lot. Adding that to /etc/hosts ... which should have been there, but no other apps complained ... and SVN runs OK, now. This could have been better:
svn: Unable to resolve IP address for client host: some-host-name
After doing strace, I noted it was looking for the hostname a lot. Adding that to /etc/hosts ... which should have been there, but no other apps complained ... and SVN runs OK, now. This could have been better:
svn: Unable to resolve IP address for client host: some-host-name
Glad it got you going. And I agree, but sometimes errors like that hang around because of the inner-workings of the code. Sometimes the program does things it shouldn't be ABLE to do, and there's a generic message that handles those errors.
For HP Printers, there is a message that comes up when the printer returns error codes that shouldn't exist together. Things like the printer getting a "paper-empty" message on tray 2...when there isn't a tray 2 attached. The "Printer on fire" message isn't seen often...but is in the code (at least it used to be).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.