I am running Ubuntu 7.04 - Feisty Fawn. Applications from OpenOffice.org 2.2 crashed on my face with the error message:
The application cannot be started.
An internal error occurred.
On running it from a terminal, it became evident that the problem was with user settings
$ oowriter
[Java framework] Error in function createUserSettingsDocument (elements.cxx).javaldx failed!
GTK Accessibility Module initialized
[Java framework] Error in function createUserSettingsDocument (elements.cxx).GTK Accessibility Module shutdown
** (process:9274): WARNING **: Unknown error forking main binary / abnormal early exit ...
A search for “Error in function createUserSettingsDocument (elements.cxx).javaldx failed!” led me to this thread where the answer was in the 6th post:
Become root, delete “/home/<username>/.openoffice.org2″ and then start OpenOffice. The folder is recreated and all works well.
I have a LAN at home and one of my machines is connected to the Internet. I wanted to share this connection with the other machines.
When I had Ubuntu Edgy earlier, I had set up Internet Connection Sharing, referring this thread at Ubuntuforums.org. Now I am using Feisty and thought I will set up a proxy server this time. So I went with Squid. My installation log (for plain http access) is given below.
- Install Squid. Open a terminal and type
sudo apt-get install squid
- Set visible_hostname
If you got the below error message after installation, you will need to set visible_hostname.
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Edit /etc/squid/squid.conf as root and add a hostname (line 2899 on my system - line numbers are wrt the config file that is created when Squid 2.6.5-4 is installed from the Feisty repository)
- Grant access to machines on your LAN
Add the following lines to squid.conf to create an acl and grant http_access to it (you can find a commented example around line 2590 in this file). Replace the IP address range as required.
acl my_network src 192.168.1.0/24
http_access allow my_network
- (Re)start squid
sudo /etc/init.d/squid restart
Now you can point the browsers on your LAN machines to port 3128 on the machine where squid is running.