[ Back to main index ] | [ Show all FAQs on a single page ]

Server Administration

Manage your Roxen and ChiliMoon server

Why is it not possible to bind a recently changed domain name?

Posted at 2004-11-15 by Michael Stenitzer

If you have recently changed a nameserver setting for your domain it might fail to bind because its being cached by Roxen’s own DNS cache.

Flush the caches in the Tasks -> Maintenance tab.

Applies to: Roxen , ChiliMoon

How can I delete the Demo module’s history (if there is some misbehaving RXML in there)?

Posted at 2004-11-15 by Michael Stenitzer

Delete the files under roxen/var/demomodule-bookmarks/<your site>/.

Applies to: Roxen , ChiliMoon

How can I easily create a site configuration template?

Posted at 2004-11-15 by Michael Stenitzer

Go to Tasks -> Maintenance -> Create site template

Applies to: Roxen , ChiliMoon

Where does Roxen / ChiliMoon look for files with relative paths?

Posted at 2004-11-15 by Michael Stenitzer

If you use relative paths in Roxen’s / ChiliMoon's configuration they always refer to the start directory (e.g. /usr/local/roxen/server/).

Applies to: Roxen , ChiliMoon

Why does the automatic server update fail?

Posted at 2004-11-15 by Michael Stenitzer

Don't worry if you find a regular error message “Update: Failed to connect to update server to fetch information about new packages” in event log. The update server has been out of work for a long time. It’s working again with Roxen 4.0 (well, at least it does not show any error messages, at the other hand i haven't recieved any update package so far).

Applies to: Roxen , ChiliMoon

How can I have my old log files zipped and removed?

Posted at 2004-11-15 by Michael Stenitzer

You just have to move the current log, wait a couple of minutes, and then Roxen will start a new one at the old location on its own.

Additionally you may want to install a cron job to compress or remove old log files, e.g.:

 find /usr/local/roxen/logs/ -name 'Log.????-??-??' -mtime +7 \ 
     -exec gzip {} \; 
 find /usr/local/roxen/logs/ -name 'Log.????-??-??.gz' -mtime +30 \ 
     -exec rm {} \; 

This will gzip files after a week and remove them after a month.

Applies to: Roxen , ChiliMoon

What signals can be handled by the Roxen / ChiliMoon process?

Posted at 2004-11-15 by Michael Stenitzer

  • SIGHUP - Reloads the configuration
  • SIGQUIT - Generate a thread dump
  • SIGTERM - Restarts the server process
  • SIGINT - Restarts the server process
  • SIGALRM - Force ABS restart
  • SIGKILL - Exit harder
  • SIGABORT - Exit and generate a core dump

Applies to: Roxen , ChiliMoon

I have lost access to the administration interface (forgot password or the address/port). How can I get it again?

Posted at 2004-11-15 by Michael Stenitzer

Run

	create_configinterface -a 

to create a new create a new administrator user with which you can change the password of the old one.

You can get more options of for creating a configuration interface (e.g. how to create with a batch process) by running

	create_configinterface --help 

You can get the address or port either by having a look at the configuration file for the administration interface (search for <var name='URLs'> by default in the file /configurations/Administration_Interface) or have a look into the debug log (logs/debug/default.1).

Applies to: Roxen , ChiliMoon

Why does log analyzing not report correct user-agents?

Posted at 2004-11-15 by Michael Stenitzer

By default Roxen / ChiliMoon writes encoded user-agent identification strings (spaces are replaced by %20) to the log files. You have several solutions to solve this:

  • Newer versions of Roxen allow to define the log string format with “$user_agent_raw” instead of “$user_agent”.
  • Use Awstats log analyzer. It provides a configuration option to use it with Roxen’s / ChiliMoon's log files.

Applies to: Roxen , ChiliMoon

Why does binding a port fail on IP or Url?

Posted at 2004-11-15 by Michael Stenitzer, Last updated at 2004-12-05 by Sascha Nemecek

Error message: "Binding the port failed on <IP> for <url>."

If Roxen / ChiliMoon says it can&#8217;t register the port, it most likely failed to bind it. Reasons might be:

  1. the server isn't running as root, which it may need to in order to bind low port numbers (below 1080),
  2. some other process has already bound the port (check with lsof or some other similar program),
  3. you've entered an explicit domain name, and DNS doesn't map this domain name to an IP address you can bind.

Applies to: Roxen , ChiliMoon

I want to run a virtual server on https, but binding failed.

Posted at 2004-11-15 by Michael Stenitzer

You can not run two https servers on the same IP and the same port. IP and port must together form an unique pair. If you have several virtual https servers, they need either different IPs or different port numbers. This is a restriction of the https protocol.

Applies to: Roxen , ChiliMoon

[ Back to main index ] | [ Show all FAQs on a single page ]