*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm having problems with the Linkchecker app, which finds broken links on web pages.
I've installed this app on the FreeBSD (version 4.3-release) server which hosts the pages in question. I had to install it on the web server as the site uses a custom-programmed Java authentication system, and I don't think linkchecker can be configured to deal with this kind of authentication.
The full output (including the error) I'm getting when I run linkchecker using "/usr/local/bin/linkchecker <insert web address>" is:
File "/usr/local/bin/linkchecker", line 582, in ?
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 112, in check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 118, in _check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/consumer.py", line 143, in logger_start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/text.py", line 89, in start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/__init__.py", line 119, in writeln
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/__init__.py", line 114, in write self.fd.write(self.encode(s), **args)
File "/usr/local/lib/python2.3/site-packages/linkcheck/ansicolor.py", line 199, in write
File "/usr/local/lib/python2.3/site-packages/linkcheck/ansicolor.py", line 147, in has_colors
AttributeError: 'module' object has no attribute 'setupterm'
Where the "AttributeError" line is the error I'm getting. I've tried searching on the above error message, and just on "setupterm()", but can't find anything helpful. I get the error no matter if I try to run the linkchecker on the files as a web page (eg. using 'html....') or directly on the local system.
I've tried installing the app from both source and the ports tree, but I still get the same error. It appears to me that there is a problem with Ncurses, but I've tried installing the latest version (5.4) from ports and it is supposedly already installed.
The most annoying thing is that as an experiment I tried installing this on a Redhat fedora box and it worked instantly, but I can't run it from that box because of the authentication issues I mentioned above.
I really need to get this up and running as soon as possible - if anyone here knows how to fix this, or can point me in the general direction, I would really appreciate the help.