Ubuntu 6.06 LTS ISP Server Setup with DTC

Discussion in 'HOWTO-Related Questions' started by tommytomato, Jun 30, 2007.

  1. tommytomato

    tommytomato New Member

    hi all

    I'm running through a few how to's here

    as you can see by the topic i'm trying to install

    first error I'm getting is

    Code:
    apt-get install postfix postfix-mysql courier-base courier-pop courier-imap courier-authdaemon courier-maildrop courier-authmysql courier-ssl courier-imap-ssl courier-pop-ssl sasl2-bin libsasl2 libsasl2-module
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libsasl2-module
    Installing with out libsas12-module installs ok
    2nd error is
    Code:
    rm /var/spool/postfix/var/run/saslauthd/
    rm: cannot remove `/var/spool/postfix/var/run/saslauthd/': No such file or directory
    I wont go any futher as to its throwing me and error all the time.

    I'm running Ubuntu 6.06-1

    any idea on what to do from here :confused:

    Yes a i have a couple of computers on the go, trying to get one that works if proving to be pretty hard work.

    TT
     
  2. tommytomato

    tommytomato New Member

    ok I took the time today to try this out again, this time recording all the errors

    here they are, you can also view my install log here
    http://linux.rockinghamgateway.com/install_notes
    http://linux.rockinghamgateway.com/install_errors

    Errors i get when installing - Ubuntu 6.06 LTS ISP Server Setup with DTC
    http://www.howtoforge.com/ubuntu6.06_dtc_isp_server
    system i'm using is Ubuntu 6.06-1

    any one care to shed some light on the matter of installing errors ??


    when running the command ssh-copy-id -i ~/.ssh/id_dsa.pub [email protected]

    I get this message

    Code:
    [email protected]:~# ssh-copy-id -i ~/.ssh/id_dsa.pub [email protected]
    21
    /usr/bin/ssh-copy-id: ERROR: No identities found
    when running

    apt-get install postfix postfix-mysql courier-base courier-pop courier-imap courier-authdaemon courier-maildrop courier-authmysql courier-ssl courier-imap-ssl courier-pop-ssl sasl2-bin libsasl2 libsasl2-module

    I get

    Code:
    [email protected]:~# apt-get install postfix postfix-mysql courier-base courier-pop courier-imap courier-authdaemon courier-maildrop courier-authmysql courier-ssl courier-imap-ssl courier-pop-ssl sasl2-bin libsasl2 libsasl2-module
    Reading package lists... Done
    Building dependency tree... Done
    libsasl2 is already the newest version.
    E: Couldn't find package libsasl2-module
    [email protected]:~# 
    when running the command
    rm /var/spool/postfix/var/run/saslauthd/

    I get

    Code:
    [email protected]:~# rm /var/spool/postfix/var/run/saslauthd/
    rm: cannot remove `/var/spool/postfix/var/run/saslauthd/': No such file or directory
    [email protected]:~# 
    when running the command

    ln -s /var/run/saslauthd /var/spool/postfix/var/run

    I get

    Code:
    [email protected]:~# ln -s /var/run/saslauthd /var/spool/postfix/var/run
    ln: creating symbolic link `/var/spool/postfix/var/run' to `/var/run/saslauthd': No such file or directory
    [email protected]:~# 
    When running the apt-get commands

    apt-get install mlmmj sbox-dtc libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl

    I get

    Code:
    [email protected]:~# apt-get install sbox-dtc
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package sbox-dtc
    [email protected]:~# apt-get install libapache2-mod-log-sql-mysql
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libapache2-mod-log-sql-mysql
    [email protected]:~# apt-get install libapache2-mod-log-sql
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libapache2-mod-log-sql
    [email protected]:~# apt-get install libapache2-mod-log-sql-ssl
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libapache2-mod-log-sql-ssl
    [email protected]:~# 
    when running apt-get dtc

    I get this message

    Code:
    [email protected]:~# apt-get dtc
    E: Invalid operation dtc
    [email protected]:~#
    when running these commands

    [email protected]:~# cd dtc/bin
    [email protected]:~/dtc/bin# ./makeDebian
    ./makeDebian: line 17: dpkg-buildpackage: command not found
    [email protected]:~/dtc/bin#

    [email protected]:~/dtc/bin# dpkg -i dtc_0.21.0-0_all.deb
    dpkg: error processing dtc_0.21.0-0_all.deb (--install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    dtc_0.21.0-0_all.deb
    [email protected]:~/dtc/bin#

    [email protected]:~/dtc/bin# dpkg -r dtc
    dpkg - warning: ignoring request to remove dtc which isn't installed.
    [email protected]:~/dtc/bin#

    [email protected]:~/dtc/bin# dpkg-reconfigure dtc
    Package `dtc' is not installed and no info is available.
    Use dpkg --info (= dpkg-deb --info) to examine archive files,
    and dpkg --contents (= dpkg-deb --contents) to list their contents.
    /usr/sbin/dpkg-reconfigure: dtc is not installed

    apt-get install mysqmail-postfix-logger mysqmail-courier-logger mysqmail-pure-ftpd-logger
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package mysqmail-postfix-logger


    these dont work at all

    apt-get install mysqmail-postfix-logger mysqmail-courier-logger mysqmail-pure-ftpd-logger
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package mysqmail-postfix-logger

    and so on, is it just me or is the tutorial out in any way :confused: these tutorails are great but they dont seem to work for me.

    TT
     
    Last edited: Jul 1, 2007
  3. falko

    falko Super Moderator ISPConfig Developer

    Can you post the contents of your /etc/apt/sources.list here? I guess that some repositories aren't enabled in there.
     
  4. tommytomato

    tommytomato New Member

    Code:
    [email protected]:~# cat /etc/apt/sources.list
    # 
    # deb cdrom:[Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
    
    
    #deb cdrom:[Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
    
    deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
    
    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://au.archive.ubuntu.com/ubuntu/ dapper universe
    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    
    
    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security universe
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe
    [email protected]:~# 
    
    this is box 2 my test box

    TT
     
  5. falko

    falko Super Moderator ISPConfig Developer

    The sources.list file looks ok... You could try to send the author a private message over this forum, maybe he has a solution...
     
    Last edited: Jul 5, 2007
  6. tommytomato

    tommytomato New Member

    ok thanks

    I'll probley past on that one for now, and trying some thing else.

    TT
     
  7. ouellettesr

    ouellettesr New Member

    The libsasl2-module you are speaking of needs an s at the end of it. it is actually libsasl2-modules.

    I am having the same problem with deleting that folder and creating the symlink:

    rm /var/spool/postfix/var/run/saslauthd/
    ln -s /var/run/saslauthd /var/spool/postfix/var/run

    Now I looked and there is no folder "/var/spool/postfix/run/". That would make both of those commands not work properly. Why that folder isn't there i do not know.


    I am also having a problem getting these files.

    apt-get install mlmmj sbox-dtc libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl

    in the tutorial it says to use the command:

    echo deb ftp://ftp.gplhost.com/debian stable main /etc/apt/sources.list

    That should add gplhosts repository to sources.list, but it didn't work for me. Once I figured that out I thought I was in the clear. I wasn't. I added the link manually to the repository and did apt-get update, then ran that command again. It still couldn't find them. I'm not sure where to go from now. Some help would be really appreciated.
     
  8. chuckl

    chuckl New Member

    The libsasl2 problem initially mentioned is also usually that it is libsasl-two not libsas-twelve - common typo.

    I did get DTC installed and running on 6.06 about a year ago, two days of major headaches, but it is possible. That said, I found it very brittle, and used ISPConfig instead. Unfotunately I don't remember all the hoops I had to jump through, but if you post any further probs, I may remember the solutions......

    The original HowTo has a lot of errors, but there is an updated version here

    http://dtcsupport.gplhost.com/pmwiki/PmWiki/UbuntuSetup

    with some corrections, may help a bit.

    The /var/spool/postfix/run problem is simple to fix, create the folder.

    All the files you are having problems apt-getting are in the dapper Universe repository. make sure that the lines containing 'dapper universe' are uncommented in your /etc/apt/sources.list file, and do an apt-get update.
     

Share This Page