Forum

Posted by
Martin Stock  -  October 2010
Ubuntu Lucid Lynx 10.04 LTS
MySQL 5.1.41
roxen-5.0.449-src

I installed Roxen from source with defaults and the Roxen and MySQL processes are starting successfully.
: Pike version:      Pike v7.8 release 408
: Product version:   Roxen WebServer 5.0.449-release3
: Operating system:  Linux 2.6.32-25-server (x86_64)
...
 mysql: Version: '5.1.41-3ubuntu12.6-log'  socket: '/usr/local/roxen/configurations/_mysql/socket'  port: 0  (Ubuntu)
: Loading Pike modules ... Done [31.4ms]
: Loading Roxen ... Done [566.8ms]
...
: Enabled Administration Interface in 26.6ms
: Starting 15 threads to handle requests.
: -- Total boot time 1.9 seconds ---------------------------

But when I try to access the administration interface via browser I only get an
404 page not found
Unable to retrieve
&page.virtfile;
error message.

with following error in the log:
 Enabling all modules for Administration Interface...
          :  Configuration Filesystem                   ... ERROR
          : Error while initiating module copy of Configuration Filesystem:
          : big_query(): Query "REPLACE docs set name='_version', contents='5.0.449-release3'" failed (Table 'docs.docs' doesn't exist)

Any hint? Is there something wrong with the "make install" or "create_configinterface"?




 
Posted by
Marcus Wellhardh  -  October 2010
There is probably a permission error on the documentation search index database dump files. Please do the file listing below and post the result:

[wellhard@leguan roxen]$ ls -la server-5.0.449/etc/docs.*
-rw-r----- 1 wellhard wellhard     8586 2010-02-08 03:05 server-5.0.449/etc/docs.frm
-rw-r----- 1 wellhard wellhard 21445416 2010-02-08 03:05 server-5.0.449/etc/docs.MYD
 
Posted by
Martin Stock  -  October 2010
Not a file permission problem, but this pointed me to the cause. Ubuntu is using apparmor for MySQL.

Thus here the 2 files I needed to get Roxen 5.0.449 working under Ubuntu Lucid Lynx 10.04 LTS.

/usr/local/roxen/server-5.0.449/mysql-location.txt
- - -
basedir=/usr
mysqld=/usr/sbin/mysqld
mysqladmin=/usr/bin/mysqladmin
mysqldump=/usr/bin/mysqldump
- - -

/etc/apparmor.d/usr.sbin.mysqld
- - -
...
  # lines added for Roxen
  /usr/local/roxen/configurations/_mysql/ r,
  /usr/local/roxen/configurations/_mysql/my.cnf r,
  /usr/local/roxen/configurations/_mysql/** rwk,
  /usr/local/roxen/server*/etc/docs.* rwk,
  /usr/local/roxen/logs/debug/ r,
  /usr/local/roxen/logs/debug/* rw,
...
 
Posted by
Martin Stjernholm  -  October 2010
I use a different variant: I hardlink /usr/sbin/mysqld to somewhere else and point to that location in mysql-location.txt. That way I make sure apparmor is out of the picture.
 
1
Search this thread: