Installing OTRS 2.2.4 on CentOS 4.4

Discussion in 'HOWTO-Related Questions' started by yellow1912, Dec 22, 2007.

  1. yellow1912

    yellow1912 New Member

    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:
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post your /etc/passwd file?
     
  3. yellow1912

    yellow1912 New Member

    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
    
     
  4. falko

    falko Super Moderator ISPConfig Developer

    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
     
  5. yellow1912

    yellow1912 New Member

    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.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Please try this:
    Code:
    chown -R otrs /home/my_user_name/public_html/support
    I wish the same to you. :)
     
  7. yellow1912

    yellow1912 New Member

    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
     
  8. yellow1912

    yellow1912 New Member

    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
     

Share This Page