Ok so first time I'm trying to install OTRS.
It's a VPS with CentOS 5.8 and WHM/cPanel
rpm would give me an error saying httpd was missing and was needed for OTRS.
All the other dependencies missing had been fixed and yet that one remained, so I went nodeps
All alright, OTRS first steps correctly configured.
root@isis [/]# service otrs start
Starting OTRS..
Checking httpd ... failed!
--> Please start the web server first! (service httpd start) <--
root@isis [/]# service httpd start
httpd (pid 1735) already running
root@isis [/]#
WHAT'S WRONG WITH OTRS??
Problems with httpd
Moderator: crythias
Problems with httpd
there's no place like 127.0.0.1
Re: Problems with httpd
it seems that you have installed the httpd not by rpm?
you should try to install OTRS manually or change the /etc/sysconfig/otrs file not to check for httpd
you should try to install OTRS manually or change the /etc/sysconfig/otrs file not to check for httpd
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Problems with httpd
The httpd was installed by my hosting company when they installed the VPS.
Always been working just fine.
Meanwhile I took a look at the file you directed me to and set the httpd verification to 0.
service otrs start still halts on errors:
I get a 404 error:
Always been working just fine.
Meanwhile I took a look at the file you directed me to and set the httpd verification to 0.
service otrs start still halts on errors:
But when I go on http://myserver.com/otrs/installer.plError!
Maybe your database isn't configured yet?
Try the web installer to configure your database:
-->> http://myserver.com/otrs/installer.pl <<--
or configure your database with README.database (DB - Setup Example)
I get a 404 error:
The server can not find the requested page:
myserver.com/otrs/installer.pl (port 80)
there's no place like 127.0.0.1
Re: Problems with httpd
thats becaus the rpm could not install the files for the httpd or httpd was not restarted afterwards.
Please use the tar.gz file and do a manual installation
Please use the tar.gz file and do a manual installation
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Problems with httpd
Ok, thx for the feedback.
I'll do a manual installation and let you know what's the outcome.
I'll do a manual installation and let you know what's the outcome.
there's no place like 127.0.0.1
Re: Problems with httpd
OK so I did a clean fresh manual install of otrs
I have a question when it comes to apache config
so I should create a otrs.conf file and have httpd.conf Include it
and it should look like this
also otrs.mysite.com has been created as a virtualhost
so on my httpd.conf I have
or change the otrs.conf file so that when i go into otrs.mysite.com it's the same as it would be otrs.mysite.com/otrs/
thanks
I have a question when it comes to apache config
so I should create a otrs.conf file and have httpd.conf Include it
and it should look like this
but let's say I created the subdomain otrs.mysite.com and I would like to type that address and open otrs# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd.include.conf,v 1.25 2011/11/05 17:39:09 mb Exp $
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/users/otrs/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/users/otrs/otrs/var/httpd/htdocs/"
# activate this if you are using an Oracle database
#SetEnv ORACLE_HOME /path/to/your/oracle/
#SetEnv ORACLE_SID YOUR_SID
#SetEnv NLS_LANG AMERICAN_AMERICA.UTF8
#SetEnv NLS_DATE_FORMAT 'YYYY-MM-DD HH24:MI:SS'
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /users/otrs/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
# set mod_perl2 option for generic interface
<Location /otrs/nph-genericinterface.pl>
PerlOptions -ParseHeaders
</Location>
</IfModule>
# directory settings
<Directory "/users/otrs/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/users/otrs/otrs/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_headers.c>
<Directory "/users/otrs/otrs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
<Directory "/users/otrs/otrs/var/httpd/htdocs/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 4000
also otrs.mysite.com has been created as a virtualhost
so on my httpd.conf I have
Can I just alter this to have otrs working?<VirtualHost ip_address:80>
ServerName otrs.mysite.com
ServerAlias http://www.otrs.mysite.com
DocumentRoot /users/otrs/public_html
ServerAdmin webmaster@otrs.mysite.com
## User otrs # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup otrs otrs
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup otrs otrs
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RUidGid otrs otrs
</IfModule>
CustomLog /usr/local/apache/domlogs/otrs.mysite.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
CustomLog /usr/local/apache/domlogs/otrs.mysite.com combined
ScriptAlias /cgi-bin/ /users/otrs/public_html/cgi-bin/
</virtualhost>
or change the otrs.conf file so that when i go into otrs.mysite.com it's the same as it would be otrs.mysite.com/otrs/
thanks
there's no place like 127.0.0.1
Re: Problems with httpd
ok i figured it all out (except running otrs directly from otrs.mysite.com)
thanks; close please
thanks; close please
there's no place like 127.0.0.1
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Problems with httpd
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask