Urchin - Knowledge Base Archives - Hivelocity Hosting https://www.hivelocity.net/kb/tag/urchin/ Dedicated Servers, Private Cloud & Colocation Mon, 18 Dec 2023 15:19:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.6 Move the Urchin Data directory to another location for Linux systems https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-linux-systems-3/ https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-linux-systems-3/#respond Sat, 13 Nov 2010 12:44:58 +0000 https://kb.hivelocity.net/?p=1475 The Urchin data directory is a subdirectory of the root Urchin program directory by default. This location can easily be changed by editing the ~urchin/etc/urchin.conf file and manually moving the existing ~urchin/data directory to the desired location. It should be noted that this may break the existing license, in which case, you will need to …

Move the Urchin Data directory to another location for Linux systems Read More »

The post Move the Urchin Data directory to another location for Linux systems appeared first on Hivelocity Hosting.

]]>
The Urchin data directory is a subdirectory of the root Urchin program directory by default. This location can easily be changed by editing the ~urchin/etc/urchin.conf file and manually moving the existing ~urchin/data directory to the desired location. It should be noted that this may break the existing license, in which case, you will need to contact support and request that your serial number is reset.

Procedure for moving data directory:

The location of where Urchin stores its report data can be changed in the urchin.conf file, which is located in the etc directory of the main Urchin installation directory.

For UNIX-type systems:

  1. Open a command shell as the user that Urchin was installed as
  2. cd to the directory where Urchin is installed
  3. Stop the Urchin services with the command: bin/urchinctl stop
  4. Using a text editor, open the urchin.conf file in the etc directory of the Urchin distribution
  5. Uncomment the following line by removing the leading ‘#’ character:#dataDirectory: ./data/

    and substitute the full directory path you want to use instead of the default directory, e.g.

    dataDirectory: /bigdisk/urchin/data/

  6. If necessary, create the new data directory. Important note: this directory must be readable and writable by the user Urchin runs as.
  7. Copy the existing data to the new location. To ensure that all permissions and data are properly preserved, it is recommended that you use the following command:cd data; tar cf – . | (cd /bigdisk/urchin/data; tar xpf -)
  8. Rename the data directory to data.old. You can remove it completely if you wish, but you may want to ensure that everything is working properly before doing this.
  9. chown -R urchin_user:urchin_group /bigdisk/urchin/data
  10. For ease of administration, you may want to create a symlink in the main Urchin directory pointing at this new location, e.g.ln -s /bigdisk/urchin/data ./data
  11. Restart the Urchin services with the command: bin/urchinctl start
  12. Log in to Urchin as the admin user. You should be presented with the License Urchin screen. Simply click on the Reactivate License link and you are finished.

The post Move the Urchin Data directory to another location for Linux systems appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-linux-systems-3/feed/ 0
Start and stop Urchin or set it up as a daemon https://www.hivelocity.net/kb/how-to-start-and-stop-urchin-or-set-it-up-as-a-daemon-4/ https://www.hivelocity.net/kb/how-to-start-and-stop-urchin-or-set-it-up-as-a-daemon-4/#respond Sat, 13 Nov 2010 12:41:40 +0000 https://kb.hivelocity.net/?p=1462 Urchin can be started and stopped with urchinctl. This is found in the bin directory within the base installation directory which is usually /usr/local/urchin. root@root [/usr/local/urchin]#bin/urchinctl Usage: urchinctl [-v] [-h] [-e] [-s|-w] [-p port] action where: -v prints out the version of urchinctl -h prints out this information -e activates encryption (SSL) in the webserver …

Start and stop Urchin or set it up as a daemon Read More »

The post Start and stop Urchin or set it up as a daemon appeared first on Hivelocity Hosting.

]]>
Urchin can be started and stopped with urchinctl. This is found in the bin directory within the base installation directory which is usually /usr/local/urchin.

root@root [/usr/local/urchin]#bin/urchinctl

Usage: urchinctl [-v] [-h] [-e] [-s|-w] [-p port] action
where:
-v prints out the version of urchinctl
-h prints out this information
-e activates encryption (SSL) in the webserver
-s performs the action on the Urchin scheduler ONLY
-w performs the action on the Urchin webserver ONLY
-p specifies the port for the webserver to listen on

action is either: start, stop, restart, or status

start: starts the webserver and scheduler
stop: stops the webserver and scheduler
restart: stops and then starts the webserver and scheduler
status: prints out whether the webserver and scheduler are running

By default, the action is performed on both the webserver and the
scheduler unless the -s or -w options are specified

root@root [/usr/local/urchin]#bin/urchinctl start
Urchin webserver started on port 9999
Urchin scheduler started

root@root [/usr/local/urchin]#bin/urchinctl stop
Urchin webserver stopped
Urchin scheduler stopped
You can find a daemon script in the util directory of the base installation directory.

root@root [/usr/local/urchin]#ls -la util/urchin_daemons
-rw-r--r-- 1 nobody nobody 1267 Oct 28 18:38 util/urchin_daemons

This is a SysV daemon script and it also supports chkconfig.

root@root [/usr/local/urchin]#cp util/urchin_daemons /etc/init.d/urchin
root@root [/usr/local/urchin]#chmod 755 /etc/init.d/urchin
root@root [/usr/local/urchin]#chkconfig urchin on
root@root [/usr/local/urchin]#chkconfig --list urchin
urchin 0:off 1:off 2:on 3:on 4:on 5:on 6:off
root@root [/usr/local/urchin]#

You can now start this as you would any other daemon.

root@root [/usr/local/urchin]#/etc/init.d/urchin start
Urchin webserver started on port 9999
Urchin scheduler started

root@root [/usr/local/urchin]#/etc/init.d/urchin stop
Urchin webserver stopped
Urchin scheduler stopped

You may also use the service helper if it is installed.

root@root [/usr/local/urchin]#service urchin start
Urchin webserver started on port 9999
Urchin scheduler started

root@root [/usr/local/urchin]#service urchin stop
Urchin webserver stopped
Urchin scheduler stopped

The post Start and stop Urchin or set it up as a daemon appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-to-start-and-stop-urchin-or-set-it-up-as-a-daemon-4/feed/ 0
Move the Urchin Data directory to another location for Windows systems https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-windows-systems-2/ https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-windows-systems-2/#respond Sat, 13 Nov 2010 11:53:03 +0000 https://kb.hivelocity.net/?p=1324 Stop the Urchin Services: Start->Programs->Urchin->Disable Urchin Services Open Windows Explorer and navigate to the etc folder of the Urchin distribution. By default, this is C:\Program Files\Urchin\etc Using a text editor, open the urchin.conf file Uncomment the following line by removing the leading ‘#’ character:#dataDirectory: ./data/ and substitute the drive letter and full pathname you want …

Move the Urchin Data directory to another location for Windows systems Read More »

The post Move the Urchin Data directory to another location for Windows systems appeared first on Hivelocity Hosting.

]]>
  • Stop the Urchin Services: Start->Programs->Urchin->Disable Urchin Services
  • Open Windows Explorer and navigate to the etc folder of the Urchin distribution. By default, this is C:\Program Files\Urchin\etc
  • Using a text editor, open the urchin.conf file
  • Uncomment the following line by removing the leading ‘#’ character:#dataDirectory: ./data/

    and substitute the drive letter and full pathname you want to use instead of the default folder, e.g.

    dataDirectory: E:\Urchin\data

  • If necessary, create the new data folder. Important note: the permissions on this folder must allow read and write access to the Urchin service.
  • Copy the contents of the data folder to the new folder.
  • Rename the data folder to data.old. You can remove it completely if you wish, but you may want to ensure that everything is working properly before doing this.
  • Restart the Urchin Services: Start->Programs->Urchin->Enable Urchin Services
  • Considerations

    • Due to the way licensing is implemented on UNIX-type systems to prevent tampering, moving Urchin’s data directory will require the Urchin license to be reactivated. However, the relicense operation is extremely simple – you merely need to log in as the Urchin admin user and click Reactivate License.
    • Windows users who later upgrade Urchin, will have to edit the ~urchin\etc\urchin.conf file. That file is overwritten with default settings during any Urchin upgrade, so you will need to restore your custom data location settings.

    The post Move the Urchin Data directory to another location for Windows systems appeared first on Hivelocity Hosting.

    ]]>
    https://www.hivelocity.net/kb/how-to-move-the-urchin-data-directory-to-another-location-for-windows-systems-2/feed/ 0