How to Start MANTIS???

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

How to Start MANTIS???

Post by hmendes »

Hi,

This is a very basic question, but I did install Mantis on Ubuntu, and at the end of the process there is no icon on the menus to start it! Is this normal?
Also the command:

$ whereis mantis
mantis: /etc/mantis /usr/share/mantis

Produces this result. There is no executable installed.

How do I start mantis ???

Please help
Thanks
HASM
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Start MANTIS???

Post by atrol »

MantisBT is not a desktop application which is executed as a local binary.
MantisBT is a web application which is started by entering the URL in your webbrowser.
Please use Search before posting and read the Manual
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

Re: How to Start MANTIS???

Post by hmendes »

Thanks for the reply.
Can you please let me know which URL shall I use to start Mantis?
Thanks
HASM
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Start MANTIS???

Post by atrol »

hmendes wrote:I did install Mantis on Ubuntu
Can you describe the steps for this?
Did you install like this http://docs.mantisbt.org/master/en/admi ... IN.INSTALL
or is there any preconfigured installation for Ubuntu
Please use Search before posting and read the Manual
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

Re: How to Start MANTIS???

Post by hmendes »

Hi,

Thanks for the reply.

I did install it, with Synaptic. All the dependencies were installed during this process, but in the end I had to install separately MySQL Server.
I believe the instalation is OK.

I also foud that I have the file /usr/share/mantis/www/login_page.php, which I think is the one I have to run with the browser. Correct? How can I do this?
Thanks
HASM
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Start MANTIS???

Post by atrol »

Sorry, I don't know which actions are performed by the Ubuntu installer of MantisBT
For example you could check whether there is already a database and/or datbase tables generated for MantisBT.
If not, you are not able to login and have to start admin/install.php first.
For the right url you have to check your webserver configuration (httpd.conf)
Please use Search before posting and read the Manual
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

Re: How to Start MANTIS???

Post by hmendes »

Hi There,

I have httpd.conf on /etc/apache2 directory, BUT it is an empty file. Pls see the sequence of commands below:

$ pwd
/etc/apache2

$ ll
total 84
drwxr-xr-x 7 root root 4096 2010-06-01 10:55 ./
drwxr-xr-x 157 root root 12288 2010-06-05 15:55 ../
-rw-r--r-- 1 root root 8113 2010-04-13 20:27 apache2.conf
drwxr-xr-x 2 root root 4096 2010-06-01 11:06 conf.d/
-rw-r--r-- 1 root root 725 2010-04-13 20:27 envvars
-rw-r--r-- 1 root root 0 2010-06-01 10:55 httpd.conf
-rw-r--r-- 1 root root 31063 2010-04-13 20:27 magic
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 mods-available/
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 mods-enabled/
-rw-r--r-- 1 root root 750 2010-04-13 20:27 ports.conf
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 sites-available/
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 sites-enabled/

$ cd conf.d
$ ll
total 20
drwxr-xr-x 2 root root 4096 2010-06-01 11:06 ./
drwxr-xr-x 7 root root 4096 2010-06-01 10:55 ../
-rw-r--r-- 1 root root 269 2010-04-13 20:27 charset
-rw-r--r-- 1 root root 3296 2010-04-13 20:27 localized-error-pages
lrwxrwxrwx 1 root root 23 2010-06-01 11:06 mantis -> /etc/mantis/apache.conf
-rw-r--r-- 1 root root 1481 2010-04-13 20:27 security
$ cat mantis
Alias /mantis /usr/share/mantis/www

<Directory /usr/share/mantis/www>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php .phtml
<IfModule mod_php4.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_value include_path .:/usr/share/php:/usr/share
</IfModule>
DirectoryIndex index.php
</Directory>

# The Administrative directory should not be publicly accessible,
# since the tools herein allow for access to the database without
# authentications.

<Directory /usr/share/mantis/www/admin>
order deny,allow
deny from all
</Directory>
-----------------------------------------------------------------------------------------------------
On the other hand if I issue on my web browser:
http://localhost/usr/share/mantis/www/admin/install.php

I receive the error message:

Not Found

The requested URL /usr/share/mantis/www/admin/install.php was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
--------------------------------------------------------------------------------------------------------

Any help for someone just trying to see Mantis working??
Thanks a lot.
HASM
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Start MANTIS???

Post by atrol »

Please use Search before posting and read the Manual
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

Re: How to Start MANTIS???

Post by hmendes »

Hi,

The result is:
----------------------------------------------------------------------------------------
Forbidden

You don't have permission to access /mantis/admin/install.php on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
-----------------------------------------------------------------------------------------

Thanks
HASM
hmendes
Posts: 6
Joined: 01 Jun 2010, 10:43

Re: How to Start MANTIS???

Post by hmendes »

Hi there,

I have now some answer from mantis, but now producing some error message. When I issue "http://localhost/mantis/" on firefox, it shows:

------
APPLICATION ERROR #400

Database connection failed. Error received from database was #1045: Access denied for user 'mantis'@'localhost' (using password: YES).

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

Previous non-fatal errors occurred. Page contents follow.

SYSTEM WARNING: mysql_connect(): Access denied for user 'mantis'@'localhost' (using password: YES)
------

If I issue http://localhost/mantis/admin/install.php""
then:
----
Forbidden

You don't have permission to access /mantis/admin/install.php on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
----

Any help?
Thanks
HASM
Post Reply