[MKDoc-users] SuSE Installation part II

Bruno Postle bruno@mkdoc.com
Mon, 16 Sep 2002 14:06:00 +0100


On Mon 16-Sep-2002 at 02:46:40PM +0200, Friedrich-Stade@gmx.de wrote:
> 
> localhost:~ # ls -l /var/lib/mysql/mysql.sock
> srwxrwxrwx    1 mysql    daemon  0 Sep 16 13:13 /var/lib/mysql/mysql.sock
> 
> ################################################################
> I did the ls command for /var/lib/mysql and this was displayed:
> ######################################################
> localhost:~ # ls -ld /var/lib/mysql
> drwx------    7 mysql    mysql        4096 Sep 16 13:25 /var/lib/mysql
> #####################################################
> After I changed drwx------ to drwxrwxr-x I started Mozilla again with

I thought you said you didn't know much about unix?  That was well
spotted.

Basically you can connect to mysql on localhost in two ways.  Either via
port 3306 or via a file-socket.  The socket method wasn't working
because the filesystem permissions were wrong.

> Now I typed
> 
> http://www.example.com and later
> http://admin.example.com
> 
> but got this error message:
> 
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> 
> Please contact the server administrator, webmaster@example.com and inform
> them of the time the error occurred, and anything you might have done that may
> have caused the error.
> More information about this error may be available in the server error log.

There should be a big error message generated by perl/mkdoc in the
apache error log.

I don't know where suse apache logs are.  On a default redhat system
they would be in '/var/log/httpd'.

So you would be able to read the last error message with this command:

    tail /var/log/httpd/error_log

> By the way: In my second e-mail I asked what is the SU_DOMAIN?

The PUBLIC_DOMAIN is the read-only web-site that visitors see.  The
ADMIN_DOMAIN is the editor interface where authors can create and modify
documents and the SU_DOMAIN is the administrator interface for creating
and removing users (The documentation isn't clear enough and needs
updating).

> PUBLIC_DOMAIN   www.example.com
> ADMIN_DOMAIN    admin.example.com
> SU_DOMAIN       editor.example.com

I would switch the values for ADMIN and SU.

-- 
Bruno