Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd December 2007, 05:04
yellow1912 yellow1912 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default Installing OTRS 2.2.4 on CentOS 4.4

I'm following the great guide posted here:
http://www.howtoforge.com/otrs_centos4.4

I'm a Linux noob here so please bear with me a bit.
The problem is, I don't want to install it under /opt/otrs, but I want to install it under /home/my_user_name/public_html/support since all my other www folders are located there, and I want to use the subdomain "support" for otrs.

So I followed the guide, just change the path and the username (I use a different username instead of otrs)
I'm stuck now at step 22: ./Cron.sh start
I get this error:
Quote:
No cronjobs in /home/my_user_name/var/cron found!
* Check the $HOME (/etc/passwd) of the OTRS user. It must be the root dir of your OTRS system (e. g. /opt/otrs).
I'm thinking it's because I use a different path. But I don't know how to fix this *_*

Any help is much appreciated.

Regards
yellow1912
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2007, 16:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,713 Times in 2,556 Posts
Default

Can you post your /etc/passwd file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd December 2007, 16:50
yellow1912 yellow1912 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Can you post your /etc/passwd file?
Hi Falko, below is the content:

Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
distcache:x:94:94:Distcache:/:/sbin/nologin
mysql:x:100:101:MySQL server:/var/lib/mysql:/bin/bash
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
mailman:x:32001:32001::/usr/local/cpanel/3rdparty/mailman:/bin/bash
cpanel:x:32002:32004::/usr/local/cpanel:/bin/bash
clamav:x:32003:32005::/usr/local/clamav:/bin/false
my_username:x:32004:32006::/home/my_username:/usr/local/cpanel/bin/jailshell
ericec:x:32005:32007::/home/ericec:/bin/bash
otrs:x:32006:32009:OTRS user:/opt/otrs/:/bin/bash
Reply With Quote
  #4  
Old 24th December 2007, 13:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,713 Times in 2,556 Posts
Default

Modify the line
Code:
otrs:x:32006:32009:OTRS user:/opt/otrs/:/bin/bash
so that it looks as follows:
Code:
otrs:x:32006:32009:OTRS user:/home/my_user_name/public_html/support:/bin/bash
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th December 2007, 02:23
yellow1912 yellow1912 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks Falko. I made the change as you suggested, when I tried to "su otrs" I get the error below:

Code:
bash: /home/my_username/public_html/support/.bashrc: Permission denied
BTW, I'm wondering if I can just use the user "my_username" instead of "otrs"? So I can just delete that user from the system?

PS: Happy holidays to you and everyone in the forum.
Reply With Quote
  #6  
Old 25th December 2007, 17:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,713 Times in 2,556 Posts
Default

Please try this:
Code:
chown -R otrs /home/my_user_name/public_html/support
Quote:
PS: Happy holidays to you and everyone in the forum.
I wish the same to you.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 31st December 2007, 00:24
yellow1912 yellow1912 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Falko,

It still doesnt work, gave me the same permission error. But hang on, I'm gonna repeat the whole process again (using only my user_name this time), and I'll post here what happens.

Regards,
yellow1912
Reply With Quote
  #8  
Old 26th January 2008, 18:09
yellow1912 yellow1912 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

I just want to update my current status here:

I managed to install OTRS finally, but the ticket system is a resource hog, it kills my VPS server *_*. And the panel is very messy, too many functions with a very difficult to understand user-interface.

So I decided to remove it and go with this one now: http://osticket.com/
Very easy to install and use.

Anyhow, thank you all, especially falko for spending the time and effort helping me solving the problem. I really appreciate it.

Regards
Reply With Quote
The Following User Says Thank You to yellow1912 For This Useful Post:
falko (27th January 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04
OTRS 2.14 (Open source Ticket Request System) on CentOS 4.4 tonylau Installation/Configuration 1 14th June 2007 21:59
CentOS 4.4 mysql5 php5 upgrade hoihtah Installation/Configuration 6 7th November 2006 16:46
installing Bind9 + DNSSec on Centos 4.4 HooGLaNDeR Server Operation 5 30th October 2006 21:52
Updating to CentOS 4.4 fjalke Installation/Configuration 5 23rd September 2006 14:19


All times are GMT +2. The time now is 16:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.